Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

flat structure having internal table

Former Member
0 Likes
569

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....

3 REPLIES 3
Read only

Former Member
0 Likes
507

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

Read only

former_member156446
Active Contributor
0 Likes
507

if you are getting a structure... you can use ur_vbeln = data-tab_likp-vbeln.

Read only

Former Member
0 Likes
507

i solved it

thanks...