cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro with Adaptive RFC and "complex" ABAP Structures

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

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

VS