SAP ILOY_FUNC_LOC_RENAME_DIALOG Function Module for NOTRANSL: Umbenennen Technischer Plätze (Dialog)
ILOY_FUNC_LOC_RENAME_DIALOG is a standard iloy func loc rename dialog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Umbenennen Technischer Plätze (Dialog) 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 iloy func loc rename dialog FM, simply by entering the name ILOY_FUNC_LOC_RENAME_DIALOG into the relevant SAP transaction such as SE37 or SE38.
Function Group: ILOY
Program Name: SAPLILOY
Main Program:
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ILOY_FUNC_LOC_RENAME_DIALOG 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 'ILOY_FUNC_LOC_RENAME_DIALOG'"NOTRANSL: Umbenennen Technischer Plätze (Dialog).
EXPORTING
I_TPLNR = "Functional Location
* I_ALKEY = "Labeling system
I_ALKEY_PR = "Labeling system for functional locations
IMPORTING
E_STRNO_NEW = "New label
CHANGING
C_TPLKZ = "Structure Indicator
EXCEPTIONS
NOT_FOUND = 1 RENAME_NOT_POSSIBLE = 2 NO_CHANGES = 3 NEW_STRNO_EXISTS = 4
IMPORTING Parameters details for ILOY_FUNC_LOC_RENAME_DIALOG
I_TPLNR - Functional Location
Data type: IFLOT-TPLNROptional: No
Call by Reference: No ( called with pass by value option)
I_ALKEY - Labeling system
Data type: IFLOS-ALKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ALKEY_PR - Labeling system for functional locations
Data type: IFLOS-ALKEYOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ILOY_FUNC_LOC_RENAME_DIALOG
E_STRNO_NEW - New label
Data type: IFLOS-STRNOOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ILOY_FUNC_LOC_RENAME_DIALOG
C_TPLKZ - Structure Indicator
Data type: IFLOT-TPLKZOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - Functional Location Does Not Exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RENAME_NOT_POSSIBLE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_CHANGES - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NEW_STRNO_EXISTS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ILOY_FUNC_LOC_RENAME_DIALOG 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_c_tplkz | TYPE IFLOT-TPLKZ, " | |||
| lv_i_tplnr | TYPE IFLOT-TPLNR, " | |||
| lv_not_found | TYPE IFLOT, " | |||
| lv_e_strno_new | TYPE IFLOS-STRNO, " | |||
| lv_i_alkey | TYPE IFLOS-ALKEY, " | |||
| lv_rename_not_possible | TYPE IFLOS, " | |||
| lv_i_alkey_pr | TYPE IFLOS-ALKEY, " | |||
| lv_no_changes | TYPE IFLOS, " | |||
| lv_new_strno_exists | TYPE IFLOS. " |
|   CALL FUNCTION 'ILOY_FUNC_LOC_RENAME_DIALOG' "NOTRANSL: Umbenennen Technischer Plätze (Dialog) |
| EXPORTING | ||
| I_TPLNR | = lv_i_tplnr | |
| I_ALKEY | = lv_i_alkey | |
| I_ALKEY_PR | = lv_i_alkey_pr | |
| IMPORTING | ||
| E_STRNO_NEW | = lv_e_strno_new | |
| CHANGING | ||
| C_TPLKZ | = lv_c_tplkz | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| RENAME_NOT_POSSIBLE = 2 | ||
| NO_CHANGES = 3 | ||
| NEW_STRNO_EXISTS = 4 | ||
| . " ILOY_FUNC_LOC_RENAME_DIALOG | ||
ABAP code using 7.40 inline data declarations to call FM ILOY_FUNC_LOC_RENAME_DIALOG
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 TPLKZ FROM IFLOT INTO @DATA(ld_c_tplkz). | ||||
| "SELECT single TPLNR FROM IFLOT INTO @DATA(ld_i_tplnr). | ||||
| "SELECT single STRNO FROM IFLOS INTO @DATA(ld_e_strno_new). | ||||
| "SELECT single ALKEY FROM IFLOS INTO @DATA(ld_i_alkey). | ||||
| "SELECT single ALKEY FROM IFLOS INTO @DATA(ld_i_alkey_pr). | ||||
Search for further information about these or an SAP related objects