Using this in our test system it works but using it in the dev system there seems to be some kind of authentication error when using method add_attachment( ). Could it be possible this is related to the archive system which class cl_document_bcs tries to use for storing the mail attachment?
Tried this. It works. But adding a word file (.docx) as attachment opening the email later on it says it found some unreadable content in the file and asks you if wanna restore the content. Anyone else got this and can this be fixed?
Hello sir thanks for this video. Sir i have requirement like to send a standard report output data as email attachment to pdf. User will create while execution of standard report. After that execute the report. The report output data will she will sent to different mail ids of customers. She said this should happen via batch job. I tried to create bacth job sm36 and passed our program and variant and got output and can been in in sost. And attachment as well. But while getting email notification attachment is not there. Please help me here.
It seems that the SAP Part should work correctly, if you see the attachment in SOST. Maybe restrictions on the email server, fileending, filesize? Can you send any attachment like small txt file? 🤗
Using this in our test system it works but using it in the dev system there seems to be some kind of authentication error when using method add_attachment( ). Could it be possible this is related to the archive system which class cl_document_bcs tries to use for storing the mail attachment?
Thank you very much.
It was a challenge getting a adobe forms pdf in there but we go there in the end :D.
Glad that I could help you! Thanks for yor feedback! 😀
Tried this. It works.
But adding a word file (.docx) as attachment opening the email later on it says it found some unreadable content in the file and asks you if wanna restore the content.
Anyone else got this and can this be fixed?
how about multiple attachment ?
You can add a much as you want 🤗
Hello sir thanks for this video.
Sir i have requirement like to send a standard report output data as email attachment to pdf.
User will create while execution of standard report. After that execute the report.
The report output data will she will sent to different mail ids of customers.
She said this should happen via batch job.
I tried to create bacth job sm36 and passed our program and variant and got output and can been in in sost. And attachment as well.
But while getting email notification attachment is not there.
Please help me here.
It seems that the SAP Part should work correctly, if you see the attachment in SOST. Maybe restrictions on the email server, fileending, filesize? Can you send any attachment like small txt file? 🤗
How to check sent email on tcode SBWP ?
I just see it on tcode SOST
It is not a WorkItem, we have no workflow here, just emails. With T-Code SOST we check this emails. 🤗
" An exception was raised." ı have this error. do you know why ?
That is difficult because I don't know your code. For the analysis you can debug step by step or comment out parts of the code. 🤔
How about application server?
What do you exactly mean? Send a file via Email what is saved on the application server? 🤔
File is present in application server so I want to attach that file...please help me out!
@@sammedsammu2782 In this video I show how to read files from application server: ua-cam.com/video/b6UiSBc-uMw/v-deo.html
Have a look! 🤗