Sunday, December 29, 2013

How to access one context node's data from another context node

Assume we have 2 context nodes BUILHEADER(Header) and BUILROLES(Roles). And from Roles context node class if we need to access Header CN:

1. Create an attribute ZHEADER type ref to ZL_ZROLES_ROLESLIST_CN01 in the Roles context node class.


2. In the Create Header method of context node class add the following code.



3. In the get_attr method of the Roles context node, the header context node can be accessed.



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.