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

Reading Deep internal table data from work area


I am having internal table nxl_t_return ,it is having deep internal table.

My requirement is

loop at nx_t_return into nxl_s_return where type = 'E'

Here nxl_s_return has deep internal table nxl_t_attribute_attr.


How to read values in internal table nxl_t_attribute_attr from workarea nxl_s_return.



error-sap3.png (20.0 kB)
error-sap4.png (11.3 kB)
error-sap4.png (11.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 23, 2016 at 06:25 AM

    Just use some code like 'LOOP AT nxl_s_return-nxl_t_resource_attr ASSIGNING <fs>.'

    Add a comment
    10|10000 characters needed characters exceeded

    • If the data object is supplied as an internal table containing a nested internal table, then I don't see how you can do it differently than a loop in a loop; there's no issue with performance in that case!

      In other words, the time for reading the internal table is less thant the time for writing it, so I would first analyze the way the internal table is defined (its type) and written (append, insert, index), and if you can't change it (if it's standard), then don't bother with the nested loop).

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.