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

CNV_INDX_CNVTSCH SAP ABAP INCLUDE - Generation scheme for INDX conversion programs







CNV_INDX_CNVTSCH is a standard ABAP INCLUDE 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_INDX_CNVTSCH 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_INDX_CNVTSCH. "Basic submit
SUBMIT CNV_INDX_CNVTSCH AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_INDX_CNVTSCH VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Generation scheme for INDX conversion programs


INCLUDES used within this REPORT CNV_INDX_CNVTSCH

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_STATE_INITIALIZE CALL FUNCTION 'CNV_INT_STATE_INITIALIZE' EXPORTING RUNMODE = GD_RUNMODE TABNAME = GC_TABNAME IMPORTING CLUFIELDS = GD_CNVCLUSTER.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING STATE_TEC = GD_CNVCLUSTER-STATE_TEC.

CNV_INT_STATE_TASKS_INSERT CALL FUNCTION 'CNV_INT_STATE_TASKS_INSERT' EXPORTING RECORDS_CLUSTER = GD_RECORDS_CLUSTER WITH_END_TASK = 'X' TABLES INSERT_TAB = LT_CNVSTATE EXCEPTIONS NOT_ALLOWED = 1 OTHERS = 2.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING STATE_TEC = GD_CNVCLUSTER-STATE_TEC.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING STATE = '&gc_state_updates&' RECREAD = GD_RECORDS_READ RECUPD = GD_RECORDS_CHANGED.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING STATE = '&gc_state_updates&' RECREAD = GD_RECORDS_READ RECUPD = GD_RECORDS_CHANGED STATE_TEC = GD_CNVCLUSTER-STATE_TEC.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING STATE = '&gc_state_updates&' RECREAD = GD_RECORDS_READ RECUPD = GD_RECORDS_CHANGED STATE_TEC = GD_CNVCLUSTER-STATE_TEC.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING STATE_TEC = GD_CNVCLUSTER-STATE_TEC.

&sv_t_step-convfunc& \ CALL FUNCTION '&sv_t_step-convfunc&'\ \${C$sv_t_step-convtype = 'O'$\ \ CALL METHOD &sv_t_step-convfunc&\ \$}}}}\ \{T$sv_t_stpar WHERE tabst = sv_t_step-tabst$$$\ \{C$sv_t_stpar-timestep = sv_timestep$\ \{C$sv_t_stpar-stepnum = sv_t_step-stepnum$ \{C$sv_t_stpar-paramnum = '01'$\ \{C$sv_t_step-convtype = 'F'$ USING \ \${C$sv_t_step-convtype = 'U'$ EXPORTING \ \${C$sv_t_step-convtype = 'O'$ EXPORTING \ \$ }}}\ \$ }\ \{C$sv_t_step-convtype = 'U'$\ \{T$sv_t_fupar WHERE funcname = sv_t_step-convfunc$$$\ \{C$sv_t_fupar-paramtype = 'I'$\ \{C$sv_t_fupar-pposition = sv_t_stpar-paramnum$\ \&sv_t_fupar-parameter& = \ \$}\ \$}\ \$$}\ \$}\ \{C$sv_t_stpar-paramtype = 'F'$\ \'&sv_t_stpar-paramval&'$\ \{C$sv_t_stpar-paramtype = 'T'$\ \GD_ORIGINAL-&sv_t_stpar-paramval&\ \$&sv_t_stpar-paramval&\ \}}\ \$}\ \$}\ \$$}.

>_cnvsteps-convfunc& \ CALL FUNCTION '>_cnvsteps-convfunc&'\ \${C$sv_t_step-convtype = 'O'$\ \ CALL METHOD &sv_t_step-convfunc&\ \$}}}}\ \{T$sv_t_stpar WHERE tabst = sv_t_step-tabst$$$\ \{C$sv_t_stpar-timestep = sv_timestep$\ \{C$sv_t_stpar-stepnum = sv_t_step-stepnum$ \{C$sv_t_stpar-paramnum = '01'$\ \{C$sv_t_step-convtype = 'F'$ USING \ \${C$sv_t_step-convtype = 'U'$ EXPORTING \ \${C$sv_t_step-convtype = 'O'$ EXPORTING \ \$ }}}\ \$ }\ \{C$sv_t_step-convtype = 'U'$\ \{T$sv_t_fupar WHERE funcname = sv_t_step-convfunc$$$\ \{C$sv_t_fupar-paramtype = 'I'$\ \{C$sv_t_fupar-pposition = sv_t_stpar-paramnum$\ \&sv_t_fupar-parameter& = \ \$}\ \$}\ \$$}\ \$}\ \{C$sv_t_stpar-paramtype = 'F'$\ \'&sv_t_stpar-paramval&'$\ \{C$sv_t_stpar-paramtype = 'T'$\ \GD_ORIGINAL-&sv_t_stpar-paramval&\ \$&sv_t_stpar-paramval&\ \}}\ \$}\ \$}\ \$$}.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING STATE_TEC = GD_CNVCLUSTER-STATE_TEC RECSELECT = GD_RECORDS_SELECT RECTOTAL = GD_RECORDS_TOTAL CLUID_MIN = GD_CNVCLUSTER-CLUID_MIN CLUID_MAX = GD_CNVCLUSTER-CLUID_MAX.

