cancel
Showing results for 
Search instead for 
Did you mean: 

How to Extend Manage Business Partner Master Data to Add standard field ?

former_member705525
Discoverer
1,680

Hi All,

I am trying to extend Standard Fiori App(manage Business Partner - ) to include standard BusinessPartnertype(but000.bpkind) filed in Smart Filter bar and Object Page.

Manage Business Partner Master Data

I have extended CDS views(I_BusinessPartnerTP and C_BusinessPartner ) to add standard field (but000.bpkind as BusinessPartnerType) .But these filed is not added in Draft table created (@ObjectModel.writeDraftPersistence: 'bupa_root_d').Beacuse of this we are facing issuees in opening Draft BP and Editing BP.

1.Do we need manually edit the draft table to include BPType field in append Strcture ?

Error :- The requested data was not found.

2.If we add below annoattaion in C_BusinessPartner view, we are facing issue in filtering data.It is showing empty table without any data and count is set Zero.If we remove/commment BPType in filter and table , we are able to see count iand BP records in Table.

@UI.identification.position:

@UI.selectionField.position: 80

@UI.lineItem.position: 80

@UI.lineItem.label: 'BP Type' @UI.fieldGroup: [{ qualifier: 'Text1', groupLabel:'Text', label:'BP Type', position: 7, importance: #HIGH }] BusinessPartner.BPType as BPType.

I am using S4 on prem 1809

any help would be appresicated.

0 Kudos

Dear Amith,

I have a similar issue here: https://answers.sap.com/questions/13231180/how-to-extend-bopf-related-to-a-cds-view.html

Did you have found any solution, please.

Thanks.

View Entire Topic
0 Kudos

Hello Amith!

You need to extend structures in BO and draft table. Please check: Extend draft model

If you want to add smart filter to the standard App - it's a big deal 🙂 in current version it is not possible for your application. Because upper on consumption CDS you have a Gateway project. In this Gateway project your new association for search help in smart filter is not visible.