Showing posts with label HR. Show all posts
Showing posts with label HR. Show all posts

Thursday, September 22, 2016

Function to get PERNR based on user name




We can use below BADI to get person id or personal number  based on sy-uname


BAPI_USR01DOHR_GETEMPLOYEE



Wednesday, June 13, 2012

PE04 - HR Payroll Function How toS

Steps to create HR Payroll Function


  •  Payroll Function used to tied with the scheme ,  you can create or customize scheme using P01
  • Inside the scheme we call the HR Payroll Function and its parameter
  • HR Payroll function need to edit standard program, access key may be required

1) Customize HR Payroll Function should start with Z_ if not it will request to save to SAP Standard Package.

2) Country assigment should be selected, make sure it will be the same country assigned to the scheme Coutnry .

3) It sames go to Input and Out Paremeter, which should carry the same country. 


4) Need to create the function/subroutine to payroll driver program, in this  case it for China,
the subroutine name FUZ_HKC should be in the include program HCNCALC0

INCLUDE PCBURZCN0.        "Customer functions/operations

5) Details on each field is mean for what will be updated later....

             







Friday, May 18, 2012

Error can not maintain personal number (PA)

If there is error when you train to maintain or insert personnel number it might cause of the number range which is automatically generated by the system. To disable it. go to Tcode PA04


1. Click Change intervals.
2. Delete the current numbers if still exist.
3. Checked columned Ext.
4. Save your changes and try again to add the personnel number.




Monday, October 17, 2011

Payroll T Codes


PC00_M99_CLSTR Display Payroll Results
PC00_M99_CALC Payroll Driver (International)
PC00_M99_ABKRS Specify a payroll area
PC00_M99_CLSTPC Display PC Cluster: Personal Calendar
PC00_M99_TLEA Leave Overview
PC00_M99_TLEA30 Batch-Input: Annual Leave
PC00_M99_CPRC Access Payroll Calendar
PC00_M99_MOLGA Specify a personnel country grouping
PC00_M99_CLJN Payroll Journal - International
PC00_M99_DLGA20 Use of Wage Types in Payroll
PC00_M99_UDIR Restore the Payroll Results Directory
PU00 Delete Personnel Data
PU01 Delete Current Payroll Result
PU03 Change Payroll Status
PU2 Archive Data
PU0 Wage Type Copier
PU95 Edit Wage Type Groups and Logical Views
PU96 Edit Wage Type Groups
PU97 Edit Logical Views
PU98 Assign Wage Types to Wage Type Groups
PUOC_xx (xx = Country Code) Off-Cycle Workbench
PEST Maintenance of Process Model
PUST HR Process Workbench


PC00 - Run Payroll
PC10 - Payroll menu USA
PE00 - Starts Transactions PE01 PE02 PE03
PE01 - Schemas
PE02 - Calculation Rules
PE03 - Features
PE04 - Create functions and Operations
PE51 - HR form editor
PRCA - Payroll Calendar
PRCT - Current Settings
PRCU - Printing checks USA
PRD1 - Create DME
SM31 - Maintain Table
SM12 - Locked Secessions
TSTC - Table Look up
SPRO - IMG
SE16 - Data Browser (Table Reports)
PP03 - PD Tables
PPOM - Change Org Unit
PO13 - Maintain Positions
PO03 - Maintain Jobs

Pay scales:
PC00_M99_U510 Simple Std Pay Increase for Indirectly Valuated WTs
PC00_M99_IRTF Enhanced Std Pay Increase (Indirect and Direct WTs) with Batch Input
PC00_M99_ITUM Pay Scale Reclassification acc.to Age or Pay Scale Membership Period
Forms
PC00_M99_CEDT Remuneration Statements
PDF7 Delete Form in Customer Client
PDF8 Copy Form from SAP Client to Customer Client
PDF9 Copy Form within Customer Client
PC00_M99_CLGA00 Wage Type Statement
PC00_M99_CLGV00 Wage Type Distribution
PC00_M99_CKTO Payroll Accounts
PDF0 Conversion Report for Remuneration Statement Forms
PDFA Conversion of Payroll Journal Forms

Third party
PC00_M99_URMA Acknowledgement Report for Third Party Remittance
PC00_M99_URMU Update of Remittance Tables from TemSe-Object
Transfer Activities
PC00_M99_CIPE Posting to Accounting: Create Posting Run
PC00_M99_DKON Posting to Accounting: Wage Type Assignment - Display G/L Accounts
PC00_M99_CIPC Posting to Accounting: Search for Payroll Results not Posted
PC00_M99_URMR Reconciliation of Transfers
PC00_M99_URMW Maintain Wage Types According to Assignment to HR Creditors
PC00_M99_URMD Undo Third-Party Remittance Runs
PC00_M99_URMP Create Third-Party Remittance Posting Run
PC00_M99_CMLI0 Cash Breakdown List (International)
PC00_M99_CDTA Preliminary Program- Data Medium Exchange for Several Payment Runs
Tools
PE04 Editor for Calling Functions and Operations
PE03 Editor for Calling Features
PE02 Editor for Calling Personnel Calculation Rules
PE01 Editor for Calling Personnel Calculation Schemas
PE51 Call the Form Editor
PU12 Interface Toolbox
PDSY HR-Documentation Maintenance

Thursday, April 7, 2011

PERFORM dynpro format


Using BDC for HR.

Code Snippet
PERFORM dynpro USING 'X' 'SAPMP50A' '1000'.

FORM dynpro USING pa_dynbegin
pa_name
pa_value.

IF pa_dynbegin = 'X'.
CLEAR ta_bdcdata.
MOVE: pa_name TO ta_bdcdata-program,
pa_value TO ta_bdcdata-dynpro,
'X' TO ta_bdcdata-dynbegin.
APPEND ta_bdcdata.
ELSE.
CLEAR ta_bdcdata.
MOVE: pa_name TO ta_bdcdata-fnam,
pa_value TO ta_bdcdata-fval.
* CONDENSE ta_bdcdata-fval no-gaps.
APPEND ta_bdcdata.
ENDIF.

ENDFORM.