SAP ISU_MIO_HIST_DET_METHOD Function Module for Historical Move-In and Move-Out Data for Installation for BOR









ISU_MIO_HIST_DET_METHOD is a standard isu mio hist det method SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Historical Move-In and Move-Out Data for Installation for BOR 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 isu mio hist det method FM, simply by entering the name ISU_MIO_HIST_DET_METHOD into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_MIO_HIST_DET_METHOD 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 'ISU_MIO_HIST_DET_METHOD'"Historical Move-In and Move-Out Data for Installation for BOR
EXPORTING
X_INSTLN = "Installation
X_KEYDATE = "Key date for selection according to time-related validity

IMPORTING
Y_CONTRACTBYDATE = "Contract corresponding to key date
Y_NEXTCONTRACT = "Next contract after key date
Y_LASTCONTRACT = "Last contract before key date
.



IMPORTING Parameters details for ISU_MIO_HIST_DET_METHOD

X_INSTLN - Installation

Data type: EANL-ANLAGE
Optional: No
Call by Reference: No ( called with pass by value option)

X_KEYDATE - Key date for selection according to time-related validity

Data type: EANLD-STICHTAG
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISU_MIO_HIST_DET_METHOD

Y_CONTRACTBYDATE - Contract corresponding to key date

Data type: EVER-VERTRAG
Optional: No
Call by Reference: No ( called with pass by value option)

Y_NEXTCONTRACT - Next contract after key date

Data type: EVER-VERTRAG
Optional: No
Call by Reference: No ( called with pass by value option)

Y_LASTCONTRACT - Last contract before key date

Data type: EVER-VERTRAG
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISU_MIO_HIST_DET_METHOD 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_x_instln  TYPE EANL-ANLAGE, "   
lv_y_contractbydate  TYPE EVER-VERTRAG, "   
lv_x_keydate  TYPE EANLD-STICHTAG, "   
lv_y_nextcontract  TYPE EVER-VERTRAG, "   
lv_y_lastcontract  TYPE EVER-VERTRAG. "   

  CALL FUNCTION 'ISU_MIO_HIST_DET_METHOD'  "Historical Move-In and Move-Out Data for Installation for BOR
    EXPORTING
         X_INSTLN = lv_x_instln
         X_KEYDATE = lv_x_keydate
    IMPORTING
         Y_CONTRACTBYDATE = lv_y_contractbydate
         Y_NEXTCONTRACT = lv_y_nextcontract
         Y_LASTCONTRACT = lv_y_lastcontract
. " ISU_MIO_HIST_DET_METHOD




ABAP code using 7.40 inline data declarations to call FM ISU_MIO_HIST_DET_METHOD

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 ANLAGE FROM EANL INTO @DATA(ld_x_instln).
 
"SELECT single VERTRAG FROM EVER INTO @DATA(ld_y_contractbydate).
 
"SELECT single STICHTAG FROM EANLD INTO @DATA(ld_x_keydate).
 
"SELECT single VERTRAG FROM EVER INTO @DATA(ld_y_nextcontract).
 
"SELECT single VERTRAG FROM EVER INTO @DATA(ld_y_lastcontract).
 


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!