cancel
Showing results for 
Search instead for 
Did you mean: 

Internal table and Loop feature in CPI

arnab_mondal2
Participant
0 Kudos

Hi Experts ,

My requirement is as follows:

1. I do an API Call ( 1st call ) and get a set of records .

2. I use key field values of the 1st call and do a 2nd API call to get another set of records.I need to store them in an internal table to have values from 1st and 2nd side by side .

3. I use key field values of the 2nd call and do a 3rd API call to get another set of records.

I need to store them in the same internal table to have values from 1st , 2nd and 3rd side by side .

4. I use key field values of the 3rd call and do a 4th API call to get another set of records.I need to store them in the internal table to have values from 1st , 2nd , 3rd and 4th side by side .

I need to send the records to target system.

The records in each api has 1: n cardinality . Hence post the 4th api call , the data consistency in the internal table is very critical .

I wish to know from the experts , how can I build the internal table and do the looping in the best way . My API calls are all in place , it's the data I am not able to collate correctly at each step . Please advice ASAP .

Thank you all in advance .

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Arnab,

You can use content enricher option to achieve the same.

ContentEnricher

Regards,

Sriprasad S Bhat

Answers (1)

Answers (1)

arnab_mondal2
Participant
0 Kudos

Experts - any lead pls !