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

Calling a transaction and return

Former Member
0 Likes
1,181

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

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

Former Member
0 Likes
1,044

Hi ,

By default the control wil return to the calling program.

You don't need to specify anything.

regards,

Ravi

Read only

Former Member
0 Likes
1,044

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

Read only

Former Member
0 Likes
1,044

Hi,

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

thanks,

sksingh

Read only

0 Likes
1,044

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

Read only

0 Likes
1,044

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..

Read only

Former Member
0 Likes
1,044

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