‎2009 Jul 08 6:25 AM
Hi...... Experts...
I have a requirement to upload pdf file from application server and send it as attachment Via mail..
Can anyone helps me...
Thank you in advance...
‎2009 Jul 08 6:28 AM
google your requirement. this is most common query and has many responses and code samples on SDN and also check the sample codes for mail sending using classes in SAP
‎2009 Jul 08 6:36 AM
HI
Since the file (PDF or WORD) is on the application server, you need to use the OPEN DATASET and READ DATASET to process the contents into an internal table.
Hit Button F1 on DATASET to get more details.
Once the data is read on the internal table, you can use the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to maeil the contents as an atachment
Please refer to the thead below
Hope this may be help ful
Many thanks
Kiran
Edited by: Kirun k on Jul 8, 2009 7:37 AM
Edited by: Kirun k on Jul 8, 2009 7:39 AM
‎2009 Oct 30 6:11 AM