SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

PSSENPL2 SAP ABAP INCLUDE - Common include for seniority calculation







PSSENPL2 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter PSSENPL2 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT PSSENPL2. "Basic submit
SUBMIT PSSENPL2 AND RETURN. "Return to original report after report execution complete
SUBMIT PSSENPL2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Common include for seniority calculation


INCLUDES used within this REPORT PSSENPL2

INCLUDE MPPDAT00.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_READ_INFOTYPE_AUTHC_DISABLE call function 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr-pernr infty = '0000' begda = '18000101' endda = '99991231' tables infty_tab = i0000 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE call function 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr-pernr infty = '0001' begda = '18000101' endda = '99991231' tables infty_tab = i0001 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0002' begda = '18000101' endda = '99991231' TABLES infty_tab = i0002 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE call function 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr-pernr infty = '0414' begda = '18000101' endda = '99991231' tables infty_tab = i0414 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE call function 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr-pernr infty = '0023' begda = '18000101' endda = '99991231' tables infty_tab = i0023 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE call function 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr-pernr infty = '0041' begda = '18000101' endda = '99991231' tables infty_tab = i0041 exceptions infty_not_found = 1 others = 2.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' importing fire_date = fire_date hire_date = hire_date tables pp0000 = i0000 pp0001 = i0001 pphifi = phifi.

HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '0041' number = p_i0041-pernr validityend = p_i0041-begda validitybegin = p_i0041-endda record = p_i0041 operation = 'INS' * nocommit = 'X' dialog_mode = '1' " if error than with dialog importing return = return key = pakey.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = l_data_przed_do importing number_of_days = l_dni_miesiaca_przed_do.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = l_data_do importing number_of_days = l_dni_miesiaca_do.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = l_data_od importing number_of_days = l_dni_miesiaca_od.






HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = ddx importing number_of_days = ddy.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = l_data importing number_of_days = l_dni.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = l_data_tmp importing number_of_days = l_dni.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = l_data_tmp importing number_of_days = l_dni.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "call function 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 call function 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' exporting p_fecha = l_data_tmp importing number_of_days = l_dni.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name PSSENPL2 or its description.