‎2009 Aug 19 11:13 AM
Hi ,
I am using FM SO_DOCUMENT_SEND_API1 to send a mail with notification details at save using T-code IW21 (EXIT_SAPMIWO0_020) . The mail and required details are successfully getting sent but the problem i am facing is
each time I sent a mail the previous mail is getting sent e.g. when notification no 101 is saved the mail would not get fired but when notification no 102 is saved mail for 101 is getting triggered.
Please help.
Thanks ,
Tanisha
‎2009 Aug 19 12:03 PM
Hi,
After Call Function,
IF sy-subrc EQ 0.
COMMIT WORK AND WAIT.
ENDIF.
I am sure it will work.
-Thanks & Regards
Saurabh Goel
‎2009 Aug 19 12:03 PM
Hi,
After Call Function,
IF sy-subrc EQ 0.
COMMIT WORK AND WAIT.
ENDIF.
I am sure it will work.
-Thanks & Regards
Saurabh Goel
‎2009 Aug 19 12:29 PM
HI Saurabh,
Thanks for the reply.But If I use commit work if gives me an error stating "Object does not exist (status management)"
so I am not able to use it.
Is there anything else i can do.
Thanks n Regards,
Tanisha
‎2009 Aug 19 12:12 PM
‎2009 Aug 19 8:59 PM
Tanisha,
I may not understand your issue clearly, but is your previous email data being cleared from
the various input fields prior to populating your current email data. If the data for both emails
exist, the FM will process both.
Regards
mpersson
‎2009 Aug 20 5:12 PM
Thanks to All.
My problem got resolved with SCOT setting.
Thanks,
Tanisha
‎2009 Aug 20 6:29 PM
To resolve the problem we have done setting in scot so that it explicitly sends mails for every 2 minintes.
Thanks for all help provided