SAP ISU_O_ROUTEOBJ_OPEN Function Module for Open Service Frequency









ISU_O_ROUTEOBJ_OPEN is a standard isu o routeobj open SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Open 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 o routeobj open FM, simply by entering the name ISU_O_ROUTEOBJ_OPEN 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: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_O_ROUTEOBJ_OPEN 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_O_ROUTEOBJ_OPEN'"Open Service Frequency
EXPORTING
* X_OBJNR = "Number of Service Frequency
* X_NO_OTHER = "No other Object Permitted
* X_OBJL_PROVIDED = "Indicator
* X_BZG = "
* X_BZG_PROVIDED = "Indicator
* X_VSTELLE = "Premise
* X_WEMPF = "Customer Number 1
* X_KUNDE = "Customer Number 1
* X_SERVLOC = "Location of Container
* X_SLOC_PROVIDED = "Indicator
* X_SLOC = "
* X_ANLAGE = "Installation
* X_ROUTE = "Route Number
* X_ROUTE_PROVIDED = "Indicator
* X_SFROUTE = "
* X_EXTCALL = "Indicator
* X_ROB_DATA = "
* X_ROB_PROVIDED = "Indicator
* X_ROB = "Cleaning Object
* X_XVBAK = "Back-Up for VBAK Fields After Changes to Sold-To Party
* X_NO_ENQUEUE = "Indicator
* X_FCODE = "Function Code That Triggered PAI
* X_SDAUFNR = "Sales Document
* X_NO_SERVLOC_CHECK = "
* X_LOCKSCOPE = '3' "
* X_STICHTAG = "Key date for selection according to time-related validity
X_WMODE = "Processing Mode (1 = Display, 2 = Change, 3 = Create...)
* X_UPD_ONLINE = "Update online
* X_NO_DIALOG = "Suppress maintenance screens
* X_AUTO = "
* X_NO_CHANGE = "No Changes Allowed

IMPORTING
Y_OBJ = "
Y_AUTO = "
Y_WMODE = "

TABLES
* T_VISER02 = "Table of Object List for Sale Document
* T_VBAP = "Table for Structure VBAPVB
* T_ELOCSD = "Table Type for Standard Table EWAELOCSD

EXCEPTIONS
NOT_FOUND = 1 NOT_AUTHORIZED = 10 EXISTING = 2 FOREIGN_LOCK = 3 INVALID_KEY = 4 NUMBER_ERROR = 5 SYSTEM_ERROR = 6 INVALID = 7 GENERAL_FAULT = 8 INTERNAL_ERROR = 9
.




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_O_ROUTEOBJ_OPEN

X_OBJNR - Number of Service Frequency

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

X_NO_OTHER - No other Object Permitted

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

X_OBJL_PROVIDED - Indicator

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

X_BZG -

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

X_BZG_PROVIDED - Indicator

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

X_VSTELLE - Premise

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

X_WEMPF - Customer Number 1

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

X_KUNDE - Customer Number 1

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

X_SERVLOC - Location of Container

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

X_SLOC_PROVIDED - Indicator

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

X_SLOC -

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

X_ANLAGE - Installation

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

X_ROUTE - Route Number

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

X_ROUTE_PROVIDED - Indicator

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

X_SFROUTE -

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

X_EXTCALL - Indicator

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

X_ROB_DATA -

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

X_ROB_PROVIDED - Indicator

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

X_ROB - Cleaning Object

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

X_XVBAK - Back-Up for VBAK Fields After Changes to Sold-To Party

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

X_NO_ENQUEUE - Indicator

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

X_FCODE - Function Code That Triggered PAI

Data type: SY-UCOMM
Optional: Yes
Call by Reference: Yes

X_SDAUFNR - Sales Document

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

X_NO_SERVLOC_CHECK -

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

X_LOCKSCOPE -

