Application Development 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: 

Probelm in creation of material using BAPI

kishorepallapothula
Participant
0 Kudos

Hi All,

Is it possible to create a material without passing a material number to the BAPI

(BAPIMATHEAD-MATERIAL)?

I am encountaring a problem that 'Enter the Material Number'.

I dont want to enter material number. The system should generate an internal material number.

How can i solve this issue...

will be rewarded with points....

Thanks in advance

Kishore

3 REPLIES 3

Former Member
0 Kudos

Hi,

first you need to check if your materialtype is customized for internal number

and then you can work with an btch-program

or MM17

regards

Nicole

Edited by: Nicole Lorenz on Mar 20, 2008 3:01 AM

Former Member
0 Kudos

Hi,

Use this Function Moudule,

BAPI_MATERIAL_GETINTNUMBER to get the next available material number.

Hope it will solve your issue.

dont forget to Reward Points .

Former Member
0 Kudos

Hi,

You don't need set material number in

FM: BAPI_MATERIAL_SAVE_DATA