Hi Harish,
Pagination is not supported by a REST adapter: it transmits the whole response message (XML or JSON formatted) to a caller in a single transaction and session, in a single chunk. Thus, if a caller needs to receive smaller sets of data, they should:
- limit amount of records returned (like maximum number of rows, etc.), which will be propagated to a receiver system (SAP ECC), so that the receiver can take this limit into account, or
- consider switching from synchronous communication to asynchronous and using mechanisms of message splitting which are available in PI. In this way, large message which is sent in response by SAP ECC, can then be split into smaller messages, that are sent back to a sender system.
Generally speaking, usage of synchronous communication mode for interfaces regularly generating and processing large messages, is not recommended, and shall be avoided and replaced with asynchronous mode whenever possible.
Regards,
Vadim