cancel
Showing results for 
Search instead for 
Did you mean: 

SAP text get changed in web page sapui5

ismail-flane
Explorer
0 Kudos

I am using a FM in sap to get an invoice (text format) the FM is returning an array with all the information, I am using the same FM in my Fiori project, but I am facing a problem when I dispay the content of my table, HMTL changed the format of the returned text.

I need to find a way to keep the same format returned in SAP. I was thing that can convert my text to PDF format to display it directly. do you have any other solution.

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

ismail-flane
Explorer
0 Kudos

the text get formatted in HTML format (the space in SAP is not interpreted in the same way as HTML), my SAP function is generating a the invoice in a text format and I am using spaces to adjust the display in SAP, but FIORI in changing the format of my text,

I am trying to format my text to xstring, but I am not sure if the PDF viewer in SAPUI5 will be able to read the xstring format.

junwu
Active Contributor
0 Kudos

what is changed?