on 09-23-2009 4:40 PM
Hi Experts,
I am an beginner in webdynpro abap - sorry for this simple question, but I have not found an answer.
I have a context node generated from a interactive form. Let's call this node 'node1'.
Within this node I have a subnode 'subnode1' containing the elements for an internal table.
My simple question is: Ho can I get the structure of the subnote element?
I mean, this is clear for me:
DATA:
ls_node1 TYPE wd_this->element_node1.
But how about:
ls_subnode1 type ?????????????????
I guess the answer is quite simple... Thanks for your help.
Andreas
Hi,
Try to use the code generation wizard. It will make the code for you. Just choose the "read from context node" (and choose the corresponding subnode), and it will create you the data declarations automatically including the structure declaration.
Regards,
Karri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This will be of the same type that you declared while creating the context node element node1. You may go to the context node tab to see the dictionary structure. Alternatively you double click on wd_this which would display the inferface for wd_this and search for element_node1 there.
Let me know if this helps.
Regards
Prasenjit
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.