Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

passing input values into submit program

Former Member
0 Likes
2,439

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.

5 REPLIES 5
Read only

GK817
Active Contributor
1,671

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/2015/02/19/how-to-use-shared-object-memory-and-sap-memory-to-share-the-objects...

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

Read only

FredericGirod
Active Contributor
1,671

... 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

Read only

Former Member
0 Likes
1,671

Hi Gaurav

now, How to pass the main program selection screen into submit program. can you please reply my question.

Read only

1,671

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.

Read only

1,671

Gaurav gave you the right answer. What didn't you understand?

As Frederic Girod said, read the ABAP documentation of SUBMIT.