CALL BADI

Short Reference

Syntax

CALL BADI badi->meth    [EXPORTING  p1 = a1 p2 = a2 ...]
                     { {[IMPORTING  p1 = a1 p2 = a2 ...]
                        [CHANGING   p1 = a1 p2 = a2 ...]}
                     |  [RECEIVING   r = a  ] }
                        [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
                                    [OTHERS = n_others]].

Effect

: Calls a BAdI method. For badi, a BAdI reference variable must be specified. For meth, a BAdI method of the corresponding BAdI must be entered directly. The additions assign actual parameters to the formal parameters of the BAdI method, or handle non-class-based exceptions as described in CALL METHOD.

The effect of the statement CALL BADI is that the specified method is called in all object plug-ins to which the BAdI object referenced by the badi refers.

System fields

As for a normal CALL METHOD, the system field sy-subrc is either set to 0 or, when treating non-class-based exceptions, it is set to the value specified after EXCEPTIONS.

Notes

Exceptions

Catchable Exceptions

CX_BADI_ INITIAL_REFERENCE

CX_SY_DYN_CALL_ILLEGAL_METHOD