Skip to Content

OData V4 DEEP Create

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 20, 2019 at 10:18 AM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 13 at 09:46 AM

    Hi,

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

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.