SAP ISU_DB_EWMINSPDETAIL_RANGE_SEL Function Module for









ISU_DB_EWMINSPDETAIL_RANGE_SEL is a standard isu db ewminspdetail range sel 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 isu db ewminspdetail range sel FM, simply by entering the name ISU_DB_EWMINSPDETAIL_RANGE_SEL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_DB_EWMINSPDETAIL_RANGE_SEL 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_DB_EWMINSPDETAIL_RANGE_SEL'"
EXPORTING
X_CAMPAIGN = "
* X_NEXTINSP_LOW = "
* X_NEXTINSP_HIGH = "
* X_MAXCOUNT = 0 "
X_READ_EQUI = "
X_READ_TI = "
X_READ_PLANNED = "
X_READ_UNPLANNED = "
X_READ_COMP = "
X_READ_NOT_COMP = "
* X_LASTINSP_LOW = "
* X_LASTINSP_HIGH = "

IMPORTING
Y_COUNT = "
Y_OVERFLOW = "

TABLES
TX_SPARTE = "
TX_REGIOGROUP = "
TX_VBSART = "
TX_EQART = "
TX_MONTH = "
TX_YEAR = "
* TX_WHERE_TAB = "
TY_EWMINSPDETAIL = "

EXCEPTIONS
NOT_FOUND = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3
.



IMPORTING Parameters details for ISU_DB_EWMINSPDETAIL_RANGE_SEL

X_CAMPAIGN -

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

X_NEXTINSP_LOW -

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

X_NEXTINSP_HIGH -

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

X_MAXCOUNT -

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

X_READ_EQUI -

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

X_READ_TI -

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

X_READ_PLANNED -

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

X_READ_UNPLANNED -

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

X_READ_COMP -

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

X_READ_NOT_COMP -

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

X_LASTINSP_LOW -

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

X_LASTINSP_HIGH -

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

EXPORTING Parameters details for ISU_DB_EWMINSPDETAIL_RANGE_SEL

Y_COUNT -

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

Y_OVERFLOW -

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

TABLES Parameters details for ISU_DB_EWMINSPDETAIL_RANGE_SEL

TX_SPARTE -

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

TX_REGIOGROUP -

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

TX_VBSART -

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

TX_EQART -

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

TX_MONTH -

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

TX_YEAR -

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

TX_WHERE_TAB -

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

TY_EWMINSPDETAIL -

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

EXCEPTIONS details

NOT_FOUND -

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

SYSTEM_ERROR -

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

NOT_QUALIFIED -

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

Copy and paste ABAP code example for ISU_DB_EWMINSPDETAIL_RANGE_SEL 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_y_count  TYPE REGEN-MAXCOUNT, "   
lv_not_found  TYPE REGEN, "   
lt_tx_sparte  TYPE STANDARD TABLE OF SPARTRANGE, "   
lv_x_campaign  TYPE EWMINSPDETAIL-CAMPAIGN, "   
lv_x_nextinsp_low  TYPE EEWM_NEXT_INSPECTION, "   
lv_x_nextinsp_high  TYPE EEWM_NEXT_INSPECTION, "   
lv_x_maxcount  TYPE REGEN-MAXCOUNT, "   0
lv_y_overflow  TYPE REGEN-OVERFLOW, "   
lv_x_read_equi  TYPE KENNZX, "   
lv_system_error  TYPE KENNZX, "   
lt_tx_regiogroup  TYPE STANDARD TABLE OF REGIO_RANGE, "   
lt_tx_vbsart  TYPE STANDARD TABLE OF VBSART_RANGE, "   
lv_x_read_ti  TYPE KENNZX, "   
lv_not_qualified  TYPE KENNZX, "   
lt_tx_eqart  TYPE STANDARD TABLE OF EQART_RANGE, "   
lv_x_read_planned  TYPE KENNZX, "   
lt_tx_month  TYPE STANDARD TABLE OF PERIOD_MONTH_RANGE, "   
lv_x_read_unplanned  TYPE KENNZX, "   
lt_tx_year  TYPE STANDARD TABLE OF PERIOD_YEAR_RANGE, "   
lv_x_read_comp  TYPE KENNZX, "   
lt_tx_where_tab  TYPE STANDARD TABLE OF RSDS_WHERE_TAB, "   
lv_x_read_not_comp  TYPE KENNZX, "   
lv_x_lastinsp_low  TYPE EEWM_LAST_INSPECTION, "   
lt_ty_ewminspdetail  TYPE STANDARD TABLE OF EWMINSPDETAIL, "   
lv_x_lastinsp_high  TYPE EEWM_LAST_INSPECTION. "   

  CALL FUNCTION 'ISU_DB_EWMINSPDETAIL_RANGE_SEL'  "
    EXPORTING
         X_CAMPAIGN = lv_x_campaign
         X_NEXTINSP_LOW = lv_x_nextinsp_low
         X_NEXTINSP_HIGH = lv_x_nextinsp_high
         X_MAXCOUNT = lv_x_maxcount
         X_READ_EQUI = lv_x_read_equi
         X_READ_TI = lv_x_read_ti
         X_READ_PLANNED = lv_x_read_planned
         X_READ_UNPLANNED = lv_x_read_unplanned
         X_READ_COMP = lv_x_read_comp
         X_READ_NOT_COMP = lv_x_read_not_comp
         X_LASTINSP_LOW = lv_x_lastinsp_low
         X_LASTINSP_HIGH = lv_x_lastinsp_high
    IMPORTING
         Y_COUNT = lv_y_count
         Y_OVERFLOW = lv_y_overflow
    TABLES
         TX_SPARTE = lt_tx_sparte
         TX_REGIOGROUP = lt_tx_regiogroup
         TX_VBSART = lt_tx_vbsart
         TX_EQART = lt_tx_eqart
         TX_MONTH = lt_tx_month
         TX_YEAR = lt_tx_year
         TX_WHERE_TAB = lt_tx_where_tab
         TY_EWMINSPDETAIL = lt_ty_ewminspdetail
    EXCEPTIONS
        NOT_FOUND = 1
        SYSTEM_ERROR = 2
        NOT_QUALIFIED = 3
. " ISU_DB_EWMINSPDETAIL_RANGE_SEL




ABAP code using 7.40 inline data declarations to call FM ISU_DB_EWMINSPDETAIL_RANGE_SEL

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 MAXCOUNT FROM REGEN INTO @DATA(ld_y_count).
 
 
 
"SELECT single CAMPAIGN FROM EWMINSPDETAIL INTO @DATA(ld_x_campaign).
 
 
 
"SELECT single MAXCOUNT FROM REGEN INTO @DATA(ld_x_maxcount).
 
"SELECT single OVERFLOW FROM REGEN INTO @DATA(ld_y_overflow).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!