Skip to Content

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'.
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'.
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...??!!



pic.JPG (18.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 21, 2015 at 03:05 PM

    The internal table / variable should have a global scope, local variable are usually not accessible

    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.