cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud SDK : Create Custom OVS from Custom Business Object

Former Member
0 Kudos

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_type
00001 Contract 1TYPE1
00002 Contract 2TYPE2

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

Many Thanks,

Mithun

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197479
Active Participant
0 Kudos

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

Former Member
0 Kudos

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