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: 

Calling a transaction and return

Former Member
0 Kudos

Hi all,

I need to call a transaction from a report and the control has to return back to the report after the called transaction is executed.

The "Call Transaction" statement does not have the option to have the return to the calling program neither do "Leave Transaction".How do I achieve it?

Pls help with your ideas.

Thanks,

Stock

6 REPLIES 6

former_member181962
Active Contributor
0 Kudos

Hi ,

By default the control wil return to the calling program.

You don't need to specify anything.

regards,

Ravi

Former Member
0 Kudos

Hi,

By default the cursor will come back to the report when you use CALL TRANSACTION 'VA02' and skip first screen statement in Report

No need to write any extra statements/code.

reward if useful

regards,

ANJI

Former Member
0 Kudos

Hi,

After execution of the Called Transaction, control will return to the Called program.

thanks,

sksingh

0 Kudos

The transaction I am calling is a report transaction and has an output layout. So after getting called stops at the output.

0 Kudos

Hi..

try one thing.

write that call transaction statement in another program..

and the use :

<b>submit <prog> and return</b>.

write your code here..

try it may helps..

Former Member
0 Kudos

Hi,

I am trying to call the customised copy program of CO99( named new Tcode as ZCO99 with all the values of selection screen passed to memory id and imported in the copy program) through another report.

Now I tried with submit as well and the result is the same.

Another thing is with the Pop-up that we have when the CO99 Tcode is called which is for Controlling Area.Two pop-ups at the start and in between.

Does this prevent from returning to the cliing program.

Thanks,

Stock