Execution of report with dynamic selection.
I need to execute report 'RCATS_APPROVE_ACTIVITIES' in background in the method after populating field-'Processing status'. Also there is a option of dynamic selections for this report in menu bar. In Dynamic selections, there is a field - 'CREATED BY' which also i want to populate before execution.
Here I am able to populate field- 'Processing status' like code below:-
DATA: rspar TYPE STANDARD TABLE OF rsparams,
wa_rspar TYPE rsparams.
wa_rspar-selname = 'LDBSTAT'.
wa_rspar-kind = 'S'.
wa_rspar-option = 'EQ'.
wa_rspar-sign = 'I'.
wa_rspar-low = '10'.
APPEND wa_rspar TO rspar.
USING SELECTION-SCREEN 1000
WITH SELECTION-TABLE rspar
But I am not able to populate the dynamic selection field- CREATED BY.
Please suggest(if possible with code) how to resolve this.