cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple GET request in ODATA using single request reply in SAP CPI

Hemant_Malvi
Explorer
0 Kudos

Hello Experts,

Problem statement:

I have requirement, where I am getting source payload with multiple record of employee data.

Specifically, one source payload with more than one employee ID and I need to make a Get request for all employee based on employee id from target system using request-reply of ODATA adapter.

Solution tried:

Currently I am trying to achieve this using splitter but it seems that only first employee id makes a call and rest are ignored.

Please provide your suggestion to achieve this functionality.

Regards,

Hemant

Accepted Solutions (0)

Answers (1)

Answers (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Hemanth,

Its not that clear from your question could you please rephrase it with bit more details.I could able to get couple of things from your above questions.

1) You are getting list of employees from Source System

2) You want to perform some operation on each employee so currently using splitter to get hold of one employee at a time.

Below are my response.

1) You could use Content Enricher to enrich the input data based on key values from source system.

Below will give more details on Enricher.

https://blogs.sap.com/2015/01/16/blog-5-content-enricher-pattern-in-integration-flows/

Regards,

Sriprasad Shivaram Bhat

Hemant_Malvi
Explorer

Hi Sriprasad,

Thanks for your response.

There was problem in using General splitter with correct XML path.

I used correct Xpath in General splitter and it is working now.

The issue is resolved.

Regards,

Hemant