on 2008 Jul 14 11:21 AM
Hi all,
Please help me with the following problem.
I have a context node PERSON_DETAILS with attribute PERSON which is binded to a Internal table. I want toadd one more data record to the attribute PERSON at runtime.
For eg. The Attribute PERSON is populated with person details, But i would like to append the userid of the person logged in to the the attribute PERSON at runtime based on a condition(whether the user logged in a manager, add the data to the context attribute) without deleting any values populated in the context.
(The context is not populated with usedid logged in at design time. I would like to appedn this to the existing attribute at runtime
Thanks a bunch for the help.
I suggest that you start here and learn the basics about Contexts rather than someone just write the logic for you:
http://help.sap.com/saphelp_nw70/helpdata/EN/2d/de1c42375d5033e10000000a155106/frameset.htm
There are also the Web Dynpro Code Wizards. On 7.0 they only generate context read logic (although in Enhancment Package 1 they are considerable extended to include write and append). Once you understand the arrangement of a context, they can help you to quickly build your declarations and code. However it is critical that you learn and understand how contexts are structure and how they are manipulated. This is critical to being a Web Dynpro developer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I am new to WDA. Could any one please post example code.
I appreciate the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
append or add data record to attribute PERSON?
we add records to context nodes not in particular an attribute
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
65 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.