cancel
Showing results for 
Search instead for 
Did you mean: 

POST not supported across navigation properties for composition services - SAP Gateway UI5

cristiano_santos
Participant
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

cristiano_santos
Participant
0 Kudos

Solved by myself after understand the message documentation.

My sintax was odata.create(ParentEntity/NavigationProperty). I changed to odata.create(ChildEntity).

Answers (0)