09-17-2014 9:56 PM
Hi,
I am trying deletion and addition of material batch classification using the bapi BAPI_OBJCL_DELETE and BAPI_OBJCL_CHANGE. The bapis are working fine and no error message returned but the issue is with the filed MCH1-CUOBJ_BJ. This field is not updating or not in sync with INOB-CUOBJ.
But when I tried standard tcode MSC5N for this purpose, both MCH1_CUOBJ and INOB-CUOBJ are in sync.
Could you please let me know how to make both the tables sync when bapis are used for batch classification deletion and creation.
Regards
Shoban
09-18-2014 10:37 PM
It seems the above BAPIs ar enot intended to update MCH1 table. So I have updated the MCH1-CUOBJ_BM manually using the fm VB_UPDATE_BATCH and MSC5n not showing Classification data inconsistent error.
09-18-2014 5:40 AM
09-18-2014 6:05 AM
09-18-2014 6:52 AM
Hi,
Two fields are can't be the same functionality. Please check is there any enhancements were happen for this transaction or check your batch characteristics are passing correctly in BAPI.
Generally:
CUOBJ_BM: Number assigned by the system. This number specifies the selection values according to which batch determination was carried out.
CUOBJ:
Consecutive number used to assign objects within a class type. Here, the object number refers to the assignment of a variant to a plant-specific configurable material via the values assigned.
09-18-2014 7:11 AM
Hi Kiran,
Sorry for the confusion. It is the same field CUOBJ_BM in both tables INOB and MCH1.
These two values should be same always but when I used the above bapi, it has updated only INOB but not MCH1-CUOBJ_BM.
09-18-2014 7:43 AM
09-18-2014 10:37 PM
It seems the above BAPIs ar enot intended to update MCH1 table. So I have updated the MCH1-CUOBJ_BM manually using the fm VB_UPDATE_BATCH and MSC5n not showing Classification data inconsistent error.