Returning a range table in abap

谁都会走 提交于 2019-12-10 14:58:15

问题


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



来源:https://stackoverflow.com/questions/3702429/returning-a-range-table-in-abap

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!