cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 Post API for PDF generation

Hi,

I have requirement to show PDF via OData in Firori client/launchpad I

know it is possible using GET_STREAM method.

But the thing is ,as per my organization policy and Code of conduct, i can not use GET method because PDF contains employee sensitive data like CTC and Playslip and bonus details.

I have provided with one RFC which sends data in RAW string/Xstring format. For which i have created POST API. But how can i bind xstring to PDF viewer in SAPUI5. This app will be used using Friori Client/launchpad. and it may launched as standalone app later.

Input for API is Employee Code , Month and year.

Can anyone help me on this ?

Accepted Solutions (1)

Accepted Solutions (1)

nabheetscn
Active Contributor

Hello amnsemployee

You can convert the xstring to Base64 and then to Blob. You can then bind this to the viewer

Nabheet

Answers (0)