Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SDDL_PARSER_MSG - Message Class for DDL Parser
Message number: 107
Message text: RETURNS must be followed by a parameter list in '{}'
The return value of a table function is a list of return parameters that
are enclosed within curly brackets '<ZH> { } </>':
<EX> [<(><<)>Annotation_1>] <(><<)>r_par_1>:<(><<)>Namespace_1>.<(>
<<)>Typ_1> [<(><<)>Post_Annotation_1>];
...
[<(><<)>Annotation_n>] <(><<)>r_par_n>:<(><<)>Namespace_n>.<(><<)>Typ_n>
[<(><<)>Post_Annotation_n>]; </>
Each parameter specification must be closed with ';' (
<DS:ABEN.CDS_F1_DEFINE_TABLE_FUNCTION>CDS Table Functions</>)
Error message extract from SAP system. Copyright SAP SE.
SDDL_PARSER_MSG107
- RETURNS must be followed by a parameter list in '{}' ?The SAP error message SDDL_PARSER_MSG107 indicates that there is a syntax issue in the Security Definition Language (SDL) used in your SAP system. Specifically, the error message states that the
RETURNS
keyword must be followed by a parameter list enclosed in curly braces{}
. This typically occurs when defining a function or method in the context of security policies or roles.Cause:
The error is caused by an incorrect syntax in the SDL where the
RETURNS
clause is not properly formatted. This can happen if:
RETURNS
clause is missing the required parameter list.{}
.To resolve this error, you should:
RETURNS
clause is used. Ensure that it is correctly formatted.RETURNS
clause is missing a parameter list, add it. For example:RETURNS {parameter1, parameter2}
{}
.If your SDL code looks like this:
FUNCTION myFunction
RETURNS
You should modify it to:
FUNCTION myFunction
RETURNS {param1, param2}
If you continue to experience issues after making these changes, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
SDDL_PARSER_MSG106
:
What causes this issue? A list of input parameters has the following form: [<(><<)>Annotation_1>] <(><<)>r_par_1>...
SDDL_PARSER_MSG105
A list of input parameters is expected after "WITH PARAMETERS"
What causes this issue? The list of input parameters must be in the form [<(><<)>Annotation_1>] <(><<)>im_par_1>:...
SDDL_PARSER_MSG108
Return column has incorrect form or contains a reserved word
What causes this issue? A list of return parameters is enclosed within curly brackets '<ZH>{ } </>' and must be in the followin...
SDDL_PARSER_MSG109
IMPLEMENTED BY METHOD was expected here
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.