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: 

update Storage BIN using BAPI_MATERIAL_SAVEDATA

former_member450925
Discoverer
0 Kudos

Dear All,

I need to update Storage BIN at MM02 view General Plant Data / Storage 1 using BAPI_MATERIAL_SAVEDATA.

I tried to but it gives following Message:

H MK 102 Trying to create: 500016807 1000 10__ ____ __________ ____ __ ___ ___

S MG 160 The material cannot be maintained since no maintainable data transferred

H MK 103 Trying to change: 500016807 1000 10__ ____ __________ ____ __ ___ ___

S M3 810 No changes made

I Passed data in HEADDATA Followings

MATERIAL 500016807

IND_SECTOR M

MATL_TYPE ERSA

STORAGE_VIEW X

In STORAGELOCATIONDATA

PLANT 1000

STGE_LOC 10

STGE_BIN PRO99(Value to be updated)

In STORAGELOCATIONDATAX

PLANT 1000

STGE_LOC 10

STGE_BIN X

I am open for any suggestion other than this as well.

Thanks In Advance..

2 REPLIES 2

mmcisme1
Active Contributor
0 Kudos

One thing to keep in mind is you are extending (creating the bin) the material master.

sap change material master bapi

Also what do you have in:

STORAGELOCATIONDATAX

former_member450925
Discoverer
0 Kudos

Hello Michelle,

I passed followings

==================================

In STORAGELOCATIONDATA

PLANT 1000

STGE_LOC 10

STGE_BIN PRO99(Value to be updated)

===================================

In STORAGELOCATIONDATAX

PLANT 1000

STGE_LOC 10

STGE_BIN X

Regards,