函数:
DYNP_VALUES_READ(Read screen field values before PAI field transport)
F4IF_INT_TABLE_VALUE_REQUEST
效果图:
误区:
P_CONNID帮助中直接如下:
如果用户填写p_werks 未回车而直接点p_matnr的帮助,p_werks此时还为空.
本例子代码:
REPORT
zlm_test_043.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_werks TYPE
werks_d,
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
*&-------------------------------------------------------------------
*&搜索帮助
*&-------------------------------------------------------------------
FORM frm_f4.
ENDFORM.
"frm_f4