on ‎2018 Jun 26 12:44 PM
Hi Netweaver experts.
Since today I am plagued by an incomprehensible problem with netweaver gateway function
imports.
Every call ends immediately with the indication that the http method is not allowed:

I tried out several combinations. PUT with/without parameters. POST also with and without parameters.

if anybody knows this kind of problem, please help. i already tried:
Danilo Vorpahl
Request clarification before answering.
POST is not allowed if the return type is 0..n or 1..n
Best regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Function Import ,For POST Return Cardinality should always be 1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi gregor,
yes i've tried with the urlparameters like function calls are documented. this should apply an action. imagine something like "aproveOrderAction" with url parameter "orderid=XS32323"... an entity with property "approved" is something i do not want to implement ;).
we figure out: seems to be a bug with BOPF and resulting Entity cardinality of the function import.
Danilo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not a bug of the BOPF Framework (see my answer below) but this kind of return type is already blocked by the SAP Gateway framework that handles the incoming OData request.
Have you tried to add the import parameters to the URL instead of the HTTP Body? Do you use POST because you create something? Why don't you do that by creating an Entity?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.