SAP Reports / Programs

CNV_10996_I_CREATE_PROGRAMS SAP ABAP Report - Generation of programs for archive conversion







CNV_10996_I_CREATE_PROGRAMS 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_10996_I_CREATE_PROGRAMS 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

CNV_10996_GENERI - Create archive conversion programs
CNV_10996_GENER - Expert: Generate archive conv.progr.


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_10996_I_CREATE_PROGRAMS. "Basic submit
SUBMIT CNV_10996_I_CREATE_PROGRAMS AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_10996_I_CREATE_PROGRAMS 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: GS_OBJS = Archiving object
Selection Text: GS_DOCS = Archive run
Selection Text: GP_UNCND = Create even with syntax error
Selection Text: GP_STATE = Overwrite processed programs
Selection Text: GP_SLETT = Distinguish. letter prog name
Selection Text: GP_PACK = Package number
Selection Text: GP_ORGLC = Org. determination logic
Selection Text: GP_DEL = Delete old programs
Selection Text: GP_COMP = Generate programs now
Title: Generation of programs for archive conversion
Text Symbol: TBN = Necessary tables (not structures)
Text Symbol: STH = Header structure
Text Symbol: RTS = Necessary tables
Text Symbol: OUT = Additional information
Text Symbol: INC = Necessary includes
Text Symbol: HTB = Header table:
Text Symbol: HST = Headr struct:
Text Symbol: DTP = Necessary org. determination at item level
Text Symbol: DTH = Necessary org. determination at header level
Text Symbol: DBG = Output
Text Symbol: DBA = Output active
Text Symbol: CPR = Compressed representation
Text Symbol: ARC = Arch. class:
Text Symbol: ALF = Show also reading errors / tables without CNVFIELDS entries
Text Symbol: 100 = No delimitation by ?? is defined for object/run
Text Symbol: 020 = Delete old programs?
Text Symbol: 012 = anyway?
Text Symbol: 011 = Continue generation
Text Symbol: 010 = Continue generation?
Text Symbol: 003 = Program handling
Text Symbol: 002 = Attributes of the programs for generation
Text Symbol: 001 = Choice of programs for generation


INCLUDES used within this REPORT CNV_10996_I_CREATE_PROGRAMS

INCLUDE CNV_10996_D.
INCLUDE CNV_10996_GENER_TOP.
INCLUDE CNV_10996_GENER_INIT.


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:

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

CNV_10020_GET_DT_FIELDS CALL FUNCTION 'CNV_10020_GET_DT_FIELDS' "#EC * EXPORTING packid = gt_arctables_db-packid tabname = gt_arctables_db-tabname TABLES et_dtfld = lt_dtfld EXCEPTIONS no_packid_src = 1 OTHERS = 2.

CNV_10030_GET_TDTOBJ CALL FUNCTION 'CNV_10030_GET_TDTOBJ' "#EC * EXPORTING i_cnvfields = gt_cnvfields TABLES et_tdtobj = lt_tdtobj EXCEPTIONS no_tdtobj_entries = 1 OTHERS = 2.

CNV_10020_GET_FVALUE_FOR_CODE CALL FUNCTION 'CNV_10020_GET_FVALUE_FOR_CODE'"#EC * EXPORTING i_packid = ld_dtfld-packid i_fvobj = ld_dtfld-dt_obj_s IMPORTING e_value = ld_dtfld-dt_obj_s e_type = ld_type EXCEPTIONS fvobj_definition_error = 1 OTHERS = 2.

CNV_10030_GET_INFO_GENER CALL FUNCTION 'CNV_10030_GET_INFO_GENER' "#EC * EXPORTING i_packid = gp_pack i_tabname = wa_arctables-tabname i_original = 'GD_ORIG*' i_tab_replace = wa_arctables-structure IMPORTING e_orgdep = gd_table_orgdep TABLES et_fields = gt_orgfld et_input_form = gt_input et_itr_fields = gt_itr_fields et_itr_input_form = gt_itr_input EXCEPTIONS no_ptable_record = 1 no_pfield_record = 2 proxy_required = 3 OTHERS = 4.

CNV_10020_GET_DT_FIELDS CALL FUNCTION 'CNV_10020_GET_DT_FIELDS' "#EC * EXPORTING packid = gt_arcclass_db-packid tabname = gt_arcclass_db-tabname TABLES et_dtfld = lt_dtfld EXCEPTIONS no_packid_src = 1 OTHERS = 2.

CNV_10030_GET_TDTOBJ CALL FUNCTION 'CNV_10030_GET_TDTOBJ' "#EC * EXPORTING i_cnvfields = gt_cnvfields TABLES et_tdtobj = lt_tdtobj EXCEPTIONS no_tdtobj_entries = 1 OTHERS = 2.

CNV_10020_GET_FVALUE_FOR_CODE CALL FUNCTION 'CNV_10020_GET_FVALUE_FOR_CODE'"#EC * EXPORTING i_packid = ld_dtfld-packid i_fvobj = ld_dtfld-dt_obj_s IMPORTING e_value = ld_dtfld-dt_obj_s e_type = ld_type EXCEPTIONS fvobj_definition_error = 1 OTHERS = 2.

CNV_10030_GET_INFO_GENER CALL FUNCTION 'CNV_10030_GET_INFO_GENER' "#EC * EXPORTING i_packid = gp_pack i_tabname = wa_arcclass-tabname i_original = 'GD_ORIG*' i_tabidx = wa_arcclass-class_num i_tab_replace = wa_arcclass-structure IMPORTING e_orgdep = gd_table_orgdep TABLES et_fields = gt_orgfld et_input_form = gt_input et_itr_fields = gt_itr_fields et_itr_input_form = gt_itr_input EXCEPTIONS no_ptable_record = 1 no_pfield_record = 2 proxy_required = 3 OTHERS = 4.

CNV_INT_SCHEME_INSTANTIATE CALL FUNCTION 'CNV_INT_SCHEME_INSTANTIATE' EXPORTING calling_program = syst-cprog scheme_program = 'CNV_10996_SCH_ARCH' 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.

CNV_INT_SCHEME_INSTANTIATE CALL FUNCTION 'CNV_INT_SCHEME_INSTANTIATE' EXPORTING calling_program = syst-cprog scheme_program = 'CNV_10996_SCH_AR47' 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 = ld_s.

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

CNV_10020_GET_ITR_FIELD CALL FUNCTION 'CNV_10020_GET_ITR_FIELD' EXPORTING p_packid = p_packid p_fieldname = ld_cnvfipars-paramval IMPORTING p_itr_field = ld_cnvfipars-ddicparamval 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_10996_I_CREATE_PROGRAMS or its description.