03-10-2006 1:12 AM
Hai,
I need all list of User-Exists available for HR module with transaction wise. I am collecting these for Built a database.
Please forward if you have or if you know any web links, or documents or any type source i wellcome,
Thanks,
Elamaran
mail-id: marans80@gmail.com
03-10-2006 1:41 AM
Hi Elam..
here is a list..
Exit name Short text
PB020001 HR-CH: Customer Exit for Pension Age Determination
PB160001 Get Grade for Employment Equity Reporting
PB160002 Salary packaging Customer exit for scheme selection
PB160003 Customer exit - converting amounts
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBASRP01 PA: User exit distributed reporting
PBEN0001 Customer enhancement for feature BAREA (benefit area)
PBEN0002 Customer enhancement for feature BENGR(1st program grou
PBEN0003 Customer enhancement for feature BSTAT(2nd program grou
PBEN0004 Customer enhancement for feature CSTV1 (cost grouping)
PBEN0005 Customer enhancement for feature CRDV1 (credit grouping
PBEN0006 Customer enhancement for feature ELIGR(eligibility grou
PBEN0007 Customer enhancement for feature TRMTY (termination typ
PBEN0008 Customer enhancement for function HR_BEN_CALC_BENEFIT_C
PBEN0009 Customer enhancement for function HR_BEN_CALC_BENEFIT_C
PBEN0010 Customer enhancement for function HR_BEN_CALC_BENEFIT_S
PBEN0011 Customer enhancement: function HR_BEN_CALC_COVERAGE_AMO
PBEN0012 Customer enhancement for form CALC_ELIG_DATE
PBEN0013 Customer enhancement for form CALC_TERM_DATE
PBEN0014 Customer enhancement: Func. HR_BEN_CALC_BENEFIT_ER_CONT
PBEN0015 Customer enhancement for CHECK_ELIG_SERVICE format
PBEN0016 Customer enhancement: funct. HR_BEN_CALC_PARTICIPATION_
PBEN0017 Customer enhancement for feature EVTGR (adjustment grou
PBEN0018 Customer enhancement for feature COVGR (coverage groupi
PBEN0019 Customer enhancement for feature EECGR (EE contr. group
PBEN0020 Customer enhancement for feature ERCGR (ER contr. group
PBEN0022 Customer enhancement: function HR_BEN_GET_PROCESS_DATES
PBEN0023 Customer enhancement: function HR_BEN_CALC_CUTOFF_AGE
PBEN0024 Customer enhancement: function HR_BEN_CALC_CUTOFF_LOS
PBEN0025 Customer enhancement: fucntion HR_BEN_CALC_CUTOFF_SAL
PBEN0027 Customer Enhancement for Feature LDAYW (Last Day of Wee
PBEN0028 Customer Enhancement Function HR_BEN_CALC_BENEFIT_EE_CO
PBEN0029 Customer enhancement for feature RLPGR (dep./benef. gro
PBEN0030 Customer enhancement function: HR_BEN_CALC_LENGTH_OF_SE
PBEN0033 obssolete: Cust. enhanc. for funct. HR_BEN_GET_IDOC_EVE
PBENUS01 Customer enhancement for Years of service calculation (
PBENUS02 Customer enhancement for service date calculation (403b
P01ABAV2 HR-CPS: User exist for calculation method
P01ABAV3 HR-CPS: USer exits for surviving dependant's pension
P01ABAV4 HR-CPS: Creation and print report for statements
P01ABAV5 HR-CPS: Customer exits for pension calculation
P01ABAV6 HR-CPS: Customer exits CPF supplementary programs
P01ABAV7 Interface to Actuarial Assessor
P01ABAV8 Processing of basic pension payments
P01ABAV9 Payroll functions for salary conversion
PA30CAR1 Customer exit for price regulation
PA30CAR2 Customer exit for maintenance regulation
PA30CRM1 Calculation of EE´s own contribution for company car (D
PACKING Enhancement for Changes in Packing
PACKMODI User exit for customer-specific functions for shipping
PADR0001 PA: Derivation of Financial Object from Transaction
PARA0001 Enhancement for Determining the Number of Periods
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
PATS0001 Customer enhancement to FB HR_AT_GET_ORG_DATA
You can look for the Components of these exits in Transaction SMOD.
Regards,
Suresh Datti
03-10-2006 2:02 AM
Hi Elam,
Please take a look at the following links for HR user exits list and an example program to find a user exit via SAP transaction code.
http://www.planetsap.com/Userexit_List.htm
http://www.sap-img.com/ab038.htm
Hope this will help.
Regards,
Ferry Lianto
03-10-2006 3:45 AM
Hi,
You can use this report program for finding the user exits associated with a particular transaction.
The input parameter to this report will be Transaction and the output will be list of user exists name pertaining to that transaction.
If it helps please reward suitable point and close the thread.
Regards,
Irfan Hussain
*********************
REPORT Y_USER_EXITS .
TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
TABLES : tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir WHERE funcname =
tfdir-funcname.
SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name EQ enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
SELECT * FROM tadir INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu AND
tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
03-10-2006 4:44 AM
REPORT z_find_userexit NO STANDARD PAGE HEADING.
&----
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*&
&----
&----
*& Tables
&----
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
&----
*& Variables
&----
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
&----
*& Selection Screen Parameters
&----
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
&----
*& Start of main program
&----
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
03-10-2006 5:11 AM
HI
THE IMPORTANT TRANSACTION CODES IN HR MODULE ARE
Human Resources
PA03 Change Payroll control record
PA20 Display PA Infotypes
PA30 Create/Change PA Infotypes
PP02 Quick Entry for PD object creation
PU00 Delete PA infotypes for an employee. Will not be able to delete an infotype if there is cluster data assigned to the employee.
YOU CAN USE THE PROGRAM GIVEN BELOW TO GET THE EXITS AVAILABLE FOR THESE TRANSACTION CODES.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
IF THIS IS USEFUL PLEASE REWARD POINTS
REGARDS,
ANOOP