0% found this document useful (0 votes)
164 views5 pages

ABAP Interv

This document provides information about different methods for retrieving payroll results in SAP, including: 1) Using END-OF-SELECTION to define processing after all database tables are read and processed. 2) Calling function modules like SSF_FUNCTION_MODULE_NAME, CU_READ_RGDIR, CU_READ_LAST, PYXX_READ_PAYROLL_RESULT, and HR_GET_PAYROLL_RESULTS. 3) Retrieving payroll results using methods like reading cluster directories, valid period payrolls, and the latest payroll results sequence number.

Uploaded by

Rajesh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views5 pages

ABAP Interv

This document provides information about different methods for retrieving payroll results in SAP, including: 1) Using END-OF-SELECTION to define processing after all database tables are read and processed. 2) Calling function modules like SSF_FUNCTION_MODULE_NAME, CU_READ_RGDIR, CU_READ_LAST, PYXX_READ_PAYROLL_RESULT, and HR_GET_PAYROLL_RESULTS. 3) Retrieving payroll results using methods like reading cluster directories, valid period payrolls, and the latest payroll results sequence number.

Uploaded by

Rajesh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1) END-OF_SELECTION EVENT IN REPORT :

END-OF-SELECTION is used mostly when you are using Logical data base in your report.
It is triggered when all selection get finished from the data base.
To define a processing block after the system has read and processed all database tables of a logical
database, use the keyword END-OF-SELECTION.
we will generally uses END-OF-SELECTION for the summary/results of reports.

2) SMART FORMS Calling Function Module ---->

SSF_FUNCTION_MODULE_NAME

3) Retrieving of Payroll Results --->

1st Method ---> a) CU_READ_RGDIR ----> Reading Cluster Directory.


Here We have to pass PERNR and get MOLGA value.

Cluster Directory Structure -------> PC261.

Payroll Results Retrieving :


1st Method : a) Reading Cluster Directory ----> CU_READ_RGDIR
----> Structure is PC261.
Here w are passing PERNR and get MOLGA value.
b) Reading Valid Period Payrolls ---->

CU_READ_LAST

Here we are Passing PN_BEGDA and PN_ENDDA and then get the
Value of SEQNR of particular period Payrolls.
Reading Last Payroll Results -----> CD_READ_LAST .

Here

we are getting the latest SEQNR .

c) Reading Payroll Results -----> PYXX_READ_PAYROLL_RESULT.


Here we are passing PERNR, SEQNR and Cluster ID and get the
payrolls .
2nd Method : HR_GET_PAYROLL_RESULTS

Function Module.

3rd Method : PYXX_GET_EVALUATION_PERIODS Function Module.


4th Method : Using Macros like a) RP_IMP_CN_XX ----> Importing
Payrolls.
b) RP_EXP_CN_XX

----->

Exporting Payrolls.
5th Method : Events like
a) GET PERNR -----> Get the data from info types related Internal
tables.
b)

GET PAYROLLS -----> Get the Payrolls .

USA Related Info types :


1) 0207 ----> Residence Tax.
2) 0208 -----> Work Tax .
3) 0209 -----> Unemployment Tax.
4)

0210 ----->

Withholding Tax.

5) 0194 -----> Garnishment Document .


6) 0195 -----> Garnishment Order.
7) 0446
8) 0496

<----> 0457

-------> US Tax Related Info types.

<-----> 0501 ------->

US Benefits .

US Benefits like a) COBRA -----> Consolidated Omnibus Budget


Reconciliation Act .
Eligibility ----> a) Date of Separation
c) Birth date status change.

b) Unexpected Death

b) 0170 -----> Flexible Spending Accounts .


0167

----> Health Plans.

0168 -----> Insurance Plans.


0169 -----> Savings Plans.

0171 ---> General Benefits.


0376 -----> Medical Benefits Information.
India Payrolls Info types :

0580 ----> 0590 Series.

0581 ----> Previous Employment Tax Details.


0583 ----> Car and Conveyance details.
0585 ---->
0586

80D Deductions.

-----> 80 C Deductions.

0587 ----> Provident Fund.


RT -----> Results Table -----> PC207
Amount .

----> Wage Type, Rate, Number,

CRT -----> Cumulative Results table ----> PC208 ----> Wage Types,
Rate, Number, Amount
CT type ----> Monthly,
Weekly, Yearly
WPBP ----> Basic Pay/ Work Centre -----> PC205 ----> Cost Centre,
PA, PSA, EG , ESG.
BT ------> Bank Transfer Table ----> Bank A/C No, Bank Name,
Employee Number, Pay Frequency, Pay Type.
Payrolls related Payslips Generation Per year:
if

1) Monthly

----> 12.

2) Semi-Monthly ----> 24.


3) Bi-Weekly ----> 26.
4) Weekly

------> 52.

Applicant Info types start from

4000 - 4999 .

Applicant tables start from

PBXXXX.

PB10 -----> Init.entry of applicant master data.


PB20 -----> Display

applicant master data.

PB30 ------> Maintain applicant master data.


PB40 -------> Applicant Actions.

4000 - Applicant Actions


4001- Applications
4002 - Vacancy Assignment
4005 - Applicant's Personnel Number

Common Info types for Both the Modules of PA and PB .

0000 ----> Actions.


0001 ----> Organizational Assignment.
0002 -----> Personal Actions.
0006 -----> Address
0016 ------> . Contract Elements.

PM01 ----> Sub objects .


a) PS Structure.
b) Module Pool .
c) Screen .
d) User Interface.

1) How to find exits ?

a) If you know the Exit name, go to transaction CMOD. Choose menu


Utilities -> SAP Enhancements.
b) Display the program where you are searching for and exit and search for
CALL CUSTOMER-EXIT
c) Also check MODSAP and MODACT tables.

You might also like