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: 

How to use one module pool program in another module pool programming?

Former Member
0 Kudos

Hi

I have one moodule pool program.

In one of my screen i want to use some code which already developed in another module pool program.

Is there any direct way for using one module pool programcode in another module pool program.

If there any approaches for this plz help me in this issue.

2 REPLIES 2

Former Member
0 Kudos

Dear,

If you want to use the code.

first you can write your code in a subroutine in module pool program 1

and then you can use it from module pool program 2 by

 perform subroutine_name(program_name) 
using P_1 
changing C_1

if you wan to use one module pool data into other module pool.

so that is another requirement.

0 Kudos

Hi Tomar,

I think we can add those routines in some include and add that include whereever u want to use those subroutines.

can we do this??