Custom Fields in SAP S/4 HANA PUBLIC CLOUD

Estimated read time 5 min read

Introduction

In Key User Extensibility,  Custom fields can be added using Custom Fields App.

Custom Fields in SAP S/4 HANA PUBLIC CLOUD

Custom Fields is one of the Key User Extensibility Tools                        

In the Custom Fields App, 

Create and edit custom fields (extend the SAP table, application, CDS views and OData services)Delete an existing custom fieldManage the usages of a custom field such as other Uls, reports, forms, service interfaces, processes, searchDefine fields of type Text, number, amount, quantity, time, date, timestamp, …Value help views based on fixed code list or based on CDS view.

Steps to Create Custom Fields

Navigation to Custom Fields App

Custom Fields App

Click on Create

Choose Required Business Context

Add Label name (Identifier, Tooltip appears automatically based on given label name).

Choose Type of a Custom Fields.

Here Phone Number is chosen, System automatically assigns length of it.

If Text Type is chosen, then manually length should be given.

Based on the length of a field, business context capacity will be increased.

Available Types for the field

Choose Create or Create and Edit options

Choose APIS

To expose custom fields through APIs, ensure the necessary APIs are enabled so the fields become accessible.

To display custom fields in the SAP GUI, make sure the relevant data sources are enabled so the fields appear on the screen

Enable the SAP GUI

To expose custom fields through services, ensure the necessary service are enabled so the fields become accessible.

To make custom fields available in form templates, enable the appropriate templates to ensure the fields are accessible

General Information provides information of the custom fields with all label texts

Different Labels can be maintained for a custom field.

Custom field is added in the Purchase Order Header Screen.

Extended CDS View of Custom Field

After Creating Custom field and enabling related CDS View or API, that CDS View will be extended with that custom field.

For every custom field, separate Extended view will be generated.

Select the Extended view, it shows the custom field.

The custom field is added in the Extended view of Purchase Order CDS View

References

Before Getting Started with Custom Fields | SAP Help PortalCreating Custom Fields | SAP Help PortalKey User Extensibility | SAP Help PortalExtensibility | SAP Help PortalExtend and Integrate Your SAP S/4HANA Cloud Public Edition | SAP Help PortalSAP S/4HANA Cloud Public Edition | SAP Help Portal | SAP Help Portal

Conclusion

Using Custom Fields App,

Custom fields can be added to the UI.

Create and edit custom fields and Delete an existing custom field.

Value help views can be added to the custom fields.

Custom fields can also be added to the custom forms.

 

 

​ IntroductionIn Key User Extensibility,  Custom fields can be added using Custom Fields App.Custom Fields in SAP S/4 HANA PUBLIC CLOUDCustom Fields is one of the Key User Extensibility Tools                        In the Custom Fields App, Create and edit custom fields (extend the SAP table, application, CDS views and OData services)Delete an existing custom fieldManage the usages of a custom field such as other Uls, reports, forms, service interfaces, processes, searchDefine fields of type Text, number, amount, quantity, time, date, timestamp, …Value help views based on fixed code list or based on CDS view.Steps to Create Custom FieldsNavigation to Custom Fields AppCustom Fields AppClick on CreateChoose Required Business ContextAdd Label name (Identifier, Tooltip appears automatically based on given label name).Choose Type of a Custom Fields.Here Phone Number is chosen, System automatically assigns length of it.If Text Type is chosen, then manually length should be given.Based on the length of a field, business context capacity will be increased.Available Types for the fieldChoose Create or Create and Edit optionsChoose APISTo expose custom fields through APIs, ensure the necessary APIs are enabled so the fields become accessible.To display custom fields in the SAP GUI, make sure the relevant data sources are enabled so the fields appear on the screenEnable the SAP GUITo expose custom fields through services, ensure the necessary service are enabled so the fields become accessible.To make custom fields available in form templates, enable the appropriate templates to ensure the fields are accessibleGeneral Information provides information of the custom fields with all label textsDifferent Labels can be maintained for a custom field.Custom field is added in the Purchase Order Header Screen.Extended CDS View of Custom FieldAfter Creating Custom field and enabling related CDS View or API, that CDS View will be extended with that custom field.For every custom field, separate Extended view will be generated.Select the Extended view, it shows the custom field.The custom field is added in the Extended view of Purchase Order CDS ViewReferencesBefore Getting Started with Custom Fields | SAP Help PortalCreating Custom Fields | SAP Help PortalKey User Extensibility | SAP Help PortalExtensibility | SAP Help PortalExtend and Integrate Your SAP S/4HANA Cloud Public Edition | SAP Help PortalSAP S/4HANA Cloud Public Edition | SAP Help Portal | SAP Help PortalConclusionUsing Custom Fields App,Custom fields can be added to the UI.Create and edit custom fields and Delete an existing custom field.Value help views can be added to the custom fields.Custom fields can also be added to the custom forms.    Read More Technology Blog Posts by Members articles 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author