on 03-11-2015 4:25 AM
Hi,
How to create single call to backend system for multiple batch request in gateway.
My RFC having Internal table as importing parameter.
Each time my backend system is called with single line of data.
My Batch Request is
--batch Content-Type: application/http Content-Transfer-Encoding: binary
GET MM_PUSH_DATASet?$filter=(Uname+eq+'KRISH') HTTP/1.1
--batch Content-Type: application/http Content-Transfer-Encoding: binary
GET MM_PUSH_DATASet?$filter=(Uname+eq+'ABAP_TEST') HTTP/1.1
--batch--
Kindly suggest solution to prevent multiple call to backend.
Hello Kishan,
That is how BATCH works for now. It will call 2 times if there are 2 input values.
However in GW SP 09, you can send all the values as part of single ChangeSet so that in back-end you can process all the values in one go.
After processing you will get all the responses in a single payload containing separate response for each operation.
Have a look at Performance Improvements in BATCH ( Change Set at once Defer Mode ) section and also the implementation details ( Technical Details ) described as well ->
Details about some new features in SAP Gateway 2.0 SP09
/IWBEP/IF_MGW_APPL_SRV_RUNTIME - SAP NetWeaver Gateway - SAP Library
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.