‎2009 Jul 13 5:43 AM
hi to all,
i have following structure in standard function module
types: begin of data,
tab_likp LIKE likp OCCURS 0,
end of data.
i'm getting data from type groups.
now i want single field -vbeln in my user exit. how can i fetch this?????????
because data having tab_like and this tab_likp having vbeln.
Thanks....
‎2009 Jul 13 7:31 AM
Hi,
Make use of field symbols.
Create a new field-symbol of type LIKP.
Data : <fs> type standard table of likp.
data: <fs_wa> type likp.
Assign data-tab_likp to <fs>.
if <fs> is assigned.
LOOP AT <fs> into <FS_WA>.
ENDLOOP.
endif.
Regards,
Ankur Parab
‎2009 Jul 13 7:35 AM
if you are getting a structure... you can use ur_vbeln = data-tab_likp-vbeln.
‎2009 Jul 14 9:57 AM