cancel
Showing results for 
Search instead for 
Did you mean: 

custom page size for soap adapter

0 Kudos

Hi Guys,

I have a requirement from CPI. As per customer, we shouldn't call SAP system directly to fetch data to CPI. Customer premise has SAP PI already available so, we have built an interface in PI (SOAP to RFC) synchronous. Our plan is CPI uses a request-reply with soap adapter invokes PI interface with a request payload and fetches SAP response to CPI. Later further steps continues. Currently there are about 30-40K records to be fetched from SAP through PI. PI system is always throwing multiple errors with regards to time-out, expiration, 500 http, and etc. We don't want to further analyze PI to adjust synchronous time-outs.

Now what we thought is CPI requests PI interface with two extra fields (ex. initial count and final count). For example if CPI passes initial count 1 and final count 1000 then, same request goes to SAP and SAP returns 1 to 1000 records and next execution must become initial count as 1001 and final count as 2000 and the count goes until whole records get completed. ABAPER accepted this solution and ready to send those records from SAP system table. After the whole execution is completed for an iteration, initial count and final count should become initial values i.e. 1 and 1000 for next run. Now my questions are below.

1. I think, we can use loop process call to repeat the loop. Please confirm ?

2. I think, we can store two values (initial and final counts) in a write variable. However, how do we add 1000 to initial and final values every time after loop execution ?

3. How do we initialize these two values again to 1 and 1000 for next execution?

This is a similar paging concept we have in odata or successfactor adapter. I don't such option in soap adapter for which we are looking for a custom solution.

Regards

Srihari

Accepted Solutions (0)

Answers (0)