Application Development 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: 

BAPI to display all plants specific to a mterial.

Former Member
0 Kudos
86

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
47

Hello

Just select * from MARC where matnr = your_material_number

2 REPLIES 2

Former Member
0 Kudos
48

Hello

Just select * from MARC where matnr = your_material_number

0 Kudos
47

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.