Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Returning a range table. How?

Tags:

range

abap

I would like to write a function module that returns a range table. Is that possible and if so, how?

like image 942
Peter Avatar asked Sep 13 '10 16:09

Peter


1 Answers

The structure of a typed range is like this :

**Name**  **Type**
SIGNT      VARV_SIGN
OPTION     TVARV_OPTI
LOW        your-type
HIGH       your-type

You can create this structure in the dictionary, as well as a table of those, and then use it in the FM signature.

Also, a generic structure already exists : RSDSSELOPT (along with a table type RSELOPTION).

like image 68
PATRY Guillaume Avatar answered Sep 24 '22 13:09

PATRY Guillaume