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

Read a Deep Structure

Hi Abapers, how can i read a Deep Structure? i mean, read a field inside a table that i'ts inside another table.

[TABLE1 [TABLE2-FIELD] ] -> I need read the "Field" Value

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 09, 2005 at 08:36 PM

    Hi Carlos

    Here is an approach I believe that can help:

    LOOP AT <i><main_table></i> INTO <i><main_wa></i> .
      LOOP AT <i><wa>-<inner_table></i> INTO <i><inner_wa></i> .
        <i><var_1></i> = <i><inner_wa>-<field_to_be_read></i> .
        ...
      ENDLOOP .
    ENDLOOP .
    

    <i>And as a last thing, let me introduce you the SDN forums pointing system: You can assign points to posts you find helpful while solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;

    - one 10 points (solved)

    - two 6 points (very helpful answer)

    - many 2 points (helpful answer)</i>

    Kind Regards...

    *--Serdar

    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.