SAP OM_INIT_FRAMEWORK_TABLES Function Module for









OM_INIT_FRAMEWORK_TABLES is a standard om init framework tables SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for om init framework tables FM, simply by entering the name OM_INIT_FRAMEWORK_TABLES into the relevant SAP transaction such as SE37 or SE38.

Function Group: OM_NAVIGATIONFRAMEWORK
Program Name: SAPLOM_NAVIGATIONFRAMEWORK
Main Program:
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function OM_INIT_FRAMEWORK_TABLES pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'OM_INIT_FRAMEWORK_TABLES'"
EXPORTING
SCENARIO = "

IMPORTING
OBJECTMANAGER = "
AUDITLIST = "
INITIAL_LOCATOR = "
SPAGPAPARAMETER = "Set/Get parameter ID
STATUS_INT = "
INITIAL_EVENT_CALLBACKS = "

TABLES
SEARCH_RESULT = "
OBJECTMANAGER_EVENTS = "
* ICON_LEGEND = "
SEARCH_TOOL = "
SEARCH_TOOL_INT = "
CLASS_DEFINITION = "
CLASS_SERVICE = "
EVENT_REGISTRY = "
OVERVIEW_INTERFACE = "
DETAIL_INTERFACE = "
LOCATOR_INTERFACE = "
.



IMPORTING Parameters details for OM_INIT_FRAMEWORK_TABLES

SCENARIO -

Data type: HROMSCEN
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for OM_INIT_FRAMEWORK_TABLES

OBJECTMANAGER -

Data type: OMCLASSKEY
Optional: No
Call by Reference: No ( called with pass by value option)

AUDITLIST -

Data type: OMCLASSKEY
Optional: No
Call by Reference: No ( called with pass by value option)

INITIAL_LOCATOR -

Data type: OMCLASSKEY
Optional: No
Call by Reference: No ( called with pass by value option)

SPAGPAPARAMETER - Set/Get parameter ID

Data type: OMSPAGPA
Optional: No
Call by Reference: No ( called with pass by value option)

STATUS_INT -

Data type: OMSTATINT
Optional: No
Call by Reference: No ( called with pass by value option)

INITIAL_EVENT_CALLBACKS -

Data type: OMINITEVCB
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for OM_INIT_FRAMEWORK_TABLES

SEARCH_RESULT -

Data type: OMSEARCHRE
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECTMANAGER_EVENTS -

Data type: OMOMAEVENT
Optional: No
Call by Reference: No ( called with pass by value option)

ICON_LEGEND -

Data type: OMTICONLEG
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEARCH_TOOL -

Data type: OMSEARCHTO
Optional: No
Call by Reference: No ( called with pass by value option)

SEARCH_TOOL_INT -

Data type: OMSEARCHTI
Optional: No
Call by Reference: No ( called with pass by value option)

CLASS_DEFINITION -

Data type: OMCLASSDEF
Optional: No
Call by Reference: No ( called with pass by value option)

CLASS_SERVICE -

Data type: OMCLASSSER
Optional: No
Call by Reference: No ( called with pass by value option)

EVENT_REGISTRY -

Data type: OMEVENTREG
Optional: No
Call by Reference: No ( called with pass by value option)

OVERVIEW_INTERFACE -

Data type: OMOVERINT
Optional: No
Call by Reference: No ( called with pass by value option)

DETAIL_INTERFACE -

Data type: OMDETINT
Optional: No
Call by Reference: No ( called with pass by value option)

LOCATOR_INTERFACE -

Data type: OMLOCINT
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for OM_INIT_FRAMEWORK_TABLES Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_scenario  TYPE HROMSCEN, "   
lv_objectmanager  TYPE OMCLASSKEY, "   
lt_search_result  TYPE STANDARD TABLE OF OMSEARCHRE, "   
lt_objectmanager_events  TYPE STANDARD TABLE OF OMOMAEVENT, "   
lt_icon_legend  TYPE STANDARD TABLE OF OMTICONLEG, "   
lv_auditlist  TYPE OMCLASSKEY, "   
lt_search_tool  TYPE STANDARD TABLE OF OMSEARCHTO, "   
lv_initial_locator  TYPE OMCLASSKEY, "   
lt_search_tool_int  TYPE STANDARD TABLE OF OMSEARCHTI, "   
lv_spagpaparameter  TYPE OMSPAGPA, "   
lt_class_definition  TYPE STANDARD TABLE OF OMCLASSDEF, "   
lv_status_int  TYPE OMSTATINT, "   
lt_class_service  TYPE STANDARD TABLE OF OMCLASSSER, "   
lt_event_registry  TYPE STANDARD TABLE OF OMEVENTREG, "   
lv_initial_event_callbacks  TYPE OMINITEVCB, "   
lt_overview_interface  TYPE STANDARD TABLE OF OMOVERINT, "   
lt_detail_interface  TYPE STANDARD TABLE OF OMDETINT, "   
lt_locator_interface  TYPE STANDARD TABLE OF OMLOCINT. "   

  CALL FUNCTION 'OM_INIT_FRAMEWORK_TABLES'  "
    EXPORTING
         SCENARIO = lv_scenario
    IMPORTING
         OBJECTMANAGER = lv_objectmanager
         AUDITLIST = lv_auditlist
         INITIAL_LOCATOR = lv_initial_locator
         SPAGPAPARAMETER = lv_spagpaparameter
         STATUS_INT = lv_status_int
         INITIAL_EVENT_CALLBACKS = lv_initial_event_callbacks
    TABLES
         SEARCH_RESULT = lt_search_result
         OBJECTMANAGER_EVENTS = lt_objectmanager_events
         ICON_LEGEND = lt_icon_legend
         SEARCH_TOOL = lt_search_tool
         SEARCH_TOOL_INT = lt_search_tool_int
         CLASS_DEFINITION = lt_class_definition
         CLASS_SERVICE = lt_class_service
         EVENT_REGISTRY = lt_event_registry
         OVERVIEW_INTERFACE = lt_overview_interface
         DETAIL_INTERFACE = lt_detail_interface
         LOCATOR_INTERFACE = lt_locator_interface
. " OM_INIT_FRAMEWORK_TABLES




ABAP code using 7.40 inline data declarations to call FM OM_INIT_FRAMEWORK_TABLES

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!