on 11-01-2018 2:33 PM
Hi, I have created an app reusing parts with ComponentContainer and composing multiple OData Services. The GET_ENTITYSET method of child service works fine after adjust the key tabs for 1:N relationship, and the UI5 shows the expected content. Thanks for these blogs!
Now I´m trying to create a new entry in child entity using the composed service, but the error log tcode shows the message , that not occurs when using child service lonely.
"POST not supported across navigation properties for composition services"
/IWFND/CM_MGW 069
The error occurs in class /IWFND/CL_MGW_RUNT_RCLNT_UTILS : MGW Runtime Remote Client Utilities
Method RESOLVE_NAVIGATION
Any idea about how to solve this?
Regards.
Update: I found this message in application log. Indeed my url in POST to child entity is ParentEntity/NavigationProperty. It needs to be ParentEntity/ChildEntity. How is the correct sintax?
Solved by myself after understand the message documentation.
My sintax was odata.create(ParentEntity/NavigationProperty). I changed to odata.create(ChildEntity).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.