cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ECC REST send Attachement for QM

marko_knezevic
Explorer

Hello.

I am working on application for QM modul using REST service.

Currently i recieve all required notiffications. And, i whant to create attachment for example some picture and add it to already existing notification.

Currently i am search:

- where are msg files stored

and of course how to send picture ti desired notification.

Thanks and best regards.

Marko

former_member596519
Participant
0 Kudos

Caos Marko,

what kind of REST-service you are using? OData-Service? You've said, you are on ECC. Do you know which AS Stack? Higher or Equal to NW 7.4?

If OData-Service, then I would suggest you to have a look onto "Stream", "Media Handling", "File Upload" etc. ussing OData-Service. Here are some links:

https://blogs.sap.com/2014/09/23/file-uploaddownload-through-netweaver-gateway/

https://blogs.sap.com/2018/06/22/media-handling-in-odata-in-sap-ui5/

https://www.google.com/search?client=firefox-b-d&q=upload+document+odata+service

If you have further questions, do not hesitate to reach out to me. You can find me on LinkedIn.

BR & Poz

Aca

marko_knezevic
Explorer
0 Kudos

Hello Aca.

Thanks for quickly reply.

We are running on this version:

The idea is to help workers in QM, because they have much to do.

In MS Visual studio i wish to write an app, to list for some specific plant desired notifications, which are for now already created.

On mobile phone worker will list all notifications by some lets say selection options attributes - this part of solution is already working using rest service with belonging class.

And now i been stuck 🙂

I notice how we have info of attachment in SAP.

And the problem is.

1. how/where to upload file - so, maybe the solution is OData-Service

2. Add attachment to notification.

Accepted Solutions (0)

Answers (1)

Answers (1)

holger_hartung
Contributor
0 Kudos

Hello,

there are no special reason or function for msg files. All files can stored by individual storage folders via DVS or GOS.

marko_knezevic
Explorer
0 Kudos

Hello.

Thanks for quick reply.

Then i have to ask our SAP system admin, but i only know, what i can see.

And i notice, that attached pictures are in this format.

I wish just to send file via c# app, at least with the same format on the same location reason to change QM notification with one addad picture.