Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI : MATERIAL MASTER - Internal Number generation

Former Member
0 Likes
694

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 .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
509

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

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 .

1 REPLY 1
Read only

Former Member
0 Likes
510

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