SAP Reports / Programs | Cross-Application Components | General Application Functions | Business Application Support(CA-GTF-BS) SAP CA

CNV_00001_I_CREATE_PROGS_OLD SAP ABAP Report - Conversion: Generate programs for converting tables







CNV_00001_I_CREATE_PROGS_OLD 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 CNV_00001_I_CREATE_PROGS_OLD 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 CNV_00001_I_CREATE_PROGS_OLD. "Basic submit
SUBMIT CNV_00001_I_CREATE_PROGS_OLD AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_00001_I_CREATE_PROGS_OLD 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: GP_DROP = Drop-insert method
Selection Text: GP_DEL = Delete old programs
Selection Text: GP_COMP = Generate programs now
Selection Text: GP_CLTEC = Opt. conv. of cluster tables
Selection Text: GP_CLNT = Selection only for syst.client
Selection Text: GS_TABS = D Table name
Selection Text: GP_UNCND = Create even with syntax error
Selection Text: GP_SLETT = Distinguish. letter prog name
Selection Text: GP_PHASE = D Conversion phase
Selection Text: GP_PACK = D Pack.no.
Title: Conversion: Generate programs for converting tables
Text Symbol: 005 = Conversion prog. for Table &1
Text Symbol: 004 = Expert mode
Text Symbol: 003 = Program handling
Text Symbol: 002 = Attributes of the programs for generation
Text Symbol: 001 = Choice of programs for generation
Text Symbol: 020 = Old programs are deleted.
Text Symbol: 012 = anyway?
Text Symbol: 011 = Continue generation
Text Symbol: 010 = Continue generation?
Text Symbol: 006 = Test run - no change to DB


INCLUDES used within this REPORT CNV_00001_I_CREATE_PROGS_OLD

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_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING packid = gd_packid phase = gd_phase.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'CNV_PHASE' value = gd_dd07v-domvalue_l langu = syst-langu texts_only = t_yes IMPORTING dd07v_wa = gd_dd07v EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'CNV_PHASE' value = gd_dd07v-domvalue_l langu = 'E' texts_only = t_yes IMPORTING dd07v_wa = gd_dd07v EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

POPUP_TO_CONFIRM_STEP * CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING * defaultoption = 'N' * textline1 = text-011 * textline2 = text-012 * titel = text-010 * IMPORTING * answer = ld_slett_decision * EXCEPTIONS * OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-011 textline2 = text-012 titel = text-020 IMPORTING answer = ld_slett_decision EXCEPTIONS OTHERS = 1.

RS_PROGRAM_CHECK_NAME CALL FUNCTION 'RS_PROGRAM_CHECK_NAME' EXPORTING progname = gd_progname.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'CNV_PHASE' value = gd_dd07v-domvalue_l texts_only = t_yes IMPORTING dd07v_wa = gd_dd07v EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

POPUP_TO_GET_VALUE CALL FUNCTION 'POPUP_TO_GET_VALUE' EXPORTING fieldname = 'PARVA' tabname = 'USR05' titel = text-004 valuein = gd_expert IMPORTING valueout = gd_expert.

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING * IM_AREA = IM_LEVEL = 'PACKAGE' IM_ACTIVITY = '03' * IM_MSGTY = * IM_MSGID = * IM_MSGNO = * IM_MSGV1 = * IM_MSGV2 = * IM_MSGV3 = * IM_MSGV4 = EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2 .

CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = gc_org_new packid = gd_packid IMPORTING valuefrom = gd_orgpack_new EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.

CNV_00001_GET_SCENARIO CALL FUNCTION 'CNV_00001_GET_SCENARIO' EXPORTING keychange = gd_keychange copyrows = gd_cnvtables-copyrows multicopy = gd_cnvtables-multicopy keychviews = ld_keychviews no_smup = ld_no_smup sumup_s = ld_smup_s sumup_a = ld_smup_a sumup_p = ld_smup_p sumup_g = ld_smup_g prio = gd_prio_used aggregate = gd_aggr_used transparent = ld_transparent clidependent = ld_clidependent clientchange = gd_clientchange view_used = ld_view_used noview = gd_cnvtables-noview rowidview = gd_rowid_used orgdelete = gd_org_rec_delete orgdependent = gd_orgdep_scen dropinsert = ld_drop_insert * cluster_tab = * hr_makros = IMPORTING scenario = gd_scenario EXCEPTIONS scenario_non_unique = 1 no_scenario_found = 2 OTHERS = 3.

