ALV Screen에 Selection-Screen으로 헤더 추가방법
1. Selection Screen 생성
SELECTION-SCREEN BEGIN OF SCREEN 9000 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-s01.
PARAMETERS p_zyear TYPE zhrt2100-zyear OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b01.
SELECTION-SCREEN END OF SCREEN 9000.
2. ALV Screen에 SubScreen 로직 추가
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN scr INCLUDING sy-cprog ‘9000’.
MODULE status_0100.
MODULE init_0100.
MODULE trans_to_grid.
PROCESS AFTER INPUT.
CALL SUBSCREEN scr.
MODULE exit_0100 AT EXIT-COMMAND.
MODULE user_command_0100.
Subscribe
Login
0 Comments
Oldest