on 10-13-2015 4:40 AM
Hi expert,
I want to trigger mail with ME22N attached documents, while attaching document in ME22N there is onlystore business document option (ArchiveLink services). How to get these files and attached with mail, Kindly provide some sample code or FM with inputs.
Thanks
Vimal Raj
Thanks is resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can achieve this in 2 ways.
1. DMS attachment in PO.
You can attach the document in DMS using the below option and send document through mail ID (Internal / External) using document distribution
2. Use GOS to attached document and with the help of user exit / BAPI you can trigger attach document to mail ID.
https://scn.sap.com/thread/849313
Rgds,
Nayeem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahman,
Thanks for your reply. In my case documents all attached in header level. While attaching any new document I can see GOS-->Create Attachment-->Store Business Document. Then in the configuration level files are stored via ArchiveLink service.
I can see all attachment and my requirement how can I get these attachment and sent it via email.
Regards
Vimal Raj
Hi,
Please note where the attached document will be stored in your case the document will be stored in application server and it will get loaded which may not be good for your system.
You can attach document GOS-> create attachment and attach document.
If you have content server the settings can be made that all attached document will be stored in content server rather than application server.
To send mail, To whm you are sending mail is that vendor?
If vendor check with ABAPer that the attached document can be triggered along with the outputted message from PO.
Rgds,
Nayeem.
Hi,
Yo can use the output type which you can make setting to triggered after the final approval.
You may need to write the code in executing the output to attach (this can be send as mail / fax / EDI / form as per your requirement to external ID's.
Check with MM consultant for assigning / creating message output for your requirement.
I hope this will be best possible way to achieve your requirement.
Rgds,
Nayeem.
Hi,
ABAPer needs to write code to attach document along with PO form. in the outputted program configured.
This can be achievable by writting logic to fetch the attached document from GOS in program and send mail to respective mail ID.
Else you can create another output type for sending attach document and write logic in that program.
Check with your technical team.
Rgds,
Nayeem.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.