SAP GET_IT_MTBE_TEXT Function Module for Read ORF3 Text for consistent use









GET_IT_MTBE_TEXT is a standard get it mtbe text SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read ORF3 Text for consistent use processing and below is the pattern details for this FM, 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 get it mtbe text FM, simply by entering the name GET_IT_MTBE_TEXT into the relevant SAP transaction such as SE37 or SE38.

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



Function GET_IT_MTBE_TEXT 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 'GET_IT_MTBE_TEXT'"Read ORF3 Text for consistent use
IMPORTING
X007 = "MTBE_SOURCE
X008 = "MTBE_SOURCE
X009 = "MTBE_TIME
X010 = "MTBE_TIME
X011 = "MTBE_TIME
X012 = "MTBE_EVENT
X013 = "MTBE_EVENT
X014 = "MTBE_EVENT
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLORF3_003 User Exit for calc. of ext. ORF Model
EXIT_SAPLORF3_004 Assign IP to Material by external definition
EXIT_SAPLORF3_005 Further Extractors (especially TAT / EC)

EXPORTING Parameters details for GET_IT_MTBE_TEXT

X007 - MTBE_SOURCE

Data type: CHOOSE_MTBE-SOURCE
Optional: No
Call by Reference: Yes

X008 - MTBE_SOURCE

Data type: CHOOSE_MTBE-SOURCE
Optional: No
Call by Reference: Yes

X009 - MTBE_TIME

Data type: CHOOSE_MTBE-TIME
Optional: No
Call by Reference: Yes

X010 - MTBE_TIME

Data type: CHOOSE_MTBE-TIME
Optional: No
Call by Reference: Yes

X011 - MTBE_TIME

Data type: CHOOSE_MTBE-TIME
Optional: No
Call by Reference: Yes

X012 - MTBE_EVENT

Data type: CHOOSE_MTBE-EVENT
Optional: No
Call by Reference: Yes

X013 - MTBE_EVENT

Data type: CHOOSE_MTBE-EVENT
Optional: No
Call by Reference: Yes

X014 - MTBE_EVENT

Data type: CHOOSE_MTBE-EVENT
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for GET_IT_MTBE_TEXT 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_x007  TYPE CHOOSE_MTBE-SOURCE, "   
lv_x008  TYPE CHOOSE_MTBE-SOURCE, "   
lv_x009  TYPE CHOOSE_MTBE-TIME, "   
lv_x010  TYPE CHOOSE_MTBE-TIME, "   
lv_x011  TYPE CHOOSE_MTBE-TIME, "   
lv_x012  TYPE CHOOSE_MTBE-EVENT, "   
lv_x013  TYPE CHOOSE_MTBE-EVENT, "   
lv_x014  TYPE CHOOSE_MTBE-EVENT. "   

  CALL FUNCTION 'GET_IT_MTBE_TEXT'  "Read ORF3 Text for consistent use
    IMPORTING
         X007 = lv_x007
         X008 = lv_x008
         X009 = lv_x009
         X010 = lv_x010
         X011 = lv_x011
         X012 = lv_x012
         X013 = lv_x013
         X014 = lv_x014
. " GET_IT_MTBE_TEXT




ABAP code using 7.40 inline data declarations to call FM GET_IT_MTBE_TEXT

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.

"SELECT single SOURCE FROM CHOOSE_MTBE INTO @DATA(ld_x007).
 
"SELECT single SOURCE FROM CHOOSE_MTBE INTO @DATA(ld_x008).
 
"SELECT single TIME FROM CHOOSE_MTBE INTO @DATA(ld_x009).
 
"SELECT single TIME FROM CHOOSE_MTBE INTO @DATA(ld_x010).
 
"SELECT single TIME FROM CHOOSE_MTBE INTO @DATA(ld_x011).
 
"SELECT single EVENT FROM CHOOSE_MTBE INTO @DATA(ld_x012).
 
"SELECT single EVENT FROM CHOOSE_MTBE INTO @DATA(ld_x013).
 
"SELECT single EVENT FROM CHOOSE_MTBE INTO @DATA(ld_x014).
 


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!