Do you have any question about this error?
Message type: E = Error
Message class: COM_PME_PARSER - Configuration
Message number: 123
Message text: Formal parameter &1 in table/function &2 is restrictable
The formal parameters which are used in tables/functions and are
accessed in object dependencies must all be single-value
characteristics. However, formal parameter &V1& for table/function &V2&
is restrictable.
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 object
dependencies. Correct your entry accordingly.
Error message extract from SAP system. Copyright SAP SE.
COM_PME_PARSER123
- Formal parameter &1 in table/function &2 is restrictable ?The SAP error message COM_PME_PARSER123 indicates that there is an issue with a formal parameter in a table or function that is marked as "restrictable." This typically occurs in the context of ABAP programming, particularly when dealing with function modules or methods that have parameters defined in a way that does not align with the expected usage.
Cause:
The error is usually caused by one of the following:
- Parameter Definition: The formal parameter in the function or method is defined in a way that it cannot be restricted or is not compatible with the expected data type or structure.
- Usage Context: The function or method is being called in a context where the parameters are not being passed correctly, or the calling program does not meet the restrictions defined in the function/module.
- Incompatibility: There may be a mismatch between the expected parameter types and the actual types being passed during the function call.
Solution:
To resolve this error, you can take the following steps:
- Check Parameter Definitions: Review the definition of the function or method in question. Ensure that the parameters are defined correctly and that they are compatible with the data types being passed.
- Review Calling Code: Look at the code that is calling the function or method. Ensure that the parameters being passed match the expected types and that any restrictions are adhered to.
- Adjust Parameter Types: If necessary, modify the parameter types in the function definition or adjust the calling code to ensure compatibility.
- Consult Documentation: Refer to the SAP documentation for the specific function or method to understand the expected parameter types and any restrictions that may apply.
- Debugging: Use debugging tools in SAP to step through the code and identify where the mismatch occurs.
Related Information:
By following these steps, you should be able to identify the root cause of the error and implement a suitable solution.
Get instant SAP help. Start your 7-day free trial now.
COM_PME_PARSER122
Multiple-value formal parameter &1 in table/function &2
What causes this issue? The formal parameters used for tables/functions accessed in dependencies must all be single-value characteristics. However, f...
COM_PME_PARSER121
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 ...
COM_PME_PARSER124
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...
COM_PME_PARSER125
Inference of default value for &1 in table/function not possible
What causes this issue? The syntax check found an error. When calling table or function , the inference of a default value was requested by assignmen...
Click on this link to search all SAP messages.