SAP ISU_O_ADRCITYROUTE_OPEN Function Module for INTERNAL: Opens Processing of Routes for City
ISU_O_ADRCITYROUTE_OPEN is a standard isu o adrcityroute 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 INTERNAL: Opens Processing of Routes for City 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 adrcityroute open FM, simply by entering the name ISU_O_ADRCITYROUTE_OPEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: ER14
Program Name: SAPLER14
Main Program: SAPLER14
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_O_ADRCITYROUTE_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_ADRCITYROUTE_OPEN'"INTERNAL: Opens Processing of Routes for City.
EXPORTING
X_COUNTRY = "Country
X_CITY_CODE = "City Number
X_WMODE = "
* X_UPD_ONLINE = "Indicator: Update Directly Online
* X_NO_DIALOG = "Indicator: no dialog
* X_ADRCITY = "
* X_ADRCITYT = "
IMPORTING
Y_HANDLE = "Object Reference
EXCEPTIONS
DATA_INCONSISTENCY = 1
IMPORTING Parameters details for ISU_O_ADRCITYROUTE_OPEN
X_COUNTRY - Country
Data type: ADRCITYMRU-COUNTRYOptional: No
Call by Reference: No ( called with pass by value option)
X_CITY_CODE - City Number
Data type: ADRCITYMRU-CITY_CODEOptional: No
Call by Reference: No ( called with pass by value option)
X_WMODE -
Data type: RSGEN-WMODEOptional: No
Call by Reference: No ( called with pass by value option)
X_UPD_ONLINE - Indicator: Update Directly Online
Data type: RSGEN-UPD_ONLINEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_NO_DIALOG - Indicator: no dialog
Data type: RSGEN-NO_DIALOGOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ADRCITY -
Data type: ADRCITYOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ADRCITYT -
Data type: ADRCITYTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_O_ADRCITYROUTE_OPEN
Y_HANDLE - Object Reference
Data type: RSGEN-HANDLEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DATA_INCONSISTENCY - Inconsistent Data
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_O_ADRCITYROUTE_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_handle | TYPE RSGEN-HANDLE, " | |||
| lv_x_country | TYPE ADRCITYMRU-COUNTRY, " | |||
| lv_data_inconsistency | TYPE ADRCITYMRU, " | |||
| lv_x_city_code | TYPE ADRCITYMRU-CITY_CODE, " | |||
| lv_x_wmode | TYPE RSGEN-WMODE, " | |||
| lv_x_upd_online | TYPE RSGEN-UPD_ONLINE, " | |||
| lv_x_no_dialog | TYPE RSGEN-NO_DIALOG, " | |||
| lv_x_adrcity | TYPE ADRCITY, " | |||
| lv_x_adrcityt | TYPE ADRCITYT. " |
|   CALL FUNCTION 'ISU_O_ADRCITYROUTE_OPEN' "INTERNAL: Opens Processing of Routes for City |
| EXPORTING | ||
| X_COUNTRY | = lv_x_country | |
| X_CITY_CODE | = lv_x_city_code | |
| X_WMODE | = lv_x_wmode | |
| X_UPD_ONLINE | = lv_x_upd_online | |
| X_NO_DIALOG | = lv_x_no_dialog | |
| X_ADRCITY | = lv_x_adrcity | |
| X_ADRCITYT | = lv_x_adrcityt | |
| IMPORTING | ||
| Y_HANDLE | = lv_y_handle | |
| EXCEPTIONS | ||
| DATA_INCONSISTENCY = 1 | ||
| . " ISU_O_ADRCITYROUTE_OPEN | ||
ABAP code using 7.40 inline data declarations to call FM ISU_O_ADRCITYROUTE_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 HANDLE FROM RSGEN INTO @DATA(ld_y_handle). | ||||
| "SELECT single COUNTRY FROM ADRCITYMRU INTO @DATA(ld_x_country). | ||||
| "SELECT single CITY_CODE FROM ADRCITYMRU INTO @DATA(ld_x_city_code). | ||||
| "SELECT single WMODE FROM RSGEN INTO @DATA(ld_x_wmode). | ||||
| "SELECT single UPD_ONLINE FROM RSGEN INTO @DATA(ld_x_upd_online). | ||||
| "SELECT single NO_DIALOG FROM RSGEN INTO @DATA(ld_x_no_dialog). | ||||
Search for further information about these or an SAP related objects