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

Help with BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
566

Dear folks,

I'm traying to update a material with BAPI_MATERIAL_SAVEDATA throgh DataStage. I only get an error in the field CO_PRODUCT (MARC-KZKUP).

1EMG 142 The value X is not allowed for the field MARC-KZKUP/BAPI_MARC-CO_PRODUCT

I already tried values like X,U,I,1.

I'm updating this filed in the structures PLANTDATA and PLANTDATAX.

Could any one tell me which value should I use to update this field?

2 REPLIES 2
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
502

Go to marc table double click on data element and then domain you will find the list of correct values

Nabheet

Read only

0 Likes
502

Dear Nabheet,

I already tried this, actually, the fact that brings my attention is that the Data Type is CHAR, but the Data Element is FLAG, so, I'm wondering if this has to be with the issue that I'm not able to load this field by through the BAPI. The FLAG Domain says that the valid values are:

X Flag set. Event has occurred.

Flag is Not Set

If transfering the value X, but it stills sending me the same error, that the X value is not allowed.