SAP Reports / Programs | Payroll | USA | Tax Reporter(PY-US-RP-TR) SAP PY

RPCTXSU3 SAP ABAP Report - Print W2 forms out of Temse file.







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


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 RPCTXSU3. "Basic submit
SUBMIT RPCTXSU3 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCTXSU3 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: 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


INCLUDES used within this REPORT RPCTXSU3

INCLUDE RPCTXSU1. "DATA DEFINITIONS.
INCLUDE RPCTXSU2.


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:

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.



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