I am a newbie to dynpro. From whatever programs i have written till now i have observed that whenever we call functions like GET_ATTRIBUTES or SET_ATTRIBUTES in the following way
1) X -> GET_ATTRIBUTE
......................................
2) CALL METHOD X->SET_ATTRIBUTE
..................................
Now in place of X , if i write the NODE variable name (of type IF_WD_CONTEXT_NODE) or ELEMENT TYPE( by using GET_ELEMENT for a node) it works for both of them.
So what is the difference between the two and which is better to use.I understand that node contains an element which refers to the attributes but in this example I am not able to figure out the difference
THANKS
Request clarification before answering.
hi amber....
there is a diff betwn GET_ATTRIBUTE.....and... GET_STATIC_ATTRIBUTE.....and this can be only noticed incase of INTERFACE NODE(used for passin values from one WDA program to other WDA program)
in this case if u use GET_STATIC_ATTRIBUTE....then u wil notic tht values are not passin...
in such cases GET_ATTRIBUTE wil help u....
bcoz static...points to a memory location which is lost whn next program is called....
if u require more ellaboration kindly let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.