SAP Reports / Programs | Payroll | Norway(PY-NO) SAP PY

RPCAT4V0 SAP ABAP INCLUDE - Subroutines for Annual tax statement preparation - storing L/T codes







RPCAT4V0 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 RPCAT4V0 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 RPCAT4V0. "Basic submit
SUBMIT RPCAT4V0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCAT4V0 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: YEAR = Year
Selection Text: NOTEMSE = Do not create TemSe file
Selection Text: DSN_EXT = File from travel management
Title: Subroutines for Annual tax statement preparation - storing L/T codes
Text Symbol: WST = with status
Text Symbol: TEM = Creation of TemSe output
Text Symbol: REL = Released
Text Symbol: POS = Posted
Text Symbol: INT = Annual tax statements preparation for
Text Symbol: EXT = Existing TemSe object
Text Symbol: EPC = employees processed for year
Text Symbol: EDS = External data file to include
Text Symbol: DAP = data already released/posted for year
Text Symbol: CRE = Created
Text Symbol: 008 = Sum of all wage types
Text Symbol: 007 = External amount
Text Symbol: 006 = Truncated part
Text Symbol: 005 = Cumulated amount
Text Symbol: 004 = Cumulated number
Text Symbol: 003 = Description
Text Symbol: 002 = Wtyp
Text Symbol: 001 = Code


INCLUDES used within this REPORT RPCAT4V0

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:

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'RP_TEMSE' IMPORTING number = nnumm returncode = rcode EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 OTHERS = 4.

RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = no_ats_corr objnr = ts_objnr empfg = no_ts_rec IMPORTING tsobj = p_tsobj.

RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = no_ats_obj objnr = ts_objnr empfg = no_ts_rec IMPORTING tsobj = p_tsobj.

RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' TABLES datatab = temsedata.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'HRRCNSEQNR' toyear = l_year IMPORTING number = p_seqnr returncode = rcode EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.

NUMBER_RANGE_ENQUEUE CALL FUNCTION 'NUMBER_RANGE_ENQUEUE' EXPORTING object = 'HRRCNSEQNR' EXCEPTIONS OTHERS = 1.

NUMBER_RANGE_INTERVAL_UPDATE CALL FUNCTION 'NUMBER_RANGE_INTERVAL_UPDATE' EXPORTING object = 'HRRCNSEQNR' IMPORTING error_occured = nr_error TABLES error_iv = error_iv interval = it_iv EXCEPTIONS object_not_found = 1.

NUMBER_RANGE_UPDATE_CLOSE CALL FUNCTION 'NUMBER_RANGE_UPDATE_CLOSE' EXPORTING object = 'HRRCNSEQNR' EXCEPTIONS no_changes_made = 1 object_not_initialized = 2 OTHERS = 3.

NUMBER_RANGE_DEQUEUE CALL FUNCTION 'NUMBER_RANGE_DEQUEUE' EXPORTING object = 'HRRCNSEQNR'.



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