SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

IUUC_SYNC_COPY_TABLES SAP ABAP Report - IUUC Copy synchronize Tables







IUUC_SYNC_COPY_TABLES 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 IUUC_SYNC_COPY_TABLES 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 IUUC_SYNC_COPY_TABLES. "Basic submit
SUBMIT IUUC_SYNC_COPY_TABLES AND RETURN. "Return to original report after report execution complete
SUBMIT IUUC_SYNC_COPY_TABLES 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_FORCE = Recreate existing tables
Selection Text: P_MT_ID = D Mass Transfer ID
Selection Text: S_TAB = D Table Name
Title: IUUC Copy synchronize Tables
Text Symbol: FUN = Copy Dictionary Information of synchronized tables


INCLUDES used within this REPORT IUUC_SYNC_COPY_TABLES

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:

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING im_area = 'SLOP' im_level = 'PACKAGE' im_activity = '02'.

DD_TABL_DEL CALL FUNCTION 'DD_TABL_DEL' EXPORTING tabname = lv_synname del_state = 'A'.

DMC_DDIF_TABL_GET_WRAPPER CALL FUNCTION 'DMC_DDIF_TABL_GET_WRAPPER' DESTINATION lv_rfcdest EXPORTING name = lv_src_tabname i_del_groupname = space i_nametab_only = abap_true langu = sy-langu IMPORTING dd02v_wa = gs_dd02v dd09l_wa = gs_dd09l TABLES dd03p_tab = gt_dd03p EXCEPTIONS communication_failure = 1 MESSAGE g_errtext system_failure = 2 MESSAGE g_errtext OTHERS = 3.

IUUC_CREATE_TABLE CALL FUNCTION 'IUUC_CREATE_TABLE' EXPORTING i_name = lv_synname is_dd02v = gs_dd02v is_dd09l = gs_dd09l TABLES it_dd03p = gt_dd03p EXCEPTIONS table_create_failed = 1 mssql_ident_not_defined = 2 data_class_unknown = 3 index_creation_failed = 4 invalid_index_fieldname = 5 OTHERS = 6.

DMC_DDIF_TABL_GET_WRAPPER CALL FUNCTION 'DMC_DDIF_TABL_GET_WRAPPER' DESTINATION lv_rfcdest EXPORTING name = lv_src_tabname i_del_groupname = space i_nametab_only = abap_true langu = sy-langu IMPORTING dd02v_wa = gs_dd02v dd09l_wa = gs_dd09l TABLES dd03p_tab = gt_dd03p_full_key EXCEPTIONS communication_failure = 1 MESSAGE g_errtext system_failure = 2 MESSAGE g_errtext OTHERS = 3.

DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING * STATUS = 'A' tabname = i_tabname * GET_ALL = ' ' * CLIDEP_VIEW = ABAP_FALSE IMPORTING * F_STATUS = * R_MODEFLAG = r_status = r_state x030l_wa = x030l_wa TABLES x031l_tab = x031l_tab EXCEPTIONS not_found = 1 no_fields = 2 OTHERS = 3.

DD_DECIDE CALL FUNCTION 'DD_DECIDE' EXPORTING action = action_in modeflag = '' modus = 'K' "For activation prot_id = -1 * PROT_LEVEL = 0 x030l_new = x030l_wa x030l_old = x030l_old * NO_PROG = ' ' no_exists_check = 'X' * NO_EXEC = 'X' * CNV_INDEX_FLAG = 'X' * DBCHECK_LEVEL = ' ' dbsys = 'IUC' IMPORTING r_action = action r_modeflag = modeflag r_subrc = rc_l * ERRFLAG = * R_KEY_ACTION = * R_SEC_ACTION = * INFO = TABLES pstatements = lt_statements x031l_new = x031l_tab x031l_old = x031l_old.

DMC_DDIF_TABL_GET_WRAPPER CALL FUNCTION 'DMC_DDIF_TABL_GET_WRAPPER' DESTINATION lv_rfcdest EXPORTING name = lv_src_tabname i_del_groupname = space i_nametab_only = abap_false langu = sy-langu IMPORTING dd02v_wa = gs_dd02v dd09l_wa = gs_dd09l TABLES dd03p_tab = gt_dd03p EXCEPTIONS communication_failure = 1 MESSAGE g_errtext system_failure = 2 MESSAGE g_errtext OTHERS = 3.

IUUC_WRITE_AND_CALL_DBPROG CALL FUNCTION 'IUUC_WRITE_AND_CALL_DBPROG' EXPORTING * NO_EXEC = ' ' prid = -1 * PROGNAME = ' ' * MAX_SEVERITY = 'E' * ABAP_FLAG = ' ' dbcon_name = i_dbcon_name IMPORTING * GENPROG = rc = rc_l TABLES statements = lt_statements EXCEPTIONS program_not_written = 1 sql_error_occured = 2 op_failure = 3 OTHERS = 4.



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