‎2009 Jun 16 11:06 AM
Hi,
I have created a selection screen after executing the 1st selection screen as below:
SELECTION-SCREEN: BEGIN OF SCREEN 200 TITLE text-017 .
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE TEXT-016.
PARAMETERS: pfile1 type rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN:END OF SCREEN 200.
INITIALIZATION.
SET PF-STATUS 'ABC'.
AT SELECTION-SCREEN.
WHEN c_fcode_execute.
PERFORM upload.
form UPLOAD .
CALL SELECTION-SCREEN 200.
endform. " UPLOAD
But when I execute at my selection screen the 2nd screen comes but when I am trying to upload something at this screen, getting the following error message.Can anyone tell me why it is happening?
"Selection screen YXXX01TEST
1000 was not called using CALL SELECTION-SCREEN"
Edited by: Jjammy on Jun 16, 2009 12:06 PM
‎2009 Jun 16 11:13 AM
Hai Jjammy,
Just Call the " PERFORM upload " in START-OF-SELECTION event.
if you try to trigger the same as the code given by you no-output would be there.
keep you validation code for selection screen in the event AT Selection-Screen.
Hope tis helps.
Cheers,
Suvendu
‎2009 Jun 16 11:13 AM
Hai Jjammy,
Just Call the " PERFORM upload " in START-OF-SELECTION event.
if you try to trigger the same as the code given by you no-output would be there.
keep you validation code for selection screen in the event AT Selection-Screen.
Hope tis helps.
Cheers,
Suvendu
‎2009 Jun 16 11:42 AM
Hi Suvendu,
I called the screen at start-of-selection.Still same error.
‎2009 Jun 16 11:55 AM
Hi,
Please call the screen directly in the START-OF-SELECTION.. As suggested earlier dont keep it inside a perform... please try this out.. I think this time it will work..
‎2009 Jun 16 11:21 AM
Hi,
You can not place your CALL SELECTION-SCREEN in subroutine.
Just call PERFORM upload.
regards,