SAP Reports / Programs | Logistics Execution | Transportation(LE-TRA) SAP LE

CVTRA_SELVAR SAP ABAP Report - Conversion of delivery selection variants







CVTRA_SELVAR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Conversion of Variants for Selecting Deliveries when Creating Shipments Selection variants are used for selecting deliveries when you create shipments...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter CVTRA_SELVAR 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 CVTRA_SELVAR. "Basic submit
SUBMIT CVTRA_SELVAR AND RETURN. "Return to original report after report execution complete
SUBMIT CVTRA_SELVAR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Conversion of delivery selection variants


INCLUDES used within this REPORT CVTRA_SELVAR

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:

SUBST_GET_SOURCERELEASE * CALL FUNCTION 'SUBST_GET_SOURCERELEASE' * IMPORTING * ev_sourcerelease = l_old_release * EXCEPTIONS * no_entry_found = 1 * OTHERS = 2.

SUBST_GET_DESTRELEASE * CALL FUNCTION 'SUBST_GET_DESTRELEASE' * IMPORTING * ev_destrelease = l_dest_release * EXCEPTIONS * no_entry_found = 1 * OTHERS = 2.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' TABLES xmsg = l_protocol EXCEPTIONS OTHERS = 5.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.

RS_VARIANT_INFO CALL FUNCTION 'RS_VARIANT_INFO' TABLES prog_range = l_prog_range var_range = l_var_range text_range = l_text_range created_by = l_created_by changed_by = l_changed_by creadate = l_creadate changedate = l_changedate variant_info = l_variant_info.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = 'SAPLV56L' variant = i_variant IMPORTING r_c = c_rcode.

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = 'SAPLV56L' curr_variant = i_variant vari_desc = l_var_descr TABLES vari_contents = i_seltab vari_text = l_var_txt vscreens = l_vscreens EXCEPTIONS illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_exists = 7 variant_locked = 8 OTHERS = 9.

RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING curr_report = 'SAPLV56L' curr_variant = i_variant vari_desc = l_var_descr * ONLY_CONTENTS = TABLES vari_contents = i_seltab * VARI_TEXT = VARI_SEL_DESC = l_rsvdesc 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 .

RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING report = 'RV56LFSL' variant = i_variant TABLES valutab = ltab_sel_opt objects = c_objects. "n_697320



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