2009 Aug 12 6:57 AM
Hi Experts,
Is there any standard BAPI to display all plants for a specific material? also, if there is no standard one, can you please guide me for wirting a customised BAPI for this requirement?
Thanx in advance,
Rajeev.
2009 Aug 12 7:01 AM
Hello
Just select * from MARC where matnr = your_material_number
2009 Aug 12 7:01 AM
Hello
Just select * from MARC where matnr = your_material_number
2009 Aug 12 7:12 AM
in marc table you have
MATNR MATNR CHAR 18 0 Material Number
WERKS WERKS_D CHAR 4 0 Plant
you can select the werks (plant) passing matnr(material number) to select quesry.
select matnr werks from marc into gt_marc where matnr = p_matnr.