Skip to Content

Weird error occurred when using BATCH request -

service-error.pngHi Experts,

I am currently facing an issue where am unable to execute any batch request from the Gateway hub system which is running on Netweaver 7.5

Service returns 202 return code but there is no response data with the errors like 'HTTP/1.1 404 Not Found'

Attached herewith is the evidence for the same.

Thank you for the support.

Prabha

service-error.png (126.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Apr 26 at 01:45 PM

    Hi Asokan,

    I just saw that you are using the RMTSAMPLEFLIGHT service from the /IWFND/ namespace.

    Can you try out the following Service?

    /sap/opu/odata/IWBEP/TEA_TEST_APPLICATION/$Batch

    with the following http Header

    Content-Type          
    multipart/mixed;boundary=Batch

    and the following payload:

    --batch
    Content-Type: application/http
    Content-Transfer-Encoding: binary
    GET fEmployees HTTP/1.1
    
    --batch
    Content-Type: application/http
    Content-Transfer-Encoding: binary
    GET Conversions HTTP/1.1
    
    --batch--
    

    If this still fails open a customer ticket.

    Regards,

    Andre

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26 at 05:32 PM

    I can see your HTTP method you have selected is POST, and you are performing GET in payload.

    and add content type as Content-Type: multipart/mixed; boundary=batch in the header.

    and if you are really testing POST then correct your payload and pass the correct content type and all as boundry=changeset etc.

    Note: your Payload should follow correct spacing between different operations

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 28 at 04:27 PM

    Hi Prabaharan Asokan,

    You want to read data from this Service call OR you want to manipulate data ? If you want to read data try changing method to GET (as per screenshot provided).

    Hope you are using new domain since SAPES4 is already migrated to SAPES5. Please try using below details.

    1 request:

    https://sapes5.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/CarrierCollection(carrid='AA')

    2 request:

    Nothing has been returned from the second request please validate value you are passing in Request for

    TravelagencyCollection(agencynum='00001755')

    Per screen shot you shared below URL should work which is not working.

    https://sapes5.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/TravelagencyCollection(agencynum='00001755')

    Hope this Helps..

    Thanks-

    Abhishek


    service.png (106.4 kB)
    service1.png (98.3 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Apr 16 at 04:23 PM
    -1

    Hi Experts,

    Can someone help with your thoughts on this error ? thanks

    Add comment
    10|10000 characters needed characters exceeded