08-29-2012 9:22 PM
Hi...
I'm having problems retrieving the data typed on parameter fields inside a subscreen, created in a report.
I have created this subscreen.
SELECTION-SCREEN BEGIN OF SCREEN 500 AS SUBSCREEN.
PARAMETERS: p_file TYPE file,
p_user TYPE sy-uname,
p_date TYPE sy-datum.
SELECTION-SCREEN END OF SCREEN 500.
Then I call screen 100 which has a subscreen area:
START-OF-SELECTION.
CALL SCREEN 100.
In screen 100 pbo i have:
CALL SUBSCREEN sel INCLUDING sy-repid 500.
The screen shows up.
I programmed the USER_COMMAND for screen 100.
when I run the program, the parameters are not filled.
My friend told me to run then FM, in the pbo of the next screen.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-repid
TABLES
selection_table = it_rsparams.
But it's not getting the filled data.
Can anyone gimme a hand here??
Thanks.
08-29-2012 11:46 PM
Put this in your PAI of screen 100. Make sure call subscreen is your first statement to ensure your values are populated first.
PROCESS AFTER INPUT.
CALL SUBSCREEN sel.
MODULE m0100_user_command.
You do not need to call that function.
08-29-2012 11:46 PM
Put this in your PAI of screen 100. Make sure call subscreen is your first statement to ensure your values are populated first.
PROCESS AFTER INPUT.
CALL SUBSCREEN sel.
MODULE m0100_user_command.
You do not need to call that function.
08-30-2012 12:57 PM