Skip to Content
Technical Articles

Create Custom fields for Business Partner SAP Fiori screens in SAP S/4HANA

Introduction
This blog will seeing how to add custom fields to Business Partner SAP Fiori screen.
I used SAP S/4HANA OP1809, however, it works also on SAP S/4HANA OP1909.

Preparation:Create a Role for Using Key User Extensibility

Tr-cd: pfcg

Input Role code and click “Single Role” button.

Input Role description and click “Menu” tab.

At “Save the role” popup, click “Yes”

Check flag on. Click “Insert Node” and select “SAP Fiori Tile Catalog”.

Select “SAP_BASIS_BC_EXT” and click enter button.

Cancel see application log.

Click “Insert Node” and select “SAP Fiori Tile Group”.

Select “SAP_BASIS_BCG_EXT” and click enter button.

Save the role.

Tr-cd: su01

Assign the role to a user.

  • The Fiori Catalog ID and The Fiori Tile Group are valid only from OP1809.
  • Up to OP1709 they are different. For the Further detail please see “Custom Fields and Logic (F1481)” of Fiori Apps library..

 

How to create custom fields in Fiori

Logon Fiori as the user which the role assigned.

Click “Custom Fields and Logic”

Click “+” button.

Select “Business Context” from pulldown menu.

“Partner Sales area core view” is related to sales area data of customer business partner. (table: KNVV)

“Customer Company code Core” is related to company code data of customer business partner. (table: KNB1)

“Customer Core view” is related to general data of customer business partner. (table: KNA1)

“Supplier Company Code Core” is related to company code data of supplier business partner. (table: LFB1)

“Supplier Core View” is related to general data of Supplier business partner. (table: LFA1)

“Supplier Purchasing Org Core” is related to Purchase organization data of customer business partner. (table: LFM1)

“Label” is shown as the custom field name in the related Fiori screen.

“Type” is data type

Click “Save and Edit”.

“Translate” for Translation. Click “UIs and Reports” tab.

Click “Enable” button and save button.

Click “Publish” button.

“Publishing” takes quite log time. Please be patient until “Published”

  • If you want to use SOAP or IDOC, you can also enabled and save them.
  • You can also use Class “CL_MD_BP_MAINTAIN”

 

How to Edit Business Partner SAP Fiori screen

Tr-cd: su01

Add business roles “SAP_UI_FLEX_KEY_USER” to the editor’s User ID.

Logon Fiori via the editor user.

Click “Customer Master” tile.

  • For supplier, click “Supplier Master” tile of “Supplier” group.

Select a master which contains FLCU00 and FLCU01. Click “>”Allow button.

  • For supplier, select “FLVN00” and “FLVN01”.

Click “Person” button.

Click “Adapt UI”.

Click “Navigation” button and “Sales Area” tab.

Click “>” Arrow button.

Click “UI Adaption” button.

Right click. “Create Group” menu appears and select it.

Input Group name.

Click the Group. Then menu appears. Select “+” add

Select the created custom filed and “OK” button.

Click “Publish” button.

If you want to transport, then set the transport request No.

Click “Save & Exit”.

 

TEST

You can input the custom field. It works fine! Save it.

Display it.

 

Conclusion

You can see how to add custom fields to Business Partner SAP Fiori screen.

 

Appendix:Online Help and other

Adapting the UI of an SAP Fiori App at Runtime

Extensibility wiki

1 Comment
You must be Logged on to comment or reply to a post.