Ansicht
Dokumentation

OHADPF106 - Delimit Garnishment with Dynamic Action

OHADPF106 - Delimit Garnishment with Dynamic Action

CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Customizing activity to check the dynamic action for infotype Garnishment/Cession D (0111) to delimit a garnishment and to process it, if necessary.

This dynamic action causes the following:

  • As soon as you save a garnishment in infotype Garnishment/Cession D (0111) with the status Ended on and the infotype record (valid to) is smaller than December 31, 9999, the system displays dialog box Delimitation of Garnishment. This contains information about the relevant garnishment, the corresponding garnishment infotypes (for example, 0112, 0113, 0114, ...) and the delimitation date (the end date selected for the infotype record + 1).
  • If you want to delimit the infotype records of the infotypes suggested in the dialog box, answer the question Do you want to continue? with Yes.
    Note:
    If you choose Cancel in the dialog box, the infotype record of infotype Garnishment/Cession D (0111) is saved with the end date that you have selected and the infotype records of the corresponding garnishment infotypes are not delimited.

Garnishments that are not valid after the end date that you have selected in infotype Garnishment/Cession D (0111) are also considered to be delimited garnishments.

Infotype records of infotype Garnishment Wages D (0115) with garnishment type A (all garnishments) are not changed by the dynamic action.

Notes:

  • This dynamic action renders the delimitation of a garnishment in infotype Garnishment/Cession D (0111) using menu option Extras -> Delimit Garnishment obsolete.
  • If you use the HCM Renovation interfaces, please read chapter DPRs - Dynamic Processing Rules - Information About Using HCM Renovation at the end of this document.

The following entries for infotype Garnishment/Cession D (0111) in Customizing view Dynamic Actions (V_T588Z) are delivered in the standard SAP system:

Type Fldname FC No. A Variable function part
  02 0   *---- CHANGE/DELIMIT GARNISHMENTS--*
  02 1 P P0111-PFSTA='5'
  02 2 P P0111-ENDDA<>HIGH_DATE
  02 3 F CHECK_FOR_DELIMITATION
  02 4   SET_PROCESSING_ON_TOP
  02 5 P GV_DM_ANSWER='1'
  02 6 F FILL_DYN_MEASURES
  02 10   *---- END OF GARNISHMENT DELIMITATION----------------

 

Check if the standard entries for the dynamic action (see above under Standard Settings)meets your requirements.

In the standard SAP system, the dynamic action is processed in the background and this means that the corresponding garnishment infotype records are automatically delimited if you confirm the dialog box with Yes (see above).

You can also run the dynamic action in the foreground. After confirming the dialog box, you go directly to the relevant garnishment infotype records and delete the individual infotype records as of the suggested delimitation date. To do so, you must adjust the entry for variable function part SET_PROCESSING_ON_TOP.

Proceed as follows:

  1. Start the activity and select the line with variable function part SET_PROCESSING_ON_TOP.
  2. To run the dynamic action in the foreground, enter F F (calling a routine) in column A (indicator for action).
Type Fldname FC No. A Variable function part
.
  02 4 F SET_PROCESSING_ON_TOP
.

  1. Choose Save.
F

A garnishment (infotype Garnishment/Cession D) starts on January 1, 2015 with end date December 31, 9999. All other garnishment infotypes have the same start and end date.

The garnishment has been fully repaid on January 1, 2017. The garnishment is copied with start date February 1, 2017, end date December 31, 9999 and the status Ended on and End of Repayment January 31, 2017.

The garnishment remains for two further months. The delimitation should take place on March 31, 2017. The end date of the infotype record of the garnishment is set with status Ended on to March 31, 2017 and saved.

After it has been successfully saved, the dynamic action is started and the dialog box with information about the relevant garnishment infotypes as well as the delimitation date is displayed. After confirming the request with Yes, the system delimits the infotype records belonging to this garnishment in the background (see above for standard).

.

F

In the area of HCM Renovation, a dynamic processing rule (DPR) is used for the simplified delimitation of garnishments. By contrast to the dynamic measure described above, the DPR is run in the foreground in the standard SAP system.

If you would like to run the DPR for the simplified delimitation of garnishments in the background, please carry out the following steps:

  1. Start transaction SE24 (Class Builder).
  2. Create your own customer class. This muss inherit from class CL_HRPAO_DPR_IT0111_DE (Dynamic Process Rules for Delimiting Garnishment).
  3. Process the class you have created using the Change pushbutton and enter class CL_HRPAO_DPR_IT0111_DE as the superclass in the properties of the class you have created.
  4. In the Methods tab, choose method GET_UI_MODE and redefine it.
  5. Enter the following line: rv_ui_mode = if_hrpao_dy_c=>gc_op_ui_mode_hidden
  6. Save and activate your class.
  7. Now start the Customizing activity under Personal & Organisation -> Stammdatenanwendung -> Dynamic Processing Rules -> Define Rules for Dynamic Processing (corresponds to transaction SM34 (View Cluster Editing: Initial Screen) -> View Cluster VC_T77PAODYRULE).
  8. Choose Positioning... and enter the following values in the dialog box:
Config. ID: IT0111
Rule: Delimit_garnishment
Infotype version: 01
Subtype: <empty>
  1. Select the corresponding line and double-click Actions in the dialog structure.
  2. In group box Actions, input field Return Class, enter your customer-defined class instead of CL_HRPAO_DPR_IT0111_DE.
  3. Choose Save.






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

Length: 10106 Date: 20240523 Time: 224436     sap01-206 ( 143 ms )