COPA_COPY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to copy transaction data between operating concerns...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 COPA_COPY into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
KECA - Copying Transaction Data (Actual)
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: P_CE1 = Read Line Items ( CE1xxxx )
Selection Text: ST_VRGAR = D Transaction/Event Type
Selection Text: ST_RBELN = D Reference Document Number
Selection Text: ST_PERIO = D Period/Year
Selection Text: ST_BUKRS = D Company Code
Selection Text: ST_BELNR = D Document Number
Selection Text: P_VDE = Read Summarization Level
Selection Text: P_VALTAR = Valuation
Selection Text: P_TEST = Test Run
Selection Text: P_TARGET = D Operating Concern
Selection Text: P_SUM = D Summarization Level
Selection Text: P_SOURCE = D Operating Concern
Selection Text: P_PTST = Performance Trace (Batch Only)
Selection Text: P_PRCTR = Profit Center Valuation View
Selection Text: P_ORGTAR = Check Organization Structures
Selection Text: P_LEGAL = Legal Valuation View
Selection Text: P_KURST = D Exchange Rate Type
Selection Text: P_DERTAR = Derivation
Selection Text: P_DERSOU = Convert Characteristics
Selection Text: P_CHETAR = Check: Characteristic Values
Selection Text: P_CE3 = Read Totals Record ( CE3xxxx )
Title: Copy CO-PA Transaction Data Between Operating Concerns
Text Symbol: 018 = Read as Posted
Text Symbol: 017 = Read Line Items ( CE1xxxx )
Text Symbol: 016 = Maintain Char.Val. Conversion
Text Symbol: 015 = Profit Center Valuation View
Text Symbol: 014 = Legal Valuation View
Text Symbol: 013 = Valuation
Text Symbol: 012 = Check: Org. Units
Text Symbol: 011 = Char. Derivation
Text Symbol: 010 = Check: Char. Values
Text Symbol: 009 = Exit Identifier
Text Symbol: 008 = User Exit
Text Symbol: 007 = Control Parameters
Text Symbol: 006 = Copy to Operating Concern:
Text Symbol: 005 = Target Data
Text Symbol: 004 = Summarization Level
Text Symbol: 003 = Read Summarization Level
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TR_SYS_PARAMS call function 'TR_SYS_PARAMS' importing systemtype = l_systemtype exceptions no_systemname = 1 no_systemtype = 2 others = 3.
RKE_CHECK_GENERATION call function 'RKE_CHECK_GENERATION' exporting erkrs = i_erkrs_from.
RKE_CHECK_GENERATION call function 'RKE_CHECK_GENERATION' exporting erkrs = i_erkrs_to.
RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = i_erkrs i_langu = sy-langu importing et_v_tkebl = lt_tkebl.
F4IF_FIELD_VALUE_REQUEST call function 'F4IF_FIELD_VALUE_REQUEST' exporting tabname = 'TKETRLF' fieldname = 'TRCATNR' dynpprog = sy-repid dynpnr = '1000' dynprofield = 'PTRCATNR-LOW' callback_program = sy-repid callback_form = 'SHRINK' selection_screen = 'X' tables return_tab = lt_return exceptions field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 others = 5.
DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = l_repid dynumb = '1000' tables dynpfields = dynpfields exceptions invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
RKD_TR_LEVEL_READ call function 'RKD_TR_LEVEL_READ' exporting applclass = 'KE' subclass = '01' tabname = l_tabname trcatnr = i_trcatnr s_form_name = c_form_name_vde s_program_name = l_program_name * READ_DIRTY = 'X' importing no_record_found = l_no_records * TIMESTMP = tables selection_table = lt_sel_vde exceptions catalog_not_found = 1 trcatnr_not_found = 2 request_invalid = 3 trcatnr_not_active = 4 foreign_lock = 5 others = 6 .
RKE_DATA_READ_CALLBACK call function 'RKE_DATA_READ_CALLBACK' exporting i_erkrs = i_erkrs_from i_pa_type = '1' i_read_mode = i_read_mode i_t_sel = it_sel i_t_sf = lt_fld * I_DB_AGGREGATION = 'X' * I_SUMM_LEVEL_LOCK = 'X' i_program_name = l_program_name i_form_name = c_form_name * I_CALLER_APPL = * I_CALLER_DETAIL = * I_IGNORE_VALUTYP = importing e_info = ls_info exceptions parameter_invalid = 1 internal_error = 2 no_sum_level_found = 3 sum_level_foreign_lock = 4 others = 5.
RKD_TR_LEVEL_FIND call function 'RKD_TR_LEVEL_FIND' exporting applclass = 'KE' subclass = '01' tabname = l_tabname * IMPORTING * TRCATNR = * SUM_LEVELS = tables selection_table = it_sel_vde et_levels = lt_entries * EXCEPTIONS * CATALOG_NOT_FOUND = 1 * REQUEST_INVALID = 2 * REQUEST_NOT_POSSIBLE = 3 * OTHERS = 4 .
RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = i_erkrs tables fieldtab = lt_fieldtab
exceptions ledger_not_def = 1 ledger_not_found = 2 table_not_found = 3 others = 4.
RKE_FILL_SCREEN_FIELDTABLE call function 'RKE_FILL_SCREEN_FIELDTABLE' exporting erg_rech_ber = rkb1x-erkrs modus = 'B' applclass = 'KE' tabname1 = l_tabname epos = 'X' i_rkb1x = rkb1x tables fdeptable = dep_tab fieldtable = dummy_tab exceptions entry_not_found = 01.
RKE_SEND_SELECTION_SCREEN call function 'RKE_SEND_SELECTION_SCREEN' exporting detail = ' ' display_modus = '1' einf_mehrf = 'N' start_column = 6 start_row = 4 text_length = 40 window_length = 12 window_title = ' ' window_width = 50 tables sel_table = lt_send_tab exceptions abnormal_leave = 01 criteria_not_found = 02.
RKE_CHARACTERISTIC_SELECTION call function 'RKE_CHARACTERISTIC_SELECTION' exporting display_modus = '1' initial_value = ' ' more = 'X' parameter = ' ' row_modus = '2' set = ' ' sort = ' ' start_column = 6 start_row = 4 window_length = 20 window_title = ' ' window_width = 83 tables char_table = char_tab dep_table = h_cec06_tab "H50967 exceptions abnormal_leave = 01 criteria_not_found = 02.
RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = i_erkrs tables fieldtab = lt_fieldtab exceptions ledger_not_def = 1 ledger_not_found = 2 table_not_found = 3 others = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
COPA_COPY - Copy CO-PA Transaction Data Between Operating Concerns COPA_COPY - Copy CO-PA Transaction Data Between Operating Concerns COPA_BATCH_LOG_SHOW - CO-PA Log Data Output COPA_BATCH_LOG_SHOW - CO-PA Log Data Output COPA_BAPI_TEST - Test Program for CO-PA BAPIs COPA_BAPI_TEST - Test Program for CO-PA BAPIs