cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can't set org unit as data type for field on custom business object

0 Kudos
295

Hi,

I am trying to create a new business object that will store an organization unit and map it against a value in a custom data list I've created. This will be used for a look up against the Sales Unit field on a sales order under Organizational Assignment.

The issue I am having is I cannot find the data object relevant to the Sales Unit (Organization unit) for the field. I have tried Organizational Centre ID but that was empty and had no data to show I've tried a few others (included in separate screenshot), but I cannot find the data type I need for the field. I've been unable to find the data structure in the repository explorer either.

Can you provide guidance and let me know if creating a custom field referencing this data type is possible, and if so what the identifier for the code is?

Thanks,

Dino

Accepted Solutions (1)

Accepted Solutions (1)

former_member226
Employee
Employee
0 Kudos

Hello,

You need to use OrganisationalCentreID as the data type in your custom BO/XBO and then in the respective UI you need to associate either of the following public OVS:

/SAP_BYD_APPLICATION_UI/ovs/organisationalcentreid/salesunit.OVS.uicomponent

/SAP_BYD_APPLICATION_UI/publicovs/organisationalcentreid/SalesUnit.OVS.uicomponent

Then ideally uyou should be able to see the valuehelp code from the database.

0 Kudos

That's exactly it! I hadn't set up the OVS, thank you!

Answers (0)