In 31I, I used to use the function module 'MATERIAL_MAINTAIN_DARK' to create materials in background. The BAPI you mention also uses this, so it is probably fine for your needs. It will do all the validation checks for you, and it has easier parameters to use. It is also fully documented.
Dig Deeper on SAP ERP software
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.