Skip to Content
author's profile photo Former Member
Former Member

SAP Cloud SDK : Create Custom OVS from Custom Business Object

Hi Experts,

I have requirement to create Custom OVS using Custom Business Object.

My Custom BusinessObject :

businessobject MyBO {

element Cont_ID : ID;

element Cont_type : OTypeCode;

element Cont_Desc : LANGUAGEINDEPENDENT_LONG_Name;

node Item [0,n] {

element Item_ID : ID;

element Item_Desc: LANGUAGEINDEPENDENT_LONG_Name;;

}

}

I want to create OVS with the fields Cont_ID , Cont_type and Cont_Desc when open the OVS component.

Cont_IDCont_DescCont_type00001 Contract 1TYPE100002 Contract 2TYPE2

please anyone have idea about this how to create it and use as a public OVS.

Many Thanks,

Mithun

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2014 at 05:55 PM

    Mithun,

    In the help document of of Cloud Studio (version 1405) , section "Create an Object Value Selector Dialog Box" explains the steps to create an OVS. By following the steps mentioned in the document I was able to create OVS for a custom BO. Created OVS will not appear in Public OWS. But you can always browse and select your custom OVS for a ObjectValueSelector Type of Input field.

    Regards

    Ganesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2014 at 10:11 PM

    Mithun,

    There're two ways to make this:

    1st one:

    Just add the Object value item, clicking on add > new item > Object Value Selector.

    Then bind the fields that you want to be into the OVS itself and then assign the query from the controller view to the Business Object that you want to use.

    2nd one (easiest):

    Right Click on the BusinessObject > Create Screens > Mark only the OVS option.

    There you go!

    To use this OVS in other object you must change the input value to Object Value Selector and in the Help View you must select the component that you previously created

    Regards,

    Melvin

    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.