HCORETE0 is a standard Executable ABAP Report 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 HCORETE0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M38_RETE - Half-year procedure
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.
Selection Text: S_PRCED = Withholding tax procedure
Selection Text: P_VISI = Foreground processing
Selection Text: P_SCHEMA = Payroll schema
Selection Text: P_BEGDA = Start withholding infotype0830
Title: Recalculation for withholding tax at source
Text Symbol: S24 = Last
Text Symbol: S22 = Last
Text Symbol: S21 = Amount
Text Symbol: S20 = Column header
Text Symbol: S10 = W/o wage types
Text Symbol: S09 = Wage types
Text Symbol: S06 = Special run
Text Symbol: S05 = Payroll reason
Text Symbol: S04 = Period selection
Text Symbol: S03 = Payroll area
Text Symbol: S02 = t
Text Symbol: S01 = Period
Text Symbol: LA8 = Average basis
Text Symbol: L16 = Health contr
Text Symbol: L15 = Proc.
Text Symbol: L14 = Employee name
Text Symbol: L13 = Code
Text Symbol: L12 = Withholding tax pct.
Text Symbol: L11 = Final bas.
Text Symbol: L10 = Tax relief Housing
Text Symbol: L09 = Tax relief Health
Text Symbol: L08 = Worked days
Text Symbol: L07 = Tax base
Text Symbol: L06 = Tax exempt.cum.
Text Symbol: L05 = Bon.basis
Text Symbol: L04 = Bonus cum.
Text Symbol: L03 = Basis - Deduc.
Text Symbol: L02 = Pensions cumulated
Text Symbol: L01 = Cum.12 months
Text Symbol: E01 = Error message not found
Text Symbol: 006 = Second half
Text Symbol: 005 = First half
Text Symbol: 004 = Other selections
INCLUDE: PCFTBCO0, " TABLES COLOMBIA
PCIFTCO0, " INFOTYPES COLOMBIA
PCALVCO0, " ALV COLOMBIA
HCOPAYMACRO.
INCLUDE RPC2PS00. " CLUSTER OF GENERATED SCHEMAS
INCLUDE RPC2PT00. " CLUSTER OF GENERATED SCHEMAS TEXTS
INCLUDE UP50QDAT. " COMMON PART PSOPER FOR UPDATE TASK
INCLUDE UP50QDAT. " COMMON PART PSOPER FOR UPDATE TASK
INCLUDE RPC2CD09.
INCLUDE RPCFOP00.
INCLUDE RPC2B201.
INCLUDE RPCPLOG0.
No SAP DATABASE tables are accessed within this REPORT code!
DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = c_dompr value = prced_domvalue IMPORTING dd07v_wa = prced_dd07v_wa EXCEPTIONS OTHERS = 1.
HR_PL_IMPORT_LOG_FROM_MEMORY * CALL FUNCTION 'HR_PL_IMPORT_LOG_FROM_MEMORY' * EXPORTING * mem_key = memo_key.
HR_PL_DISPLAY_LOG * CALL FUNCTION 'HR_PL_DISPLAY_LOG' * EXPORTING * procl = 'C' * EXCEPTIONS * OTHERS = 1.
HRO1_FILL_EVAL_DIR CALL FUNCTION 'HRO1_FILL_EVAL_DIR' EXPORTING payroll_dir = rgdir[] rgdir_line = rgdir_line IMPORTING eval_dir = bdm_rgdir02[] payr_dir = rgdir_2[] EXCEPTIONS no_evaluated_periods = 1 OTHERS = 2.
HRCO_GET_PERIODS_FOR_MONTH CALL FUNCTION 'HRCO_GET_PERIODS_FOR_MONTH' EXPORTING aper = aper TABLES p_periods = t_periods EXCEPTIONS error = 1 OTHERS = 2.
PA03_PERIODDATES_GET CALL FUNCTION 'PA03_PERIODDATES_GET' "XJFK000950 EXPORTING f_abkrs = pnpxabkr IMPORTING f_permo = pn-permo f_current_begda = pnpdisbd f_current_endda = pnpdised * F_ABKRS_TEXT = CHANGING f_current_period = pn-pabrp f_current_year = pn-pabrj EXCEPTIONS pcr_does_not_exist = 1 abkrs_does_not_exist = 2 period_does_not_exist = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
HCORETE0 - Recalculation for withholding tax at source HCORETE0 - Recalculation for withholding tax at source HCOPUPD0_CO - Subsequent Generation of Additional ITs for Views HCOPUPD0_CO - Subsequent Generation of Additional ITs for Views HCOPUPD0 - documentation and ABAP source code HCOPUPA0_CO - Subsequent Generation of Additional ITs for Views