ABAP Keyword Documentation → ABAP - Reference → Calling and leaving program units → Calling Programs → Calling Transactions → CALL TRANSACTION
CALL TRANSACTION - standard
Other versions:
7.31 | 7.40 | 7.54
Syntax
CALL TRANSACTION ta WITH|WITHOUT AUTHORITY-CHECK [AND SKIP FIRST SCREEN].
Addition
Effect
This variant calls the version described in ta
as described under the statement
CALL TRANSACTION
. The
additions WITH|WITHOUT
AUTHORITY-CHECK are used to control the authorization check. AND SKIP FIRST SCREEN
can be used to skip the initial screen.
Addition
... AND SKIP FIRST SCREEN
Effect
This addition suppresses the display of a
screen of the initial dynpro of a called dialog transaction. The addition AND SKIP FIRST SCREEN
suppresses the first screen only under these prerequisites:
- On the initial dynpro, the dynpro number must not be specified as a static next dynpro in Screen Painter.
-
All mandatory input fields of the initial dynpro must be filled completely and with the correct values by the SPA/GPA parameters.
If these prerequisites are met, the screen of the dynpro is displayed that is specified in Screen Painter as the next dynpro of the initial dynpro.
Example
If the static next dynpro of the initial dynpro of the called dialog transaction FLIGHT_TA is not the initial dynpro itself, then its screen is suppressed, because its input fields are filled using the SPA/GPA parameters CAR and CON.
connid TYPE spfli-connid.
...
SET PARAMETER ID: 'CAR' FIELD carrid,
'CON' FIELD connid.
TRY:
CALL TRANSACTION 'FLIGHT_TA' WITH AUTHORITY-CHECK
AND SKIP FIRST SCREEN.
CATCH cx_sy_authorization_error.
RETURN.
ENDTRY.