CNV_INT_SCHEME_INSTANTIATE CALL FUNCTION 'CNV_INT_SCHEME_INSTANTIATE' EXPORTING calling_program = syst-cprog scheme_program = 'CNV_00001_SCH_NEW' scheme_name = 'MAIN' TABLES result_tab = gt_abapsource EXCEPTIONS schemeprog_not_found = 1 scheme_not_found = 2 scheme_syntax_error = 3 generate_error = 4 forced_linesplit = 5 table_not_exists = 6 OTHERS = 7.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_progress text = syst-title.

CNV_INT_SCHEME_INSTANTIATE CALL FUNCTION 'CNV_INT_SCHEME_INSTANTIATE' EXPORTING calling_program = syst-cprog scheme_program = 'CNV_00001_SCH_NEW' scheme_name = 'MAIN' TABLES result_tab = gt_abapsource EXCEPTIONS schemeprog_not_found = 1 scheme_not_found = 2 scheme_syntax_error = 3 generate_error = 4 forced_linesplit = 5 table_not_exists = 6 OTHERS = 7.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_progress text = syst-title.

CNV_00001_GET_SCENARIO CALL FUNCTION 'CNV_00001_GET_SCENARIO' EXPORTING keychange = gd_keychange copyrows = gd_cnvtables-copyrows keychviews = ld_keychviews no_smup = ld_no_smup sumup_s = ld_smup_s sumup_a = ld_smup_a prio = gd_prio_used transparent = ld_transparent clidependent = ld_clidependent clientchange = gd_clientchange view_used = ld_view_used noview = gd_cnvtables-noview rowidview = gd_rowid_used orgdelete = gd_org_rec_delete orgdependent = gd_orgdep_scen cluster_tab = gd_cluster * hr_makros = IMPORTING scenario = gd_scenario EXCEPTIONS scenario_non_unique = 1 no_scenario_found = 2 OTHERS = 3.

CNV_INT_SCHEME_INSTANTIATE CALL FUNCTION 'CNV_INT_SCHEME_INSTANTIATE' EXPORTING calling_program = syst-cprog scheme_program = 'CNV_00001_SCH_CLU' scheme_name = 'MAIN' TABLES result_tab = gt_abapsource EXCEPTIONS schemeprog_not_found = 1 scheme_not_found = 2 scheme_syntax_error = 3 generate_error = 4 forced_linesplit = 5 table_not_exists = 6 OTHERS = 7.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_progress text = syst-title.

CNV_INT_STATE_GET





CALL FUNCTION 'CNV_INT_STATE_GET' IMPORTING runstate = gd_state.

CNV_INT_PROTOCOL_MESSAGE CALL FUNCTION 'CNV_INT_PROTOCOL_MESSAGE' EXPORTING msgty = lp_msgty msgid = lp_msgid msgno = lp_msgno msgv1 = lp_msgv1 msgv2 = lp_msgv2 msgv3 = lp_msgv3 msgv4 = lp_msgv4 level = lp_level probclass = lp_class.

CNV_INT_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_INT_PROTOCOL_WRITE_DB'.

CNV_INT_STATE_GET CALL FUNCTION 'CNV_INT_STATE_GET' IMPORTING runstate = gd_state.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = lp_tabname IMPORTING x030l_wa = lp_x030l TABLES dfies_tab = lp_dfies "#EC * EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'VIEW' name = lp_viewname "#EC DOM_EQUAL IMPORTING gotstate = ld_view_exists.

CNV_INT_VIEW_DELETE CALL FUNCTION 'CNV_INT_VIEW_DELETE' EXPORTING viewname = lp_viewname devclass = gc_devclass_view.

CNV_INT_VIEW_CREATE CALL FUNCTION 'CNV_INT_VIEW_CREATE' EXPORTING viewname = lp_viewname use_row_id = lp_use_rowid TABLES viewfields = lt_dd27d "#EC * EXCEPTIONS OTHERS = 1.

EDITOR_SYNTAX_CHECK CALL FUNCTION 'EDITOR_SYNTAX_CHECK' EXPORTING i_program = lp_progname i_trdir = ld_trdir IMPORTING o_error_subrc = ld_syntax_error o_error_message = ld_error_message TABLES i_source = lp_abapsource.

CNV_00001_SPLIT_TEXT CALL FUNCTION 'CNV_00001_SPLIT_TEXT' EXPORTING iv_text = ld_error_message IMPORTING ev_msgvar1 = ld_msgvar1 ev_msgvar2 = ld_msgvar2 ev_msgvar3 = ld_msgvar3 ev_msgvar4 = ld_msgvar4.

