Sunday, December 26, 2010

HR BADI HRPAD00INFTY

Business Add-In (BAdI) Update/Infotype Maintenance (HRPAD00INFTY) allows you to react to specific events in Personnel Administration.
The BAdI has three methods for this, in which the user can store his or her own coding:
  • Infotype Maintenance: Call-Up Time PBO (BEFORE_OUTPUT)
  • Infotype Maintenance: Call-Up Time PAI (AFTER_INPUT)
  • Update: Call During Update (IN_UPDATE)

Infotype Maintenance: Call-Up Time PBO

Functionality

The method Infotype Maintenance: Call at PBO Event (BEFORE_OUTPUT) is called at the PBO event when the single screen of an infotype.
This method is then always processed if a new infotype record is selected.

Parameters

TCLAS - Transaction class
IPSYST - Workfields for infotypes
I001P - Personnel area/subarea
I503 - Employee group/subgroup
INNNN - Current infotype
IPREF - Assignment values for HR objects

Infotype Maintenance: Call-Up Time PAI

Functionality

The method Infotype Maintenance: Call at Event PAI (AFTER_INPUT) is called after the entries have been made on the single screen and the fields have been checked - as function exit EXIT_SAPFP50M_002 in HR Master Data - at event PAI.

Parameters

TCLAS - Transaction class
NEW_INNNN - Infotype created
OLD_INNNN - Infotype prior to change
IPSYST - Work fields for dialog control
I001P - Personnel area/subarea
I503 - Employee group/subgroup
IPREF - Assignment values for HR objects

Update Program: Call-Up During Update

Functionality

The method Update: Call During Update (IN_UPDATE) is called in the update task of Personnel Administration in the UPDATE form.

Parameters

IPSPAR - Work fields for dialog control
OLD_IMAGE - Before Image: Infotype records prior to change
NEW_IMAGE - After Image: Infotype records following change
OLD_PREF_IMAGE - Before Image for assignment values
NEW_PREF_IMAGE - After Image for assignment values

Infotype Update: Call During Update (IN_UPDATE)

Functionality

The method Update: Call During Update (IN_UPDATE) is called in the update task of Personnel Administration in the UPDATE form.

Parameters

IPSPAR - Work fields for dialog control
OLD_IMAGE - Before Image: Infotype records prior to change
NEW_IMAGE - After Image: Infotype records following change
OLD_PREF_IMAGE - Before Image for assignment values
NEW_PREF_IMAGE - After Image for assignment values

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.