Message type: E = Error
Message class: 28 - Configuration
Message number: 122
Message text: Multiple-value formal parameter &1 in table/function &2
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.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
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.
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
Get instant SAP help. Sign up for our Free Essentials Plan.
28121
Table/function does not allow inference of values
What causes this issue? If a table/function in an action is not in the conditional part of an action (after IF), the table/function is used to infer ...
28118
Duplicate entry &1 in the allowed values for characteristic &2
What causes this issue? The allowed values after the keyword IN contain duplicate entries.System Response The syntax check issues a warning.How to f...
28123
Formal parameter &1 in table/function &2 is restrictable
What causes this issue? The formal parameters which are used in tables/functions and are accessed in object dependencies must all be single-value cha...
28124
Current parameter &1 in table/function &2 is multiple value
What causes this issue? In actions, procedures, preconditions and selection conditions, you cannot use multiple-value characteristics as entry parame...
Click on this link to search all SAP messages.