Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Data Interfaces and Communication Interfaces →  Remote Function Call →  CALL FUNCTION - RFC →  CALL FUNCTION - STARTING NEW TASK 


Short Reference

Other versions: 7.31 | 7.40 | 7.54


... [EXPORTING  p1 = a1  p2 = a2 ...] 
    [TABLES     t1 = itab1 t2 = itab2 ...]
    [CHANGING   p1 = a1 p2 = a2 ...]
    [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
                [system_failure = ns [MESSAGE smess]]
                [communication_failure = nc [MESSAGE cmess]]
                [resource_failure      = nr [MESSAGE rmess]]
                [OTHERS = n_others]].


These additions are used to assign actual parameters to formal parameters of the function module and to control the exception handling. The additions have the same meaning as in the synchronous RFC with the exception that values with IMPORTING cannot be imported and that actual parameters specified by CHANGING can be used to pass values but not to accept values. The additional predefined non-class-based exception resource_failure can also be handled for pRFC.


the exception handling defined here also determines the exception handling in the RECEIVE statement in callback routines. If the EXCEPTIONS addition is not specified, class-based exception handling is activated and the addition can not be specified for RECEIVE. However, EXCEPTIONS must be specified for RECEIVE if it is specified here. This is checked at runtime.