on 01-14-2010 2:58 PM
I am trying to understand Context in Web Dynpro. I know that Context is data storage in WDP. But how is Nodes and Attributes related to a standard ABAP program. Are nodes like Types and Attributes the actual fields?
So if I create a type
TYPES: begin of itab,
matnr type mara-matnr,
maktx type mara-maktx,
end of itab.
Is this the same as create a Node called itab with 2 attributes matnr and maktx? And then if I set the cardinality of the node to 0 .. n then it would become an internal table instead of just a structure. Am I understanding this correctly?
Yes your description is quite correct. In fact when you declare a node, there is a matching type that gets generated. And depending upon the cardinality, internally either an ABAP structure or Internal Table is also generated. The Node is just a platform independent way of modeling ABAP data. This way Web Dynpro ABAP and Java can have the same way of describing data, yet different internal implementations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
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.