Customizing Applications with Extensibility

Using Key-User In-App Extensibility to Create a Custom Business Object

Objective

After completing this lesson, you will be able to create a custom business object

Custom Business Objects

A business object represents a specific artifact in an ERP system, consisting of nodes (entities) in a hierarchical structure, fields (attributes) storing data, and transactional operations for creating, updating, and deleting data. Examples include customer invoices, banks, and materials.

Note

Before creating a custom business object, verify that a suitable standard object does not already exist. Use the Graph Navigator (sap.s4 entity) to research existing entities and their attributes in SAP S/4HANA Cloud.

If no standard object meets your requirements, use the Custom Business Objects app to create one. Custom business objects can generate database tables, services (APIs), UIs, and applications.

Screenshots showing how to create a custom business object.

When defining the object:

  • Select the required features (for example, enable User Interface to generate an app UI).
  • Enable Can Be Associated to allow linking to other applications via custom fields.
  • The system automatically generates a root node matching the object name; add sub-nodes as needed.
  • Define the fields that will store the object's data. If a UI is generated, these fields appear as data entry points on the application screen.

Assign the business object to a business catalog and view the app UI

After publishing the business object, navigate to the General Information tab and select Maintain Catalogs to open the Custom Catalog Extensions app. Assign the object to an appropriate business catalog, then ensure your user is assigned a business role that includes the catalog.

Refresh your browser. Once permissions are active, the Go to Generated UI link becomes available within the business object settings.

Note

The application only appears on the SAP Fiori launchpad if it is added to a page within a space mapped to the same business role as the business catalog.

To reference the custom business object from another application, use the Custom Fields app to create fields associated with standard or custom business objects.

Screenshots showing how to assign the custom business object to a business catalog and view the app UI.

For more information, refer to the documentation on creating custom business objects in the SAP Help Portal.