Ansicht
Dokumentation

HRBAS00_STRUAUTH_BAU - BAdI: Structural Evaluation in Report RHBAUS_PARALLEL

HRBAS00_STRUAUTH_BAU - BAdI: Structural Evaluation in Report RHBAUS_PARALLEL

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

This Business Add-In (BAdI) is used in the SAP Business Partner component (BC-BMT-OM).

This BAdI is called in report RHBAUS_PARALLEL (Regeneration of INDX for Structural Authorization in Parallel Processes). Without an active BAdI implementation, the corresponding hierarchies are determined sequentially using classic select statements from table HRP1001 . The active BAdI implementation HRPAD00_STRUAUTH_BAUS is used to make the selection via CDS view P_HCMSTRUCTURALAUTHZN. This should significantly speed up the selection of hierarchies.

The BAdI method is not called for evaluation paths in the following situations:

  • They use external object types from table T77EO(external object types) without an inverse relationship.
  • They have an '*' entry for an object type.
  • They use an external relation from table T77EV(external relationships).

In the case of evaluation paths that do not meet these requirements, the objects are determined in the same way as for an inactive BAdI implementation.

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

Enhancement implementation HRPAD00_STRUAUTH_BAUS uses CDS view P_HCMSTRUCTURALAUTHZN for structural evaluation. BAdI method get_objects_structure_buildcan only process structures with a maximum depth of 20. If the structure depth is greater than 20, processing terminates with an error.

BAdI method documentation:

For information about how to implement BAdIs in the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.






ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2657 Date: 20240523 Time: 200935     sap01-206 ( 47 ms )