2019 Oct 11 9:03 AM
I am created one main program in that main program I created some selection screen parameters and i stored those selection screen parameters into one internal table. now my requirement is i want to pass that internal table into my SUBMIT program. can you please help me how to do that program.
Hi Gaurav
now, How to pass the main program selection screen into submit program. can you please reply my question.
2019 Oct 11 9:25 AM
Hi sirirachamallu1234_5 ,
I believe SUBMIT program will not let you pass any internal table to accessed program. One option is to use MEMORY option. There are various options - SAP memory (won't be able to pass table), ABAP memory and Shared memory. Please go through the below blog and understand which one suits you best:
https://blogs.sap.com/2013/07/25/using-abap-memory-with-a-report-executing-in-background/
Edit 1: @frdric.girod proposes a good option in comments. Singleton is any day better.
Regards
GK
2019 Oct 11 9:41 AM
... memory is bad, turn you to dark side of the code
enjoy singleton
😉
Submit help explains everything
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapsubmit_selscreen_parameters.htm
2019 Oct 11 9:59 AM
Hi Gaurav
now, How to pass the main program selection screen into submit program. can you please reply my question.
2019 Oct 11 10:15 AM
Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.
2019 Oct 11 10:17 AM
Gaurav gave you the right answer. What didn't you understand?
As Frederic Girod said, read the ABAP documentation of SUBMIT.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |