Hi everyone, I require assistance to convert a field in HEX format from a SAP source whose base is Oracle. We need to convert to CHAR.
We currently use the SAP connector ver 7.1
We had look with these articles from the community:
https://community.qlik.com/t5/QlikView-App-Dev/Reading-HEX-values-from-a-database/td-p/172288
How to convert to decimal:
https://community.qlik.com/t5/QlikView-App-Dev/Hexadecimal-to-Decimal-how/td-p/147295
However the conversion wasn't successful. Is there any particular change that needs to be made in the SAP connector to convert this data type?
At the SAP's Database , the log header is saved in the BALHDR table, which can be accessed with the same filters as the SLG1 transaction:
![abraham_paradac_0-1660138215387.png abraham_paradac_0-1660138215387.png](https://community.qlik.com/t5/image/serverpage/image-id/86427iEE110DE7B4FD799D/image-size/medium?v=v2&px=400)
![abraham_paradac_1-1660138215406.png abraham_paradac_1-1660138215406.png](https://community.qlik.com/t5/image/serverpage/image-id/86428i5C986C7977E396DA/image-size/medium?v=v2&px=400)
With the Log Number, The BALDAT table can be access, to obtain the Log Items:
![abraham_paradac_2-1660138215425.png abraham_paradac_2-1660138215425.png](https://community.qlik.com/t5/image/serverpage/image-id/86429i7D82DFFA9C6DA1B4/image-size/medium?v=v2&px=400)
Checking with the owners, they said this data is saved in compressed format (Hex) and can't be read directly like other data, but it is necessary to extract/decompress, through other SAP functions.
![abraham_paradac_3-1660138238158.png abraham_paradac_3-1660138238158.png](https://community.qlik.com/t5/image/serverpage/image-id/86430i99950B5962505669/image-size/medium?v=v2&px=400)
Best Regards,
Abraham