RCN_SAVE_VARIANT 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 RCN_SAVE_VARIANT into the relevant SAP transactions such as SE38 or SE80
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.
Title: Report RCN_SAVE_VARIANT
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SCP_GET_CODEPAGE_KIND CALL FUNCTION 'SCP_GET_CODEPAGE_KIND' IMPORTING cpkind = gv_kind.
SCP_GET_CODEPAGE_NUMBER CALL FUNCTION 'SCP_GET_CODEPAGE_NUMBER' IMPORTING APPL_CODEPAGE = lv_appl_codepage.
RS_VARIANT_FETCH CALL FUNCTION 'RS_VARIANT_FETCH' EXPORTING function = 'CO26' rkey = ls_varkey submode = space TABLES selctab = lt_selctab p_vari = lt_varidescr EXCEPTIONS variant_name = 1 no_variants = 2 variant_inconsistent = 3 only_background = 4 OTHERS = 5.
RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING report = gt_variants-report variant = gt_variants-variant execute_direct = 'X' TABLES valutab = gt_params.
CONVERSION_EXIT_PROJN_INPUT CALL FUNCTION 'CONVERSION_EXIT_PROJN_INPUT' EXPORTING input = gt_params-low IMPORTING output = gt_params-low.
CONVERSION_EXIT_PROJN_INPUT CALL FUNCTION 'CONVERSION_EXIT_PROJN_INPUT' EXPORTING input = gt_params-high IMPORTING output = gt_params-high.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = gt_params-low IMPORTING OUTPUT = lv_char000.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = gt_params-high IMPORTING OUTPUT = lv_char000.
RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = gt_variants-report variant = gv_variant_new IMPORTING r_c = ld_rc EXCEPTIONS not_authorized = 1 no_report = 2 report_not_existent = 3 report_not_supplied = 4 OTHERS = 5.
RS_VARIANT_COPY CALL FUNCTION 'RS_VARIANT_COPY' EXPORTING report = gt_variants-report variant1 = gt_variants-variant copy_variant = gv_variant_new EXCEPTIONS not_authorized = 1 not_executed = 2 no_report = 3 report_not_existent = 4 report_not_supplied = 5 variant_exists = 6 variant_locked = 7 variant_not_existent = 8 OTHERS = 9.
RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING curr_report = gt_variants-report curr_variant = gt_variants-variant vari_desc = ls_vari_desc TABLES vari_contents = gt_params EXCEPTIONS illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_doesnt_exist = 7 variant_locked = 8 selections_no_match = 9 OTHERS = 10.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.