输入报告名称后,功能模块RS_SELSCREEN_INFO将为您提供参数列表和选择选项。您可以通过在相关的SAP T代码(例如SE37或SE80)中输入名称RS_SELSCREEN_INFO来查看有关此FM的完整详细信息。
您可以将其称为FM RS_SELSCREEN_INFO,如下所示:
CALL FUNCTION 'RS_SELSCREEN_INFO' " EXPORTING report = " rsvar-report Report Name TABLES field_info = " scr_info Information about type, reference field, etc. EXCEPTIONS NO_SELECTIONS = 1 " Report has no selections REPORT_NOT_EXISTENT = 2 " Report does not exist SUBROUTINE_POOL = 3 " . " RS_SELSCREEN_INFO
另外,您可以尝试使用功能模块GET_DICTIONARY_FIELDS-提供ABAP程序中使用的所有词典字段。您可以通过在相关SAP事务(例如SE37或SE80)中输入名称GET_DICTIONARY_FIELDS来获取完整的详细信息。
CALL FUNCTION 'GET_DICTIONARY_FIELDS' "Provides all Dictionary fields used in a program EXPORTING progname = " sy-repid TABLES field_tab = " . " GET_DICTIONARY_FIELDS