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

IW22 Attachments via API

awguthrie
Participant
0 Likes
1,299
  • SAP Managed Tags

Greetings,

Is it possible to programmatically add an attachment to a notification?

For example, if there's an external (non-SAP) web form that generates a file (say a PDF), can we programmatically add that as an attachment on a specific notification? Instead of the customer having to save a file, open SAP, open the notification, and manually attaching it?

I very well may be overlooking something, but looking at the API I've only seen the page on this site for working with Notifications: https://api.sap.com/api/Notification/resource

Perhaps there's a different feature to accomplish this?

Thank you

Greetings,

Is it possible to programmatically add an attachment to a notification?

For example, if there's an external (non-SAP) web form that generates a file (say a PDF), can we programmatically add that as an attachment on a specific notification? Instead of the customer having to save a file, open SAP, open the notification, and manually attaching it?

I very well may be overlooking something, but looking at the API I've only seen the page on this site for working with Notifications: https://api.sap.com/api/Notification/resource

Perhaps there's a different feature to accomplish this?

Thank you

2 REPLIES 2
Read only

MateuszAdamus
Active Contributor
0 Likes
1,055
  • SAP Managed Tags

Hello awguthrie

If you're able to receive the file as a binary stream directly from the site, then you could attach it to the Notification using the GOS framework. Some information about it:

https://blogs.sap.com/2013/05/23/everything-gos-generic-object-services/

http://zevolving.com/category/generic-object-services-gos/

Kind regards,
Mateusz
Read only

0 Likes
1,055
  • SAP Managed Tags

Thank you so much for the information, I will look into this.