REKCOPA2_SETUP_EITCOPA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for A special report for subsequently transferring billing document data to CO-PA (only posting according to consumption months)...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 REKCOPA2_SETUP_EITCOPA 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: S_OPBEL = D Number of Print Document
Selection Text: SIMU = Simulation Run
Selection Text: OBJ_NOT = Not Redetermined
Selection Text: OBJ_DELT = Only Docs Without Prof.Segment
Selection Text: OBJ_ALL = All Billing Documents
Selection Text: LOG = Extended Log
Selection Text: IND_NEW = Only Docs with New Prof.Segmnt
Selection Text: IND_ALL = All Billing Documents
Selection Text: FIKEY = D Reconciliation Key
Selection Text: ERKRS = D Operating Concern
Selection Text: ERDAT = D Created On
Selection Text: BUDAT = D Posting Date
Selection Text: BELNR = D Billing Document No.
Selection Text: AB = Billing Period
Title: New Structure of Indexes for Copying Documents to CO-PA
Text Symbol: T14 = Simulation
Text Symbol: T13 = Extended Log
Text Symbol: T12 = Number of Indexes Created EITCOPA
Text Symbol: T11 = No. Billing Docs with Redetermined Profit Seg. PAOBJNR_S
Text Symbol: T10 = End Reconciliation Key Processing
Text Symbol: T09 = Start Reconciliation Key Processing
Text Symbol: T08 = Profit Segment Generated for Billing Doc.
Text Symbol: T07 = Error in Billing Document
Text Symbol: T06 = No Documents in Selected Area
Text Symbol: T05 = Limit Billing Documents
Text Symbol: T04 = Sub. Posting of Op. Concern
Text Symbol: T03 = Generate Index EITCOPA for
Text Symbol: T02 = Redetermine Prof. Segment for
Text Symbol: T01 = Selections
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ISU_S_DB_BILL_SINGLE CALL FUNCTION 'ISU_S_DB_BILL_SINGLE' EXPORTING x_belnr = ierchc-belnr X_READ_ERCH = 'X' x_read_ercho = ' ' x_read_erchr = ' ' X_READ_ERCHZ = ' ' x_read_erchv = ' ' x_read_erchu = ' ' X_READ_ERCHC = ' ' x_read_erchp = ' ' CHANGING y_bill = wa_bill_doc EXCEPTIONS others = 1.
ISU_COPA_GENERAL_DATA_CHECK CALL FUNCTION 'ISU_COPA_GENERAL_DATA_CHECK' EXPORTING X_BUKRS = wa_bill_doc-erch-bukrs IMPORTING Y_ERKRS = te760-erkrs Y_XSTATIST_UPDATE = x_stat_upd EXCEPTIONS OTHERS = 1.
ISU_S_DB_BILL_SINGLE CALL FUNCTION 'ISU_S_DB_BILL_SINGLE' EXPORTING x_belnr = ierchc-belnr X_READ_ERCH = ' ' x_read_ercho = ' ' x_read_erchr = ' ' X_READ_ERCHZ = 'X' x_read_erchv = ' ' x_read_erchu = ' ' X_READ_ERCHC = ' ' x_read_erchp = ' ' CHANGING y_bill = wa_bill_doc EXCEPTIONS others = 1.
FKK_MESSAGE_WRITE CALL FUNCTION 'FKK_MESSAGE_WRITE' EXPORTING I_MSGID = MSGID I_MSGNO = MSGNO I_MSGV1 = SY-MSGV1 I_MSGV2 = SY-MSGV2 I_MSGV3 = SY-MSGV3 I_MSGV4 = SY-MSGV4 IMPORTING E_NTEXT = NTEXT.
ISU_SET_CO_ACCOUNTS_TO_BILLDOC CALL FUNCTION 'ISU_SET_CO_ACCOUNTS_TO_BILLDOC' EXPORTING X_ACC = fkkvkp X_SOBJ = x_sobj * X_OBJ = X_PAOBJNR_S_ONLY = 'X' X_REBUILD_CO_ACC = 'X' CHANGING XY_BILL_DOC = wa_bill_doc EXCEPTIONS GENERAL_FAULT = 1 OTHERS = 2.
FKK_MESSAGE_WRITE CALL FUNCTION 'FKK_MESSAGE_WRITE' EXPORTING I_MSGID = MSGID I_MSGNO = MSGNO I_MSGV1 = SY-MSGV1 I_MSGV2 = SY-MSGV2 I_MSGV3 = SY-MSGV3 I_MSGV4 = SY-MSGV4 IMPORTING E_NTEXT = NTEXT.
ISU_DB_ERCHZ_UPDATE_BILL CALL FUNCTION 'ISU_DB_ERCHZ_UPDATE_BILL' EXPORTING x_upd_mode = 'U' x_erch = wa_bill_doc-erch TABLES t_erchz = wa_bill_doc-ierchz T_OLD_ERCHZ = old_erchz.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
REKCOPA2_SETUP_EITCOPA - New Structure of Indexes for Copying Documents to CO-PA REKCOPA2_SETUP_EITCOPA - New Structure of Indexes for Copying Documents to CO-PA REKCOPA1 - Transfer Billing Data to CO-PA According to Consumption Month REKCOPA1 - Transfer Billing Data to CO-PA According to Consumption Month REKCOLLBIGEN - Generate Collective Bill for Single Items W/O Reference to C. Bill REKCOLLBIGEN - Generate Collective Bill for Single Items W/O Reference to C. Bill