Ansicht
Dokumentation

EHFND_TASK_DEF_FLD_R - BAdI: Field Control for Extension of Task Definition Root

EHFND_TASK_DEF_FLD_R - BAdI: Field Control for Extension of Task Definition Root

ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
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 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.

The BAdI is called when data is retrieved from the Rootnode of the EHS Task Definition business 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_TASK_DEF_FLD_CTRinterface which includes only one method:

  • 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 have to add custom fields to the EHS Task Definitionbusiness object using key user extensibility in the EHFND_TASK_DEFINITIONbusiness context.

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

The BAdI is enabled for multiple use and is not filter-dependent. For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitionstab 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 Definitions tab in the Implementation Example Classes section.

The following example implementations are available:

  • CL_EHFND_TASK_DEF_FLD_CTR_EXMPL

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






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 3075 Date: 20240606 Time: 071643     sap01-206 ( 51 ms )