Skip to Content
Former Member
May 30, 2008 at 05:35 AM

internal tbale


i am having one internal table itab.

one of the field from itab is BUKRS.

loop at itab.


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.

*example itab-bukrs* = US1 or US2 or US4 or US5 or US6 or US9 or US10 or us12 or us 14 or etc ...... like this i need to compare with some other 15 values .

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