SAP Knowledge Base Article - Public

3602281 - BAdI SD_SLS_FIELDPROP_HEAD is not triggering in app Manage Sales Order - Version 2 in SAP S/4HANA Cloud Public Edition

Symptom

The BAdI SD_SLS_FIELDPROP_HEAD is not triggering in the app 'Manage Sales Order - Version 2'.

In SAPGUI apps, the implementation runs correctly.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Logon with roles SAP_BR_INTERNAL_SALES_REP and SAP_BR_EXTENSIBILITY_SPEC assigned.
  2. Open app Custom Fields and Logic and create a custom field, making it read-only for the creation process mode.
  3. Open app Custom Logic and publish a custom implementation with BADI SD_SLS_FIELDPROP_HEAD.
  4. When using app Manage Sales Order - Version 2, notice that the BADI is not triggering as expected.

Cause

The BAdI SD_SLS_FIELDPROP_HEAD is primarily designed for SAPGUI-based transactions (e.g. VA01, VA02, etc.) and not for SAP Fiori apps such as 'Manage Sales Order - Version 2'. 

In SAPGUI apps, this BAdI allows customization of field properties (e.g. visibility, mandatory checks, etc.) in Sales Document (header) screens. But it doesn't control fields behavior in SAP Fiori apps, since Fiori apps use a different UI framework (SAPUI5) and backend logic.

Resolution

To customize Fiori apps such as 'Manage Sales Orders - Version 2', the following approaches are available:

  • UI Adaptation (Personalization & Key User Adaptation)
    • End-users can personalize their own views using Fiori’s built-in adaptation tools.

    • Key users can make broader adjustments (e.g., adding, hiding, or rearranging fields) via Key User Adaptation.

  • CDS View Annotations (if applicable)

    • If the app is based on a CDS view, field properties (visibility, labels, etc.) can be controlled via annotations in the underlying data model.

  • Fiori Elements Extensibility

    • For advanced customizations (e.g., adding custom logic or fields), Fiori Elements extensibility can be used.

Keywords

BAdI, SD_SLS_FIELDPROP_HEAD, not triggering, Manage Sales Order, Version 2, SAP S/4HANA Cloud Public Edition, VA01 application, custom field, read-only, creation process mode, SAP GUI-based transactions, SAP Fiori apps, F1481, F3893, Transactional, SAP Fiori elements, Manage sales quotation, va02, VA03,  , KBA , SD-SLS-EXT-2CL , Extensibility (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions