Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

call transaction

Former Member
0 Kudos

call transaction has been issued in an abap program what code in the called transaction will return to the point of call

2 REPLIES 2

former_member150733
Contributor
0 Kudos

set screen 0.

leave screen.

or

leave program.

or

LEAVE TO TRANSACTION tcod.

Regards,

Anish Thomas

Former Member
0 Kudos

The LEAVE TO TRANSACTION statement always terminates the current call sequence, regardless of whether or not a new transaction can be called.

At CALL TRANSACTION the calling program and its data is kept, and after exiting the called transaction, processing is resumed in the calling program after the call.

example :

DATA: carrid TYPE spfli-carrid, 
      connid TYPE spfli-connid. 

... 

SET PARAMETER ID: 'CAR' FIELD carrid, 
                  'CON' FIELD connid. 

CALL TRANSACTION 'FLIGHT_TA' AND SKIP FIRST SCREEN.

reward points if it is usefull ...

Girish