Skip to Content

OData Provisioning in CPI

Hi All,

I went through the blog https://blogs.sap.com/2019/08/12/odata-service-in-cpi-for-beginners/ for OData provisioning in CPI.

I have a query regarding deeply nested structures in the actual request message but which are expressed as separate Entity Types(Supplier,Products) in the edmx file.

For deeply nested structures on the request side (For Ex: Supplier inside Products), do we have always have to create the xsd manually? Although the edmx file has NavigationProperty specified correctly, there is no option during step 2 “Select Structure” to select the nested structure. It only displays fields of individual “Entity Type” separately without displaying the fields of the referenced Entity Type(s). Please clarify and explain how do we handle such requirements

Regards,

Malgi

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 31, 2019 at 06:26 AM

    Hi Malgi,

    OData Sender adapter doesn’t support XSD generation. It uses the edmx file for mapping a single entity. For Deep insert structure, you have to manually create one.

    A workaround is to use the query builder in OData receiver and use the local edmx option and choose your sender edmx. you can choose the sub level and model. This will generate an XSD and you can use this in mapping step.

    BR
    Saranya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 30, 2019 at 02:26 PM

    Hi,

    Please help answer the query

    Regards,

    Malgi

    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.