SAP Reports / Programs | Payroll | Canada(PY-CA) SAP PY

RPC224K2 SAP ABAP Report - Convert IT0224 CMA codes (at/below 4.6C) to IT77 format (at 4.70 & up)







RPC224K2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report converts Census Metropolitan Area (CMA) codes that were stored in the Canadian Taxation infotype (0224) (at Release 4...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 RPC224K2 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 RPC224K2. "Basic submit
SUBMIT RPC224K2 AND RETURN. "Return to original report after report execution complete
SUBMIT RPC224K2 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: C_DATE = Convert data effective from
Selection Text: PRODUCT = Production run
Selection Text: TEMSE = Create backup file (TemSe)
Selection Text: TEST = Test run
Title: Convert IT0224 CMA codes (at/below 4.6C) to IT077 format (at 4.70)
Text Symbol: C01 = Employee
Text Symbol: C02 = Begin - End date
Text Symbol: C03 = CMA
Text Symbol: R01 = Test run
Text Symbol: R02 = Production run
Text Symbol: T01 = Conversion mode
Text Symbol: T02 = All employees
Text Symbol: T03 = Backup of IT0077 (only in production mode)
Text Symbol: T04 = Test mode: TemSe file will not be created


INCLUDES used within this REPORT RPC224K2

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:

HR_CA_DISPLAY_MESSAGE_LOG CALL FUNCTION 'HR_CA_DISPLAY_MESSAGE_LOG' EXPORTING col1_header = text-c01 col2_header = text-c02 col3_header = text-c03 TABLES message_tab = message_tab.

RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = 'C224K2' objnr = objnr empfg = 'RPC224K2' IMPORTING tsobj = object EXCEPTIONS OTHERS = 1.

RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' TABLES datatab = copy_0077 EXCEPTIONS OTHERS = 1.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS OTHERS = 1.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'PA0077' EXCEPTIONS OTHERS = 1.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'PA0224' EXCEPTIONS OTHERS = 1.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING tabname = 'PA0077'.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING tabname = 'PA0224'.



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