2014 Dec 03 7:19 AM
hi experts,
i have a senario where user wise can change the delivery date in va02,
when any user changes delivery date in va02 then immediately mail should be generated and send this mail to higher level authorization.
which include is used to write the mail code after click on save button.
i tried this
USEREXIT_SAVE_DOCUMENT.
USEREXIT_SAVE_DOCUMENT_PREPARE
but not working
plz help me
Thanks
2014 Dec 03 7:52 AM
Hi Naveen,
What`s wrong with user exit MV45AFZZ / USEREXIT_SAVE_DOCUMENT when you code in it?
This class(CL_BCS) is used to send email.
Or you can configuring an output type in tcode NACE, sending email will be triggered by message control.
regards,
Archer
2014 Dec 03 7:52 AM
Hi Naveen,
What`s wrong with user exit MV45AFZZ / USEREXIT_SAVE_DOCUMENT when you code in it?
This class(CL_BCS) is used to send email.
Or you can configuring an output type in tcode NACE, sending email will be triggered by message control.
regards,
Archer
2014 Dec 03 7:56 AM
Hello Naveen,
It should work with these user exits, did you put a breakpoint in the user exit and check? Did it reach the breakpoint?
There might be problem in your custom code where you have a logic of sending mail.
Check in transaction SOST whether you can able to see your mail in the outbox, if the status is not send, then click on the send button and execute.
Trigger the below program in your custom code to start the send process of the mail.
SUBMIT RSCONN01 WITH MODE = 'INT'
WITH OUTPUT = 'X'
AND RETURN.
Regards,
Tp