SAP OIF_POPUP_WITH_CLOSED_ROLES Function Module for Popup to display prartner roles which will be closed (IS-Oil MRN)
OIF_POPUP_WITH_CLOSED_ROLES is a standard oif popup with closed roles SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Popup to display prartner roles which will be closed (IS-Oil MRN) 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 oif popup with closed roles FM, simply by entering the name OIF_POPUP_WITH_CLOSED_ROLES into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIFA
Program Name: SAPLOIFA
Main Program: SAPLOIFA
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
![](https://www.se80.co.uk/training-education/wp-content/uploads/2019/07/normal-function-module.png)
Function OIF_POPUP_WITH_CLOSED_ROLES 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 'OIF_POPUP_WITH_CLOSED_ROLES'"Popup to display prartner roles which will be closed (IS-Oil MRN).
EXPORTING
I_ENDPOS_COL = "Ending position of popup
I_ENDPOS_ROW = "Ending position of popup
I_STARTPOS_COL = "Starting position of popup
I_STARTPOS_ROW = "Starting position of popup
I_END_DATE = "End Date of roles
I_END_TIME = "End Time of roles
IMPORTING
E_TABIX = "Number of table entry selected
TABLES
PERIOD_SETS_TAB = "Table with possible values
EXCEPTIONS
BREAK_OFF = 1
IMPORTING Parameters details for OIF_POPUP_WITH_CLOSED_ROLES
I_ENDPOS_COL - Ending position of popup
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_ENDPOS_ROW - Ending position of popup
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_STARTPOS_COL - Starting position of popup
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_STARTPOS_ROW - Starting position of popup
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_END_DATE - End Date of roles
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_END_TIME - End Time of roles
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for OIF_POPUP_WITH_CLOSED_ROLES
E_TABIX - Number of table entry selected
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for OIF_POPUP_WITH_CLOSED_ROLES
PERIOD_SETS_TAB - Table with possible values
Data type: ROIFAVPOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BREAK_OFF -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for OIF_POPUP_WITH_CLOSED_ROLES 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_e_tabix | TYPE SY-TABIX, " | |||
lv_break_off | TYPE SY, " | |||
lv_i_endpos_col | TYPE SY, " | |||
lt_period_sets_tab | TYPE STANDARD TABLE OF ROIFAVP, " | |||
lv_i_endpos_row | TYPE ROIFAVP, " | |||
lv_i_startpos_col | TYPE ROIFAVP, " | |||
lv_i_startpos_row | TYPE ROIFAVP, " | |||
lv_i_end_date | TYPE ROIFAVP, " | |||
lv_i_end_time | TYPE ROIFAVP. " |
  CALL FUNCTION 'OIF_POPUP_WITH_CLOSED_ROLES' "Popup to display prartner roles which will be closed (IS-Oil MRN) |
EXPORTING | ||
I_ENDPOS_COL | = lv_i_endpos_col | |
I_ENDPOS_ROW | = lv_i_endpos_row | |
I_STARTPOS_COL | = lv_i_startpos_col | |
I_STARTPOS_ROW | = lv_i_startpos_row | |
I_END_DATE | = lv_i_end_date | |
I_END_TIME | = lv_i_end_time | |
IMPORTING | ||
E_TABIX | = lv_e_tabix | |
TABLES | ||
PERIOD_SETS_TAB | = lt_period_sets_tab | |
EXCEPTIONS | ||
BREAK_OFF = 1 | ||
. " OIF_POPUP_WITH_CLOSED_ROLES |
ABAP code using 7.40 inline data declarations to call FM OIF_POPUP_WITH_CLOSED_ROLES
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 TABIX FROM SY INTO @DATA(ld_e_tabix). | ||||
Search for further information about these or an SAP related objects