CNV_INT_STATE_UPDATE CALL FUNCTION 'CNV_INT_STATE_UPDATE' EXPORTING RECSELECT = GD_RECORDS_SELECT RECTOTAL = GD_RECORDS_TOTAL.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

&sv_t_indx_fld-convfunc& CALL FUNCTION '&sv_t_indx_fld-convfunc&' \${C$sv_t_indx_fld-convtype = 'O'$\ CALL METHOD &sv_t_indx_fld-convfunc& \${C$sv_t_indx_fld-convtype = 'V'$ MOVE \ \$}}}}}\ \{T$sv_t_indx_fpr WHERE tabst = sv_t_indx_fld-tabst$$\ \${C$sv_t_indx_fpr-fieldname = sv_t_indx_fld-fieldname$\ \{C$sv_t_indx_fpr-paramnum = '01'$\ \{C$sv_t_indx_fld-convtype = 'F'$ USING \ \${C$sv_t_indx_fld-convtype = 'U'$ EXPORTING \ \${C$sv_t_indx_fld-convtype = 'O'$ EXPORTING \ \${C$sv_t_indx_fld-convtype = 'V'$\ \$ }}}}\ \$}\ \{C$sv_t_indx_fld-convtype = 'U'$\ \{T$sv_t_fupar WHERE funcname = sv_t_indx_fld-convfunc$$$\ \{C$sv_t_fupar-paramtype = 'I'$\ \{C$sv_t_fupar-pposition = sv_t_indx_fpr-paramnum$\ \&sv_t_fupar-parameter& = \ \$}\ \$}\ \$$}\ \$}\ {C$sv_t_indx_fpr-paramtype = 'F'$\ \'&sv_t_indx_fpr-paramval&'\ \${C$sv_t_indx_fpr-paramtype = 'T'$\ \ &sv_t_res_comp-varname&\ \{C$sv_t_indx_fpr-paramvar = space$\ \-&sv_t_indx_fpr-paramval&\ \$\ \-&sv_t_indx_fpr-ddicparamval&\ \+&sv_t_indx_fpr-paramvar&-offset\ \(&sv_t_indx_fpr-paramvar&-length)\ \}\ \$\ \&sv_t_indx_fpr-paramval&}} \$}\ \$$}\ \{C$sv_t_indx_fld-convtype = 'F'$\ CHANGING &sv_t_res_comp-varname&\ \{C$sv_t_indx_ucomp-type <> 'F'$\ \-&sv_t_indx_fld-ddicfield&\ \{C$sv_t_indx_fld-nontrfield = 'X'\ \$+gd_itr-offset(gd_itr-length)$}\ \$} &sv_t_res_comp-varname&_chng.

&sv_t_ie_step-ierstep& \CALL FUNCTION '&sv_t_ie_step-ierstep&' \{T$sv_t_ie_stpar WHERE impexp = sv_t_ie_step-impexp$$$\ \{C$sv_t_ie_stpar-relid = sv_t_relid-relid$\ \{C$sv_t_ie_step-ierstepnum = sv_t_ie_stpar-ierstepnum$\ \{C$sv_t_ie_stpar-ierparamnum = '01'$ EXPORTING $} \{T$sv_t_fupar WHERE funcname = sv_t_ie_step-ierstep$$$\ \{C$sv_t_fupar-paramtype = 'I'$\ \{C$sv_t_fupar-pposition = sv_t_ie_stpar-ierparamnum$\ \&sv_t_fupar-parameter& = {S$IE_STPAR_VALUE}\ \$}\ \$}\ \$$}\ \$}\ \$}\ \$$} EXCEPTIONS OTHERS = 1.



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