cancel
Showing results for 
Search instead for 
Did you mean: 

"My travel requests" SRA004_SRV - The specified HTTP method is not allowed for the resource identified by the Data Service Request URI

Former Member
0 Kudos

Hi,

Fiori "My travel requests" application client is sending request to gw:

...REQUEST_URI/sap/opu/odata/sap/SRA004_SRV/$batch?

the response is :

~status_reasonMethod Not Allowed

The specified HTTP method is not allowed for the resource identified by the Data Service Request URI

what could be the reason ?

SRA004 version is :

SRA0046000005SAPK-60005INSRA004Create Travel Request OData Integration

GW component version is:

UIX01TRV1000003SAPK-10003INUIX01TRV0000-@6H\QAchieved with Support Package@UI for Travel Application

newest sp for SRA004 is 6 , i have 5.

for UIX01RTV newest is 4 , i have 3.

BR

Lucas

Accepted Solutions (0)

Answers (2)

Answers (2)

pieterjanssens
Active Participant
0 Kudos

Same problem here. Works on dev, but after transporting to acceptance I receive the same error when the application calls $batch. Did you find the solution?

joaquin_fornas
Active Contributor
0 Kudos

Hello

Please, check here:

    • Error Message at client: The specified HTTP method is not allowed for the resource identified by the Data Service Request URI

Error Analysis: For each http method you need to be aware of the right URI convention.

Common Problems:

For a ‘POST’ method URI should point to a Collection.

     Example:  …../sap/opu/odata/<NameSpace>/<ServiceName>/<CollectionName>

For a ‘PUT’ and ‘DELETE’ methods URI should point to an Entry.

     Example: …../sap/opu/odata/<NameSpace>/<ServiceName>/<CollectionName>(<keys and values>)

If you are using a $batch, the request has to be a 'POST'

Regards

Joaquin