How To Fix 28122 - Multiple-value formal parameter &1 in table/function &2


28122 - Overview

  • Message type: E = Error

  • Message class: 28 - Configuration

  • Message number: 122

  • Message text: Multiple-value formal parameter &1 in table/function &2

  • Show details Hide details
  • What causes this issue?

    The formal parameters used for tables/functions accessed in
    dependencies must all be single-value characteristics. However, formal
    parameter &V1& for table/function &V2& is multiple-value.

    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?

    Formal parameter &V1& for table/function &V2& cannot be used in
    dependencies.
    You need to create a single-value characteristic and allocate it to the
    table or function. You can then use this characteristic as a formal
    parameter in object dependencies.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 28122 - Multiple-value formal parameter &1 in table/function &2 ?
    The SAP error message 28122, which states "Multiple-value formal parameter &1 in table/function &2," typically occurs when a function module or method is called with a parameter that is expected to accept a single value, but multiple values are being passed instead. This can happen in various scenarios, such as when using a table parameter that is not properly defined or when the calling program does not match the expected input structure.
    
    Cause: Incorrect Parameter Type: The function module or method is defined to accept a single value for a parameter, but the calling program is passing a table or multiple values. Data Type Mismatch: The data type of the parameter being passed does not match the expected data type in the function module or method. Improper Use of Structures: If a structure is expected but a table is passed, or vice versa, this error can occur.
    Solution: Check Function Module/Method Definition: Review the definition of

    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