求助abap屏幕显示问题
ZHRPT005
ZHRPT006
代码:
这是选择屏幕.
SELECTION-SCREEN BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_BH FOR ZHR_PT001-BH MODIF ID SC1,
* S_PERNR FOR ZHR_PT001-PERNR,
S_ZAUSW FOR ZHR_PT001-ZAUSW MODIF ID SC1,
S_LDATE FOR ZHR_PT001-LDATE OBLIGATORY,
S_LTIME FOR ZHR_PT001-LTIME MODIF ID SC1,
S_SUCCE FOR ZHR_PT001-ZHR_SUCCEED.
PARAMETERS:R3 RADIOBUTTON GROUP S1 DEFAULT 'X',
R2 RADIOBUTTON GROUP S1,
R1 RADIOBUTTON GROUP S1.
SELECTION-SCREEN END OF BLOCK A1.
这里就是控制你要输出的.
L_TCODE = SY-TCODE.
IF L_TCODE = 'ZHRPT006'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SC1'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
自己参照写一下就知道了.