‎2007 May 18 5:07 PM
Hello,
We are trying to create a new material through BAPI_MATERIAL_SAVEDATA using JCo. Since the FM requires a material number, we are using BAPI_MATERIAL_GETINTNUMBER to get the next available material number. However, this function module locks the material number and when we call the SAVEDATA function module, an error message MGVNUM 011 is returned, saying that the material has already been created. It looks like the GETINTNUMBER uses lock objects MATNR_LOCK and MATNR_LOCK_INT which is checked by the SAVEDATA function module. Are we missing something in terms of passing parameters to get around this? Any help will be greatly appreciated.
‎2007 May 25 6:38 PM