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: 

Create materials with BAPI_MATERIAL_SAVEDATA

Former Member
0 Kudos

Dear users,

When trying to create materials from a legacy system in SAP, i have run into the following problem: I cannot generate the "Plant stock" view.

Although I am not sending any stocks, this view is required.

We have tried to post a first goods receipt in hope that first transaction will generate this screen. However, it didn't.

Anyway, is there something specific that should be sent to the BAPI in order to have the "plant stock" screen generated for the material?

Right now, the following structures are sent to the BAPI:

HEADDATA

CLIENTDATA

PLANTDATA

STORAGELOCATIONDATA

VALUATIONDATA

and tables:

MATERIALDESCRIPTION

UNITSOFMEASURE

Any input would be helpful, Thanks

2 REPLIES 2

Former Member
0 Kudos

do you have set "x" the needed view in the HEADDATA ?

0 Kudos

Yes,

The 'X' has been set to all the HEADDATA fields.