on 2024 Jun 10 10:44 AM
hello Community,
I have the problem with UI5 development that I cannot call our action.
The error appears in the console: "Failed to invoke /PostGoodsMvT(...) - Error: Unknown operation: /PostGoodsMvT(...)"
I have already tested all the different methods from the OData Operations website OData Operations - Documentation - Demo Kit - SAPUI5 SDK (ondemand.com), but I always get the same e...
The metadata was created by the ‘SAP Fiori Application generator’ in Visual Studio Code. I have selected ‘Custom Page’.
Displaying data via CDS-views from the OData V4 service works without problems.
Only the action call does not work. My ABAP colleague set up the OData V4 according to the RAP instructions. I have tested another OData V4 service which works with a different app and I get the same error.
My Code: (For this example, I have kept the parameters static without input.)
Call Action:
View:
Metadata:
Error:
Best regards,
Lukas
Hello Lukas,
I recommend checking the error response of your http request in the console (developer tools of the browser).
What is the error information that you can see here, in the error trace?
And is there any further exception that you can read in the console?
Normally this gives a hint
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.