SAP IS_OIL_SCREEN_TEXT Function Module for dynamic texts/fields in IS-Oil screen
IS_OIL_SCREEN_TEXT is a standard is oil screen 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 dynamic texts/fields in IS-Oil screen 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 is oil screen text FM, simply by entering the name IS_OIL_SCREEN_TEXT into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIB3
Program Name: SAPLOIB3
Main Program: SAPLOIB3
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IS_OIL_SCREEN_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 'IS_OIL_SCREEN_TEXT'"dynamic texts/fields in IS-Oil screen.
EXPORTING
OITAXGRP = "
UMRSL = "
UOMGR = "
COEFF_FLT = "
FDICH_FLT = "
CHANGING
TEXT1 = "
DNTYP = "
PDTYP = "
DESCR = "
FDICH = "
COEFF = "
DESCR_OIB06 = "
FDICHT = "
IMPORTING Parameters details for IS_OIL_SCREEN_TEXT
OITAXGRP -
Data type: MARC-OITAXGRPOptional: No
Call by Reference: No ( called with pass by value option)
UMRSL -
Data type: MARC-UMRSLOptional: No
Call by Reference: No ( called with pass by value option)
UOMGR -
Data type: MARC-UOMGROptional: No
Call by Reference: No ( called with pass by value option)
COEFF_FLT -
Data type: MARC-COEFFOptional: No
Call by Reference: No ( called with pass by value option)
FDICH_FLT -
Data type: MARC-FDICHOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for IS_OIL_SCREEN_TEXT
TEXT1 -
Data type: V_OIH02-TEXT1Optional: No
Call by Reference: Yes
DNTYP -
Data type: V_OIB01-DNTYPOptional: No
Call by Reference: Yes
PDTYP -
Data type: V_OIB01-PDTYPOptional: No
Call by Reference: Yes
DESCR -
Data type: V_OIB01-DESCROptional: No
Call by Reference: Yes
FDICH -
Data type: OIB_A08-FDICHOptional: No
Call by Reference: Yes
COEFF -
Data type: OIB_A08-COEFFOptional: No
Call by Reference: Yes
DESCR_OIB06 -
Data type: V_OIB06-DESCROptional: No
Call by Reference: Yes
FDICHT -
Data type: OIB_A08-FDICHTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for IS_OIL_SCREEN_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_text1 | TYPE V_OIH02-TEXT1, " | |||
| lv_oitaxgrp | TYPE MARC-OITAXGRP, " | |||
| lv_dntyp | TYPE V_OIB01-DNTYP, " | |||
| lv_umrsl | TYPE MARC-UMRSL, " | |||
| lv_pdtyp | TYPE V_OIB01-PDTYP, " | |||
| lv_uomgr | TYPE MARC-UOMGR, " | |||
| lv_descr | TYPE V_OIB01-DESCR, " | |||
| lv_coeff_flt | TYPE MARC-COEFF, " | |||
| lv_fdich | TYPE OIB_A08-FDICH, " | |||
| lv_fdich_flt | TYPE MARC-FDICH, " | |||
| lv_coeff | TYPE OIB_A08-COEFF, " | |||
| lv_descr_oib06 | TYPE V_OIB06-DESCR, " | |||
| lv_fdicht | TYPE OIB_A08-FDICHT. " |
|   CALL FUNCTION 'IS_OIL_SCREEN_TEXT' "dynamic texts/fields in IS-Oil screen |
| EXPORTING | ||
| OITAXGRP | = lv_oitaxgrp | |
| UMRSL | = lv_umrsl | |
| UOMGR | = lv_uomgr | |
| COEFF_FLT | = lv_coeff_flt | |
| FDICH_FLT | = lv_fdich_flt | |
| CHANGING | ||
| TEXT1 | = lv_text1 | |
| DNTYP | = lv_dntyp | |
| PDTYP | = lv_pdtyp | |
| DESCR | = lv_descr | |
| FDICH | = lv_fdich | |
| COEFF | = lv_coeff | |
| DESCR_OIB06 | = lv_descr_oib06 | |
| FDICHT | = lv_fdicht | |
| . " IS_OIL_SCREEN_TEXT | ||
ABAP code using 7.40 inline data declarations to call FM IS_OIL_SCREEN_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 TEXT1 FROM V_OIH02 INTO @DATA(ld_text1). | ||||
| "SELECT single OITAXGRP FROM MARC INTO @DATA(ld_oitaxgrp). | ||||
| "SELECT single DNTYP FROM V_OIB01 INTO @DATA(ld_dntyp). | ||||
| "SELECT single UMRSL FROM MARC INTO @DATA(ld_umrsl). | ||||
| "SELECT single PDTYP FROM V_OIB01 INTO @DATA(ld_pdtyp). | ||||
| "SELECT single UOMGR FROM MARC INTO @DATA(ld_uomgr). | ||||
| "SELECT single DESCR FROM V_OIB01 INTO @DATA(ld_descr). | ||||
| "SELECT single COEFF FROM MARC INTO @DATA(ld_coeff_flt). | ||||
| "SELECT single FDICH FROM OIB_A08 INTO @DATA(ld_fdich). | ||||
| "SELECT single FDICH FROM MARC INTO @DATA(ld_fdich_flt). | ||||
| "SELECT single COEFF FROM OIB_A08 INTO @DATA(ld_coeff). | ||||
| "SELECT single DESCR FROM V_OIB06 INTO @DATA(ld_descr_oib06). | ||||
| "SELECT single FDICHT FROM OIB_A08 INTO @DATA(ld_fdicht). | ||||
Search for further information about these or an SAP related objects