Skip to Content
0
Former Member
Aug 29, 2012 at 08:22 PM

Retrieve parameter values from a subscreen...

805 Views

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.