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: 

MATERIAL_SAVEDATA - error: Warehouse no. X not maintained for material XX.

Former Member
0 Kudos

Hi,

does anybody know in detail what this error message means by using BAPI 'BAPI_MATERIAL_SAVEDATA':

Warehouse no. XXX not maintained for material XXXXXXXXX. (error no. M3361)

I want to use that BAPI for a data migration but that error message is not telling me much at all.

Could somebody give me a usefull hint, please!?

2 REPLIES 2

Former Member
0 Kudos

Hi,

Please check if you can create a material with the same data as you have supplied for the BAPI.

If it is working then you can be sure that either the data that you supply to the BAPI, i.e. the various tables you populate might be wrong or the BAPI will have some OSS note to be applied.

Hope this Helps.

Former Member
0 Kudos

That's a good idea.

These are the fields of the IDOC segment structures I'm filling so far:

MATHEAD-MATERIAL

MATHEAD-IND_SECTOR

MATHEAD-MATL_TYPE

MARA-OLD_MAT_NO

MARA-BASE_UOM

MARA-BASE_UOM_ISO

MARA-NET_WEIGHT

MARAX-BASE_UOM

MARAX-BASE_UOM_ISO

MARC-PLANT

MARCX-PLANT

MARD-PLANT

MARDX-PLANT

MARC-MRP_TYPE

MARC-COMM_CODE

MARC_COUNTRYORI

MARC_REGIONORIG

MARCX-MRP_TYPE

MARD-STGE_LOC

MARDX-STGE_LOC

MLGN-WHSE_NO

MLGNX-WHSE_NO

MLGT-WHSE_NO

MLGT-STGE_TYPE

MLGTX-STGE_TYPE

MAKT-LANGU

MAKT-MATL_DESC

Is there anything missing?