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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPCAT4V0 - Subroutines for Annual tax statement preparation - storing L/T codes RPCAT3V0 - Subroutines for Annual tax statement preparation - build up L/T codes RPCAT2V0 - Subroutines for Annual tax statement preparation - getting data RPCAT1V0 - Subroutines for Annual tax statement preparation - mapping section RPCAT1D0 - Input/output structures for RPCATAD0 RPCASRPTSPBS - Include RPCASRPTSPBS