SAP Reports / Programs

RPCTAXV0 SAP ABAP Report - Tax calculation program for Norwegian payroll







RPCTAXV0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report gives the user the possibility to display a complete or a part of a Norwegian tax table calculated by the function HR_NO_CALC_TAX...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M20_RPCTAXV0 - Norwegian tax table overview


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


Text pool values


Selection Text: RG_TO = to
Selection Text: RG_FROM = from
Selection Text: RB_TABLE = Complete table
Selection Text: RB_STEP = Stepfunction test
Selection Text: RB_RANGE = Range
Selection Text: P_TABTY = Deduction period (1 - 7)
Selection Text: P_TABNO = Table number
Selection Text: P_PENSJ = Pensjonist
Selection Text: P_DATE = Date
Title: Tax calculation program for Norwegian payroll
Text Symbol: RNG = Range
Text Symbol: PAS = Step function test passed
Text Symbol: OPT = Range
Text Symbol: NOT = Step function test NOT passed
Text Symbol: FRM = Tax information
Text Symbol: ER1 = See error at base amount
Text Symbol: END = to
Text Symbol: BEG = from
Text Symbol: ATA = and tax amount
Text Symbol: 007 = Dagtabell/Day table - 1 days
Text Symbol: 006 = Dagtabell/Day table - 2 days
Text Symbol: 005 = Dagtabell/Day table - 3 days
Text Symbol: 004 = Dagtabell/Day table - 4 days
Text Symbol: 003 = Uketabell/Week table
Text Symbol: 002 = 14 dagers-tabell/14 days table
Text Symbol: 001 = Month table


INCLUDES used within this REPORT RPCTAXV0

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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = layout it_fieldcat = fieldcat it_events = gt_events[] TABLES t_outtab = tax_table.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = header.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_events.

HR_NO_CALC_TAX CALL FUNCTION 'HR_NO_CALC_TAX' EXPORTING per_date = p_date taxable_income = trgrl table_no = p_tabno tax_period = p_tabty is_pensjonist = p_pensj IMPORTING tax = skatt.

HR_NO_CALC_TAX CALL FUNCTION 'HR_NO_CALC_TAX' EXPORTING per_date = p_date taxable_income = trgrl table_no = p_tabno tax_period = p_tabty is_pensjonist = p_pensj IMPORTING tax = skatt_s.

HR_NO_TAXTABLE_INFO CALL FUNCTION 'HR_NO_TAXTABLE_INFO' EXPORTING table_no = p_tabno tax_period = p_tabty is_pensjonist = p_pensj per_date = p_date IMPORTING maximal_table_entry = max_table_entry table_step = p_step.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = error_tab.



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