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

itab problem

Former Member
0 Likes
455

hiiii.

iam using 2 itabs.my itab1 and itab2 consist of 411 fields (411 columns ) and it consist of only 1 records but 411 fields in that.so how to comapre each fields.......itab1 n itab2 is a structure of (CAUFVDB)

for eg....

loop at itab1.

read table itab2 with key field = itab1-field1.(how i wll comapre 411 fields)

if sy-subrc = 0.

....................

endif.

endloop.

3 REPLIES 3
Read only

former_member195698
Active Contributor
0 Likes
430

You can try this

loop at itab1.

read table itab2 from itab1.

if sy-subrc = 0.

....................

endif.

endloop.

http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35f8358411d1829f0000e829fbfe/content.htm

Read only

Former Member
0 Likes
430

loop at it into wa.

read table it2 fro wa with key wa = wa-field1 wa = wa-field1.

if sy-subrc = o.

succ.

endif.

endloop.

Read only

Former Member
0 Likes
430

thank u