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

P0021SK3 SAP ABAP INCLUDE - PAI module IT0021 SK







P0021SK3 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 P0021SK3 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 P0021SK3. "Basic submit
SUBMIT P0021SK3 AND RETURN. "Return to original report after report execution complete
SUBMIT P0021SK3 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: PAI module IT0021 SK


INCLUDES used within this REPORT P0021SK3

No INCLUDES are used within this REPORT code!


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_SK_CHECK_RC CALL FUNCTION 'HR_SK_CHECK_RC' EXPORTING perid = sk_perid gesch = sk_gesch gbdat = p0021-fgbdt nachn = p0021-fanam natio = p0021-fanat "VIII/11 IMPORTING status = sk_resul EXCEPTIONS OTHERS = 1.

HR_PSD_DATES_ADD_MONTHS CALL FUNCTION 'HR_PSD_DATES_ADD_MONTHS' EXPORTING v_date = sk_act_datum v_months = '1' IMPORTING e_date = sk_act_datum.

HRPAY_READ_T511K CALL FUNCTION 'HRPAY_READ_T511K' EXPORTING molga = t001p-molga constant = 'STKMX' date = sk_act_datum IMPORTING value = sk_poc_deti EXCEPTIONS constant_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0021-pernr infty = '0253' TABLES infty_tab = sk_p0253 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0021-pernr infty = '0021' TABLES infty_tab = sk_p0021 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_CALC_YEAR_MONTH_DAY CALL FUNCTION 'HR_CALC_YEAR_MONTH_DAY' EXPORTING begda = p0021-fgbdt endda = sk_act_datum IMPORTING years_out = sk_vek.

HR_CALC_YEAR_MONTH_DAY CALL FUNCTION 'HR_CALC_YEAR_MONTH_DAY' "X/05 EXPORTING "X/05 begda = p0021-fgbdt "X/05 endda = sk_beg_nxt_mon "X/05 IMPORTING "X/05 years_out = sk_vek_dietata_stp "X/05 months_out = sk_mes_dietata_stp "X/05 days_out = sk_dni_dietata_stp. "X/05

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING DISPLAY = DISPLAY FIELDNAME = FNAM TABNAME = TNAM IMPORTING SELECT_VALUE = SELECTED_VALUE TABLES FIELDS = IHELP_FIELDS VALUETAB = HELPTAB EXCEPTIONS FIELD_NOT_IN_DDIC = 01 MORE_THEN_ONE_SELECTFIELD = 02 NO_SELECTFIELD = 03.



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 P0021SK3 or its description.