I have 2 problems with this bapi.
I am wanting to use this BAPI to simulate creating of a material to test if all the data is correct. I am not calling BAPI_TRANSACTION_COMMIT but the material is still being created.
How do I simulate this BAPI to test the data before actually creating the material.
If I assign profit center to the plant data when calling the BAPI, I get an error message saying profit center does not exist. The profit center is definitely there though as I can add it to a material using MM02.