Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: How to get PDF file From SAP and displaying it in ASP.Net webpage

$
0
0

The way we do it is with an RFC that returns a Binary String.  Then the .NET code simply writes the binary data to the HttpResponse.

 

Response.Clear()

Response.ClearContent()

Response.ClearHeaders()

Response.ContentType = String.Format("application/pdf; filename=""{0}.pdf""", docNumber)

 

Response.BinaryWrite(obj_pdf)

 

I will try and locate a sample of the ABAP-side, too


Viewing all articles
Browse latest Browse all 8950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>