Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

retrieving internal table info. during runtime from callstack

Hi,

i need to retireve internal table info in an exit during runtime. i'm able to see the values in that internal table from the corresponding program in call stack ,however, i couldnt get this table inside my exit.

how to access this internal table?

Thanks,

venu.

Tags:
replied

You can use field symbols to do this. In your user exit, you need to do something like this.

data: field(50) type c.
data: xmarc type marc.
field-symbols: <imarc> type marc_upl_tt.

* Assign an internal table
  field = '(ZRICH_0006)IMARC[]'.
  assign (field) to <imarc>.

* You can now access IMARC from other program
  loop at <imarc> into xmarc.
    write: / xmarc-werks.
  endloop.


Regards,

Rich Heilman

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question