SAP Knowledge Base Article - Preview

2745116 - Incorrectly specified function modules or parameters produce runtime errors and not syntax errors

Symptom

Following runtime errors will happen if the called function modules or its parameters are incorrectly specified,
however the syntax check doesn't raise any error.

Exception Runtime Error Cause
CX_SY_DYN_CALL_ILLEGAL_FUNC CALL_FUNCTION_NOT_ACTIVE The called function is known but not active.
CX_SY_DYN_CALL_ILLEGAL_FUNC CALL_FUNCTION_NOT_FOUND The called function is unknown.
CX_SY_DYN_CALL_ILLEGAL_TYPE CALL_FUNCTION_CONFLICT_GEN_TYP The type of the actual parameter does not meet the requirements of the function interface.
CX_SY_DYN_CALL_ILLEGAL_TYPE CALL_FUNCTION_CONFLICT_LENG The actual parameter does not have the length expected by the function.
CX_SY_DYN_CALL_ILLEGAL_TYPE CALL_FUNCTION_CONFLICT_TYPE The actual parameter does not have the type expected by the function.
CX_SY_DYN_CALL_ILLEGAL_TYPE CALL_FUNCTION_NO_VB Only valid functions can be called in the update.
CX_SY_DYN_CALL_ILLEGAL_TYPE CALL_FUNCTION_WRONG_ALIGNMENT An actual parameter does not meet the alignment requirements of the corresponding formal parameter.
CX_SY_DYN_CALL_PARAM_MISSING CALL_FUNCTION_PARM_MISSING The function expects a parameter not specified by the caller.
CX_SY_DYN_CALL_PARAM_NOT_FOUND CALL_FUNCTION_PARM_UNKNOWN The caller specified a parameter not recognized by the function.


Read more...

Environment

ABAP System.

Keywords

KBA , BC-ABA-LA , Syntax, Compiler, Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.