on ‎2019 Jul 10 9:20 PM
I've seen many posts asserting that SAP binary text can't be read in HANA. I haven't found the reference, but I suspect STXL.CUSTD is some other protocol than CESU-8, which is what HANA BINTOTEXT() requires.
I've tried many, many combinations of conversion functions (SQL in HANA Studio), and am tantalized by the idea that the exact combination will open the treasure chest.
Anybody had success in this forest?
Here are a sample of three trials
from "SAPPRD"."STXL"
WHERE"TDNAME" = '0030000462000010'
/*Result: Could not complete result operation. com.sap.db.jdbc.exceptions.Cesu8ConversionException Invalid CESU-8 sequence*/
from "SAPPRD"."STXL"
WHERE"TDNAME" = '0030000462000010'
/*Result: executes, but null*/
from "SAPPRD"."STXL"
WHERE"TDNAME" = '0030000462000010'
/*Result: executes, Integer of unknown calculation*/
Request clarification before answering.
I believe the data is stored in a compressed format (no idea of what internally the system uses). Its effectively a BLOB and only the application knows how to decode and process the actual data stored in it, so you have to go through the READ_TEXT FM to process it to return it as an internal table of lines of text. The way it is processed internally by the system it may be stored in the DB as multiple rows with the same ID depending on the size of the text being stored.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.