How To Fix MC355 - Reference structures are passed to function modules


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MC - Aggregate: views, matchcodes, lock objects

  • Message number: 355

  • Message text: Reference structures are passed to function modules

  • Show details Hide details
  • What causes this issue?

    You specified option 'allow RFC' for an existing lock object.
    During activation, the parameters of the generated ENQUEUE and DEQUEUE
    function modules are supplied with reference fields. Function modules
    without RFC permission do not require these reference fields.

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

    System Response

    How to fix this error?

    If the generated function modules are already called in an ABAP/4
    program, make sure that the call is made with parameters appropriate for
    the type. Otherwise, a runtime error occurs when you set the lock.
    The parameters are supplied with the following reference fields:
    Parameter: X_<field name> Reference field: DDENQ_LIKE-XPARFLAG
    Parameter: _WAIT Reference field: DDENQ_LIKE-WAITFLAG
    Parameter: _SCOPE Reference field: DDENQ_LIKE-SCOPE

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MC355 - Reference structures are passed to function modules ?
    The SAP error message MC355, which states "Reference structures are passed to function modules," typically occurs when a reference structure is being used in a function module where a value structure is expected. This can happen in various scenarios, particularly when dealing with data transfer between different components or modules in SAP.
    
    Cause: Reference Structures: In SAP ABAP, a reference structure is a structure that points to another structure rather than containing its own data. This can lead to issues when the function module expects a value structure (which contains actual data) instead of a reference. Incorrect Parameter Type: The function module may have been designed to accept a specific type of parameter, and passing a reference structure instead of a value structure can lead to this error. Data Declaration Issues: If the data is declared incorrectly or if the wrong type of data is being passed to the function module, this error can

    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