Skip to Content
author's profile photo Former Member
Former Member

How to access internal table (not structure) from other program in exit

Hi Gurus,

Can somebody quickily throw some light on accessing the

internal table from some other program, in my user exit.

I would be able modify the internal table.

My excat requirement is as of below:

1. I have a internal table ITAB in program abc.

2. In program xyz I have to access this internal table.

In program xyz in debug mode I will access it as (abc)ITAB

So how to do this in xyz using field symbols?

-B S B

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 01:10 PM

    use ABAP memeory or Field sysmbol

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 21, 2008 at 01:16 PM

    Hi,

    You can acheive the require functionality by two ways:

    1. Export you internal table from your program abc.

    Import the internal table in you program XYZ.

    Another way to do:

    refer below piece of code:

    CONSTANTS: VAR_NAME(30) TYPE C VALUE (abc)ITAB[].**

    FIELD-SYMBOLS: <FS_SYMBOL> TYPE ITAB.

    ASSIGN (VARNAME) TO <FS_SYMBOL>

    AND THEN USE Field Symbol to access the data.

    Thanks

    Piyush

    Rewards points, if helpfull

    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.