‎2009 Nov 03 3:16 PM
Dear Experts,
I am using BAPI_MATERIAL_SAVEDATA to update material master,Material number should be generated
internally.If iam not including Material number,Bapi returns errror mesage.How can i do this?
Regards,
Sujay .
‎2009 Nov 03 3:58 PM
From the function module documentation:
o MATERIAL
Only external number assignment is supported for the material number
(MATERIAL). If you want the material number to be assigned
internally, the method BAPI_MATERIAL_GETINTNUMBER must first be
called. This method determines an internal number for the material
to be created. You must enter this internal number in field
HEADDATA-MATERIAL.
Hope this helps,
-Mark
‎2009 Nov 03 3:58 PM
From the function module documentation:
o MATERIAL
Only external number assignment is supported for the material number
(MATERIAL). If you want the material number to be assigned
internally, the method BAPI_MATERIAL_GETINTNUMBER must first be
called. This method determines an internal number for the material
to be created. You must enter this internal number in field
HEADDATA-MATERIAL.
Hope this helps,
-Mark