2009 Jul 08 1:40 PM
Hi,
I am calling report "RKAEP000'(This is the report for tcode KSB1) using submit statement in my program to import the ksb1 output in my program. For time being I am calling this report using selection-set 'variant'.
The selection screen of ksb1 is designed with modulepool program (screen 100).
The selection screen of my program is similar to ksb1 initial screen, except layout option and controlling area is on the screen itself instead of calling it through menu.
Please tell me how to post the selction criteria of my report to the calling program 'RKAEP000'.
Thanks,
suresh
Hi,
I am calling report "RKAEP000'(This is the report for tcode KSB1) using submit statement in my program to import the ksb1 output in my program. For time being I am calling this report using selection-set 'variant'.
The selection screen of ksb1 is designed with modulepool program (screen 100).
The selection screen of my program is similar to ksb1 initial screen, except layout option and controlling area is on the screen itself instead of calling it through menu.
Please tell me how to post the selction criteria of my report to the calling program 'RKAEP000'.
Thanks,
suresh
2009 Jul 08 1:43 PM
You can use WITH addition of SUBMIT statement.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
Regards,
Premal
2009 Jul 08 2:08 PM
Hi,
use this sample code to call it.
u must pass p_tcode as 'KSB1'.
tables : csks.
select-options : s_KOSTL for CSKS-kostl.
START-OF-SELECTION.
SUBMIT RKAEP000 WITH KOSTL IN s_KOSTL
WITH p_tcode EQ 'KSB1'.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |