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_SAVEREPLICA

Former Member
0 Likes
811

I am using BAPI_MATERIAL_SAVEREPLICA for extend materials for Warehouse Management 1 & Warehouse Management 2, inthe structures STORAGETYPEDATA and STORAGETYPEDATAX, is it posible transfer some of this fields MATERIAL ,

WHSE_NO and STGE_TYPE in blank.??? actually i amgetting error "Field LGTYP has been transferred inconsistently or is blank ".

Some suggestion?

Regards.

Mireya.

3 REPLIES 3
Read only

Former Member
0 Likes
691

Hi Mireya,

For views warehouse management 1 and warehouse management 2, plant and warehouse number are mandatory fields even in MM03 ( which is expected ). Storage type is optional but I believe this will depend on the config.

Hope it helps.

Sujay

Read only

0 Likes
691

I happened to have a similar error. The bapi I'm using when creating a new material is BAPI_MATERIAL_SAVEDATA and I'm getting the following error:

Field LGTYP has been transferred inconsistently or is blank

LGTYP for MLGT is ""; previously ""

Acording to my functional user, the field LGTYP can be blank. He showed my on tx MM02.

Is there any missing field to be filled, or we are facing a config problem here?

Hope you can help me up here.

Read only

0 Likes
691

Problem solved.

When not specifing field LTYP, the whole structure should be avoided.