06-19-2007 6:43 AM
call transaction has been issued in an abap program what code in the called transaction will return to the point of call
06-19-2007 6:46 AM
set screen 0.
leave screen.
or
leave program.
or
LEAVE TO TRANSACTION tcod.
Regards,
Anish Thomas
06-19-2007 7:11 AM
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