2016 Sep 15 8:58 AM
Hello,
I have created one custom report using SUBMIT statement ( Report name - RKAEP000 ).
Problem is , When i execute report in background , but spool is not generated.
When i commented SUBMIT Statement Code , and then execute report in background , spool is generated successfully.
Kindly , Suggest me.
Thanks,
Pratiksha
Hi Pratiksha,
Is your spool generation logic in the custom report, after the submit statement?
If yes, are you using submit with the AND RETURN addition?
Thanks,
Sowbhagya
2016 Sep 15 9:06 AM
Hi Pratiksha,
Is your spool generation logic in the custom report, after the submit statement?
If yes, are you using submit with the AND RETURN addition?
Thanks,
Sowbhagya
2016 Sep 15 9:54 AM
Hello ,
Check Below Code ,
SUBMIT (REPNAME)
USING SELECTION-SET 'S_VARI'
WITH P_KOKRS EQ P_KOKRS
WITH P_TCODE EQ P_TCODE
WITH KOSTL IN S_KOSTL
WITH R_BUDAT IN S_BUDAT
USING SELECTION-SCREEN 100
AND RETURN.
Thanks,
Pratiksha
2016 Sep 15 10:19 AM
2016 Sep 15 11:48 AM
I also used this Code , but still not getting spool in background.
Thanks,
Pratiksha
2016 Sep 15 2:20 PM
2016 Sep 15 1:29 PM
Look directly at the spool files via transaction SP01, not SM37. I think SAP doesn't retain the relationships between job/spool in the scenario you indicate (SUBMIT). Don't forget TO SAP-SPOOL.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |