11-26-2009 10:37 AM
DEAR FRIENDS,
I am working with creation of material master with BAPI_MATERIAL_SAVEDATA. material is createing but it is taking external material no, but i have to proceed with internal number range.
can any one help me where and how to proceed for that. is the any filed that we have to pass X to make internal and external?
thanks and regards,
venkat suman.
11-26-2009 10:43 AM
Try BAPI_MATERIAL_GETINTNUMBER
link:[http://help.sap.com/saphelp_NW70EHP1/helpdata/en/c5/e4ad64453d11d189430000e829fbbd/content.htm]
Sorry the above fm is replaced by BAPI_STDMATERIAL_GETINTNUMBER & BAPI_MATERIAL_GETINTNUMBERRET
Edited by: ksd on Nov 26, 2009 4:19 PM
11-26-2009 10:43 AM
Try BAPI_MATERIAL_GETINTNUMBER
link:[http://help.sap.com/saphelp_NW70EHP1/helpdata/en/c5/e4ad64453d11d189430000e829fbbd/content.htm]
Sorry the above fm is replaced by BAPI_STDMATERIAL_GETINTNUMBER & BAPI_MATERIAL_GETINTNUMBERRET
Edited by: ksd on Nov 26, 2009 4:19 PM
11-26-2009 11:51 AM
hi,
the FM BAPI_MATERIAL_SAVEDATA work with internal number range or they are other options?
regards,
venkat suman.
11-26-2009 11:54 AM
Hi,
I think you need to change the setting for the material number is fetched by a functional consultant in SPRO-->MM.
Regards,
Aditya
11-26-2009 12:03 PM
11-26-2009 12:09 PM
Documentation of BAPI_MATERIAL_SAVEDATA.
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.