Skip to Content

Sap Odata PDF Download Not happening standard Button

Dear Experts,

I was able to download But when i go preview of PDF , its opening but when i click standard PDF button its not downloading. I was Highlighted with red color Can you any one help me on earliest its a great help.

One more while preview the pdf always it come left hand side $value.

Thanks

Ravilla

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 09, 2018 at 12:50 AM

    Hi Ravilla,

    Is this a custom app you have built?

    Download - You need to redefine read_stream or get_stream method, $value is coming because you have not specified the filename.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 09, 2018 at 07:27 AM

    Hi Ankit,

    Yes custom application. I redefined get_stream method and passed file name also, its not working for PDF viewing on UI screen but download its working fine.

    Thanks

    Ravilla

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.