SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

RKECADL1 SAP ABAP Report - Cancel CO-PA Line Items







RKECADL1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program for canceling and logically deleting line items in Profitability Analysis...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 RKECADL1 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

KE4S00 - CO-PA: Reversal of Line Items


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 RKECADL1. "Basic submit
SUBMIT RKECADL1 AND RETURN. "Return to original report after report execution complete
SUBMIT RKECADL1 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: VRGAR = Record type
Selection Text: RPOSN = Reference item number
Selection Text: RBELN = Reference document number
Selection Text: PERIO = Period/year
Selection Text: HZDAT = Date created
Selection Text: G_TEST = Test run
Selection Text: G_LOG = Log
Selection Text: G_ERKRS = Operating concern
Selection Text: G_DEL_DB = Physical Deletion to DB
Selection Text: G_DEL = Logical delete
Selection Text: FKART = Billing type
Selection Text: BWZPT = Point of valuation
Selection Text: BUKRS = Company code
Selection Text: BUDAT = Posting date
Selection Text: BELNR = Document number
Selection Text: AWTYP = Reference business transaction
Selection Text: AWORG = Reference organization unit
Title: Cancel CO-PA Line Items
Text Symbol: 070 = Cancellation items
Text Symbol: 060 = Line items
Text Symbol: 030 = Number of line items deleted logically:
Text Symbol: 020 = Number of line items cancelled:
Text Symbol: 010 = Number of line items read:
Text Symbol: 006 = Update:
Text Symbol: 005 = Test run:


INCLUDES used within this REPORT RKECADL1

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:

RKE_CHECK_GENERATION CALL FUNCTION 'RKE_CHECK_GENERATION' EXPORTING ERKRS = I_ERKRS EXCEPTIONS ERKRS_NOT_EXISTING = 1 ERKRS_INACTIVE = 2 TABLE_NOT_EXIDB = 3 OTHERS = 4.

RKE_FILL_FIELD_TABLE CALL FUNCTION 'RKE_FILL_FIELD_TABLE' EXPORTING ERKRS = I_ERKRS TABNAME = X_TABNAME PA_TYPE = '1' TABLES FIELDTAB = LT_DBTABLE[].

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

F4_FILENAME CALL FUNCTION 'F4_FILENAME' EXPORTING DYNPRO_NUMBER = '1000' FIELD_NAME = 'Filename' IMPORTING FILE_NAME = LOCALFILE.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = FILENAME FILETYPE = 'ASC' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = T_DATA.



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