SAP Reports / Programs

FINB_TR_CC_COPY_DATA SAP ABAP Report - Client Copy: Copy Transaction Data







FINB_TR_CC_COPY_DATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FINB_TR_CC_COPY_DATA 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

FINB_TR_CC_CD - Copy Transaction Data


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 FINB_TR_CC_COPY_DATA. "Basic submit
SUBMIT FINB_TR_CC_COPY_DATA AND RETURN. "Return to original report after report execution complete
SUBMIT FINB_TR_CC_COPY_DATA 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: P_ANA = Collect TransactionData Tables
Selection Text: P_COPY = Copy Transaction Data
Selection Text: P_DEL = Reset Administration
Selection Text: P_DEST = Connection to Source Clients
Selection Text: P_INSR = Ignore Insertion Error
Selection Text: P_LIST = List Output
Selection Text: P_PARALL = Allow Parallel Processing
Selection Text: P_PCKG = Package Size
Selection Text: P_REST = Restart
Selection Text: P_SCLI = Source Client
Selection Text: P_TEST = Test Run
Selection Text: P_TRKORR = Client Copy (Internal Number)
Title: Client Copy: Copy Transaction Data
Text Symbol: 001 = Options
Text Symbol: 002 = Settings for Source Client
Text Symbol: 003 = Copy Transaction Data
Text Symbol: 004 = Execution Options
Text Symbol: 005 = Yes
Text Symbol: 006 = Delete Administration
Text Symbol: 007 = Do you want the administration tables to be reset?
Text Symbol: 008 = No


INCLUDES used within this REPORT FINB_TR_CC_COPY_DATA

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:

FINB_TR_CC_INFO_GET CALL FUNCTION 'FINB_TR_CC_INFO_GET' IMPORTING es_ccm = ls_ccm EXCEPTIONS no_record = 1 OTHERS = 2.

FINB_TR_GET_RFC_DEST CALL FUNCTION 'FINB_TR_GET_RFC_DEST' EXPORTING i_mandt = ls_ccm-scli IMPORTING E_RFCDEST = p_dest EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .

RFC_READ_R3_DESTINATION CALL FUNCTION 'RFC_READ_R3_DESTINATION' EXPORTING destination = p_dest authority_check = ' ' bypass_buf = ' ' EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 OTHERS = 5.

FINB_TR_CC_INFO_GET CALL FUNCTION 'FINB_TR_CC_INFO_GET' IMPORTING es_ccm = ls_ccm EXCEPTIONS no_record = 1 OTHERS = 2.

VIEW_GET_CLIENT_STATE CALL FUNCTION 'VIEW_GET_CLIENT_STATE' IMPORTING * TRANSP_STATE = * CLIINDEP_STATE = client_state = l_client_state.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-006 * DIAGNOSE_OBJECT = ' ' text_question = text-007 text_button_1 = text-005 "'Ja'(005) icon_button_1 = l_icon_okay text_button_2 = text-008 "'Nein'(008) icon_button_2 = l_icon_cancel default_button = '2' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = l_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

FINB_TR_CC_TARGET_TABNAMES CALL FUNCTION 'FINB_TR_CC_TARGET_TABNAMES' EXPORTING io_msg = lo_msg i_test = p_test IMPORTING et_gen_tabname = lt_gen_tabname.

FINB_TR_CC_SOURCE_TABNAMES * CALL FUNCTION 'FINB_TR_CC_SOURCE_TABNAMES' * EXPORTING * i_test = p_test * IMPORTING * et_msg = lt_msg * CHANGING * xt_gen_tabname = lt_gen_tabname.

FINB_TR_CC_SOURCE_TABNAMES CALL FUNCTION 'FINB_TR_CC_SOURCE_TABNAMES' DESTINATION p_dest EXPORTING i_test = p_test IMPORTING et_msg = lt_msg CHANGING xt_gen_tabname = lt_gen_tabname.

FINB_TR_CC_TABLIST_WRITE CALL FUNCTION 'FINB_TR_CC_TABLIST_WRITE' EXPORTING i_source_client = p_scli i_rfcdest = l_rfcdest i_test = p_test it_gen_tabname = lt_gen_tabname.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING * mode_rstable = 'E' tabname = c_tabname_mgmt varkey = l_varkey * X_TABNAME = ' ' * X_VARKEY = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

FINB_TR_CC_COMPARE_TABLES CALL FUNCTION 'FINB_TR_CC_COMPARE_TABLES' EXPORTING i_rfcdest = l_rfcdest io_msg = lo_msg IMPORTING et_bad_tabname = lt_bad_tabname CHANGING it_gen_tabname = lt_gen_tabname.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING * mode_rstable = 'E' tabname = c_tabname_mgmt varkey = l_varkey.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING * mode_rstable = 'E' tabname = c_tabname_runtime varkey = l_varkey EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

FINB_TR_CC_COPY_TABLE_LOCAL





CALL FUNCTION 'FINB_TR_CC_COPY_TABLE_LOCAL' EXPORTING i_target_tabname = ls_gen_tabname-target_tabname it_gen_tabname = lt_gen_tabname io_msg = lo_msg i_test = p_test i_package_size = p_pckg is_header = ls_header i_restart = p_rest i_ignore_insert_err = p_insr "note 1739989 EXCEPTIONS error_passed_to_msg = 1 OTHERS = 2.

FINB_TR_CC_COPY_TABLE CALL FUNCTION 'FINB_TR_CC_COPY_TABLE' EXPORTING i_target_tabname = ls_gen_tabname-target_tabname it_gen_tabname = lt_gen_tabname i_rfcdest = l_rfcdest io_msg = lo_msg i_test = p_test i_package_size = p_pckg is_header = ls_header i_restart = p_rest i_ignore_insert_err = p_insr "note 1739989 EXCEPTIONS error_passed_to_msg = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING * mode_rstable = 'E' tabname = c_tabname_runtime varkey = l_varkey.



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