AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - Programming Language → Calling and Exiting Program Units → Calling Programs → Calling Transactions → CALL TRANSACTION →
CALL TRANSACTION, standard
Syntax
CALL TRANSACTION ta WITH|WITHOUT AUTHORITY-CHECK [AND SKIP FIRST SCREEN].
Effect
This variant calls the version specified 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 suppress the initial screen.
Hint
This variant does not set the system field sy-subrc.
... AND SKIP FIRST SCREEN
Effect
This addition can be used to suppress the display of a screen layout of the initial dynpro of a called dialog transaction. The addition AND SKIP FIRST SCREEN suppresses the first screen only under the following prerequisites:
If these prerequisites are met, the screen of the dynpro is displayed that is specified in the 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, its screen is suppressed because its input fields are filled using the SPA/GPA parameters CAR and CON.
DATA: carrid TYPE spfli-carrid,
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.