函数:F4IF_GET_SHLP_DESCR
效果图:
本例子代码:
找到需要的帮助:
*& Report ZLM_TEST_045
REPORT zlm_test_045.
TABLES makt.
DATA:
maktx TYPE maktx,
DATA:l_it_f4 LIKE TABLE OF str_f4.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECT-OPTIONS:
s_matnr FOR makt-matnr NO INTERVALS.
SELECTION-SCREEN END OF BLOCK b1.
"帮助
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-low.
PERFORM frm_f4." USING 'S_MATNR-LOW' .
*&-------------------------------------------------------------------
*& 搜索帮助
*&-------------------------------------------------------------------
FORM frm_f4.
DATA g_shlp_descr_t
DATA: gt_return_tab
"调用标准帮助
shlp
shlp = g_shlp_descr_t
maxrecords = 500
multisel = 'X'
ENDFORM. " FRM_F4