CALL_FUNCTION_SYNTAX_ERROR is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
Check consistent use of either class-based or classic exceptions during the call (the CALL FUNCTION command) and the reply (the RECEIVE RESULTS command). For class-based exceptions, use TRYand CATCH blocks. For classic exceptions, use the EXCEPTIONS addition.
P1 = <runtime parameter>
A syntax error occurred during an asynchronous RFC call.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
The function module <runtime parameter> was called as an asynchronous RFC with reply.
An inconsistency was discovered between the call and the reply, one
should use class-based exceptions and the other should not.
This action was explicitly caused by the application in the transaction
<runtime parameter> as well as in the ABAP main program <runtime parameter>. This is an application
problem.
The function module <runtime parameter> was called as an asynchronous RFC with reply.
However, the reply was programmed inconsistently to the call, for
example, class-based exceptions were to be used in one but not in the
other.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
CALL_FUNCTION_SYNTAX_ERROR - call function syntax error CALL_FUNCTION_SNC_REQUIRED - call function snc required CALL_FUNCTION_SNC_NAME_NOT_FND - call function snc name not fnd CALL_FUNCTION_SNC_ERROR - call function snc error CALL_FUNCTION_SINGLE_LOGIN_REJ - call function single login rej CALL_FUNCTION_SIGNON_REJECTED - call function signon rejected