Data type: DDENQSCOPE
Default: '3'
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_WMODE - Processing Mode (1 = Display, 2 = Change, 3 = Create...)

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

X_UPD_ONLINE - Update online

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

X_NO_DIALOG - Suppress maintenance screens

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_NO_CHANGE - No Changes Allowed

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

EXPORTING Parameters details for ISU_O_ROUTEOBJ_OPEN

Y_OBJ -

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

Y_AUTO -

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

Y_WMODE -

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

TABLES Parameters details for ISU_O_ROUTEOBJ_OPEN

T_VISER02 - Table of Object List for Sale Document

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

T_VBAP - Table for Structure VBAPVB

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

T_ELOCSD - Table Type for Standard Table EWAELOCSD

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

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NOT_AUTHORIZED -

Data type:
Optional: No
Call by Reference: Yes

EXISTING - Object Already Exists

Data type:
Optional: No
Call by Reference: Yes

FOREIGN_LOCK - Object is locked

Data type:
Optional: No
Call by Reference: Yes

INVALID_KEY -

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

NUMBER_ERROR -

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)

INVALID -

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_O_ROUTEOBJ_OPEN 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_obj  TYPE ISUWA_OBJ, "   
lv_x_objnr  TYPE EOBJNR, "   
lv_not_found  TYPE EOBJNR, "   
lt_t_viser02  TYPE STANDARD TABLE OF T_VISER02, "   
lv_x_no_other  TYPE REGEN-NO_OTHER, "   
lv_not_authorized  TYPE REGEN, "   
lv_x_objl_provided  TYPE REGEN-KENNZX, "   
lv_x_bzg  TYPE ISUWA_BZG, "   
lv_x_bzg_provided  TYPE REGEN-KENNZX, "   
lv_x_vstelle  TYPE VSTELLE, "   
lv_x_wempf  TYPE KUNNR, "   
lv_x_kunde  TYPE KUNNR, "   
lv_x_servloc  TYPE SERVLOC, "   
lv_x_sloc_provided  TYPE REGEN-KENNZX, "   
lv_x_sloc  TYPE ISUWA_SLOC, "   
lt_t_vbap  TYPE STANDARD TABLE OF VA_VBAPVB_T, "   
lv_y_auto  TYPE ISUWA_OBJ_AUTO, "   
lv_existing  TYPE ISUWA_OBJ_AUTO, "   
lv_x_anlage  TYPE ANLAGE, "   
lv_x_route  TYPE EROUTE, "   
lv_x_route_provided  TYPE REGEN-KENNZX, "   
lv_x_sfroute  TYPE ISUWA_SFRO, "   
lv_x_extcall  TYPE REGEN-KENNZX, "   
lv_x_rob_data  TYPE ISUWA_ROB, "   
lv_x_rob_provided  TYPE REGEN-KENNZX, "   
lv_x_rob  TYPE EEWA_CLEAN_ROB, "   
lv_x_xvbak  TYPE ISUWA_XVABK, "   
lv_x_no_enqueue  TYPE KENNZX, "   
lv_x_fcode  TYPE SY-UCOMM, "   
lv_y_wmode  TYPE REGEN-WMODE, "   
lt_t_elocsd  TYPE STANDARD TABLE OF ISUWA_EWAELOCSDALL, "   
lv_x_sdaufnr  TYPE SER02-SDAUFNR, "   
lv_foreign_lock  TYPE SER02, "   
lv_x_no_servloc_check  TYPE KENNZX, "   
lv_x_lockscope  TYPE DDENQSCOPE, "   '3'
lv_x_stichtag  TYPE EWAOBJD-STICHTAG, "   
lv_invalid_key  TYPE EWAOBJD, "   
lv_x_wmode  TYPE REGEN-WMODE, "   
lv_number_error  TYPE REGEN, "   
lv_system_error  TYPE REGEN, "   
lv_x_upd_online  TYPE REGEN-UPD_ONLINE, "   
lv_invalid  TYPE REGEN, "   
lv_x_no_dialog  TYPE REGEN-NO_DIALOG, "   
lv_x_auto  TYPE ISUWA_OBJ_AUTO, "   
lv_general_fault  TYPE ISUWA_OBJ_AUTO, "   
lv_x_no_change  TYPE REGEN-NO_CHANGE, "   
lv_internal_error  TYPE REGEN. "   

  CALL FUNCTION 'ISU_O_ROUTEOBJ_OPEN'  "Open Service Frequency
    EXPORTING
         X_OBJNR = lv_x_objnr
         X_NO_OTHER = lv_x_no_other
         X_OBJL_PROVIDED = lv_x_objl_provided
         X_BZG = lv_x_bzg
         X_BZG_PROVIDED = lv_x_bzg_provided
         X_VSTELLE = lv_x_vstelle
         X_WEMPF = lv_x_wempf
         X_KUNDE = lv_x_kunde
         X_SERVLOC = lv_x_servloc
         X_SLOC_PROVIDED = lv_x_sloc_provided
         X_SLOC = lv_x_sloc
         X_ANLAGE = lv_x_anlage
         X_ROUTE = lv_x_route
         X_ROUTE_PROVIDED = lv_x_route_provided
         X_SFROUTE = lv_x_sfroute
         X_EXTCALL = lv_x_extcall
         X_ROB_DATA = lv_x_rob_data
         X_ROB_PROVIDED = lv_x_rob_provided
         X_ROB = lv_x_rob
         X_XVBAK = lv_x_xvbak
         X_NO_ENQUEUE = lv_x_no_enqueue
         X_FCODE = lv_x_fcode
         X_SDAUFNR = lv_x_sdaufnr
         X_NO_SERVLOC_CHECK = lv_x_no_servloc_check
         X_LOCKSCOPE = lv_x_lockscope
         X_STICHTAG = lv_x_stichtag
         X_WMODE = lv_x_wmode
         X_UPD_ONLINE = lv_x_upd_online
         X_NO_DIALOG = lv_x_no_dialog
         X_AUTO = lv_x_auto
         X_NO_CHANGE = lv_x_no_change
    IMPORTING
         Y_OBJ = lv_y_obj
         Y_AUTO = lv_y_auto
         Y_WMODE = lv_y_wmode
    TABLES
         T_VISER02 = lt_t_viser02
         T_VBAP = lt_t_vbap
         T_ELOCSD = lt_t_elocsd
    EXCEPTIONS
        NOT_FOUND = 1
        NOT_AUTHORIZED = 10
        EXISTING = 2
        FOREIGN_LOCK = 3
        INVALID_KEY = 4
        NUMBER_ERROR = 5
        SYSTEM_ERROR = 6
        INVALID = 7
        GENERAL_FAULT = 8
        INTERNAL_ERROR = 9
. " ISU_O_ROUTEOBJ_OPEN




ABAP code using 7.40 inline data declarations to call FM ISU_O_ROUTEOBJ_OPEN

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 NO_OTHER FROM REGEN INTO @DATA(ld_x_no_other).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_objl_provided).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_bzg_provided).
 
 
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_sloc_provided).
 
 
 
 
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_route_provided).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_extcall).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_rob_provided).
 
 
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_x_fcode).
 
"SELECT single WMODE FROM REGEN INTO @DATA(ld_y_wmode).
 
 
"SELECT single SDAUFNR FROM SER02 INTO @DATA(ld_x_sdaufnr).
 
 
 
DATA(ld_x_lockscope) = '3'.
 
"SELECT single STICHTAG FROM EWAOBJD INTO @DATA(ld_x_stichtag).
 
 
"SELECT single WMODE FROM REGEN INTO @DATA(ld_x_wmode).
 
 
 
"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 NO_CHANGE FROM REGEN INTO @DATA(ld_x_no_change).
 
 


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!