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

internal table

Former Member
0 Likes
470

hi to all,

i am having one internal table itab.

one of the field from itab is BUKRS.

loop at itab.

endloop.

with in the loop end loop i need check company code BUKRS with the fixed set of company codes US1 US2 US4 US5 US6 US9 US10 ....... like this i have 25 to 30 fixed set of company codes.

can any one plesae help me is there any easy way to do this.

regards

raadha

3 REPLIES 3
Read only

Former Member
0 Likes
447

Can you explain in brief your problem.

Regards,

Kumar.

Read only

0 Likes
447

i am having one internal table itab.

one of the field from itab is BUKRS.

loop at itab.

endloop.

inside the loop i need to check company code BUKRS from the ITAB with the fixed set of company codes US1 US2 US4 US5 US6 US9 US10 ....... like this i have 25 to 30 fixed set of company codes.

based on this i want to populate some other fields of the output internal table.

for eamaple if the company code is with in this set of values i wnat to polate some out fields with some constants other wise with some other value.

can any one plesae help me is there any easy way to do this.

regards

raadha

Read only

Former Member
0 Likes
447

use IF else inside loop...