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

Web Dynpro with Adaptive RFC and "complex" ABAP Structures

Hi there,

I'm calling an RFC that returns a table with a "complex" structure, i.e. a structure with nested structures and tables. The issue I am having is that I would like to loop over that table and extract the relevant attributes from each row (i.e. attributes of the structure itself or of the nested structures or attributes of records of the nested tables), I however don't understand how.

My first attempt looks as follows

for(int i = 0; i < wdContext.node<<tab>>().size(); i++) {
  IPrivate<<view>>.I<<tab>>Element x =
    wdContext.node<<tab>>().get<<tab>>ElementAt(i);
  ...
}

However "x" doesn't seem to have the getter methods for the nested tables in question?

Help would be greatly appreciated.

Regards, Chris.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2005 at 07:17 AM

    Hi,

    If you are using model node binding over adaptive RFC model all nested structures / tables becomes sub-nodes rather then attributes.

    VS

    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.