Skip to Content
author's profile photo Former Member
Former Member

BAPI to display all plants specific to a mterial.

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 06:01 AM

    Hello

    Just select * from MARC where matnr = your_material_number

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.