Ansicht
Dokumentation

HRPADUN_DS - BAdI: Duty Station Assignment Count and External Assignment

HRPADUN_DS - BAdI: Duty Station Assignment Count and External Assignment

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (Add-In) (BAdI) is used in the Payroll for NPO: Mobility and Hardship component.

Implement this BAdI to change the default method of calculating Mobility and Hardship Allowance.

The NPO standard system has a scheme to encourage operationally required mobility between duty stations and to compensate for the degree of hardship experienced by staff assigned by their organizations to difficult duty stations. The main elements of the scheme are an allowance for mobility and hardship and an assignment grant. Other benefits include additional education travel, additional reimbursement of boarding costs, the reimbursement of basic medical examinations and extra freight shipment.

The rules that you can change in this BAdI are:

  • Determine the dates when the Mobility counts should be rese
    The implementation should return a list of dates when the Mobility counters should be reset.
  • Determine the dates when the GED date should be reset
The implementation should return a list of dates when the Granted Effective Date should be reset.
  • Determine Grant Mobility action dates
The implementation should select the Action dates from Infotype 0000 and 0302 when a Grant Mobility Action was performed.
  • Select the valid External Duty Station assignment records
The implementation returns the Infotype 0395 records that should be used to override the current Duty Station assignment from infotype 0001.

Note

Assignment is defined as the initial appointment to a duty station, or the reassignment to a new duty station for one year or more, where the staff member's official travel to the duty station is paid along with an assignment grant.

All duty stations are placed in one of six categories, H and A to E. H duty stations are headquarters and similarly designated locations where the NPO has no developmental or humanitarian assistance programs. Ato E duty stations are field duty stations.

Carry out this activity only if the following conditions apply:

  • The SAP standard processes do not suit your needs.
  • You are a competent ABAP/4 programmer.

In the standard system, the Business Add-In is not activated.

After calling up the IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.
  1. Save your entries, and assign the implementation to a development class.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the code for the implementation between the statements method ~ and end method.
  4. Save and implement your code. Return to the Edit Implementation screen.
Note: You can also create an implementation, and then activate it later. In such a case, end the processing stage at this point.
  1. Save the entries on the Edit Implementation screen.
  2. Choose Activate.

The code you stored in the method will be run when the application program is executed.






Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 4060 Date: 20240523 Time: 202140     sap01-206 ( 64 ms )