2006 Nov 25 4:30 AM
I have to upload two files from application server. the file name will be provided by user in the selection screen. Do i hav to use file_get_name & use parameter as exporting? and i hav to mail that two files in attachment.how to attach two files? it would be better if one example can be provided.
I have to upload two files from application server. the file name will be provided by user in the selection screen. Do i hav to use file_get_name & use parameter as exporting? and i hav to mail that two files in attachment.how to attach two files? it would be better if one example can be provided.
2006 Nov 25 4:33 AM
Hi,
If in the selection screen is entering the logical name...Then you have to use the FM FILE_GET_NAME
Check the link for attaching a file to an EMAIL.
http://www.sap-img.com/abap/sending-mail-with-attachment-report-in-background.htm
Thanks,
Naren
2006 Nov 25 4:37 AM
from application sever means u have to use Open dataset...Read dataset....Close dataset...Now, u read data into 2 internal tables....There is standard FM in sap which can be used to send email...The fm like "SODocument*"...Search for it...
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |