2006 Aug 30 11:30 PM
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
2006 Aug 30 11:47 PM
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
2006 Aug 30 11:52 PM
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
2006 Aug 31 12:02 AM
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...
2006 Aug 31 12:23 AM
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.
2006 Aug 31 12:28 AM
2006 Aug 31 1:34 AM
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.