SAP Reports / Programs | Basis Components | ABAP Runtime Environment | Transaction Variant and Table Control Settings(BC-ABA-TV) SAP BC

MSHD0I01 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MSHD0I01

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:

RS_TRANSACTION_ADD * call function 'RS_TRANSACTION_ADD' * exporting * data_part = transaction_data * exceptions * already_exists = 1 * permission_failure = 2 * others = 3.

RS_HDSYS_CORR_INSERT * call function 'RS_HDSYS_CORR_INSERT' * exporting * tcode = global-tcode * tcvariant = global-tcvariant * i_flag_client_independent = global-flag_client_independent * corr_number = corr_number * new_number = c_true * importing * corr_number = corr_number * exceptions * canceled = 0 * others = 0.

RS_HDSYS_SET_TC_VARIANT * call function 'RS_HDSYS_SET_TC_VARIANT' * exporting * variant = global-tcvariant * flag_client_independent = global-flag_client_independent * overwrite_variant = c_true.

RS_HDSYS_SET_TC_VARIANT * call function 'RS_HDSYS_SET_TC_VARIANT' * exporting * variant = space * overwrite_variant = c_true.

RS_HDSYS_SET_SC_VARIANT * call function 'RS_HDSYS_SET_SC_VARIANT' * exporting * progname = shdsvci-progname * dynpro = shdsvci-dynpro * scvariant = shdsvci-scvariant * overwrite_scvariant = c_true.

RS_HDSYS_SET_SC_VARIANT * call function 'RS_HDSYS_SET_SC_VARIANT' * exporting * progname = shdsvci-progname * dynpro = shdsvci-dynpro * scvariant = space * overwrite_scvariant = c_true.

RS_HDSYS_CROSS_REF_SCRVARIANT * call function 'RS_HDSYS_CROSS_REF_SCRVARIANT' * exporting * scvariant = shdsvci-scvariant * all_clients = c_true * flag_with_text = c_true * flag_list_display = c_true.

DEQUEUE_ESSCVARCIU * call function 'DEQUEUE_ESSCVARCIU' * exporting * scvariant = shdsvci-scvariant.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = c_program dynumb = sy-dynnr tables dynpfields = i_dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 others = 9.

RS_HDSYS_VALUES_VARIANT call function 'RS_HDSYS_VALUES_VARIANT' exporting i_tcode = shdtv-tcode i_variant = shdtv-tcvariant all_clients = c_false i_client = space i_flag_client_independent = flag_client_independent importing e_tcode = shdtv-tcode e_variant = shdtv-tcvariant e_flag_client_independent = flag_client_independent exceptions cancelled = 01.

RS_HDSYS_VALUES_VARIANT call function 'RS_HDSYS_VALUES_VARIANT' exporting i_tcode = shdtv-tcode i_variant = shdtv-tcvariant all_clients = c_false i_client = sy-mandt i_flag_client_independent = flag_client_independent importing e_tcode = shdtv-tcode e_variant = shdtv-tcvariant e_flag_client_independent = flag_client_independent exceptions cancelled = 01.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = c_program dynumb = sy-dynnr tables dynpfields = i_dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = c_program dynumb = sy-dynnr tables dynpfields = i_dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 others = 9.

RS_HDSYS_VALUES_VARIANT call function 'RS_HDSYS_VALUES_VARIANT' exporting i_tcode = shdtv-tcode i_variant = shdtv-tcvariant i_client = target_mandt all_clients = c_false importing e_tcode = shdtv-tcode e_variant = shdtv-tcvariant e_client = target_mandt exceptions cancelled = 01.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = c_program dynumb = sy-dynnr tables dynpfields = i_dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = c_program dynumb = sy-dynnr tables dynpfields = i_dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 others = 9.

RS_HDSYS_VALUES_TCODE call function 'RS_HDSYS_VALUES_TCODE' exporting i_tcode = shdtv-tcode importing e_tcode = shdtv-tcode exceptions cancelled = 0.

RS_HDSYS_CLIENT_COPY_ASSIGNUSR call function 'RS_HDSYS_CLIENT_COPY_ASSIGNUSR' exporting suser = shdstusr-suser vgroup = shdstusr-namespace client = sy-mandt target_client = target_mandt all_clients = cb_all_clients exceptions invalid_client = 1 "cannot occur others = 2.

DYNP_VALUES_UPDATE





call function 'DYNP_VALUES_UPDATE' exporting dyname = c_program dynumb = sy-dynnr tables dynpfields = i_dynpfields exceptions others.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = c_program dynumb = sy-dynnr tables dynpfields = i_dynpfields exceptions others = 0.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'N' textline1 = 'Variant already exists!'(040) "#EC * textline2 = 'Overwrite?'(041) "#EC * titel = 'Fetch Variant'(042) "#EC * start_column = 25 start_row = 6 importing answer = answer.

AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = c_tcode_shd0 exceptions ok = 00 not_ok = 02.



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