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
Below is a list of transaction codes which are relevant to this SAP report
KE4S00 - CO-PA: Reversal of Line Items
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: 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:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.