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: 

To create Material Master using BAPI

Former Member
0 Kudos
271

Hi All,

I am new to BAPI. I have to create Material Master using BAPI.

can you give some ideas about it.

Thanks in advance.

Moderator message : Search for available information, discussion locked.

Message was edited by: Vinod Kumar

2 REPLIES 2

0 Kudos
231

You can make use of BAPI_MATERIAL_SAVEDATA for material creation. IF you are trying to create material from ABAP code , you call this bapi as a function module and pass the necessary parameters. You will have to call BAPI_TRANSACTION_COMMIT after calling the main BAPI.

Former Member
0 Kudos
231

Hi Ukkir ,

  • Use Function module  'MATERIAL_NUMBER_GET_NEXT' to get next available material,

  • You can use that material by using  BAPI  'BAPI_MATERIAL_SAVEDATA'. 

          or

  • if u want o create a retail material  try this BAPI- 'BAPI_RETAILMATERIAL_CREATE'.