cancel
Showing results for 
Search instead for 
Did you mean: 

Get null data after filtering in api response in sap cai

k_varshney74
Explorer
0 Kudos
457

Hello Support,

I am trying to consume an API , in which i want to filter out the result according to memory value. But it is not working with memory value and working on direct value

Not Working-

{{#eachJoin api_service_response.default.body.d.results}}
{{#eq vkgrp_ana memory.product_id.value}}
{"Id": "{{vkgrp_ana}}","Customer_Id": "{{kunrg_ana}}","Unit_No": " {{maktx}}", ,"Area": " {{zzsuper}}","Basic_selling_price": " {{netwr}}"}
{{/eq}}
{{/eachJoin}}

Working-

{{#eachJoin api_service_response.default.body.d.results}}
{{#eq vkgrp_ana "004"}}
{"Id": "{{vkgrp_ana}}","Customer_Id": "{{kunrg_ana}}","Unit_No": " {{maktx}}", ,"Area": " {{zzsuper}}","Basic_selling_price": " {{netwr}}"}
{{/eq}}
{{/eachJoin}}

Kindly help.

Thanks in advance !

Accepted Solutions (0)

Answers (0)