Skip to Content
author's profile photo Former Member
Former Member

How to edit a program dynamically called from another program

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 😊

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 03, 2008 at 07:28 AM

    Desparately waiting for responses 😔.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 03, 2008 at 07:28 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 03, 2008 at 07:32 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 03, 2008 at 07:48 AM

    someone pls help me out !!!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.