Skip to Content

C4C - PDI -Question about Custom OVS in Custom BO

Mar 15, 2017 at 04:18 PM


avatar image

Dear All

I have an important question. Let me explain our scenario,

We have created a Custom BO, inside this BO, there is a custom Field:

node Prod [0,n] { 
[Label("ProductInternalID")] element ProdInternalID   :ProductInternalID;....

Then we have created an EC with fields of this Custom BO and this EC, is a tab inside Customer View in C4C.

Actually, this ProdInternalID, should be an OVS field, that when we open it we want to see the Products that has the same SalesOrg of Account

We created a custom OVS that is bounded to Material.xbo (standard Business Object)

The problem is that, when we want to search for a specific value, the search is not working

But when I click on Value Helper, the search is working

the ProductInternalID is a custom field that we have created in Custom Bo!
And all the fields that you find in value help search (Product ECC ID; Product ID ; Product Description) are standard field of Material BO

Could you please help me how search can work in ProductInternalID field?
Since there is no relation between MaterialBO and our CustomBO....



1.png (65.7 kB)
2.png (37.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

s sin Mar 16, 2017 at 10:57 AM

@Komal Choudhary @Pradeep Kumar N @Sunil Kumar Maurya
Could you please help me and take a look at my quetsion please?

Many Thanks

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hello Sin,

First: If your CBO tries to "enhance" the SAP BO Material, I would liek to ask you if you already tried ti with Extension Fields?

Second: If this wount work and exact one instance of your CBO exists per Material instance then I sugest to make the element "ProdInternalID" an Alternative Key.
This is also an requirement for OVS. :-)

And - BTW - please bind the OVS to the BO to which it belongs to: your CBO. ;-)

. Horst


Dear Horst,

Thanks a lot for your answer! I was looking for your name to mention, but I lost my old questions, and I could not find you :)

1- Actually my CBO is not going to enhance BO material, is completely custom develope that should be in Customer BO. So I can not use Extension Field, because I have created aan EmbeddedComponent that contains all fields of CBO
2- I set it as AlternativeKey as you said.
3- I have a doubt here Horst! because my OVS is binded to Material BO. is not binded to my Custom BO.
My field is belong to Custom BO, but my OVS is bind to Material BO.

so when I search ondide the OVS, my search is working, but when I want to search directly in my field (that is belong to CBO), it shows me all values and is not fielter based on what I write...

Here is my problem...

Could you please help me to understand where is the mistake?