Ansicht
Dokumentation

OHARUBP_SC_MGT_003 - BAdI: Filter Values with Attributes

OHARUBP_SC_MGT_003 - BAdI: Filter Values with Attributes

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In (BAdI) HRPADRU_B_FILTER_TO_ATTR (in enhancement spot HRPADRU_LN_FILTER_TO_ATTR) is used in the Personnel Administration (Russia) (PA-PA-RU) component.

You can use this BAdI to adjust the standard process of filtering data. The BAdI is filter-dependent. It is called from class CL_HRPADRU_OP_LN_FILTER_2_ATTR and uses field REF_ATTRIBUTE to define the required implementation.

There are two default active implementations:

  • HRPADRU_IM_FILTER_CREATED (Filter: Attribute = CREATED_AT)
    This implementation is used for date and time transformation. The date and time are saved in UTC format in the data store but are also displayed in the report in local time (both in the ALV Grid and in the filter screen part). Before date and time are retrieved from the data store, this implementation converts both parameters to UTC format.

    Important: The field REF_ATTRIBUTE in the filter table must be filled with value CREATED_AT.

    For each row in the filter, the field REF_FIELD must be filled with data of data type DATE.
  • HRPADRU_IM_FILTER_EMPLOYEES (Filter: Attribute = PERNR)
    This implementation is used for filtering employee data. It converts all parameters for all employees in the filter to the relevant personnel numbers.

    Important: The field REF_ATTRIBUTE in the filter table must be filled with value PERNR.

    For each row in the filter, the fields REF_TABLE and REF_FIELD must be filled with a database table of the PA infotype and a field from that table.

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Help Portal for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 2182 Date: 20240523 Time: 192807     sap01-206 ( 42 ms )