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