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

Create a material with reference.

Hi ABAPers,

I have a requirement to create material master record fetching some attributes from the existing SAP materials i.e to replicate the Create with reference feature in MM02

I have tried passing the value of reference material number to PL_REF_MAT parameter in CLIENDATA table of 'BAPI_MATERIAL_SAVEDATA'. But still it is not creating with reference.

I have got a solution; that is use of BAPI_MATERIAL_GET_ALL first and then BAPI_MATERIAL_SAVEDATA, but it may be a performance issue for my program as i m expecting 60000 materials.

Please propose any other solution.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 07, 2012 at 04:24 PM

    Hi Ankit,

    Are you doing from non sap or in sap.The bapi is fine for your requirement.Keep some good coding and see.Check with BAPI_STANDARDMATERIAL_CREATE,MATERIAL_MAINTAIN_DARK.



    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.