on 03-05-2015 9:11 AM
Hi ,
I am having query with operation of Netwaver gateway.
I am trying to use batch operation for read operation and i get the output for the same also.
While using RFC having table type input parameter.i want to pass multiline input and get want to retrieve the output tables.
I Used below HTTP request
--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--
It works fine but after debugging i found that call to database goes twice times.So my query is that if each call goes to database .
Then it will hamper the performance of system.
Do we need to use it in any other way for Table type as input parameter.
Thanks
Surekha
Hello Surekha,
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 ->
/IWBEP/IF_MGW_APPL_SRV_RUNTIME - SAP NetWeaver Gateway - SAP Library
Please check above.
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 |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.