Ansicht
Dokumentation

OHIRURP_ST_P4_013 - BAdI: Child Care Leave

OHIRURP_ST_P4_013 - BAdI: Child Care Leave

TXBHW - Original Tax Base Amount in Local Currency   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Payroll Russia (PY-RU) component.

This BAdI enables you to include additional checks to count women on parental leave (up to 1.5 and 3 years).

There is one implementation HRPAYRU_IM_CHILD_CARE_LEAVE, which contains implementation code with the following additional checks to count women on parental leave:

  • Relationship type checks
  • Allowance authorization checks.

Standard checks are for the fields of the Family Member/Dependents infotype (0021):

  • Subtype of a Child
  • Relationship to Child
  • Allowance Authorization

If the employee does not have records of the Family Member/Dependents infotype (0021) with a customized suitable subtype for a child, then the standard checks are inactive.

The implementation is inactive by default.

In the standard system, the BAdI implementation is inactive.

The BAdI is reusable.

Use Customizing activity Determine Special Parameters to set the following parameters:

  • 0021_ALLOWANCE_AUTH_FIELD – Name of the Family Member/Dependents infotype (0021) field which determines whether the employee has allowance authorization.

    The value of the parameter contains the name of the field of the infotype where allowance for child care leave is stored. If the value of the parameter is initial, the check for the field is inactive.
  • 0021_NO_ALLOWANCE_AUTH – Values that determine that the employee does not have an allowance authorization.

    The value of Allowance Authorization in the Family Member/Dependents infotype (0021) in the record must not correspond to any values of this parameter. If the value of the infotype field is initial or the value of the parameter is initial, the check for the field is inactive. Values can be separated by a semicolon.
  • 0021_RELATIONSHIP_FIELD - Name of the Family Member/Dependents infotype (0021) field which determines the relationship of the employee and child.

    The value of the parameter contains the name of field of the infotype. If the value of parameter is initial, the check for the field is inactive.
  • 0021_RELATIONSHIP_MOTHER – Values that determine that the employee is the child's mother

    The value of Relationship to Child in the Family Member/Dependents infotype (0021) must correspond to the values of this parameter. If the value of the infotype field is initial or the value of the parameter is initial, standard checks for the field are inactive. Values can be separated by a semicolon.
  • 0021_SUBTY_CHILD – Values to determine which subtypes of the Family Member/Dependents infotype (0021) relate to a child.

    The value of this parameter stores subtypes of the infotype that relate to a child. If the value of the field is initial or the value of the parameter is initial, standard checks for the field are inactive. Values can be separated by a semicolon.

After you call the Customizing activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this BAdI have already been created, the system displays them in a dialog box. You then select one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the BAdI and choose Create. The system displays the initial screen for creating BAdI implementations.
  2. On the initial screen, in the Implementation Short Text field, enter a short description for your implementation. In the Interface tab, the system fills in the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  3. Save your entries and assign the BAdI to a package.
  4. To edit a method, double-click its name.
  5. Enter your implementation code between the method ~. and endmethod. statements.
  6. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for a BAdI and not activate it until later. If you want to do this, do not carry out the following step.
  7. Choose Activate. When the application program is executed, the system carries out the code in the method that you created.

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






Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 5890 Date: 20240523 Time: 171303     sap01-206 ( 49 ms )