Skip to Content

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

Get Buffer data from stack using field symbol within the implicit Enhacement under same program


Hi All,

   Here i am facing a problem while getting buffer data from stack... i have worked before to get buffer data using following code..

DATA : g_var(30) VALUE '(Prog_name)table_name'.
  FIELD-SYMBOLS: <fs_tab> TYPE STANDARD TABLE.
  ASSIGN (g_var) TO <fs_tab>.

 

then i use to access <fs_tab> to get the table entries in current prog.

But in present scenario i have implemented an implicit enhancement with in the perform (XXXX) that is present in SAPLVV01 program with in which i dont have access to an internal table which is outside the perform...dont get confused ... graphically it is simple like...

  Note :  (SAP01 Standard program).

  here im using below code within my enhancement to get access to ITAB..

DATA : g_var(30) VALUE '(SAP01) ITAB'.
  FIELD-SYMBOLS: <fs_tab> TYPE STANDARD TABLE.
  ASSIGN (g_var) TO <fs_tab>.

As shown in the above attachment  ITAB has no access with in the perform . My requirement is to get values of ITAB within my enhancement section, so if i try to get it using buffer it will fetch nothing... as it will try to get data from report SAP01 from perform but not from FM where it not accessible...

Is there any solution to this issue...??!! 

Thanks,

Prasanna

                                                                                                                           

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question