Skip to Content
0

Sap Odata PDF Download Not happening standard Button

Feb 02 at 10:18 AM

39

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ankit Maskara
Feb 09 at 12:50 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 09 at 07:27 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

in the content disposition header you have to maintain it as inline.

0