Skip to Content
1
Jun 16, 2021 at 02:21 PM

ABAP CDS Reader -> ABAP Converter JSON issue in DI

119 Views

Hello Team,

I am working for a customer who is using ABAP CDS reader to read from CDS views in S/4 HANA and send it to Azure Data Lake.

The flow is as follows:

ABAP CDS Reader ---> ABAP Converter ----> Write to Data Lake,

Header of the JSON generated is as follows:

{"COLUMNNAME":"Setclass","KEY":"X","ABAPTYPE":"CHAR","ABAPLEN":000004,"OUTPUTLEN":000004,"DECIMALS":000000}}

The due to the bold values the JSON is not being parsed.

When we are using

SLT Reader ----> ABAP Converter ------> Write to Data,

Header of the JSON is generated as follows:

{"COLUMNNAME":"Setclass","KEY":"X","ABAPTYPE":"CHAR","ABAPLEN":"000004","OUTPUTLEN":"000004","DECIMALS":"000000"}}

in this use case the JSON parses. The difference is the quotes in the number values.

Can someone help me with this issue? The customer wants to use ABAP CDS views as source.

Regards,

Biswajit