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.
Caution!!: You have to add the role “SAP_UI_FLEX_KEY_USER” in order to use “Adapt UI” upper from OP1909.
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
Thanks Kazuhisa-san - that's a nice example.
I have added this blog to the Extensibility page of the SAP Fiori for SAP S/4HANA wiki
Arigato gozaimasu for your blog Kazuhisa. Very instructive, well detailed and useful.
For the technical guys it is interesting to see how Append is added automatically to table KNVV. I got it without editing the table with SE11.
I also wanted to comment that the extra field is added automatically to the data migration cockpit file template without manual intervention with LTMOM (data migration modeller):
and also the the data migration modeller has new field: