SAP radiobutton控制屏幕控件显示
2009/3/19 18:10REPORT ZTEST_RADIO.
PARAMETERS: P_BJ RADIOBUTTON GROUP CITY USER-COMMAND sele,
P_CD RADIOBUTTON GROUP CITY DEFAULT ‘X’,
P_ZH RADIOBUTTON GROUP CITY.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE t2.
PARAMETERS: P_LOCAL RADIOBUTTON GROUP AA MODIF ID M2 VISIBLE LENGTH 100,
P_OTHER RADIOBUTTON GROUP AA DEFAULT ‘X’ MODIF ID M2.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CASE screen-group1.
WHEN ‘M2’.
IF P_BJ = ‘X’.
screen-active = ‘1’.
ELSE.
screen-active = ‘0’.
ENDIF.
ENDCASE.
MODIFY SCREEN.
ENDLOOP.
转载请注明来自:jijian91与小z - 编程
永久链接:https://jijian91.com/blog20090319/abap-radiobutton-modify-screen.html