SAP Reports / Programs | Payroll | India(PY-IN) SAP PY

HINCTF01 SAP ABAP INCLUDE - Include HINCTF01







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


Text pool values


Title: Include HINCTF01


INCLUDES used within this REPORT HINCTF01

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_AL_WT_AMT call function 'HR_IN_GET_AL_WT_AMT' exporting empno = itab-pernr rfdate = p0008-begda inflg = 'N' importing rtalgrp = nalgrp amount = namunt lgart = nlgart exceptions algrp_not_found = 1 lgart_not_found = 2 calc_method_not_found = 3 inval_calc_failed = 4 others = 5.

HR_IN_GET_AL_WT_AMT call function 'HR_IN_GET_AL_WT_AMT' exporting empno = itab-pernr rfdate = p0008-begda inflg = 'S' importing rtalgrp = nalgrp amount = namunt lgart = nlgart exceptions algrp_not_found = 1 lgart_not_found = 2 calc_method_not_found = 3 inval_calc_failed = 4 others = 5.

HR_IN_GET_AL_WT_AMT call function 'HR_IN_GET_AL_WT_AMT' exporting empno = itab-pernr rfdate = p0008-begda inflg = 'S' importing rtalgrp = nalgrp amount = namunt lgart = nlgart exceptions algrp_not_found = 1 lgart_not_found = 2 calc_method_not_found = 3 inval_calc_failed = 4 others = 5.

HR_IN_GET_ALGRP_AMT call function 'HR_IN_GET_ALGRP_AMT' exporting empno = itab-pernr rfdate = p0008-begda wtype = ntaxcd importing rtalgrp = nalgrp amount = namunt lgart = nlgart exceptions algrp_not_found = 1 lgart_not_found = 2 calc_method_not_found = 3 inval_calc_failed = 4 others = 5.

HR_IN_GET_ALGRP_AMT call function 'HR_IN_GET_ALGRP_AMT' exporting empno = itab-pernr rfdate = p0008-begda wtype = ntaxcd importing rtalgrp = nalgrp amount = namunt lgart = nlgart exceptions algrp_not_found = 1 lgart_not_found = 2 calc_method_not_found = 3 inval_calc_failed = 4 others = 5.

COMPUTE_YEARS_DIFFERENCE_DATES call function 'COMPUTE_YEARS_DIFFERENCE_DATES' exporting first_date = P_HIRE_DATE * MODIFY_INTERVAL = ' ' second_date = itab-ldate importing years_between_dates = cyr exceptions sequence_of_dates_not_valid = 1 others = 2 .

HR_99S_INTERVAL_BETWEEN_DATES CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES' EXPORTING BEGDA = P_HIRE_DATE ENDDA = itab-ldate * TAB_MODE = ' ' IMPORTING * DAYS = * C_WEEKS = C_MONTHS = CMN * C_YEARS = * WEEKS = * MONTHS = * YEARS = * D_MONTHS = * MONTH_TAB = .

BDC_OPEN_GROUP call function 'BDC_OPEN_GROUP' exporting client = sy-mandt group = sname user = sy-uname.

BDC_INSERT call function 'BDC_INSERT' exporting tcode = 'PA30' tables dynprotab = bdc_data.

HELP_VALUES_GET_WITH_TABLE call function 'HELP_VALUES_GET_WITH_TABLE' exporting fieldname = fnam tabname = tnam titel = 'Reason'(008) importing select_value = tlgart tables fields = ihelp_fields valuetab = help_tab exceptions field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 others = 4.

HELP_VALUES_GET_WITH_TABLE call function 'HELP_VALUES_GET_WITH_TABLE' exporting fieldname = fnam tabname = tnam importing select_value = smassg tables fields = ihelp_fields valuetab = help_tab exceptions field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 others = 4.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = itab-pernr infty = '0015' begda = itab-ldate endda = itab-ldate tables infty_tab = p0015 exceptions infty_not_found = 1 others = 2.

HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '0015' number = itab-pernr * SUBTYPE = SBTYP validityend = itab-ldate validitybegin = itab-ldate record = p0015 operation = 'INS' nocommit = 'X' importing return = infret.

BDC_CLOSE_GROUP call function 'BDC_CLOSE_GROUP'.

RP_LAST_DAY_OF_MONTHS call function 'RP_LAST_DAY_OF_MONTHS' exporting day_in = p_ldate importing last_day_of_month = p_tdate exceptions * DAY_IN_NO_DATE = 1 others = 2 .

HR_IN_GET_ALGRP_AMT call function 'HR_IN_GET_ALGRP_AMT' exporting empno = itab-pernr rfdate = itab-ldate wtype = 'SLEA' importing lgart = nlgart amount = namunt exceptions others = 1.

HR_IN_GET_ALGRP CALL FUNCTION 'HR_IN_GET_ALGRP' EXPORTING EMPNO = itab-pernr RFDATE = itab-ldate IMPORTING RTALGRP = nalgrp EXCEPTIONS ALGRP_NOT_FOUND = 1 OTHERS = 2 .

HR_IN_GET_ALGRP_AMT call function 'HR_IN_GET_ALGRP_AMT' exporting empno = itab-pernr rfdate = itab-ldate wtype = 'SVRS' importing lgart = nlgart amount = namunt exceptions others = 1.

MONTH_PLUS_DETERMINE





call function 'MONTH_PLUS_DETERMINE' exporting months = p_mm olddate = p_itab_ndate importing newdate = p_itab_ldate.

HR_IN_GET_SAL_PERIOD CALL FUNCTION 'HR_IN_GET_SAL_PERIOD' EXPORTING INDATE = pdate PAY_AREA = abkrs CUM_YR = cumty IMPORTING SAL_YEAR_BEGDA = bgdate SAL_YEAR_ENDDA = endate 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_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting * TCLAS = 'A' pernr = itab-pernr infty = '0000' begda = '18000101' endda = '99991231' importing subrc = chk tables infty_tab = p0000 exceptions infty_not_found = 1 others = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting * TCLAS = 'A' pernr = itab-pernr infty = '0001' begda = '18000101' endda = '99991231' importing subrc = chk tables infty_tab = p0001 exceptions infty_not_found = 1 others = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = itab-pernr infty = '0002' begda = '18000101' endda = '99991231' importing subrc = chk tables infty_tab = p0002 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting * TCLAS = 'A' pernr = itab-pernr infty = '0008' * BEGDA = '18000101' * ENDDA = '99991231' importing subrc = chk tables infty_tab = p0008 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting * TCLAS = 'A' pernr = itab-pernr infty = '0016' begda = '18000101' endda = '99991231' importing subrc = chk tables infty_tab = p0016 exceptions infty_not_found = 1 others = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting * TCLAS = 'A' pernr = itab-pernr infty = '0185' begda = '18000101' endda = '99991231' importing subrc = chk tables infty_tab = p0185 exceptions infty_not_found = 1 others = 2 .

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting * TCLAS = 'A' pernr = itab-pernr infty = '0589' begda = '18000101' endda = '99991231' importing subrc = chk tables infty_tab = p0589 exceptions infty_not_found = 1 others = 2 .

HR_DISPLAY_ERROR_LIST call function 'HR_DISPLAY_ERROR_LIST' * EXPORTING * NO_POPUP = ' ' * NO_PRINT = 'X' * NO_IMG = ' ' * LINESIZE = SY-LINSZ tables error = hr_error exceptions invalid_linesize = 1 others = 2.



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