RECEIVE - parameter_list

Syntax

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

Effect

With these additions, the specified formal parameters of the funcspecified function module are passed to the current parameter of the callback routine in the calling program and return values are assigned to non-class-based exceptions. The meaning of the additions is the same as in synchronous RFC, but values are only adopted by current parameters specified using CHANGING, not passed on by them. In particular, return values can be assigned to the special exceptions SYSTEM_FAILURE and COMMUNICATION_FAILURE. If no exception occurs, RECEIVE sets the content of sy-subrc to 0.