‎2008 Aug 13 1:38 PM
Hi all ,
My requirement is I have 6 company codes in which there are 16 plants all together but my requirement is I need only 6 plants from them and these plants are in various company codes.
It would be helpful if someone can provide solution.
<removed_by_moderator>
Thanks & Regards
Jerry
Edited by: Julius Bussche on Aug 13, 2008 4:41 PM
‎2008 Aug 13 2:07 PM
Select bukrs werks from tvko into itab
where bukrs in bukrs_list.
Sort itab by bukrs.
Delete adjacent records comparing bukrs...
Like this you can get single company code and corresponding plant.
Thank you
‎2008 Aug 13 1:50 PM
‎2008 Aug 13 1:52 PM
‎2008 Aug 13 2:07 PM
Select bukrs werks from tvko into itab
where bukrs in bukrs_list.
Sort itab by bukrs.
Delete adjacent records comparing bukrs...
Like this you can get single company code and corresponding plant.
Thank you
‎2008 Aug 13 5:46 PM
Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting further.
If you can confirm that you have read the rules, then I will also give my answer.
Cheers,
Julius