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

how to integrate 2 diff transactions into one

Former Member
0 Likes
865

Hi All,

I have a requirement to combine trasaction FBPM(SAPFPAYM) & Z_ACHEMAIL(RFFOAVIS_FPAYM) transactions into single transaction i.e As soon as the file is released through transaction code FBPM then the email notifications should be sent automatically(RFFOAVIS_FPAYM).

But when i try to use

call trasaction FBPM.

call trasaction Z_ACHEMAIL. One after other in my z program its not executing both at a time since both are having diff selection screen. its only executing FBPM transaction, its unbling me to press back button to get into Z_ACHEMAIL AND again i need to execute.So please let me know ur ideas how can i achieve this.

Thanks in advance.

Regards,

Rajesh

Hi All,

I have a requirement to combine trasaction FBPM(SAPFPAYM) & Z_ACHEMAIL(RFFOAVIS_FPAYM) transactions into single transaction i.e As soon as the file is released through transaction code FBPM then the email notifications should be sent automatically(RFFOAVIS_FPAYM).

But when i try to use

call trasaction FBPM.

call trasaction Z_ACHEMAIL. One after other in my z program its not executing both at a time since both are having diff selection screen. its only executing FBPM transaction, its unbling me to press back button to get into Z_ACHEMAIL AND again i need to execute.So please let me know ur ideas how can i achieve this.

Thanks in advance.

Regards,

Rajesh

6 REPLIES 6
Read only

Former Member
0 Likes
814

Hi Vishal,

You could try using the SUBMIT statement. Through this statement you can pass parameters to the selection screen of the second transaction, however instead of the name of the transaction you'll need to pass the name of the program. Check the documentation for more detail.

Hope it helps.

Regards,

Gilberto Li

Read only

0 Likes
814

You can try the CALL TRANASACTION and SKIP FIRST SCREEN option..

Or save the sel values as a varinat for Z_ACHEMAIL & set its attributes to start with this VAriant..

~Suresh

Read only

Former Member
0 Likes
814

vishal,

try this...

in your z program first use the submit statement

SUBMIT SAPFPAYM AND RETURN

and then use LEAVE to transaction Z_ACHEMAIL

hope this helps...

Read only

0 Likes
814

Even by using submit also its not working. I tried using submit with variant option, but still its executing only first program and i need to press back button to goto execute another program. ANy other ideas please.

Your help is hghly appreciated. Thanks.

Read only

0 Likes
814

So you want to fire this other program at the same time that you are call another program? Interested in firing the second program in another session(dialog)?

Regards,

Rich Heilman

Read only

0 Likes
814

Hi rich,

My requirement is As soon as the file is released through transaction code FBPM(prg : SAPFPAYM) then the email notifications should be sent automatically(prg :RFFOAVIS_FPAYM which triggers email for payment advice to all vendors) instead of running 2 diff transactions separately both things should happend by running single transaction. Please help me . Thanks.