RPCTXSU3 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 RPCTXSU3 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: TEMSEID = Main temse
Selection Text: TAX_COMP = Tax Company
Selection Text: INDXTID = Index Temse
Selection Text: EMPL_W2 = Print Employee's W2.
Selection Text: COMP_W2 = Print Tax Authority's W2
Selection Text: AUDT_W2 = W2 audit report
Title: Print W2 forms out of Temse file.
Text Symbol: 021 = Taxcp
Text Symbol: 020 = There are no excluded employees to be recorded.
Text Symbol: 019 = Copy 1 For State, City or Local tax department
Text Symbol: 018 = Tax form
Text Symbol: 017 = Form W2 Per Tax Authority
Text Symbol: 016 = HR F W2; tax company:
Text Symbol: 015 = Form W2 Multiple Copy per Employee
Text Symbol: 014 = HR F W2 MULT; tax company:
Text Symbol: 013 = ;
Text Symbol: 012 = ; tax company:
Text Symbol: 011 = Sorting Options for Employee's W2
Text Symbol: 010 = Sorting Options for Tax Auth. W2
Text Symbol: 009 = copy per tax authority.
Text Symbol: 008 = HR F W2
Text Symbol: 007 = copy per employee.
Text Symbol: 006 = Sorting Options
Text Symbol: 005 = HR F W2 MULT
Text Symbol: 004 = W2 Form Destination
Text Symbol: 003 = Tax Authorities to be printed (Tax Auth. W2 ONLY)
Text Symbol: 002 = Input and Output Options
Text Symbol: 001 = Sorting Options
INCLUDE RPCTXSU1. "DATA DEFINITIONS.
INCLUDE RPCTXSU2.
No SAP DATABASE tables are accessed within this REPORT code!
RSTS_OPEN_RLC CALL FUNCTION 'RSTS_OPEN_RLC' EXPORTING NAME = TEMSEID EXCEPTIONS NO_OBJECT = 2 NO_PERMISSION = 3 FB_RSTS_NOCONV = 4 OTHERS = 1.
RSTS_READ CALL FUNCTION 'RSTS_READ' EXPORTING SHOWLG = ' ' IMPORTING ALLDATA = ALLDATA TABLES DATATAB = TEMSE EXCEPTIONS OTHERS = 1.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE'.
RSTS_REMOVE_OBJECT CALL FUNCTION 'RSTS_REMOVE_OBJECT' EXPORTING NAME = TEMSEID.
RSTS_OPEN_RLC CALL FUNCTION 'RSTS_OPEN_RLC' EXPORTING " SHOWLG = 'X' " not before READ NAME = INDXTID EXCEPTIONS NO_OBJECT = 2 NO_PERMISSION = 3 FB_RSTS_NOCONV = 4 OTHERS = 1.
RSTS_READ CALL FUNCTION 'RSTS_READ' EXPORTING SHOWLG = ' ' IMPORTING ALLDATA = ALLDATA TABLES DATATAB = INDXTAB EXCEPTIONS OTHERS = 1.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE'.
RSTS_REMOVE_OBJECT CALL FUNCTION 'RSTS_REMOVE_OBJECT' EXPORTING NAME = INDXTID.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.