Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Upload an attachment using object services

Former Member
0 Likes
1,530

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.

5 REPLIES 5
Read only

Former Member
0 Likes
1,179

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

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,179

Please check the below links

http://scn.sap.com/docs/DOC-10131

Also check the Function Modules starting with SGOS*

Hope this helps

Read only

0 Likes
1,179

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.

Read only

0 Likes
1,179

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.

Read only

mynynachau
Community Manager
Community Manager
1,179

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)