‎2009 Aug 17 5:10 PM
Hi all,
I am working on a report, when I execute the report and the selection screen comes up, there I need to enter 5 different employee name so I am trying to use "multiple selection" option but as soon as I hit that "Yellow arrow" in front of employee name field .. I saw the output first and when I go one screen back I get that screen where I can enter the names. So can you please help me with this.
Thanks,
Rajeev
‎2009 Aug 17 5:32 PM
Hi,
Can you show your code?
Have you used any WRITE statement in the AT SELECTION SCREEN event?
Regards,
Ankur Parab
‎2009 Aug 17 5:32 PM
Hi,
Can you show your code?
Have you used any WRITE statement in the AT SELECTION SCREEN event?
Regards,
Ankur Parab
‎2009 Aug 17 7:44 PM
Hi,
I have written the following code, I guess the problem is in
GD_REPID = SY-REPID.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = GD_REPIDDATA: FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
GD_TAB_GROUP TYPE SLIS_T_SP_GROUP_ALV,
GD_LAYOUT TYPE SLIS_LAYOUT_ALV,
GD_REPID LIKE SY-REPID.
FORM DISPLAY_ALV_REPORT .
GD_REPID = SY-REPID.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = GD_REPID
I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE'
IS_LAYOUT = GD_LAYOUT
IT_FIELDCAT = FIELDCATALOG[]
I_SAVE = 'A'
TABLES
T_OUTTAB = IT_tab
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_REPORTcode}
Thanks,
Rajeev
‎2009 Aug 17 7:58 PM
Please post your AT SELECTION-SCREEN code. Do you, by any chance, have the ALV call in your AT SELECTION-SCREEN event? Is there a START-OF-SELECTION in your code?