cancel
Showing results for 
Search instead for 
Did you mean: 

how to fetch Odata sender adapter filter values in cpi/hci

itsravi
Explorer
0 Kudos

HI All

Require some help in fetch the filter parameter values in odata sender adapter in cpi for the get operation .

we have scenario i which we need to integrate the HCP with cpi using the cpi odata sender adapter .

HCP(odata)-->CPI-->Sap system. flow of data.

https://test.com/sap/XXX/abc/entityset?$filter=id eq 123

In the above example we have capture the id value 123 and need to use this value during the odata target query

for example :$select=Uom&$filter=id eq 123.

This value 123 we need to dynamical fetch from the source url and pass to the odata target query

Need expertise/help in fetch these dynamic values from the odata url.

Thanks

ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Ravi,

As per my understand, You want to access the id from body and then pass to odata query right if yes please try below setup.

Use content modifier store the ID value in header and use odata query.

Actually data(Contains 2 records > Split each record > Content modifier(Store the your value using Xpath) and use the header in your odata query.

NOTE: You need to split each record before content modifier.

Thanks,

Sandeep

itsravi
Explorer
0 Kudos

hi sandeep palicherla

thanks for comment ,

i am aware of storing the value in header/property using the content modifier and fetch the details using that ,

but in my case i need to fetch the query parameter values of odata sender adapter (means values 123 which is passed to the sender odata adapter which is coming as payload)

how can i capture that values as the call is sender odata call , i am not able to figure how to store in cpi .

Thanks