cancel
Showing results for 
Search instead for 
Did you mean: 

OVS for 'Sales Order' in EC for a Custom BO doesn't work

Former Member
0 Kudos

Hello All,

I have created a Custom BO.

An element in the BO is 'Sales Document Number'.

[Label("System Document Number")] element Sys_Doc_Number:AP.Common.GDT:BusinessTransactionDocumentID;

I have set the data type of this element to , 'BusinessTransactionDocumentID'.

In the EC  , I have added this field as an OVS.

I'm reusing SAP_BYD_APPLICATION_UI/srm/ovs/salesorderid/SalesOrderID.OVS.uicomponent.

When I activate the EC and test , the OVS and other list boxes in the UI are not getting loaded.

If I change the data type of 'Sys_Doc_Number' to Text , the list boxes are getting loaded.

That leaves the OVS issue open.

From Dump Analysis,

Failure binding the element Sys_Doc_Number of node QN.Root.

I tried to lookup salesorderid OVS in 'Repository Explorer'.

But I don't find any info there.

Could you please suggest what could be wrong ?

Regards,

Padmini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I created a new OVS for Customer Quote and it helped

Answers (1)

Answers (1)

former_member200567
Active Contributor
0 Kudos

Hi Padmini,

I just tested /SAP_BYD_APPLICATION_UI/srm/ovs/salesorderid/SalesOrderID.OVS.uicomponent on UI.

It is working fine as expected.

The OVS is showing the sales order IDs.

How did you add it?

By any chance, did you add any parameter to the OVS?

Best Regards,

Fred

Former Member
0 Kudos

Hello Fred,

What is the standard BO to which you have created association ?

Please let me know.

Regards,

Padmini

former_member200567
Active Contributor
0 Kudos

Hi Padmini,

I just tested it on a custom UI of a custom BO.

Best Regards,

Fred

Former Member
0 Kudos

No Fred.

I didn't add any parameters to the OVS.

I tried both the ways :

1. Adding an element to BO . In UI designer, changed the display type to 'ObjectValueSelector'.

    Set OVSComponent under 'ValueHelp' to public ovs --> /SAP_BYD_APPLICATION_UI/srm/ovs/salesorderid/SalesOrderID.ovs.uicomponent.
2. Dragged and dropped an ObjectValueSelector from 'Toolbox' in UI designer and set the 'ValueHelp' appropriately.

I have similar issue with Material OVS too.

But the interesting thing here is , if I add the Material OVS to QC it works fine.
The QC contains fields corresponding to elements in root of the BO

If I add the material OVS to EC , I have issues.

The EC contains fields corresponding to elements from a child node of the BO..

Regards,

Padmini

former_member200567
Active Contributor
0 Kudos

Hi Padmini,

I didn't test it on EC.

But still, it should not behave like that.

This is really strange. I have never experienced that.

Best Regards,

Fred