08-16-2007 3:38 PM
hi
i have a general qustion,in Tutorials 3 i have to call the metod <b>wd_context</b>
my qustion 1.how i have to now that this is the metod i have to call
CALL METHOD wd_context->set_attribute
EXPORTING
index = use_lead_selection
value = text
name = 'TEXT'
2. how i have to now which class is wd_context class becose i wont to call it in pattren ,i new in objects.
thankes
.
08-16-2007 4:01 PM
To your first question, this will come with experience, in this case you want to update the contect attribute TEXT with a new value, so you would use the method SET_ATTRIBUTE to do so. the WD_CONTEXT is the built in reference to the context object, so you can directly call its methods.
http://help.sap.com/saphelp_nw70/helpdata/en/64/be5b4150b38147e10000000a1550b0/frameset.htm
Regards,
Rich Heilman
08-16-2007 4:01 PM
To your first question, this will come with experience, in this case you want to update the contect attribute TEXT with a new value, so you would use the method SET_ATTRIBUTE to do so. the WD_CONTEXT is the built in reference to the context object, so you can directly call its methods.
http://help.sap.com/saphelp_nw70/helpdata/en/64/be5b4150b38147e10000000a1550b0/frameset.htm
Regards,
Rich Heilman
08-16-2007 4:04 PM