cancel
Showing results for 
Search instead for 
Did you mean: 

OData V4 DEEP Create

0 Kudos

Hi SAP Gateway Community,

Currently I'm working on SAP NetWaver 7.50 SP07 where OData v4 is supported. I understand that not all features of OData v4 are supported but according to SAP Note 2322624 the "DEEP Create" is supported for entities.

The DEEP creation is simple: between two OData entities we need to create a navigation and using that navigation name we could provide a deep *.json input data for POST request:

Example:

POST: /sap/opu/odata4/iwbep/tea/default/iwbep/tea_busi/0001/TEAMS

{
"Team_Id" : "",
"Name" : "New Team",
"TEAM_2_EMPLOYEES" : [
{
"ID" : "16",
"EMPLOYEE_2_MANAGER" : null
},
{
"ID" : "17",
"EMPLOYEE_2_MANAGER" : {
"ID" : "8"
}
} ]
}

During the execution of such a POST request I get the error:

"The server does not support the functionality required to fulfill the request"

Debugging deeper I found out that the OData v4 parsing is trying to read such a .json data and during the reading the link data the parsing executes interface method /IWCOR/IF_OD_EP_READ_LINK~ON_READ_CONTENT where its implementation class contains only one line:

RAISE EXCEPTION TYPE /iwcor/cx_od_not_implemented.

Now my questions are: Does OData v4 support DEEP create (according to SAP note it should)? If it does, Do I do something wrong with .json input body or maybe there's a special OData handling for DEEP creation?

Thanks.

Best regards,

Aleh

Accepted Solutions (0)

Answers (2)

Answers (2)

pablo_lopez1
Explorer
0 Kudos

Hi,

Did you guys ever found a solution or explanation on how to do this?

Regards.

kai_mildner
Member
0 Kudos

I'm facing the same problem with 7.50 sp11. Is deep create not supported in 7.50? I can't found any information, since which version deep create is supported. Are there any news?