Skip to Content

BAPI_REQUIREMENTS_CREATE

Dear All,

I am using this BAPI to create planned independents requirement.

All works fine but for a couple of materials.

For this materials the BAPI returns message saying that Material does not exist in plant 2000 even though it does.

If I do the same thing manually through SE37,it works fine.From SE37 there is no return message and the material gets uploaded successfully in MD61.

I am passing the following parameters to the BAPI.Plz let me know what might be the problem.

CALL FUNCTION 'BAPI_REQUIREMENTS_CREATE'

EXPORTING

REQUIREMENTS_ITEM = BAPISITEMR

  • REQUIREMENT_PARAM =

DO_COMMIT = 'X'

  • UPDATE_MODE = 'X'

  • REFER_TYPE = ' '

  • PROFILID = ' '

  • IMPORTING

  • MATERIAL =

  • PLANT =

  • REQUIREMENTSTYPE =

  • VERSION =

  • REQMTSPLANNUMBER =

  • MRP_AREA =

  • MATERIAL_EVG =

TABLES

REQUIREMENTS_SCHEDULE_IN = IT_BAPISSHDIN

  • REQUIREMENTS_CHAR_IN =

RETURN = IT_RETURN.

Regards,

Rahul.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 13, 2008 at 06:15 AM

    Dunno why this happens for some materials

    Add a comment
    10|10000 characters needed characters exceeded

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.