SAP Reports / Programs | Basis Components | Change & Transport System | Transport Organizer(BC-CTS-ORG) SAP BC

MTOBJF12 SAP ABAP INCLUDE - documentation and ABAP source code







MTOBJF12 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 MTOBJF12 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 MTOBJF12. "Basic submit
SUBMIT MTOBJF12 AND RETURN. "Return to original report after report execution complete
SUBMIT MTOBJF12 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 MTOBJF12

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_CORR_CHECK CALL FUNCTION 'RS_CORR_CHECK' EXPORTING OBJECT = GV_CUR_OBJ-TADIR-OBJ_NAME OBJECT_CLASS = GC_OBJECT_TOBJ IMPORTING TADIRE = LS_TADIR EXCEPTIONS CANCELLED = 1 PERMISSION_FAILURE = 2 UNKNOWN_OBJECTCLASS = 3 OTHERS = 4.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = PC_OBJ-OBJECTNAME IV_OBJECTTYPE = PC_OBJ-OBJECTTYPE IMPORTING EV_OBJ_NAME = LV_OBJ_NAME.

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING OBJECT = LV_OBJ_NAME OBJECT_CLASS = GC_OBJECT_TOBJ MODE = LV_MODE MASTER_LANGUAGE = SY-LANGU IMPORTING KORRNUM = LV_KORRNUM TRANSPORT_KEY = LS_TRKEY EXCEPTIONS CANCELLED = 1 PERMISSION_FAILURE = 2 UNKNOWN_OBJECTCLASS = 3 OTHERS = 4.

VIEW_GET_DEVCLASS_STATE CALL FUNCTION 'VIEW_GET_DEVCLASS_STATE' EXPORTING DEV_CLASS = GV_CUR_OBJ-TADIR-DEVCLASS IMPORTING TRANSPORT_POSSIBLE = PV_RESULT EXCEPTIONS OTHERS = 1.

CTO_OBJECT_RESET CALL FUNCTION 'CTO_OBJECT_RESET' EXPORTING IV_OBJECTNAME = GV_CUR_OBJ-KEY-OBJECTNAME IV_OBJECTTYPE = GV_CUR_OBJ-KEY-OBJECTTYPE.

VIEW_GET_DEVCLASS_STATE CALL FUNCTION 'VIEW_GET_DEVCLASS_STATE' EXPORTING DEV_CLASS = GV_CUR_OBJ-TADIR-DEVCLASS IMPORTING TRANSPORT_POSSIBLE = LV_TRPOSS EXCEPTIONS OTHERS = 1.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING WI_DELETE_TADIR_ENTRY = 'X' WI_TEST_MODUS = SPACE WI_TADIR_PGMID = GV_CUR_OBJ-TADIR-PGMID WI_TADIR_OBJECT = GV_CUR_OBJ-TADIR-OBJECT WI_TADIR_OBJ_NAME = GV_CUR_OBJ-TADIR-OBJ_NAME EXCEPTIONS OTHERS = 1. "#EC *

ENQUEUE_E_OBJH CALL FUNCTION 'ENQUEUE_E_OBJH' EXPORTING OBJECTNAME = GV_CUR_OBJ-KEY-OBJECTNAME OBJECTTYPE = GV_CUR_OBJ-KEY-OBJECTTYPE X_OBJECTNAME = ' ' X_OBJECTTYPE = ' ' _SCOPE = '2' _WAIT = ' ' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = GV_CUR_OBJ-KEY-OBJECTNAME IV_OBJECTTYPE = GV_CUR_OBJ-KEY-OBJECTTYPE IMPORTING EV_OBJ_NAME = GV_CUR_OBJ-TADIR-OBJ_NAME.

DEQUEUE_E_OBJH CALL FUNCTION 'DEQUEUE_E_OBJH' EXPORTING OBJECTNAME = GV_CUR_OBJ-KEY-OBJECTNAME OBJECTTYPE = GV_CUR_OBJ-KEY-OBJECTTYPE X_OBJECTNAME = ' ' X_OBJECTTYPE = ' ' _SCOPE = '3'.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = GV_CUR_OBJ-KEY-OBJECTNAME IV_OBJECTTYPE = GV_CUR_OBJ-KEY-OBJECTTYPE IMPORTING EV_PGMID = GV_CUR_OBJ-TADIR-PGMID EV_OBJECT = GV_CUR_OBJ-TADIR-OBJECT EV_OBJ_NAME = GV_CUR_OBJ-TADIR-OBJ_NAME.

TR_TADIR_POPUP_ENTRY_E071 CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' EXPORTING WI_E071_PGMID = GV_CUR_OBJ-TADIR-PGMID WI_E071_OBJECT = GV_CUR_OBJ-TADIR-OBJECT WI_E071_OBJ_NAME = LV_OBJ_NAME WI_READ_ONLY = GC_YES IV_SUPPRESS_MOD_SHOW = GC_YES IMPORTING WE_TADIR = GV_CUR_OBJ-TADIR EXCEPTIONS DISPLAY_MODE = 1 EXIT = 2 TADIR_NOT_EXIST = 3.



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