ISU_PREPARE_ORDER is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISU_PREPARE_ORDER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EEWA_ORDER_INT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISU_PREPARE_ORDER' "Prepares Processing of Waste Disposal Orders
EXPORTING
* x_order = " ewa_order_head-ordernr Internal ID of Waste Disposal Order
* x_wmode = " regen-wmode Processing Mode (1 = Display, 2 = Change, 3 = Create...)
* x_upd_online = " regen-upd_online Update online
* x_no_dialog = " regen-no_dialog Suppress maintenance screens
* x_route = " ewaobjh-route Route Number
x_from = " sy-datum Date and Time, Current (Application Server) Date
* x_to = " sy-datum Date and Time, Current (Application Server) Date
* x_anlage = " ewaobj-anlage Installation
* x_sdaufnr = " ser02-sdaufnr Sales Document
* x_container = " equi-equnr Equipment Number
* x_servloc = " ewaobj-servloc Location of Container
* x_smorder = " t_isuwa_sorder
* x_bulk_order = " isuwa_bulk_order Transfer Structure for Data on Bulk Refuse Order
* x_log_handle = " balloghndl Application Log: Log Handle
* x_simulation = SPACE " kennzx Indicator
* x_obj_status = " cl_isu_wa_dispsl_order_common General Methods for Managing Waste Disposal Orders
* x_wdo_bpem = " cl_isu_wa_order_bpem BPEM Waste Disposal Order
IMPORTING
y_order = " isu_order_dates Structure of Waste Disposal Order Dates
* TABLES
* yt_orders = " isu_order_dates Structure of Waste Disposal Order Dates
* xt_routes = " isu_ranges Structure: Select Options
* xt_code = " isu_ranges Structure: Select Options
* xt_area = " isu_ranges Structure: Select Options
* xt_servfreq = " v_ewaobj Generated Table for View &
* CHANGING
* xy_obj = " isuwa_order
* xy_bulk_order = " isuwa_bulk_order Transfer Structure for Data on Bulk Refuse Order
EXCEPTIONS
NOT_FOUND = 1 "
SYSTEM_ERROR = 2 "
. " ISU_PREPARE_ORDER
The ABAP code below is a full code listing to execute function module ISU_PREPARE_ORDER including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_y_order | TYPE ISU_ORDER_DATES , |
| it_yt_orders | TYPE STANDARD TABLE OF ISU_ORDER_DATES,"TABLES PARAM |
| wa_yt_orders | LIKE LINE OF it_yt_orders , |
| it_xt_routes | TYPE STANDARD TABLE OF ISU_RANGES,"TABLES PARAM |
| wa_xt_routes | LIKE LINE OF it_xt_routes , |
| it_xt_code | TYPE STANDARD TABLE OF ISU_RANGES,"TABLES PARAM |
| wa_xt_code | LIKE LINE OF it_xt_code , |
| it_xt_area | TYPE STANDARD TABLE OF ISU_RANGES,"TABLES PARAM |
| wa_xt_area | LIKE LINE OF it_xt_area , |
| it_xt_servfreq | TYPE STANDARD TABLE OF V_EWAOBJ,"TABLES PARAM |
| wa_xt_servfreq | LIKE LINE OF it_xt_servfreq . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_xy_obj | TYPE ISUWA_ORDER , |
| ld_y_order | TYPE ISU_ORDER_DATES , |
| ld_x_order | TYPE EWA_ORDER_HEAD-ORDERNR , |
| it_yt_orders | TYPE STANDARD TABLE OF ISU_ORDER_DATES , |
| wa_yt_orders | LIKE LINE OF it_yt_orders, |
| ld_xy_bulk_order | TYPE ISUWA_BULK_ORDER , |
| ld_x_wmode | TYPE REGEN-WMODE , |
| it_xt_routes | TYPE STANDARD TABLE OF ISU_RANGES , |
| wa_xt_routes | LIKE LINE OF it_xt_routes, |
| ld_x_upd_online | TYPE REGEN-UPD_ONLINE , |
| it_xt_code | TYPE STANDARD TABLE OF ISU_RANGES , |
| wa_xt_code | LIKE LINE OF it_xt_code, |
| ld_x_no_dialog | TYPE REGEN-NO_DIALOG , |
| it_xt_area | TYPE STANDARD TABLE OF ISU_RANGES , |
| wa_xt_area | LIKE LINE OF it_xt_area, |
| ld_x_route | TYPE EWAOBJH-ROUTE , |
| it_xt_servfreq | TYPE STANDARD TABLE OF V_EWAOBJ , |
| wa_xt_servfreq | LIKE LINE OF it_xt_servfreq, |
| ld_x_from | TYPE SY-DATUM , |
| ld_x_to | TYPE SY-DATUM , |
| ld_x_anlage | TYPE EWAOBJ-ANLAGE , |
| ld_x_sdaufnr | TYPE SER02-SDAUFNR , |
| ld_x_container | TYPE EQUI-EQUNR , |
| ld_x_servloc | TYPE EWAOBJ-SERVLOC , |
| ld_x_smorder | TYPE T_ISUWA_SORDER , |
| ld_x_bulk_order | TYPE ISUWA_BULK_ORDER , |
| ld_x_log_handle | TYPE BALLOGHNDL , |
| ld_x_simulation | TYPE KENNZX , |
| ld_x_obj_status | TYPE CL_ISU_WA_DISPSL_ORDER_COMMON , |
| ld_x_wdo_bpem | TYPE CL_ISU_WA_ORDER_BPEM . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISU_PREPARE_ORDER or its description.
ISU_PREPARE_ORDER - Prepares Processing of Waste Disposal Orders ISU_PREPARE_DUE_DATE_DET - Internal: Check Whether Previous Due Date is Necessary ISU_PREPARATION_CREATE_V601B - Mass Activities: Create Meter Reading Orders ISU_PREPARATION_CREATE_V601 - Mass Activities: Create Meter Reading Orders ISU_PREPARATION_CREATE_V600 - Mass Activities: Create Meter Reading Orders ISU_PREMISE_STATISTIC_UPDATE - Update Stock Statistics for Premise