SAP Reports / Programs | Basis Components | Basis Components | Table Maintenance Tool(BC-CUS-TOL-TME) SAP BC

MSVIMF32 SAP ABAP INCLUDE - connection to correction system and authorization check







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


Text pool values


Title: connection to correction system and authorization check


INCLUDES used within this REPORT MSVIMF32

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:

TADIR_PFLEGE * CALL FUNCTION 'TADIR_PFLEGE' "insert Devclass into TADIR for * EXPORTING "tobj * adir = tadir * masterflag = space * msgnoexi = x * IMPORTING * newadir = tadir * pdderr = dderr.

TRINT_TADIR_POPUP CALL FUNCTION 'TRINT_TADIR_POPUP' EXPORTING wi_tadir = tadir IMPORTING * WE_TADIR_OLD = WE_TADIR_NEW = tadir EXCEPTIONS DISPLAY_MODE = 1 EXIT = 2 GLOBAL_TADIR_INSERT_ERROR = 3 NO_SYSTEMNAME = 4 NO_SYSTEMTYPE = 5 NO_TADIR_TYPE = 6 RESERVED_NAME = 7 TADIR_NOT_EXIST = 8 CLOSE = 9 NO_OBJECT_AUTHORITY = 10 NO_MODIFICATION_OF_HEAD_SYST = 11 OBJ_SPECIFICATION_NOT_UNIQUE = 12 PGMID_OBJECT_NOT_ALLOWED = 13 OBJECT_RESERVED_FOR_DEVCLASS = 14 OTHERS = 15.

TRINT_CHANGE_TADIR_MASTERLANG * CALL FUNCTION 'TRINT_CHANGE_TADIR_MASTERLANG' "set sy-langu * EXPORTING "as masterlang * wi_tadir_pgmid = tadir-pgmid * wi_tadir_object = tadir-object * wi_tadir_obj_name = tadir-obj_name * wi_tadir_masterlang = sy-langu * EXCEPTIONS * masterlang_not_allowed = 1.

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' "insert into correction EXPORTING global_lock = x mode = mode korrnum = task_sub_no devclass = task_devc object = object object_class = class master_language = sy-langu IMPORTING devclass = devclass korrnum = task_sub_no * NEW_CORR_ENTRY = NEW_CORR_ENTRY EXCEPTIONS cancelled = 01 permission_failure = 02 unknown_objectclass = 03.

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'SYST' iv_cli_dep = space IMPORTING ev_order = task_no ev_task = task_sub_no EXCEPTIONS invalid_category = 01 no_correction_selected = 02.

TR_APPEND_TO_COMM CALL FUNCTION 'TR_APPEND_TO_COMM' EXPORTING pi_korrnum = e070-trkorr wi_e071 = e071 wi_suppress_key_check = ' ' TABLES wt_e071k = e071k_tab EXCEPTIONS no_systemname = 01 no_systemtype = 02 tr_check_keysyntax_error = 03 tr_check_obj_error = 04 tr_enqueue_failed = 05 tr_ill_korrnum = 06 tr_key_without_header = 07 tr_lockmod_failed = 08 tr_modif_only_in_modif_order = 09 tr_not_owner = 10 tr_no_append_of_corr_entry = 11 tr_no_append_of_c_member = 12 tr_no_shared_repairs = 13 tr_order_not_exist = 14 tr_order_released = 15 tr_order_update_error = 16 tr_repair_only_in_repair_order = 17 tr_wrong_order_type = 18.

VIEWCLUSTER_GET_OBJECTS CALL FUNCTION 'VIEWCLUSTER_GET_OBJECTS' EXPORTING viewclustername = vimdynflds-vclname TABLES viewcluster_objects = vcl_objects EXCEPTIONS viewcluster_not_found = 1 OTHERS = 2.

TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' EXPORTING iv_no_show_option = x IMPORTING we_order = task_no we_task = task_sub_no we_objects_appendable = apdl TABLES wt_ko200 = t_e071 wt_e071k = t_e071k tt_tadir = t_tadir EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' EXPORTING wi_order = task_no iv_no_show_option = x IMPORTING we_order = task_no we_task = task_sub_no TABLES wt_ko200 = t_e071 wt_e071k = t_e071k tt_tadir = t_tadir EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.

RS_ACCESS_PERMISSION CALL FUNCTION 'RS_ACCESS_PERMISSION' EXPORTING authority_check = 'X' global_lock = lock mode = mode object = progname object_class = class suppress_corr_check = ' ' master_language = sy-langu EXCEPTIONS canceled_in_corr = 01 enqueued_by_user = 02 enqueue_system_failure = 03 illegal_parameter_values = 04 locked_by_author = 05 no_modify_permission = 06 no_show_permission = 07 permission_failure = 08.

RS_CORR_CHECK CALL FUNCTION 'RS_CORR_CHECK' EXPORTING object = progname object_class = class EXCEPTIONS cancelled = 1 permission_failure = 8 unknown_objectclass = 4.

RS_TASK_OVERVIEW CALL FUNCTION 'RS_TASK_OVERVIEW' EXPORTING suppress_dialog = dialog user = sy-uname IMPORTING devclass = task_devc subtasknr = task_sub_no tasknr = task_no EXCEPTIONS suppress_message = 01.

TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXPORTING iv_username = sy-uname iv_category = 'SYST' iv_client = sy-mandt IMPORTING ev_order = task_no ev_task = task_sub_no * EV_VALIDDAYS = ev_devclass = task_devc EXCEPTIONS invalid_username = 01 invalid_category = 02 invalid_client = 03 internal_error = 04.

TR_DEVCLASS_GET CALL FUNCTION 'TR_DEVCLASS_GET' EXPORTING iv_devclass = devc iv_langu = sy-langu IMPORTING es_tdevc = stru_devc EXCEPTIONS devclass_not_found = 01.

TR_CHECK_OBJECT_LOCK CALL FUNCTION 'TR_CHECK_OBJECT_LOCK' EXPORTING * WI_OBJECT = OBJ_FUGR wi_object = object wi_objname = objname wi_pgmid = corr_pgmid IMPORTING we_lockable_object = tr_look-lockable we_locked = tr_look-locked we_lock_order = tr_look-order we_lock_order_user = tr_look-order_user we_lock_task = tr_look-task we_lock_task_user = tr_look-task_user we_object_editable = tr_look-editable we_possible_user_edit_task = tr_look-edit_task EXCEPTIONS empty_key = 01 no_systemname = 02 no_systemtype = 03 unallowed_lock_order = 04.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING iv_objectname = structure iv_objecttype = obj_type IMPORTING ev_obj_name = tobj_name.

CTO_TADIR_GET_OBJECT CALL FUNCTION 'CTO_TADIR_GET_OBJECT' EXPORTING iv_obj_name = adr_name IMPORTING ev_objectname = objh_name ev_objecttype = objh_type EXCEPTIONS OTHERS = 1.

TR_REQUEST_CHOICE CALL FUNCTION 'TR_REQUEST_CHOICE' EXPORTING * IV_SUPPRESS_DIALOG = ' ' iv_request_types = p_request_types * IV_CLI_DEP = ' ' * IV_REQUEST = ' ' it_e071 = p_e071 it_e071k = p_e071k * IV_LOCK_OBJECTS = ' ' iv_title = p_title * IV_START_COLUMN = 3 * IV_START_ROW = 7 * IV_WITH_ERROR_LOG = 'X' * IV_NO_OWNER_CHECK = ' ' * IMPORTING * ES_REQUEST = EXCEPTIONS * INVALID_REQUEST = 1 * INVALID_REQUEST_TYPE = 2 * USER_NOT_OWNER = 3 * NO_OBJECTS_APPENDED = 4 * ENQUEUE_ERROR = 5 * CANCELLED_BY_USER = 6 * RECURSIVE_CALL = 7 OTHERS = 8 .



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