When a sales document is being opened via Fiori App 'Change Sales Documents' or the change action from Fiori App 'Manage Sales Quotations', the following error occurs.
- Internal error in communication between configuration and sales doc.GET_CONFIG_MODE (V1 854)
SAP S/4HANA Cloud
Reproducing the Issue
- In Fiori App 'Change Sales Documents', input a sales document number and press enter key.
- In Fiori App 'Manage Sales Quatations', input a quotation document number to view the details and press the change button.
From coding level we can know the error was thrown from the following place.
11 METHOD GET_CURRENT_CBASE_BY_INSTANCE CL_CBASE======================CP
10 METHOD INSTANCE_GET_CURRENT_IBASE CL_CUCB=======================CP
9 METHOD GET_CBASE_HEAD CL_CUCB=======================CP
ELSEIF iv_instance(4) = '9999' OR
iv_instance(4) = '8999'.
The configuration of the item (VBAP-CUOBJ) makes reference to configuration data that no longer exists. The field VBAP-CUOBJ is with a string starting with '9999', which means in a previous processing step, a configurable material was replaced with another material in the configuration. However, the original material could not be deleted from sales document.
It's recomended to report an incident to SAP with the document number as well as the written permission to reset the inconsistent configuration.
With the info above, SAP will help to run report RCU_CHECK_CONFIGURATION to reset the CUOBJ back to 000000000000000000. Then the sales document can be accessed in Fiori App 'Change Sales Documents' or the change mode of 'Manage Sales Quotations'. Afterwards the configuration of the relevant sales document items needs to be maintained manually if necessary.
VBAP-CUOBJ, GET_CONFIG_MODE, GET_CURRENT_CBASE_BY_INSTANCE, CL_CBASE, V1 854, VA02, VA22, Change Sales Document, Manage Sales Quotations , KBA , LO-VC , Variant Configuration , SD-SLS-GF-VA , Bill Of Material (BOM) & Variant Configuration , SD-SLS-QUT , Inquiries / Quotations , Problem