MSHD0F01 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 MSHD0F01 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RS_HDSYS_CHANGE_TC_VARIANT call function 'RS_HDSYS_CHANGE_TC_VARIANT' exporting tcode = p_global-tcode variant = p_global-tcvariant i_flag_client_independent = flag_client_independent variant_check = c_false.
RS_CUA_GET_TEXTS call function 'RS_CUA_GET_TEXTS' exporting language = sy-langu name = p_field_values_gui-gui_prog "#EC DOM_EQUAL tables gui_texts = l_gui_texts_prog exceptions cua_not_found = 1 no_texts = 2 program_not_found = 3 others = 4.
RS_HDSYS_VALUES_VARIANT call function 'RS_HDSYS_VALUES_VARIANT' exporting i_tcode = p_global-tcode i_variant = p_global-tcvariant i_flag_client_independent = flag_client_independent selection_screen = c_true all_clients = c_false importing e_tcode = shdtv-tcode e_variant = shdtv-tcvariant e_flag_client_independent = flag_client_independent exceptions cancelled = 1.
RS_HDSYS_VALUES_VARIANT call function 'RS_HDSYS_VALUES_VARIANT' exporting i_tcode = p_global-tcode i_variant = space i_flag_client_independent = flag_client_independent show_std_variant = c_true selection_screen = c_true all_clients = c_false importing e_tcode = shdtv-tcode e_variant = shdtv-tcvariant e_flag_client_independent = flag_client_independent exceptions cancelled = 1.
POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Delete'(011) "#EC * text_question = 'Delete variant'(010) "#EC * importing answer = l_answer exceptions text_not_found = 1 others = 2.
RS_HDSYS_DELETE_VARIANT call function 'RS_HDSYS_DELETE_VARIANT' exporting tcode = p_global-tcode tcvariant = p_global-tcvariant i_flag_client_independent = p_global-flag_client_independent exceptions others = 4.
POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Delete'(011) "#EC * text_question = 'Delete variant'(010) "#EC * importing answer = l_answer exceptions text_not_found = 1 others = 2.
RS_HDSYS_DELETE_SC_VARIANT call function 'RS_HDSYS_DELETE_SC_VARIANT' exporting scvariant = p_scvariant exceptions others = 4.
POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = 'Variant changed'(020) "#EC * textline2 = 'Save previously?'(021) "#EC * titel = 'Back'(022)"#EC * importing answer = l_answer.
POPUP_TO_CONFIRM_LOSS_OF_DATA call function 'POPUP_TO_CONFIRM_LOSS_OF_DATA' exporting textline1 = 'Cancel?'(025) "#EC * textline2 = ' ' titel = 'Exit'(024)"#EC * importing answer = l_answer.
ENQUEUE_ESTCVARCIU call function 'ENQUEUE_ESTCVARCIU' exporting tcvariant = p_global-tcvariant exceptions foreign_lock = 01 system_failure = 02.
RS_CORR_CHECK call function 'RS_CORR_CHECK' exporting global_lock = 'X' mode = l_mode object = p_global-tcvariant object_class = 'STVI' exceptions cancelled = 1 permission_failure = 2 unknown_objectclass = 3 others = 4.
ENQUEUE_ESTCVARU call function 'ENQUEUE_ESTCVARU' exporting tcvariant = p_global-tcvariant exceptions foreign_lock = 01 system_failure = 02.
ENQUEUE_ESSCVARCIU call function 'ENQUEUE_ESSCVARCIU' exporting scvariant = p_scvariant exceptions foreign_lock = 01 system_failure = 02.
RS_CORR_CHECK call function 'RS_CORR_CHECK' exporting global_lock = 'X' mode = l_mode object = p_scvariant object_class = 'SCVI' * SUPPRESS_DIALOG = ' ' * IMPORTING * DEVCLASS = * ERROR_INFO = * MASTER_LANGUAGE = * KORRNUM = * TRANSPORT_KEY = * TADIRE = exceptions cancelled = 1 permission_failure = 2 unknown_objectclass = 3 others = 4.
DEQUEUE_ESTCVARU call function 'DEQUEUE_ESTCVARU' exporting tcvariant = p_global-tcvariant.
DEQUEUE_ESTCVARCIU call function 'DEQUEUE_ESTCVARCIU' exporting tcvariant = p_global-tcvariant.
DEQUEUE_ESSCVARCIU call function 'DEQUEUE_ESSCVARCIU' exporting scvariant = p_scvariant.
call function 'TR_TADIR_POPUP_ENTRY_E071' exporting wi_e071_pgmid = 'R3TR' wi_e071_object = p_object wi_e071_obj_name = l_obj_name wi_read_only = c_true exceptions others = 4.
RS_HDSYS_COPY_VARIANT call function 'RS_HDSYS_COPY_VARIANT' exporting tcode = p_global-tcode tcvariant = p_global-tcvariant s_flag_client_independent = p_global-flag_client_independent new_tcode = p_target_global-tcode new_tcvariant = p_target_global-tcvariant t_flag_client_independent = p_target_global-flag_client_independent.
RS_HDSYS_COPY_SC_VARIANT call function 'RS_HDSYS_COPY_SC_VARIANT' exporting scvariant = p_scvariant new_scvariant = p_target_scvariant exceptions others = 4.
ENQUEUE_ESTCVARU call function 'ENQUEUE_ESTCVARU' exporting mandt = p_target_mandt tcvariant = p_global-tcvariant exceptions foreign_lock = 01 system_failure = 02.
DEQUEUE_ESTCVARU call function 'DEQUEUE_ESTCVARU' exporting mandt = p_target_mandt tcvariant = p_global-tcvariant.
RS_HDSYS_CLIENT_COPY_VARIANT call function 'RS_HDSYS_CLIENT_COPY_VARIANT' exporting tcode = p_global-tcode tcvariant = p_global-tcvariant i_flag_client_independent = p_global-flag_client_independent all_clients = c_true overwrite = p_cb_overwrite importing rc = rc.
RS_HDSYS_CLIENT_COPY_VARIANT call function 'RS_HDSYS_CLIENT_COPY_VARIANT' exporting tcode = global-tcode tcvariant = global-tcvariant i_flag_client_independent = p_global-flag_client_independent target_client = target_mandt overwrite = cb_overwrite importing rc = rc.
DEQUEUE_ESTCVARU call function 'DEQUEUE_ESTCVARU' exporting mandt = p_target_mandt tcvariant = p_global-tcvariant.
ENQUEUE_ESTCVARU call function 'ENQUEUE_ESTCVARU' exporting mandt = i_t000-mandt tcvariant = p_variant exceptions foreign_lock = 01 system_failure = 02.
DEQUEUE_ESTCVARU call function 'DEQUEUE_ESTCVARU' exporting mandt = i_t000_enq-mandt tcvariant = p_variant.
DEQUEUE_ESTCVARU call function 'DEQUEUE_ESTCVARU' exporting mandt = i_t000-mandt tcvariant = p_variant.
STREE_EXTERNAL_DISPLAY call function 'STREE_EXTERNAL_DISPLAY' exporting structure_id = l_ttree_id.
RS_HDSYS_CLIENT_COPY_VARIANT call function 'RS_HDSYS_CLIENT_COPY_VARIANT' exporting tcode = p_tcode tcvariant = p_variant i_flag_client_independent = c_false t_flag_client_independent = p_flag_client_independent client = p_mandt target_client = sy-mandt all_clients = ' ' overwrite = 'X' exceptions invalid_client = 1 others = 2.
RS_HDSYS_CLIENT_COPY_VARIANT call function 'RS_HDSYS_CLIENT_COPY_VARIANT' exporting tcode = p_tcode tcvariant = p_variant i_flag_client_independent = c_false t_flag_client_independent = p_flag_client_independent client = p_mandt target_client = ' ' all_clients = ' ' overwrite = 'X' exceptions invalid_client = 1 others = 2.
POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-026 text_question = text-027 importing answer = p_answer exceptions text_not_found = 1 others = 2.
POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-026 text_question = text-028 importing answer = p_answer exceptions text_not_found = 1 others = 2.
POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Variante sichern'(001) text_question = text-002 text_button_1 = 'Ja'(003) text_button_2 = 'Nein'(004) default_button = '2' display_cancel_button = c_false importing answer = l_answer exceptions text_not_found = 0 others = 0.
POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = 'Assignment changed'(058) "#EC * textline2 = 'Save previously?'(021) "#EC * titel = 'Back'(020)"#EC * importing answer = l_answer.
POPUP_TO_CONFIRM_LOSS_OF_DATA call function 'POPUP_TO_CONFIRM_LOSS_OF_DATA' exporting textline1 = 'Cancel?'(025) "#EC * textline2 = ' ' titel = 'Exit'(024)"#EC * importing answer = l_answer.
RS_CORR_INSERT call function 'RS_CORR_INSERT' exporting object = p_global-tcvariant object_class = 'STVI' mode = l_mode global_lock = 'X' * DEVCLASS = ' ' * KORRNUM = ' ' * AUTHOR = ' ' * MASTER_LANGUAGE = ' ' * GENFLAG = ' ' * PROGRAM = ' ' * EXTEND = ' ' * IMPORTING * DEVCLASS = * KORRNUM = * NEW_CORR_ENTRY = * AUTHOR = * TRANSPORT_KEY = exceptions cancelled = 1 permission_failure = 2 unknown_objectclass = 3 others = 4.
RS_CORR_INSERT call function 'RS_CORR_INSERT' exporting object = p_scvariant object_class = 'SCVI' mode = l_mode global_lock = 'X' * DEVCLASS = ' ' * KORRNUM = ' ' * AUTHOR = ' ' * MASTER_LANGUAGE = ' ' * GENFLAG = ' ' * PROGRAM = ' ' * EXTEND = ' ' * IMPORTING * DEVCLASS = * KORRNUM = * NEW_CORR_ENTRY = * AUTHOR = * TRANSPORT_KEY = exceptions cancelled = 1 permission_failure = 2 unknown_objectclass = 3 others = 4.
RS_HDSYS_SET_SC_VARIANT call function 'RS_HDSYS_SET_SC_VARIANT' exporting progname = p_progname dynpro = p_dynpro scvariant = p_scvariant overwrite_scvariant = c_true.
RS_HDSYS_SET_SC_VARIANT call function 'RS_HDSYS_SET_SC_VARIANT' exporting progname = p_progname dynpro = p_dynpro scvariant = space overwrite_scvariant = c_true.
RS_HDSYS_GUI_STATUS call function 'RS_HDSYS_GUI_STATUS' tables t_field_values_gui = field_values_gui changing ch_pf_key = l_pf_key ch_pf_program = l_pf_program.
RS_HDSYS_GUIXT_SCRIPT call function 'RS_HDSYS_GUIXT_SCRIPT' exporting i_mode = write_mode importing e_flag_script_changed = l_flag_script_changed tables guixt_scripts_of_curr_scvars = guixt_scripts curr_scvars = screen_variants guixt_attr_of_curr_scvars = i_shdguixt changing ch_scvariant = scvariant_guixt.
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.
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_CALL_TC_VARIANT call function 'RS_HDSYS_CALL_TC_VARIANT' exporting tcode = global-tcode variant = global-tcvariant i_flag_client_independent = global-flag_client_independent call_mode = c_true reset_after_call_tc = c_false exceptions no_variant = 1 no_authority_tcode = 2 others = 3.
RS_HDSYS_CORR_INSERT_GROUPDEF call function 'RS_HDSYS_CORR_INSERT_GROUPDEF' exporting vgroup = shdstusr-namespace new_number = c_true exceptions canceled = 1 no_entries = 2 others = 3.
RS_HDSYS_CORR_INSERT_ASSIGNUSR call function 'RS_HDSYS_CORR_INSERT_ASSIGNUSR' exporting suser = shdstusr-suser vgroup = shdstusr-namespace new_number = c_true exceptions canceled = 1 no_entries = 2 others = 3.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_structure_name = 'SHDSTUSR' it_fieldcat = l_fieldcatalogue i_screen_start_column = 20 i_screen_start_line = 10 i_screen_end_column = 72 i_screen_end_line = 30 tables t_outtab = l_shdstusr.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'SHDSTUSR' changing ct_fieldcat = p_fieldcatalogue exceptions others = 1.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_structure_name = 'SHDTVCIU' it_fieldcat = l_fieldcatalogue i_screen_start_column = 20 i_screen_start_line = 10 i_screen_end_column = 72 i_screen_end_line = 30 tables t_outtab = l_shdtvciu.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'SHDTVCIU' changing ct_fieldcat = p_fieldcatalogue exceptions others = 1.
POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = text-120 titel = text-121 importing answer = l_answer.
SUSR_AUTHORITY_CHECK_S_TCODE call function 'SUSR_AUTHORITY_CHECK_S_TCODE' exporting tcode = shdtv-tcode importing rc = returncode.
AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = shdtv-tcode exceptions ok = 00 not_ok = 02.
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 MSHD0F01 or its description.