Symptom
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)
Environment
SAP S/4HANA Cloud Public Edition
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.
Cause
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'.
* error
raise_invalid_instance iv_instance.
...
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.
Resolution
It's recomended to report an case 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.
See Also
200914 - Report for checking the configuration
900047 - Message V1 854: Lost configuration
522779 - Internal error V1854 GET_CONFIG_MODE
Keywords
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 , LO-VC-2CL , Variant Configuration (Public Cloud) , SD-SLS-QUT , Inquiries / Quotations , Problem