SAP ISH_ADDRESS_SCREEN_INIT Function Module for
ISH_ADDRESS_SCREEN_INIT is a standard ish address screen init SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ish address screen init FM, simply by entering the name ISH_ADDRESS_SCREEN_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: NADR
Program Name: SAPLNADR
Main Program: SAPLNADR
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_ADDRESS_SCREEN_INIT 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 'ISH_ADDRESS_SCREEN_INIT'".
EXPORTING
* SS_EINRI = '*' "Institution for Screen Modification
* SS_FRG = ' ' "
* SS_ADRNR_2 = ' ' "Address Number for Additional Address
* SS_ADROB_2 = ' ' "Address Object for Additional Address
* SS_REPID = ' ' "If More than one Address Screen on a Screen -> F2
* SS_DYNNR = ' ' "If More than one Address Screen on a Screen -> F2
* SS_DELETE_REPID = ' ' "-> F2
* SS_VCODE = 'UPD' "Processing Mode
* SS_MODIF = "Screen Modification String
* SS_KRZAN = ' ' "Quick Admission Transaction (ON/OFF)
* SS_NOTAN = ' ' "Emergency Admission Transaction (ON/OFF)
* SS_ENJOY = ' ' "Enjoy Transaction (ON/OFF)
* SS_ROLLE = '0' "Role of Business Partner ->
* SS_NPAP_SHORT = ' ' "Provisional Patient: Short Version
* SS_NPAT_FURTHER = ' ' "Other Patient Address (2nd Address)
CHANGING
SS_NADR = "Address Number and Address Object or Address Data
TABLES
* SS_NADR2 = "Telephone Numbers
EXCEPTIONS
INVALID_MODIF = 1
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_SAPLNADR_001 IS-H: Create Address String from Address Data
IMPORTING Parameters details for ISH_ADDRESS_SCREEN_INIT
SS_EINRI - Institution for Screen Modification
Data type: RNPA1-EINRIDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_FRG -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ADRNR_2 - Address Number for Additional Address
Data type: NADR-ADRNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ADROB_2 - Address Object for Additional Address
Data type: NADR-ADROBDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_REPID - If More than one Address Screen on a Screen -> F2
Data type: SY-REPIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_DYNNR - If More than one Address Screen on a Screen -> F2
Data type: SY-DYNNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_DELETE_REPID - -> F2
Data type: SY-REPIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_VCODE - Processing Mode
Data type: RNPA1-VCODEDefault: 'UPD'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_MODIF - Screen Modification String
Data type: RNADMOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_KRZAN - Quick Admission Transaction (ON/OFF)
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_NOTAN - Emergency Admission Transaction (ON/OFF)
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ENJOY - Enjoy Transaction (ON/OFF)
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ROLLE - Role of Business Partner ->
Data type: NPDOK-C1Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_NPAP_SHORT - Provisional Patient: Short Version
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_NPAT_FURTHER - Other Patient Address (2nd Address)
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISH_ADDRESS_SCREEN_INIT
SS_NADR - Address Number and Address Object or Address Data
Data type: NADROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_ADDRESS_SCREEN_INIT
SS_NADR2 - Telephone Numbers
Data type: NADR2Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
INVALID_MODIF - Wrong Contents in Modification String
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_ADDRESS_SCREEN_INIT 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_ss_nadr | TYPE NADR, " | |||
| lv_ss_einri | TYPE RNPA1-EINRI, " '*' | |||
| lt_ss_nadr2 | TYPE STANDARD TABLE OF NADR2, " | |||
| lv_invalid_modif | TYPE NADR2, " | |||
| lv_ss_frg | TYPE ISH_ON_OFF, " SPACE | |||
| lv_ss_adrnr_2 | TYPE NADR-ADRNR, " SPACE | |||
| lv_ss_adrob_2 | TYPE NADR-ADROB, " SPACE | |||
| lv_ss_repid | TYPE SY-REPID, " SPACE | |||
| lv_ss_dynnr | TYPE SY-DYNNR, " SPACE | |||
| lv_ss_delete_repid | TYPE SY-REPID, " SPACE | |||
| lv_ss_vcode | TYPE RNPA1-VCODE, " 'UPD' | |||
| lv_ss_modif | TYPE RNADM, " | |||
| lv_ss_krzan | TYPE ISH_ON_OFF, " SPACE | |||
| lv_ss_notan | TYPE ISH_ON_OFF, " SPACE | |||
| lv_ss_enjoy | TYPE ISH_ON_OFF, " SPACE | |||
| lv_ss_rolle | TYPE NPDOK-C1, " '0' | |||
| lv_ss_npap_short | TYPE ISH_ON_OFF, " SPACE | |||
| lv_ss_npat_further | TYPE ISH_ON_OFF. " SPACE |
|   CALL FUNCTION 'ISH_ADDRESS_SCREEN_INIT' " |
| EXPORTING | ||
| SS_EINRI | = lv_ss_einri | |
| SS_FRG | = lv_ss_frg | |
| SS_ADRNR_2 | = lv_ss_adrnr_2 | |
| SS_ADROB_2 | = lv_ss_adrob_2 | |
| SS_REPID | = lv_ss_repid | |
| SS_DYNNR | = lv_ss_dynnr | |
| SS_DELETE_REPID | = lv_ss_delete_repid | |
| SS_VCODE | = lv_ss_vcode | |
| SS_MODIF | = lv_ss_modif | |
| SS_KRZAN | = lv_ss_krzan | |
| SS_NOTAN | = lv_ss_notan | |
| SS_ENJOY | = lv_ss_enjoy | |
| SS_ROLLE | = lv_ss_rolle | |
| SS_NPAP_SHORT | = lv_ss_npap_short | |
| SS_NPAT_FURTHER | = lv_ss_npat_further | |
| CHANGING | ||
| SS_NADR | = lv_ss_nadr | |
| TABLES | ||
| SS_NADR2 | = lt_ss_nadr2 | |
| EXCEPTIONS | ||
| INVALID_MODIF = 1 | ||
| . " ISH_ADDRESS_SCREEN_INIT | ||
ABAP code using 7.40 inline data declarations to call FM ISH_ADDRESS_SCREEN_INIT
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 EINRI FROM RNPA1 INTO @DATA(ld_ss_einri). | ||||
| DATA(ld_ss_einri) | = '*'. | |||
| DATA(ld_ss_frg) | = ' '. | |||
| "SELECT single ADRNR FROM NADR INTO @DATA(ld_ss_adrnr_2). | ||||
| DATA(ld_ss_adrnr_2) | = ' '. | |||
| "SELECT single ADROB FROM NADR INTO @DATA(ld_ss_adrob_2). | ||||
| DATA(ld_ss_adrob_2) | = ' '. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_ss_repid). | ||||
| DATA(ld_ss_repid) | = ' '. | |||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_ss_dynnr). | ||||
| DATA(ld_ss_dynnr) | = ' '. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_ss_delete_repid). | ||||
| DATA(ld_ss_delete_repid) | = ' '. | |||
| "SELECT single VCODE FROM RNPA1 INTO @DATA(ld_ss_vcode). | ||||
| DATA(ld_ss_vcode) | = 'UPD'. | |||
| DATA(ld_ss_krzan) | = ' '. | |||
| DATA(ld_ss_notan) | = ' '. | |||
| DATA(ld_ss_enjoy) | = ' '. | |||
| "SELECT single C1 FROM NPDOK INTO @DATA(ld_ss_rolle). | ||||
| DATA(ld_ss_rolle) | = '0'. | |||
| DATA(ld_ss_npap_short) | = ' '. | |||
| DATA(ld_ss_npat_further) | = ' '. | |||
Search for further information about these or an SAP related objects