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

Getting error : 'C1 821 Inconsistent characteristic value assignment' on updating MARA table classifications using FM BAPI_OBJCL_CHANGE.

former_member220470
Participant
0 Likes
2,173

Hi Experts ,

  I have a requirement as follows :

1. Materials having batches where 'Batch Deletion Flag' is checked in MSC3N transaction. Please check the attachment '1.jpeg' in which Batch1 is marked.

For those above materials i have to change batch master table MCH1 classifications  as well as material master MARA table classifications. but i am facing problem in order to change the classifications of material master using function module 'BAPI_OBJCL_CHANGE' .I am able to update the batch master table 'MCH1'  classifications but not able to update the material master table 'MARA' classifications I am getting the following error 'C1 821 INCONSISTENT CHARACTERISTIC VALUE ASSIGNMENT '.

Note : For those materials in which batches having  'Batch Deletion Flag' as NOT checked , for those its able to update the material master MARA table classifications.as well as MCH1 classifications

Please suggest me how to proceed .

Thanks and Regards

Mohammed Shahab Ansari

1 REPLY 1
Read only

laurent_fournier2
Contributor
0 Likes
1,140

Hi,

I believe that you are passing a non allowed value to the characteristic. Can you please try to do this manually to see if everything is going fine ?

Regards.