PROFILE_LANGUAGE_GET_INFO CALL FUNCTION 'PROFILE_LANGUAGE_GET_INFO' TABLES instlang = lt_t002t "#EC * EXCEPTIONS instlang_entries_not_found = 1 syslang_entry_not_found = 2 OTHERS = 3.

RS_DELETE_PROGRAM CALL FUNCTION 'RS_DELETE_PROGRAM' EXPORTING program = lp_progname suppress_popup = 'X' suppress_checks = 'X'.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_test_modus = space wi_tadir_pgmid = 'R3TR' wi_tadir_object = lp_type wi_tadir_obj_name = lp_objname wi_tadir_devclass = ld_devclass wi_set_genflag = 'T' EXCEPTIONS OTHERS = 1.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = ld_message_id message_number = ld_message_number message_var1 = ld_message_var1 message_var2 = ld_message_var2 message_var3 = space message_var4 = space IMPORTING message_text = ld_message_text EXCEPTIONS message_not_found = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = syst-cprog i_callback_user_command = 'INT_LIST_CALLBACK' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = lp_summary.

RS_DD_FIEL_SHOW CALL FUNCTION 'RS_DD_FIEL_SHOW' EXPORTING objname = ld_objname.

EDITOR_PROGRAM CALL FUNCTION 'EDITOR_PROGRAM' EXPORTING display = t_yes program = ld_objname.

RS_DD_VIEW_EDIT CALL FUNCTION 'RS_DD_VIEW_EDIT' EXPORTING objname = ld_objname edit_mode = 'S'.

APPL_LOG_DISPLAY_INTERN CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN' EXPORTING object = 'CAGTFBS' subobject = 'CONVERSION' column_selection = ' 221111 111 ' "#EC * external_number_display_length = 48.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'CNV_STEP' langu = space TABLES dd07v_tab = lt_dd07v. "#EC *




DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'CNV_STEP' langu = space TABLES dd07v_tab = lt_dd07v. "#EC *

CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = lc_params_empty_tables packid = p_pack IMPORTING valuefrom = ld_generate_empty_tables EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.

SLIC_GET_LICENCE_NUMBER CALL FUNCTION 'SLIC_GET_LICENCE_NUMBER' IMPORTING license_number = ld_licensenr.

BP_JOB_CHECKSTATE CALL FUNCTION 'BP_JOB_CHECKSTATE' EXPORTING dialog = 'N' jobcount = ld_cnvstate-jobcount jobname = ld_cnvstate-jobname IMPORTING actual_status = ld_status EXCEPTIONS checking_of_job_has_failed = 1 correcting_job_status_failed = 2 invalid_dialog_type = 3 job_does_not_exist = 4 no_check_privilege_given = 5 ready_switch_too_dangerous = 6 OTHERS = 7.

CNV_10030_GET_INFO_GENER CALL FUNCTION 'CNV_10030_GET_INFO_GENER' EXPORTING i_packid = gp_pack i_tabname = p_tabname i_cluster = p_cluster i_tabidx = p_tabcount IMPORTING e_orgdep = ld_orgdep_new e_delimit = ld_org_delimit e_delimit_table = ld_delimit_table e_delimit_field = ld_delimit_field TABLES et_fields = lt_orgfld et_input_form = lt_org_forms EXCEPTIONS no_ptable_record = 1 no_pfield_record = 2 OTHERS = 3.

CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = ld_param-paramname packid = ld_param-packid IMPORTING paramtype = ld_param-paramtype valuefrom = ld_param-valuefrom valueto = ld_param-valueto operator = ld_param-operator origpack = ld_param-origpack packid = ld_param-packid EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.

CNV_00001_PARAMS_WRITE CALL FUNCTION 'CNV_00001_PARAMS_WRITE' EXPORTING paramname = ld_param-paramname paramtype = ld_param-paramtype valuefrom = ld_param-valuefrom valueto = ld_param-valueto operator = ld_param-operator origpack = ld_param-origpack packid = ld_param-packid EXCEPTIONS no_active_package = 1 package_does_not_exists = 2 OTHERS = 3.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

CNV_10020_GET_ITR_FIELD CALL FUNCTION 'CNV_10020_GET_ITR_FIELD' EXPORTING p_packid = p_packid p_fieldname = ld_cnvfields-fieldname IMPORTING p_itr_field = ld_cnvfields-ddicfield EXCEPTIONS proxy_undefined = 1 OTHERS = 2.



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