10-05-2007 1:10 PM
Hi everyone,
After generating a alv report in the tool bar i m clicking a button.that button calls transaction co02 and updates the sequence numbers in the background.Once the background job is completed i need to send a sap business workplace message to the trigerring user informing the job has completed and the number of sucessful updates.How can i do it?Can anyone please send me a sample code for that.
Thank you.
10-05-2007 2:00 PM
Hi,
yes its almost same.. except.. sab business workplace message is nothing but internal mail.
refer the sample program & do a search on sdn for SAP internal mail.. you will get the sample code..
Best regards,
Prashant
10-05-2007 1:47 PM
Hi,
In the background job,
at the end of program...
end-of-selection.
perform display_results.
SEND MAIL ...
CALL FUNCTION 'SO_OBJECT_SEND'..
refer the following program for mail:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Best regards,
Prashant
10-05-2007 1:57 PM
Hi prashanth,
Thanks for the reply.Is sending a Business workplace message and sending a mail same?Is there any difference?
Thanks.
10-05-2007 2:00 PM
Hi,
yes its almost same.. except.. sab business workplace message is nothing but internal mail.
refer the sample program & do a search on sdn for SAP internal mail.. you will get the sample code..
Best regards,
Prashant