abap屏幕中下拉框写在哪个事件

2025-04-05 10:17:24
推荐回答(2个)
回答1:

选择屏幕的话,写在AT SELECTION-SCREEN ON VALUE-REQUEST

回答2:

Dropdown list is a user interface element which
displays a list of values from which a user can select one value. Follow
the below steps to create a dropdown list in SAP ABAP selection screen.

First build the list in the INITIALIZATION event.
Capture the value selected by the user from the list in the AT SELECTION-SCREEN event.
Use the selected value for further processing.