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

Call modulepool program in another Executable program passing selection screen values?

divyatg
Explorer
0 Likes
1,308

Hi Experts,

I want to call a modulepool program in some other executable program passing selection screen values from exe prg to module pool program.

We can use Call transaction..but how to pass the Selection screen values??

I didn't found the proper answer in the forum. Can you please provide me the solution.

Thanks in advance.

4 REPLIES 4
Read only

matt
Active Contributor
0 Likes
1,150

If both programs are Z, refactor the second program so all the business logic is in a single class that can be called directly from the first program.

Otherwise read the ABAP documentation on "SUBMIT".

Read only

0 Likes
1,150

Both are module pool program. We can't use SUBMIT...

Read only

matt
Active Contributor
0 Likes
1,150

If both are module pool programs, how are having selection screen values?

Read only

Sandra_Rossi
Active Contributor
1,150

I think the OP says "module pool" for "program with a screen". But in the title, it's said that an Executable program (type "1") does a CALL TRANSACTION which starts a Module Pool program (type "M") -> if you don't refactor, then you're left with the classic way EXPORT ... TO MEMORY ID ... and IMPORT ... FROM MEMORY ID ...