SAP ISU_S_ROUTEOBJ_CREATE Function Module for Call for Creating a Service Frequency









ISU_S_ROUTEOBJ_CREATE is a standard isu s routeobj create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Call for Creating a Service Frequency 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 s routeobj create FM, simply by entering the name ISU_S_ROUTEOBJ_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_S_ROUTEOBJ_CREATE 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_S_ROUTEOBJ_CREATE'"Call for Creating a Service Frequency
EXPORTING
* X_OBJNR = "Number of Service Frequency
* X_ROUTE = "Route Number
* X_ROB = "Cleaning Object
* X_EXTCALL = "Indicator
* X_ANLAGE = "Installation
* X_SDAUFNR = "Screen Field: Enter Service Contract for Waste Management
* X_UPD_ONLINE = "
* X_NO_DIALOG = "
* X_AUTO = "
* X_OBJL_PROVIDED = "
* X_STICHTAG = "Key date for selection according to time-related validity
* X_SERVLOC = "Location of Container

IMPORTING
Y_DB_UPDATE = "
Y_EXIT_TYPE = "
Y_OBJ = "

TABLES
* T_OBJLIST = "Table of Object List for Sale Document
* T_NEW_KEYS = "Table of Service Frequency Keys

EXCEPTIONS
EXISTING = 1 FOREIGN_LOCK = 2 GENERAL_FAULT = 3 INTERNAL_ERROR = 4
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLEEWA_MD_ROUTE_001 Checks for Comparison: Service Frequency for Route/Container
EXIT_SAPLEEWA_MD_ROUTE_002 Prepares Customer Subscreen Call of Route
EXIT_SAPLEEWA_MD_ROUTE_003 Prepares Customer Subscreen (PAI) of Route
EXIT_SAPLEEWA_MD_ROUTE_004 Closes Route Customer Subscreen (PAI)
EXIT_SAPLEEWA_MD_RO_001 Check Default Route for Service Frequency
EXIT_SAPLEEWA_MD_RO_002 Check on Admissibility of Service Interval Grouping
EXIT_SAPLEEWA_MD_RO_004 Prepares the Customer Subscreen Call for Header Data
EXIT_SAPLEEWA_MD_RO_005 Prepares the CALL SUBSCREEN PAI for Header Data
EXIT_SAPLEEWA_MD_RO_006 Closes the CALL SUBSCREEN PAI of the Header Data
EXIT_SAPLEEWA_MD_RO_007 Prepares the Customer Subscreen Call for Item Data
EXIT_SAPLEEWA_MD_RO_008 Prepares the CALL SUBSCREEN PAI for Item Data
EXIT_SAPLEEWA_MD_RO_009 Closes the CALL SUBSCREEN PAI of the Item Data

IMPORTING Parameters details for ISU_S_ROUTEOBJ_CREATE

X_OBJNR - Number of Service Frequency

Data type: EOBJNR
Optional: Yes
Call by Reference: Yes

X_ROUTE - Route Number

Data type: EROUTE
Optional: Yes
Call by Reference: Yes

X_ROB - Cleaning Object

Data type: EEWA_CLEAN_ROB
Optional: Yes
Call by Reference: Yes

X_EXTCALL - Indicator

Data type: KENNZX
Optional: Yes
Call by Reference: Yes

X_ANLAGE - Installation

Data type: ANLAGE
Optional: Yes
Call by Reference: Yes

X_SDAUFNR - Screen Field: Enter Service Contract for Waste Management

Data type: SDVERTRAG
Optional: Yes
Call by Reference: Yes

X_UPD_ONLINE -

Data type: REGEN-UPD_ONLINE
Optional: Yes
Call by Reference: Yes

X_NO_DIALOG -

Data type: REGEN-NO_DIALOG
Optional: Yes
Call by Reference: Yes

X_AUTO -

Data type: ISUWA_OBJ_AUTO
Optional: Yes
Call by Reference: Yes

X_OBJL_PROVIDED -

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: Yes

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

Data type: EWAOBJD-STICHTAG
Optional: Yes
Call by Reference: Yes

X_SERVLOC - Location of Container

