SAP ISU_S_ROUTEOBJ_DISPLAY Function Module for Call for Displaying a Service Frequency
ISU_S_ROUTEOBJ_DISPLAY is a standard isu s routeobj display 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 Displaying 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 display FM, simply by entering the name ISU_S_ROUTEOBJ_DISPLAY 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_DISPLAY 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_DISPLAY'"Call for Displaying a Service Frequency.
EXPORTING
* X_OBJNR = "Number of Service Frequency
* X_ROB = "Cleaning Object
* X_UPD_ONLINE = "
* X_NO_CHANGE = "
X_ANLAGE = "Installation
X_SDAUFNR = "
* X_OBJL_PROVIDED = "
X_SERVLOC = "Location of Container
X_ROUTE = "Route Number
* X_EXTCALL = "Indicator
IMPORTING
Y_DB_UPDATE = "
Y_EXIT_TYPE = "
TABLES
* T_OBJLIST = "Table of Object List for Sale Document
EXCEPTIONS
NOT_FOUND = 1 GENERAL_FAULT = 2
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_DISPLAY
X_OBJNR - Number of Service Frequency
Data type: EOBJNROptional: Yes
Call by Reference: Yes
X_ROB - Cleaning Object
Data type: EEWA_CLEAN_ROBOptional: Yes
Call by Reference: Yes
X_UPD_ONLINE -
Data type: REGEN-UPD_ONLINEOptional: Yes
Call by Reference: Yes
X_NO_CHANGE -
Data type: REGEN-NO_CHANGEOptional: Yes
Call by Reference: Yes
X_ANLAGE - Installation
Data type: ANLAGEOptional: No
Call by Reference: Yes
X_SDAUFNR -
Data type: SER02-SDAUFNROptional: No
Call by Reference: Yes
X_OBJL_PROVIDED -
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: Yes
X_SERVLOC - Location of Container
Data type: SERVLOCOptional: No
Call by Reference: Yes
X_ROUTE - Route Number
Data type: EROUTEOptional: No
Call by Reference: Yes
X_EXTCALL - Indicator
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_S_ROUTEOBJ_DISPLAY
Y_DB_UPDATE -
Data type: REGEN-DB_UPDATEOptional: No
Call by Reference: Yes
Y_EXIT_TYPE -
Data type: REGEN-EXIT_TYPEOptional: No
Call by Reference: Yes
TABLES Parameters details for ISU_S_ROUTEOBJ_DISPLAY
T_OBJLIST - Table of Object List for Sale Document
Data type: T_VISER02Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
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)
Copy and paste ABAP code example for ISU_S_ROUTEOBJ_DISPLAY 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_not_found | TYPE EOBJNR, " | |||
| lt_t_objlist | TYPE STANDARD TABLE OF T_VISER02, " | |||
| lv_y_db_update | TYPE REGEN-DB_UPDATE, " | |||
| lv_x_rob | TYPE EEWA_CLEAN_ROB, " | |||
| lv_y_exit_type | TYPE REGEN-EXIT_TYPE, " | |||
| lv_x_upd_online | TYPE REGEN-UPD_ONLINE, " | |||
| lv_general_fault | TYPE REGEN, " | |||
| lv_x_no_change | TYPE REGEN-NO_CHANGE, " | |||
| lv_x_anlage | TYPE ANLAGE, " | |||
| lv_x_sdaufnr | TYPE SER02-SDAUFNR, " | |||
| lv_x_objl_provided | TYPE REGEN-KENNZX, " | |||
| lv_x_servloc | TYPE SERVLOC, " | |||
| lv_x_route | TYPE EROUTE, " | |||
| lv_x_extcall | TYPE REGEN-KENNZX. " |
|   CALL FUNCTION 'ISU_S_ROUTEOBJ_DISPLAY' "Call for Displaying a Service Frequency |
| EXPORTING | ||
| X_OBJNR | = lv_x_objnr | |
| X_ROB | = lv_x_rob | |
| X_UPD_ONLINE | = lv_x_upd_online | |
| X_NO_CHANGE | = lv_x_no_change | |
| X_ANLAGE | = lv_x_anlage | |
| X_SDAUFNR | = lv_x_sdaufnr | |
| X_OBJL_PROVIDED | = lv_x_objl_provided | |
| X_SERVLOC | = lv_x_servloc | |
| X_ROUTE | = lv_x_route | |
| X_EXTCALL | = lv_x_extcall | |
| IMPORTING | ||
| Y_DB_UPDATE | = lv_y_db_update | |
| Y_EXIT_TYPE | = lv_y_exit_type | |
| TABLES | ||
| T_OBJLIST | = lt_t_objlist | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| GENERAL_FAULT = 2 | ||
| . " ISU_S_ROUTEOBJ_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM ISU_S_ROUTEOBJ_DISPLAY
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_CHANGE FROM REGEN INTO @DATA(ld_x_no_change). | ||||
| "SELECT single SDAUFNR FROM SER02 INTO @DATA(ld_x_sdaufnr). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_objl_provided). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_extcall). | ||||
Search for further information about these or an SAP related objects