Application Development 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: 

Calling 1 program from another program

Former Member
0 Kudos

Hi all,

I have a prog1 which needs to call prog2.Prog 2 has only one selection parameter on the seelction screen and is a normal report with a selection screen.

Now for calling the prog 2 in prog1,what options do I have??Can i use the SUBMIT statment only or can I create a FM and embeedd my prog2 in that FM?

2 REPLIES 2

former_member196079
Active Contributor
0 Kudos

Hi andy...

Yes you can use submit statement, and with this you can also pass the value at the select-option.



submit report_2 with par1_r2 = par1_r1
                       with par2_r2 = par2_r1.

more help pressing f1 on submit.

hope this help you

Marco

Former Member
0 Kudos

Moderator message - Please search before asking - post locked Rob