on 03-04-2024 5:28 AM
Hi Folks,
My requirement is to read Profile data records from HHF File, Documentation which I received for HHF file is below.
I successfully read this file in Python, I read it and convert byte to float value and got the desired output using below code. Before conversion in Python data looks like this.
\xe5*6>\x00\x00\x00\x00\xee|?=\x02\x00\xbc\x90\xd6>
When I am trying to read the same data in ABAP using
OPEN DATASET p_file FOR INPUT In BINARY MODE.
READ DATASET p_file INTO <hex_container>.
I am getting below values in debugger.
C389C3A13D000020C2B4C3963E00000000C3B0C383C3A13D0000C5B8C2AEC3963E000000006CC38E
I want to get similar value as Python in ABAP. I tried various combination (text mode, Binary mode, Encoding, Code page) of OPEN DATASE.
Can anyone please help me here?
Thanks
Deepesh
User | Count |
---|---|
83 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.