cancel
Showing results for 
Search instead for 
Did you mean: 

Umlauts in XSODATA user exits. (SAP HANA 1.0 XSClassic)

0 Kudos

Hello All,

How to read umlauts in XSODATA user Exits? We have a XSODATA service and an user exist for creation of data, but when there exist an umlauts in payload, its is getting scrambled, how do we handle it?

Request payload:

request parameter received (in debug mode)

tried providing content type in request header, but dint help.. How can we handle such issue of umlauts?

Thanks,

Girish

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate

This is after the data is read from one of the temp tables of the exit parameter? If so what data type is used for the entity source of the xsodata? Make sure you are using NVARCHAR and not VARCHAR for the column type. Otherwise when the data is stored in the temporary table to be passed to your exit this can happen.

0 Kudos

Thanks Thomas, the entity source table is defined as below

a calculation view has been defined on top of the above table, and used in xsodata and xsodata is as below

and here is the data type defined in the calculation view for NAME is NVARCHAR(20):

Hope all this are fine, and we are still not able to save Umlauts via xsodata, am i missing something here? what should i change over here to make saving of umlauts working?