Returning a range table in abap

2019-06-22 14:57发布

问题:

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

回答1:

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).



标签: range sap abap