Ansicht
Dokumentation

EHFND_TASK_MNTF_FLD - BAdI: Field Control for Maintenance Notification Task Definition Extension

EHFND_TASK_MNTF_FLD - BAdI: Field Control for Maintenance Notification Task Definition Extension

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in Environment, Health, and Safety( EHS-SUS-FND) to control the display behavior of custom fields added to the subnode Maintenance Notificationof the EHS Task Definitionbusiness object with key user extensibility, such as editability, visibility, in the EHFND_TASK_DEFINITIONbusiness context. You can also use the BAdI to mark a field as mandatory or optional.

This BAdI is called when data is retrieved from the Rootnode of the EHS Task Definitionbusiness object. The BAdI is only executed when using the apps registered in the EHFND_TASK_DEFINITIONbusiness context.

This BAdI definition uses the IF_BADI_EHFND_TSK_MNTF_FLD_CTRinterface which includes only one method:

o,,MODIFY_EXT_FIELD_CONTROLS

Using this method, you can specify the display behavior of custom fields by modifying the values of the field controls.

Before implementing the BAdI, you should add custom fields to the EHS Task Definition – Maintenance Notificationbusiness object using key user extensibility in the EHFND_TASK_MAINTENANCEbusiness context.

The BAdI is enabled for multiple uses and is not filter-dependent.

The BAdI is enabled for multiple uses and is not filter dependent.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

The BAdI can be implemented using the Custom Logicapp for the EHFND_TASK_DEFINITIONbusiness context.

The BAdI can also be implemented using the Custom Logicapp for the EHFND_TASK_DEFINITIONbusiness context.

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitionstab in the Implementation Example Classessection.

The following example implementations are available:

o,,CL_EHFND_TSK_MNTF_CTR_EXMP

The example implementation shows you how to make a custom field be displayed as not editable.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3108 Date: 20240606 Time: 151929     sap01-206 ( 50 ms )