cancel
Showing results for 
Search instead for 
Did you mean: 

Business Partner different address in OVS in a custom embedded component

former_member606838
Participant
0 Kudos

Hi experts,

I have a custom BO in which I can select a business partner and add some additional information to it. The client would like to be able to select an address of the different address a business partner might have in the master data. For instance this business partner have 2 address:

When I select this partner in the following list view, I would like to have the addresses associated with it be shown when I click on the OVS of the addresses:

I tried with this reuse UI OVS: /SAP_BYD_APPLICATION_UI/crm/ovs/selectaddress/SelectAddress.OVS.uicomponent but I couldn't achieve the right result.

The code of the BO :

import AP.Common.GDT as apCommonGDT;
import AP.FO.BusinessPartner.Global;
import AP.ProjectManagement.Global;
businessobject ProjectBusinessPartner 
{
[AlternativeKey]element ProjectUUID:UUID;
node BusinessPartners[0,n]
{
[Label("Business Partner ID")]element BusinessPartnerID: BusinessPartnerID;
[Label("Business Partner")]element BusinessPartnerName: LANGUAGEINDEPENDENT_MEDIUM_Name;
[Label("Rolle")]element Role : PartnerRoleCode;
[Label("Typ")]element Type : PartnerTypeCode;
[Label("Branche")]element Branche :IndustrialSectorCode;
[Label("Obsolet")]element Deprecated:Indicator;

association toBusinessPartner to BusinessPartner;
}
association toProject to Project;

}

Any suggestions?

former_member606838
Participant
0 Kudos

any idea?

Accepted Solutions (0)

Answers (0)