cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI-DS Looping BAPI call

PratibhaK
Participant
0 Kudos
464

Hi,

Is there a way to call a funtion/BAPI in iteration? Example I have 5 order numbers saved in the source file and for each of them I need to call BAPI_ALM_ORDER_GET_DETAIL.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member423067
Active Participant

Hello Pratiba,

is this BAPI designed to accept multiple line request and provide response also with multiple records ?

if you have to call the BAPI and it is the only way to access the information you need.

Then, you can ask the ECC team to expose the BAPI as an webservice from ECC. you can call the sync webservice from CPI DS and get the response back.

you can pass multiple records to webservice and also provide a limit on how many batches you would like to call at a time.

with regards,

Nazeer

yatanveersingh
Active Participant
0 Kudos

Hi

You can use splitter, which can branch out each of your order to the bapi


Yatan

PratibhaK
Participant
0 Kudos

Thanks Yatan but, I am not sure if we have a splitter in CPI-DS as we have in CPI.