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

How to edit a program dynamically called from another program

Former Member
0 Likes
634

Hi all,

Can anyone help me in coding for a program which call's another

report dynamically from selection screen(for instance z_dynam_called)

and retreive the whole content of the dynamically called program(z_dynam_called)

into an internal table and replace the contents of the internal table with some new code and put it back in z_dynam_called and save it.

Thanks in advance.

Needful will be rewarded with points

4 REPLIES 4
Read only

Former Member
0 Likes
510

Desparately waiting for responses .

Read only

Former Member
0 Likes
510

Hi,

Follow this:

1) U can pass data from one program to another in a single login using SAP memory......

2) u can create a DBtable update dat table using ur first pgm and fetch from second program.....

3) U can pass the report output using EXPORT TO MEMORY addition and get it back using IMPORT FROM MEMORY..........

Eg:

Export the selected rows to the next program

EXPORT final TO MEMORY ID 'ABC'.

CALL TRANSACTION 'XXX'.

XXX is the tcode for the other program where u want to import the values.

In the second program

INITIALIZATION.

IMPORT the internal table from the first program

IMPORT final FROM MEMORY ID 'ABC'.

Thanks and Regards,

Reward If Helpful

Read only

Former Member
0 Likes
510

Atleast someone provide me some related links near to the requirement.

Read only

Former Member
0 Likes
510

someone pls help me out !!!