retrieving internal table info. during runtime from callstack
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?
Rich Heilman 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.