Data type: SERVLOC
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISU_S_ROUTEOBJ_CREATE

Y_DB_UPDATE -

Data type: REGEN-DB_UPDATE
Optional: No
Call by Reference: Yes

Y_EXIT_TYPE -

Data type: REGEN-EXIT_TYPE
Optional: No
Call by Reference: Yes

Y_OBJ -

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

TABLES Parameters details for ISU_S_ROUTEOBJ_CREATE

T_OBJLIST - Table of Object List for Sale Document

Data type: T_VISER02
Optional: Yes
Call by Reference: Yes

T_NEW_KEYS - Table of Service Frequency Keys

Data type: EWAOBJ_KEY
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

EXISTING -

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

FOREIGN_LOCK -

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

GENERAL_FAULT -

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

INTERNAL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_S_ROUTEOBJ_CREATE 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_objnr  TYPE EOBJNR, "   
lv_existing  TYPE EOBJNR, "   
lt_t_objlist  TYPE STANDARD TABLE OF T_VISER02, "   
lv_y_db_update  TYPE REGEN-DB_UPDATE, "   
lv_x_route  TYPE EROUTE, "   
lv_x_rob  TYPE EEWA_CLEAN_ROB, "   
lv_x_extcall  TYPE KENNZX, "   
lv_x_anlage  TYPE ANLAGE, "   
lt_t_new_keys  TYPE STANDARD TABLE OF EWAOBJ_KEY, "   
lv_y_exit_type  TYPE REGEN-EXIT_TYPE, "   
lv_foreign_lock  TYPE REGEN, "   
lv_y_obj  TYPE ISUWA_OBJ, "   
lv_x_sdaufnr  TYPE SDVERTRAG, "   
lv_general_fault  TYPE SDVERTRAG, "   
lv_x_upd_online  TYPE REGEN-UPD_ONLINE, "   
lv_internal_error  TYPE REGEN, "   
lv_x_no_dialog  TYPE REGEN-NO_DIALOG, "   
lv_x_auto  TYPE ISUWA_OBJ_AUTO, "   
lv_x_objl_provided  TYPE REGEN-KENNZX, "   
lv_x_stichtag  TYPE EWAOBJD-STICHTAG, "   
lv_x_servloc  TYPE SERVLOC. "   

  CALL FUNCTION 'ISU_S_ROUTEOBJ_CREATE'  "Call for Creating a Service Frequency
    EXPORTING
         X_OBJNR = lv_x_objnr
         X_ROUTE = lv_x_route
         X_ROB = lv_x_rob
         X_EXTCALL = lv_x_extcall
         X_ANLAGE = lv_x_anlage
         X_SDAUFNR = lv_x_sdaufnr
         X_UPD_ONLINE = lv_x_upd_online
         X_NO_DIALOG = lv_x_no_dialog
         X_AUTO = lv_x_auto
         X_OBJL_PROVIDED = lv_x_objl_provided
         X_STICHTAG = lv_x_stichtag
         X_SERVLOC = lv_x_servloc
    IMPORTING
         Y_DB_UPDATE = lv_y_db_update
         Y_EXIT_TYPE = lv_y_exit_type
         Y_OBJ = lv_y_obj
    TABLES
         T_OBJLIST = lt_t_objlist
         T_NEW_KEYS = lt_t_new_keys
    EXCEPTIONS
        EXISTING = 1
        FOREIGN_LOCK = 2
        GENERAL_FAULT = 3
        INTERNAL_ERROR = 4
. " ISU_S_ROUTEOBJ_CREATE




ABAP code using 7.40 inline data declarations to call FM ISU_S_ROUTEOBJ_CREATE

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 DB_UPDATE FROM REGEN INTO @DATA(ld_y_db_update).
 
 
 
 
 
 
"SELECT single EXIT_TYPE FROM REGEN INTO @DATA(ld_y_exit_type).
 
 
 
 
 
"SELECT single UPD_ONLINE FROM REGEN INTO @DATA(ld_x_upd_online).
 
 
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_objl_provided).
 
"SELECT single STICHTAG FROM EWAOBJD INTO @DATA(ld_x_stichtag).
 
 


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!