‎2012 Nov 16 4:59 AM
Hi Gurus,
I have to create an attachment automatically using abap istead of doing manually through services for object.
If i use this method CALL METHOD lo_gos->create_attachment it will show popup which is not my requirement,
I have to add attachment with out manual intervention by specifying path or some other way.
Please guide .
Thanks in advance.
Regards,
Suresh.
‎2012 Nov 16 6:04 AM
Hi Suresh
If I understand you correctly, You require the attachment and emailing to happen in the background...
There are a couple posts that discuss this here is one of them:
http://wiki.sdn.sap.com/wiki/display/Snippets/Sending+Application+Server+file+via+email+as+attachmen...
I'll look for one of my programs that also does it and post some code for you later.
Hope it helps.
Regards
Vic
‎2012 Nov 16 6:21 AM
Please check the below links
http://scn.sap.com/docs/DOC-10131
Also check the Function Modules starting with SGOS*
Hope this helps
‎2012 Nov 16 6:32 AM
Hi Vic & Venkat,
Thanks for your replies.
My requirement is adding attachment automatically to the standard transaction FB02 while changing a document , instead of doing it manually using services for the object.
Regards,
Suresh.
‎2020 Feb 17 8:16 AM
Hi ,
I have the similar requirement , where i need to attach physical files to the Document CV01N through service for object .Any help would be appreciated.
‎2020 Feb 17 2:32 PM
Hi satya.tiwarii I highly recommend you ask a new question in SAP Community here to receive help by others: https://answers.sap.com/questions/ask.html
Please familiarize yourself with our tutorial about asking and answering questions in SAP Community: https://developers.sap.com/tutorials/community-qa.html
Best regards, Mynyna (SAP Community moderator)