cancel
Showing results for 
Search instead for 
Did you mean: 

BATCH OPERATION -Performance Issue

Surekha
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

AshwinDutt
Active Contributor
0 Kudos

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

Surekha
Participant
0 Kudos

Thanks Ashwin