Application Development and Automation 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: 
Read only

call transaction

Former Member
0 Likes
383

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
Read only

former_member150733
Contributor
0 Likes
356

set screen 0.

leave screen.

or

leave program.

or

LEAVE TO TRANSACTION tcod.

Regards,

Anish Thomas

Read only

Former Member
0 Likes
356

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