‎2009 Apr 15 2:45 AM
Hi All,
I have a requirement, i have to write a program which will take the file in PC as an attachment and send it to the respective mail ids.
The file will be on PC. The problem i am facing is how to take the file from PC as an attachment. This should happen in background.
Regards,
Mohammadi.
‎2009 Apr 15 3:19 AM
Hi,
obviously if you run any program in background that program does not have access to files on your desktop. You need to get that file to application server and read it from application server. You can split your process into two steps. First you will upload your file to application server and then you will run program which will attach uploaded file and send it to all required users. The first step will have to be executed foreground.
Cheers
‎2009 Apr 15 4:44 AM
Hi,
Check out this wiki written by me, this will help you to send XL file as attachments.
You can send multiple attachment.
Thanks,
Krishna..
‎2009 Apr 15 4:58 AM
Hi,
After bringing your final alv data in the final internal table,
go through this link , i also had an same requirement to send data after converting to excel file and
send it as an attachment to mail id outside Sap,
Hope it helps
Regrds
Mansi
‎2009 Apr 15 7:39 AM
Hello Mohammadi,
You CANNOT run a Background job to access the desktop files(Presentation Server files).
Sending e-mails is not a problem. There are lot many Wikis on this. You can refer to them.
You need to change the requirement of accessing the files from the Presentation Server.
Thanks,
Babu Kilari
‎2009 Dec 02 1:57 AM