on 12-12-2007 3:37 PM
hi experts,
Im having a parent node of cardinality 0..n( which is used as a table in my application). this parent node i have a child node of cardinality 0..n, again its a table which has to be displayed in table popin.
i dont know how to read the child table with respected to particular context to the parent node selected and to read all the child node entries ir-respective of the parent node selected..
please help me, i want to code it today.
Really urgent please.....
Thanks,
James
hi james.....
consider node b is a child of node a.
you can read both the nodes seperately wtih the use of code wizard.....read node.
so you will be having two internal tables having values of nodes a and b. so b is nothing but the values irrespective of the parent.
now you can read node b with respect to the values of a usingyour own logic.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in this <a href="/people/mohammed.anzys/blog/2007/08/02/webdynpro-abap-quick-tips-11table-popin-in-steps the mechanism is explained,
in the on action, the variable context_element is the parent element,
from there, you can select your values of the subnode, even better would be to use
singleton subnode, so there is only one instance of the subnode, you just need
to write a supply function, so that the node gets filled with values depending on
the selected element of the parent table:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/787e40417c6d1de10000000a1550b0/frameset.htm">context nodes</a>
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/177741adb7167de10000000a155106/frameset.htm">Supply functions</a>
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.