Skip to Content

$batch returning empty responce

Hello Experts,

I am executing $batch query in gateway client.

My query is as follows :-

/sap/opu/odata/sap/ZCRM_APPOINTMENT_SRV/$batch

in HTTP Request body i have send following data..

--batch_39d0-355d-989b

Content-Type: application/http

Content-Transfer-Encoding: binary

GET UserPriorities?$format=xml HTTP/1.1

--batch_39d0-355d-989b--


I am getting empty response. But status code is 202.

when i am executing fiori App , the App is sending $batch request as follows ..

Can you please me , why from gateway client its not working.

Thanks

Deborshi

gw-client.jpg (98.8 kB)
gw-client-1.jpg (50.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Sep 08, 2017 at 07:14 AM

    Hello,

    It will not help you, but I try lot of combinaison in the Gateway client, even by following this blogthis blog and I have the same issue !!

    Hope this is not a bug of the GW Client.

    System:

    SAP_GWFND 750 0006

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 11, 2017 at 01:34 PM

    Hello,

    As it is GET call, please try to run the URI directly in the gateway client instead of $batch and check if data is coming.

    /sap/opu/odata/sap/ZCRM_APPOINTMENT_SRV/UserPriorities

    Thanks,

    NP

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2017 at 06:36 AM

    Hi,

    If I were you, I would try GET operation on OData directly to confirm if GET is working fine.

    ODATA:

    /sap/opu/odata/sap/ZCRM_APPOINTMENT_SRV/UserPriorities

    BR,

    -PG

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2017 at 04:48 AM

    I found out the solution :) you have to use a batch number and enclose in the right way your query, take a look at the screenshot I made :

    Regards

    Add comment
    10|10000 characters needed characters exceeded