ABAP Keyword Documentation → ABAP − Reference → Calling and leaving program units → Calling Programs → Calling Transactions → CALL TRANSACTION → Transaction Call - Examples
Transaction Call, SPA/GPAParameters
The example demonstrates how to call a transaction using SPA/GPA parameters.
Other versions: 7.31 | 7.40 | 7.54
Source Code
SET PARAMETER ID: 'CAR' FIELD carrid,
'CON' FIELD connid.
TRY.
CALL TRANSACTION 'DEMO_TRANSACTION' WITH AUTHORITY-CHECK.
CATCH cx_sy_authorization_error.
RETURN.
ENDTRY.
Description
The transaction DEMO_TRANSACTION displays the details for a flight uniquely identified by the airline
and the flight number. It is called from main
using the statement CALL TRANSACTION
and filled with
SPA/GPA parameters as initial values using the statement SET PARAMETER
.