on 03-10-2014 3:27 AM
Hi,
I embed one context node into another to define a nested structure, like the following definition. But it is found that Web Dynpro still takes them as two individual context nodes. Most of the fields from one structure and I don't want to add each field manually to the context node. Also, I don't want to create a structure at SE11 only for this. What are possible alternatives?
TYPES: BEGIN OF typ.
INCLUDE TYPE MARA.
TYPES: f1 TYPE xxx
, f2 TYPE xxx
END OF typ
.
Best regards,
ts
Hi ts,
Are you trying to create nested context nodes i.e. creating a NODE2 inside NODE1 ?
Now, if you get static attributes of NODE1, you will not get the data of NODE2 corresponding to the node1 entry.
i.e. let us say, NODE1 has 2 records, NODE2 is having 5 records for each record of NODE1.
in this case, if you need to get 5 records of NODE2 corresponding to the 1st row of NODE1,
U need to use the method LO_NODE2 = WD_CONTEXT->PATH_GET_NODE( PATH = 'NODE1.1.NODE2' ).
Here, .1. refers to the index of records of NODE1.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.