SAP ISU_DB_ORDERS_SELECT Function Module for INTERNAL: Read Header and Item Data for Waste Disposal Order









ISU_DB_ORDERS_SELECT is a standard isu db orders select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Read Header and Item Data for Waste Disposal Order 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 db orders select FM, simply by entering the name ISU_DB_ORDERS_SELECT into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_DB_ORDERS_SELECT 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_ORDERS_SELECT'"INTERNAL: Read Header and Item Data for Waste Disposal Order
EXPORTING
* X_DATE = "
* X_READ_SDSHARE = 'X' "Indicator
* X_ROUTE = "Route Number
* X_SORT = "Sorting ('K' = Key, ' ' = No Sorting)
* X_ORDERNR = "Internal ID of Waste Disposal Order
* X_DATETO = "Date and Time, Current (Application Server) Date
* X_NO_MESSAGE = "Indicator
* X_READ_WEIGH = 'X' "Indicator
* X_READ_RESSOURCE = 'X' "Indicator
* X_READ_BULKY = 'X' "Indicator

IMPORTING
Y_ORDERS = "

EXCEPTIONS
NOT_FOUND = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3
.



IMPORTING Parameters details for ISU_DB_ORDERS_SELECT

X_DATE -

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

X_READ_SDSHARE - Indicator

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

X_ROUTE - Route Number

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

X_SORT - Sorting ('K' = Key, SPACE = No Sorting)

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

X_ORDERNR - Internal ID of Waste Disposal Order

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

X_DATETO - Date and Time, Current (Application Server) Date

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

X_NO_MESSAGE - Indicator

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

X_READ_WEIGH - Indicator

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

X_READ_RESSOURCE - Indicator

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

X_READ_BULKY - Indicator

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

EXPORTING Parameters details for ISU_DB_ORDERS_SELECT

Y_ORDERS -

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

EXCEPTIONS details

NOT_FOUND - No Object Found

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

SYSTEM_ERROR - Other Error

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

NOT_QUALIFIED - Input Parameters Are 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_ORDERS_SELECT 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_date  TYPE EWA_ORDER_HEAD-ORDER_DATE, "   
lv_y_orders  TYPE ISUWA_T_EORDER, "   
lv_not_found  TYPE ISUWA_T_EORDER, "   
lv_x_read_sdshare  TYPE KENNZX, "   'X'
lv_x_route  TYPE EWA_ORDER_HEAD-ROUTE, "   
lv_system_error  TYPE EWA_ORDER_HEAD, "   
lv_x_sort  TYPE REGEN-KZ_SORT, "   
lv_not_qualified  TYPE REGEN, "   
lv_x_ordernr  TYPE EWA_ORDER_HEAD-ORDERNR, "   
lv_x_dateto  TYPE SY-DATUM, "   
lv_x_no_message  TYPE REGEN-KENNZX, "   
lv_x_read_weigh  TYPE KENNZX, "   'X'
lv_x_read_ressource  TYPE KENNZX, "   'X'
lv_x_read_bulky  TYPE KENNZX. "   'X'

  CALL FUNCTION 'ISU_DB_ORDERS_SELECT'  "INTERNAL: Read Header and Item Data for Waste Disposal Order
    EXPORTING
         X_DATE = lv_x_date
         X_READ_SDSHARE = lv_x_read_sdshare
         X_ROUTE = lv_x_route
         X_SORT = lv_x_sort
         X_ORDERNR = lv_x_ordernr
         X_DATETO = lv_x_dateto
         X_NO_MESSAGE = lv_x_no_message
         X_READ_WEIGH = lv_x_read_weigh
         X_READ_RESSOURCE = lv_x_read_ressource
         X_READ_BULKY = lv_x_read_bulky
    IMPORTING
         Y_ORDERS = lv_y_orders
    EXCEPTIONS
        NOT_FOUND = 1
        SYSTEM_ERROR = 2
        NOT_QUALIFIED = 3
. " ISU_DB_ORDERS_SELECT




ABAP code using 7.40 inline data declarations to call FM ISU_DB_ORDERS_SELECT

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 ORDER_DATE FROM EWA_ORDER_HEAD INTO @DATA(ld_x_date).
 
 
 
DATA(ld_x_read_sdshare) = 'X'.
 
"SELECT single ROUTE FROM EWA_ORDER_HEAD INTO @DATA(ld_x_route).
 
 
"SELECT single KZ_SORT FROM REGEN INTO @DATA(ld_x_sort).
 
 
"SELECT single ORDERNR FROM EWA_ORDER_HEAD INTO @DATA(ld_x_ordernr).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_x_dateto).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_message).
 
DATA(ld_x_read_weigh) = 'X'.
 
DATA(ld_x_read_ressource) = 'X'.
 
DATA(ld_x_read_bulky) = 'X'.
 


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!