SAP Reports / Programs | Contract Accounts Receivable and Payable | SAP Utilities | Contract Accounts Receivable and Payable(IS-U-CA) SAP IS

REKCOPA2_SETUP_EITCOPA SAP ABAP Report - New Structure of Indexes for Copying Documents to CO-PA







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


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


INCLUDES used within this REPORT REKCOPA2_SETUP_EITCOPA

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:

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.



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