How To Fix CACS_SE046 - A key was changed during enrichment of settlement documents


CACS_SE046 - Overview

  • Message type: E = Error

  • Message class: CACS_SE - Settlement

  • Message number: 046

  • Message text: A key was changed during enrichment of settlement documents

  • Show details Hide details
  • What causes this issue?

    A key field was changed in the document table in the BAdI <ZK>Settlement
    Run: Enrich Settlement Document </> (CACS_SETTLEMENT_RUN_ENR_DOC).
    This change is <ZH>not</> permitted since the key for the unique
    identification of the entry is used. Before the
    <DS:GLOS.D388EDC2EE09D411A4910060B03C3B0E>settlement documents</> are
    enriched, the SAP fields are temporarily stored and they are then
    written again by the enriched documents so that <ZH>only </> the
    customer's own fields are changed and the documents remain consistent.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Adjust the BAdI for enriching the settlement documents in such a way
    that <ZH>no </>key of the line items is changed

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CACS_SE046 - A key was changed during enrichment of settlement documents ?
    The SAP error message CACS_SE046, which states "A key was changed during enrichment of settlement documents," typically occurs in the context of the SAP Convergent Charging (SAP CC) or SAP Convergent Invoicing (SAP CI) processes. This error indicates that there was an inconsistency or a change in the key fields of a settlement document while it was being enriched, which can lead to issues in processing the document correctly.
    
    Cause: Key Field Changes: The error usually arises when a key field (such as a document number or a reference key) is modified during the enrichment process. This can happen if there are concurrent updates or if the data is being manipulated in a way that violates the integrity of the document. Data Consistency Issues: If there are inconsistencies in the data being processed, such as missing or incorrect references, it can trigger this error.
    Configuration Issues: Incorrect configuration in the SAP system related to

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker