Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Offline Application - oData - Offline Media Stream Setup

Hi all,

i made an offline application with the SAP Web IDE and the "SAPUI5 Master Detail Kapsel Offline Application" with Datas from my SAP-backend via an oData-Service. The Registration is on our SMP 3.0.9.

And now i want to get Media-files like images, pdfs,... into my Offline Application.

I've built an Media-Stream in my oData-Service to get an image.

"'000010005901')/$value" - everything works fine and i cann see the jpg image in my browser for example.

Now i've found the informations for the "Offline Media Stream Setup" -

But i don't understand how i have to define the request: (Getting Started with Kapsel - Part 10 -- Offline OData (SP09+) did also not help me, because in the chapter "Binary Data/Attachments" is no description for this topic)

"definingRequests" : {

  "req1" : { "url" : "/Drivers", "retrieveStreams" : true }


At the moment in my app it looks like this, because i'm referencing from QmelSet to Viqmel - this works fine.

"definingRequests": QmelSet: "/QmelSet?$expand=Viqmel"

How do i've to implement this line of code for the Media-Stream and does anybody have an example for me, how to get the Media-Files into my Application (Donwloadlink or directly shown).

I'm a Beginner in this topic.

Thank you very much!!!

I've also added my metadata-file - important are only the Qmel and Viqmel. (2069 B)
Not what you were looking for? View more on this topic or Ask a question