cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to read Profile data records from HHF file

DG14
Newcomer
0 Kudos

Hi Folks,

My requirement is to read Profile data records from HHF File, Documentation which I received for HHF file is below.

DG14_0-1709528181298.png

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

 

 

 

 

Accepted Solutions (0)

Answers (0)