SAP HR_IE_PRSI_STAMPS_ALLOCATION Function Module for HR IE PRSI Stamp Allocation
HR_IE_PRSI_STAMPS_ALLOCATION is a standard hr ie prsi stamps allocation SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for HR IE PRSI Stamp Allocation processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for hr ie prsi stamps allocation FM, simply by entering the name HR_IE_PRSI_STAMPS_ALLOCATION into the relevant SAP transaction such as SE37 or SE38.
Function Group: HR_IE_PRSI
Program Name: SAPLHR_IE_PRSI
Main Program: SAPLHR_IE_PRSI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_IE_PRSI_STAMPS_ALLOCATION pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'HR_IE_PRSI_STAMPS_ALLOCATION'"HR IE PRSI Stamp Allocation.
EXPORTING
PERMO = "Period parameters
PERNR = "Personnel number
* PRSI_CLASS = "Current PRSI Class
* PRSI_SUBCLASS = "PRSI sub-class
* CLOSE_GAP = "Close Gap scenario
MOLGA = "Country Grouping
PRBEG = "Start Date
PREND = "End Date
PABRJ = "Payroll year
PABRP = "Accounting period
HIRED = "Indicator first working day
FIRED = "Indicator last working day
LSDAY = "Indicator last wk day is last day
IMPORTING
WEEKS = "Number Of PRSI Weeks
UNPAID = "Number of weeks unpaid
NON_WEEKS = "Number of weeks not counted in this run
TABLES
IT = "Payroll Results: Results Table
WPBP = "Payroll Results: Work Center/Basic Pay
CRT = "Payroll Results: Cumulated Results Table
AB = "Cluster RD/B2: Table AB
MODIF = "HR-PAY: Modifiers
CPRSI = "HR IE: Irish Payroll PRSI Cumulation Table
IMPORTING Parameters details for HR_IE_PRSI_STAMPS_ALLOCATION
PERMO - Period parameters
Data type: T549A-PERMOOptional: No
Call by Reference: Yes
PERNR - Personnel number
Data type: PERNR-PERNROptional: No
Call by Reference: Yes
PRSI_CLASS - Current PRSI Class
Data type: PC26W-PRSICOptional: Yes
Call by Reference: Yes
PRSI_SUBCLASS - PRSI sub-class
Data type: PC26W-PRSIAOptional: Yes
Call by Reference: Yes
CLOSE_GAP - Close Gap scenario
Data type: COptional: Yes
Call by Reference: Yes
MOLGA - Country Grouping
Data type: T500L-MOLGAOptional: No
Call by Reference: Yes
PRBEG - Start Date
Data type: P0001-BEGDAOptional: No
Call by Reference: Yes
PREND - End Date
Data type: P0001-ENDDAOptional: No
Call by Reference: Yes
PABRJ - Payroll year
Data type: T549Q-PABRJOptional: No
Call by Reference: Yes
PABRP - Accounting period
Data type: T549Q-PABRPOptional: No
Call by Reference: Yes
HIRED - Indicator first working day
Data type: CHAR1Optional: No
Call by Reference: Yes
FIRED - Indicator last working day
Data type: CHAR1Optional: No
Call by Reference: Yes
LSDAY - Indicator last wk day is last day
Data type: CHAR1Optional: No
Call by Reference: Yes
EXPORTING Parameters details for HR_IE_PRSI_STAMPS_ALLOCATION
WEEKS - Number Of PRSI Weeks
Data type: PC207-ANZHLOptional: No
Call by Reference: Yes
UNPAID - Number of weeks unpaid
Data type: PC207-ANZHLOptional: No
Call by Reference: Yes
NON_WEEKS - Number of weeks not counted in this run
Data type: PC207-ANZHLOptional: No
Call by Reference: Yes
TABLES Parameters details for HR_IE_PRSI_STAMPS_ALLOCATION
IT - Payroll Results: Results Table
Data type: PC207Optional: No
Call by Reference: Yes
WPBP - Payroll Results: Work Center/Basic Pay
Data type: PC205Optional: No
Call by Reference: Yes
CRT - Payroll Results: Cumulated Results Table
Data type: PC208Optional: No
Call by Reference: Yes
AB - Cluster RD/B2: Table AB
Data type: PC20IOptional: No
Call by Reference: Yes
MODIF - HR-PAY: Modifiers
Data type: PC214Optional: No
Call by Reference: Yes
CPRSI - HR IE: Irish Payroll PRSI Cumulation Table
Data type: PC2PROptional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_IE_PRSI_STAMPS_ALLOCATION Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_it | TYPE STANDARD TABLE OF PC207, " | |||
| lv_permo | TYPE T549A-PERMO, " | |||
| lv_weeks | TYPE PC207-ANZHL, " | |||
| lv_pernr | TYPE PERNR-PERNR, " | |||
| lv_prsi_class | TYPE PC26W-PRSIC, " | |||
| lv_prsi_subclass | TYPE PC26W-PRSIA, " | |||
| lv_close_gap | TYPE C, " | |||
| lt_wpbp | TYPE STANDARD TABLE OF PC205, " | |||
| lv_molga | TYPE T500L-MOLGA, " | |||
| lv_unpaid | TYPE PC207-ANZHL, " | |||
| lt_crt | TYPE STANDARD TABLE OF PC208, " | |||
| lv_prbeg | TYPE P0001-BEGDA, " | |||
| lv_non_weeks | TYPE PC207-ANZHL, " | |||
| lt_ab | TYPE STANDARD TABLE OF PC20I, " | |||
| lv_prend | TYPE P0001-ENDDA, " | |||
| lt_modif | TYPE STANDARD TABLE OF PC214, " | |||
| lv_pabrj | TYPE T549Q-PABRJ, " | |||
| lt_cprsi | TYPE STANDARD TABLE OF PC2PR, " | |||
| lv_pabrp | TYPE T549Q-PABRP, " | |||
| lv_hired | TYPE CHAR1, " | |||
| lv_fired | TYPE CHAR1, " | |||
| lv_lsday | TYPE CHAR1. " |
|   CALL FUNCTION 'HR_IE_PRSI_STAMPS_ALLOCATION' "HR IE PRSI Stamp Allocation |
| EXPORTING | ||
| PERMO | = lv_permo | |
| PERNR | = lv_pernr | |
| PRSI_CLASS | = lv_prsi_class | |
| PRSI_SUBCLASS | = lv_prsi_subclass | |
| CLOSE_GAP | = lv_close_gap | |
| MOLGA | = lv_molga | |
| PRBEG | = lv_prbeg | |
| PREND | = lv_prend | |
| PABRJ | = lv_pabrj | |
| PABRP | = lv_pabrp | |
| HIRED | = lv_hired | |
| FIRED | = lv_fired | |
| LSDAY | = lv_lsday | |
| IMPORTING | ||
| WEEKS | = lv_weeks | |
| UNPAID | = lv_unpaid | |
| NON_WEEKS | = lv_non_weeks | |
| TABLES | ||
| IT | = lt_it | |
| WPBP | = lt_wpbp | |
| CRT | = lt_crt | |
| AB | = lt_ab | |
| MODIF | = lt_modif | |
| CPRSI | = lt_cprsi | |
| . " HR_IE_PRSI_STAMPS_ALLOCATION | ||
ABAP code using 7.40 inline data declarations to call FM HR_IE_PRSI_STAMPS_ALLOCATION
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single PERMO FROM T549A INTO @DATA(ld_permo). | ||||
| "SELECT single ANZHL FROM PC207 INTO @DATA(ld_weeks). | ||||
| "SELECT single PERNR FROM PERNR INTO @DATA(ld_pernr). | ||||
| "SELECT single PRSIC FROM PC26W INTO @DATA(ld_prsi_class). | ||||
| "SELECT single PRSIA FROM PC26W INTO @DATA(ld_prsi_subclass). | ||||
| "SELECT single MOLGA FROM T500L INTO @DATA(ld_molga). | ||||
| "SELECT single ANZHL FROM PC207 INTO @DATA(ld_unpaid). | ||||
| "SELECT single BEGDA FROM P0001 INTO @DATA(ld_prbeg). | ||||
| "SELECT single ANZHL FROM PC207 INTO @DATA(ld_non_weeks). | ||||
| "SELECT single ENDDA FROM P0001 INTO @DATA(ld_prend). | ||||
| "SELECT single PABRJ FROM T549Q INTO @DATA(ld_pabrj). | ||||
| "SELECT single PABRP FROM T549Q INTO @DATA(ld_pabrp). | ||||
Search for further information about these or an SAP related objects