Solution : https://service.sap.com/sap/support/notes/788946 (SAP Service marketplace login required)
Summary :
When updating the change history of order documents in SAP, exception /SCMB/CX_ODM_UDP_DB may be triggered with text ID MODIFY_FAILED. This occurs due to the activation of history tracking specific to order data types and their components, coupled with the presence of an active unique index in the component structure. The issue is encountered under class /SCMB/CL_ODM_UPD using the method UPDATE_TABLE. The resolution involves implementing a source code correction followed by the reactivation of the sales order data area using Transaction /SCMB/ODM_ACT_ORDA, without necessitating prior generation.
Key words :
affected sales order data area, sales order data type, order data area, order data type, order document type, order document management, text id modify_failed, exception /scmb/cx_odm_udp_db, transaction /scmb/odm_act_orda, document change managementclass
Related Notes :
724477 | ODM: Problems in order document management after transport |