Similar to CALL FUNCTION.
The function modules must be programmed and activated within the customer’s
modification concept.
CALL FUNCTION
Calls the function
modules.
Syntax
CALL FUNCTION <func>
[EXPORTING … fi = a i… ]
[IMPORTING … fi = a i… ]
[CHANGING … fi = a i… ]
[TABLES … fi = a i… ]
[EXCEPTIONS… ei = r i… ]
[DESTINATION <dest>]
[IN UPDATE TASK]
[STARTING NEW TASK]
[IN BACKGOUND TASK].
The program calls either a
function module in the same R/3 System, or one from an external system,
depending on the variant of the statement you use. You can call update modules
when processing transactions. You can also call functions asynchronously. The
other additions are used to specify actual parameters for the parameter
interface for the function module, <func>, and to handle exceptions.
CALL DIALOG
Calls a dialog module.
Syntax
CALL DIALOG <dialog> [AND
SKIP FIRST SCREEN]
[EXPORTING… fi = a i… ]
[IMPORTING… fi = a i… ]
[USING itab].
Calls the dialog module
<dial>. A dialog module is an ABAP program with a sequence of screens. It does
not have to be started using a transaction code, or run in the same SAP LUW,
like the calling program. The additions are used to skip the initial screen in
the sequence and specify actual parameters for the parameter interface of the
dialog module.
Calls a method <meth>. The
additions are used to specify actual parameters for the parameter interface for
the function module and to handle exceptions. The last two additions pass
parameters dynamically in a dynamic method call. Alternatively, if the method is
called statically, the parameters can be specified using parenthesis notation
(as you can when specifying parameters in a CALL METHOD statement). You can also
use functional methods with this syntax in operand positions.
CALL METHOD OF
Calls a method in OLE2
Automation.
Syntax
CALL METHOD OF <obj> <m>.
Calls the method, <m>, of
the OLE2 Automation Object, <obj>.
CALL SCREEN
Calls a screen sequence.
Syntax
CALL SCREEN <scr>
[STARTING AT <X1> <Y1>]
[ENDING AT <X2> <Y2>].
Calls the sequence of
screens that begins with the screen <scr>. All the screens in the screen
sequence belong to the current ABAP program. The screen sequence ends when the
program reaches the screen numbered 0. The additions let you call a single
screen in a new window.
CALL SELECTION-SCREEN
Calls a selection screen.
Syntax
CALL SELECTION-SCREEN
<scr>
[STARTING AT <x1> <y 1>]
[ENDING AT <x2> <y 2>].
Calls a selection screen
defined in an ABAP program. The selection screen is processed in the program in
the AT SELECTION-SCREEN event. The additions let you call a selection screen in
a new window.
CALL TRANSACTION
Call a transaction.
Syntax
CALL TRANSACTION <tcod>
[AND SKIP FIRST SCREEN]
[USING <itab>].
Calls the transaction
<tcod> after having received data from the calling program. At the end of the
transaction that has been called, the system returns to the statement following
the call in the calling report. The additions are used to skip the initial
screen in the sequence or to pass a batch input table to the transaction.
CASE
Conditional branch.
Syntax
CASE <f>.
Opens a CASE control
structure that ends with an ENDCASE statement. The CASE control structure allows
you to control which statement blocks (introduced by WHEN) are processed, based
on the contents of a data object.