How To Fix CM_SUB_MLI042 - Overwriting passed-on value assignments is not permitted


CM_SUB_MLI042 - Overview

  • Message type: E = Error

  • Message class: CM_SUB_MLI - Messages for Multilevel Inheritance

  • Message number: 042

  • Message text: Overwriting passed-on value assignments is not permitted

  • Show details Hide details
  • What causes this issue?

    The settings in the inheritance template for the inheritance
    relationship do not allow changes to passed-on data.

    How to fix this error?

    Set the required indicators in the inheritance template:
    <LS><DS:DE.ESEFLG_DST_CHNG>Changes to target specifications
    permitted</></> indicator to be allowed to overwrite value assignment
    data temporarily
    <LS><DS:DE.ESEFLG_INH_EXCL>Exclude from inheritance</></> to be allowed
    to overwrite value assignment data permanently

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CM_SUB_MLI042 - Overwriting passed-on value assignments is not permitted ?
    The SAP error message CM_SUB_MLI042 indicates that there is an attempt to overwrite passed-on value assignments in a context where it is not permitted. This typically occurs in the context of SAP's configuration or programming, particularly when dealing with value assignments in a function module, method, or similar constructs.
    
    Cause: The error usually arises due to one of the following reasons: Incorrect Value Assignment: You are trying to assign a new value to a parameter that has been passed by reference, which is not allowed in the current context. Function Module or Method Restrictions: The function module or method you are working with has specific rules regarding how parameters can be modified. Data Flow Issues: There may be a misunderstanding of how data is flowing through your program, leading to attempts to overwrite values that should remain constant.
    Solution: To resolve this error, consider the following steps: Review Parameter Types: Check the parameters of the function module or

    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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant