Ansicht
Dokumentation

HRSFI_EXCLUDE_DELETE - BAdI: Exclude Infotype Records from Deletion

HRSFI_EXCLUDE_DELETE - BAdI: Exclude Infotype Records from Deletion

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

This Business Add-In (BAdI) is used for the integration add-on for SuccessFactors Employee Central and an SAP ERP system.

The integration scenario fills a basis of infotypes in the SAP ERP system. Data records are deleted for which no data is transferred from Employee Central.

You implement the BAdI if you have maintained subtypes manually in the SAP ERP system and want to exclude them from deletion. A subtype can be maintained by replication or manually.

Method: IF_PAOCF_EC_EXCLUDE_FROM_DELET~EXCLUDE_SUBTYPE_DATA_FROM_DEL

You have completed Customizing for the infotypes and subtypes in your SAP ERP system.

You have defined which subtypes are to be maintained manually.

There is no standard implementation for this BAdI.

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

In your integration scenario, compensation data is transferred from Employee Central and stored in infotype 0014 (Recurring Payments/Deductions). The wage type is used as a subtype for infotype 0014. You can also use infotype 0014 to use technical wage types to control payroll behavior. These wage types (subtype) are not generated by transferring data from Employee Central. To prevent this subtype (technical wage types) from being deleted when data is transferred, you need to exclude these subtypes from deletion.

If you do not want replication to overwrite the subtype /ABC for Payroll Germany, use a BAdI implementation similar to the following:

IF iv_infty = cl_paocf_ec_service_lib=>gc_infty_0014  " compensation data

    AND iv_molga = '01'. " germany

    DELETE ct_subtypes WHERE subty = '/ABC'. " wagetype /ABC in germany

  ENDIF.

ENDMETHOD

For more information about how to implement BAdIs in the Enhancement Framework, see SAP NetWeaver Library and choose Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development in AS ABAP -> ABAP Customer Development -> Enhancement Framework.






ROGBILLS - Synchronize billing plans   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2616 Date: 20240523 Time: 194645     sap01-206 ( 54 ms )