Skip to Content
avatar image
Former Member

Reading a structue From another program

Hi Experts,

I had a requirement of reading a internal table from the standard report.

In my report for a particular material I need to get the Intransit quantity. For the Intransit quantity we had a standard transaction MB5T and the report is RM07MTRB . In this report there is a structure BESTAND which is passed to the ALV.

how to call this standard report and get this values in this structure BESTAND in my custom report

Edited by: Pavan Kumar Grandhi on Oct 6, 2008 10:57 PM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 06, 2008 at 09:03 PM

    I guess you have to do like:

    Copy the std program to Z program

    At last before generating the output, you can export that table or structure to memory using EXPORT

    Submit the Z program with the List to memory option to avoid the list

    In your program, Read the data from the memory using the IMPORT.

    We can dynamically access the data with help of the field symbols, but for that it should be in the same call stack. Like, if you want to access any table inside a user exit which is not avaliable to you via the Parameters of FM. But, I don't think we can implement that strategy in your scenario.


    Naimesh Patel

    Add comment
    10|10000 characters needed characters exceeded