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

PCREMIN2 SAP ABAP INCLUDE - Form routines







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


Text pool values


Title: Form routines


INCLUDES used within this REPORT PCREMIN2

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_IN_GET_SAL_PERIOD call function 'HR_IN_GET_SAL_PERIOD' EXPORTING indate = i_pdate pay_area = i_payar cum_yr = i_cumty IMPORTING sal_year_begda = o_bgdate sal_year_endda = o_endate sal_year = o_slyr cal_year = o_clyr cal_mon = o_clmo EXCEPTIONS period_mod_not_found = 1 act_year_period_not_found = 2 cal_year_period_not_found = 3 sal_year_begda_not_found = 4 sal_year_endda_not_found = 5 others = 6.

HR_IN_GET_ALGRP_AMT * call function 'HR_IN_GET_ALGRP_AMT' * EXPORTING * empno = i_emply * rfdate = find_amt-begda * wtype = i_txcode * IMPORTING * amount = amunt * lgart = arrwt * EXCEPTIONS * others = 1.

HR_IN_GET_ALGRP_NUM * call function 'HR_IN_GET_ALGRP_NUM' * EXPORTING * empno = i_emply * rfdate = find_amt-begda * taxcd = i_txcode * IMPORTING * number = numbr * lgart = arrwt * EXCEPTIONS * algrp_not_found = 1 * lgart_not_found = 2 * calc_method_not_found = 3 * inval_calc_failed = 4 * others = 5.

HR_IN_CALC_ELIG_EXIT call function 'HR_IN_CALC_ELIG_EXIT' EXPORTING empno = i_emply algrp = i_algrp cdate = i_pdate cumty = o_cumty valbg = i_bgdate valen = i_endate TABLES eligtab = elig CHANGING eligamt = o_net_amunt elignum = o_net_numbr EXCEPTIONS ERR_AMOUNT_CALC = 1 OTHERS = 2.

CD_READ_LAST call function 'CD_READ_LAST' EXPORTING begin_date = i_bgdate end_date = i_pdate IMPORTING out_seqnr = seqnr TABLES rgdir = rgdir EXCEPTIONS no_record_found = 1 others = 2.

CD_READ_ALL_FROM_DATE call function 'CD_READ_ALL_FROM_DATE' EXPORTING from_date = i_bgdate TABLES in_rgdir = rgdir out_rgdir = rgdir.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = i_emply infty = '0015' begda = i_pdate endda = i_pdate TABLES infty_tab = p0015 EXCEPTIONS infty_not_found = 1 others = 2.

HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0015' number = i_emply subtype = sbtyp validityend = i_pdate validitybegin = i_pdate record = p0015 operation = 'INS' NOCOMMIT = 'X' IMPORTING return = r_return key = r_key.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = i_emply infty = '0267' begda = i_pdate endda = i_pdate TABLES infty_tab = p0267 EXCEPTIONS infty_not_found = 1 others = 2.

HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0267' number = i_emply subtype = sbtyp validityend = i_pdate validitybegin = i_pdate record = p0267 operation = 'INS' NOCOMMIT = 'X' IMPORTING return = r_return key = r_key.

HR_IN_SAVE_ADINFO_EXIT call function 'HR_IN_SAVE_ADINFO_EXIT' EXPORTING ifty015 = p0015 ifty267 = p0267 CHANGING claim = i_claimlist EXCEPTIONS CUSTOMER_ERROR = 1.

HR_IN_GET_ALGRP call function 'HR_IN_GET_ALGRP' EXPORTING empno = i_emply rfdate = i_pdate IMPORTING rtalgrp = o_algrp EXCEPTIONS algrp_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = i_emply infty = '0001' begda = '18000101' endda = '99991231' * BYPASS_BUFFER = ' ' * IMPORTING * SUBRC = tables infty_tab = p0001 exceptions infty_not_found = 1 others = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = i_emply infty = '0008' begda = '18000101' endda = '99991231' * BYPASS_BUFFER = ' ' * IMPORTING * SUBRC = tables infty_tab = p0008 exceptions infty_not_found = 1 others = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = i_emply infty = '0015' begda = '18000101' endda = '99991231' BYPASS_BUFFER = 'X' * IMPORTING * SUBRC = tables infty_tab = p0015 exceptions infty_not_found = 1 others = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = i_emply infty = '0589' begda = '18000101' endda = '99991231' * BYPASS_BUFFER = ' ' * IMPORTING * SUBRC = tables infty_tab = p0589 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = i_emply infty = '0267' begda = '18000101' endda = '99991231' BYPASS_BUFFER = 'X' * IMPORTING * SUBRC = tables infty_tab = p0267 exceptions infty_not_found = 1 others = 2.

HR_IN_GET_WT_SPLIT CALL FUNCTION 'HR_IN_GET_WT_SPLIT' EXPORTING EMPNO = I_EMPLY TAXCD = I_TXCODE BEGDA = I_BGDATE ENDDA = I_ENDATE TABLES WTTAB = WTTAB_SPLT * ALGRP = * I7INT9 = * P1 = * P8 = EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 INFTY_NOT_FOUND = 3 OTHERS = 4 .

HR_IN_GET_ALGRP_WT





call function 'HR_IN_GET_ALGRP_WT' EXPORTING empno = i_emply rfdate = i_pdate wtype = i_txcode IMPORTING lgart = o_wgtyp EXCEPTIONS algrp_not_found = 1 lgart_not_found = 2 others = 3.

HR_IN_ROUND_AMT call function 'HR_IN_ROUND_AMT' EXPORTING amount = i_amount rndoff = 100 rndlmt = rndof IMPORTING retamt = temp_amount.

HR_IN_GET_EE_DELIM_DT call function 'HR_IN_GET_EE_DELIM_DT' EXPORTING ivbeg = curbeg ivend = curend empln = i_emply IMPORTING ivdlm = endda.

CD_READ_ALL_FROM_DATE call function 'CD_READ_ALL_FROM_DATE' EXPORTING from_date = i_bgdate TABLES in_rgdir = rgdir out_rgdir = rgdir.

HR_IN_GET_ALGRP_WT CALL FUNCTION 'HR_IN_GET_ALGRP_WT' EXPORTING empno = I_EMPLY rfdate = P_TALTAB-ENDDA wtype = I_TXCODE IMPORTING LGART = taltab_lgart EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 OTHERS = 3.

HR_IN_GET_WT_SPLIT_VAL CALL FUNCTION 'HR_IN_GET_WT_SPLIT_VAL' EXPORTING EMPNO = I_EMPLY TAXCD = I_TXCODE BEGDA = I_BGDATE ENDDA = I_ENDATE TABLES WTTAB = WTTAB_CLMS.

HR_IN_GET_WT_SPLIT CALL FUNCTION 'HR_IN_GET_WT_SPLIT' EXPORTING EMPNO = I_EMPLY TAXCD = I_TXCODE BEGDA = I_BGDATE ENDDA = I_ENDATE TABLES WTTAB = WTTAB_SPLT * ALGRP = * I7INT9 = * P1 = * P8 = EXCEPTIONS ALGRP_NOT_FOUND = 1 LGART_NOT_FOUND = 2 INFTY_NOT_FOUND = 3 OTHERS = 4 .



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