요렇게 다 해줬는데 그림처럼 버튼이 비활성화 & 다 사라졌어요.
어디로 간걸까요??? ㅠㅠㅠㅠ
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = L_REPID
I_CALLBACK_PF_STATUS_SET = GC_STATUS
I_CALLBACK_USER_COMMAND = G_USER_COMMAND
I_STRUCTURE_NAME = 'ITAB_DATA'
IS_LAYOUT = LS_LAYOUT
IT_FIELDCAT = LT_FIELDCAT "x_fieldcat
IT_SORT = LT_SORT
IT_FILTER = LT_FILTER
I_SAVE = 'A'
IS_VARIANT = LS_VARIANT
TABLES
T_OUTTAB = ITAB_DATA
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
*&---------------------------------------------------------------------*
*& Form PF_STATUS_SET
*&---------------------------------------------------------------------*
FORM PF_STATUS_SET USING PT_EXTAB TYPE SLIS_T_EXTAB.
DATA : LS_EXTAB TYPE SLIS_EXTAB.
SET PF-STATUS 'STANDARD' EXCLUDING PT_EXTAB[].
ENDFORM. " PF_STATUS_SET
*&---------------------------------------------------------------------*
*& Form USER_COMMAND
*&---------------------------------------------------------------------*
FORM USER_COMMAND USING P_UCOMM LIKE SY-UCOMM
P_SELFIELD TYPE SLIS_SELFIELD.
P_SELFIELD-REFRESH = 'X'.
P_SELFIELD-COL_STABLE = 'X'.
P_SELFIELD-ROW_STABLE = 'X'.
P_SELFIELD-IGNORE_MULTI = 'X'.
G_UCOMM = P_UCOMM.
CASE G_UCOMM.
WHEN 'CRET'.
...
* e-abap님에 의해서 게시물 이동되었습니다 (2010-07-07 23:38)
* e-abap님에 의해서 게시물 이동되었습니다 (2010-07-07 23:42)
해당프로그램에 pf-status 'STANDARD' 가 있는지 확인해 보세요.