SAP ISH_ADDRESS_FCODE_GET Function Module for









ISH_ADDRESS_FCODE_GET is a standard ish address fcode get 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 fcode get FM, simply by entering the name ISH_ADDRESS_FCODE_GET 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_FCODE_GET 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_FCODE_GET'"
EXPORTING
SS_ADROB = "Address Object
* SS_KRZAN = ' ' "Quick Admission Transaction (ON/OFF)
* SS_NOTAN = ' ' "Emergency Admission Transaction (ON/OFF)
* SS_ROLLE = '0' "Business Partner Role
* SS_NPAP_SHORT = ' ' "Provisional Patient: Short Version
* SS_NPAT_FURTHER = ' ' "Other Patient Address (2nd Address)
* SS_FRG = ' ' "

IMPORTING
SS_FCODE = "FCODE
.




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_FCODE_GET

SS_ADROB - Address Object

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

SS_KRZAN - Quick Admission Transaction (ON/OFF)

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

SS_NOTAN - Emergency Admission Transaction (ON/OFF)

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

SS_ROLLE - Business Partner Role

Data type: NPDOK-C1
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_NPAP_SHORT - Provisional Patient: Short Version

Data type: ISH_ON_OFF
Default: 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_OFF
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_FRG -

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

EXPORTING Parameters details for ISH_ADDRESS_FCODE_GET

SS_FCODE - FCODE

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

Copy and paste ABAP code example for ISH_ADDRESS_FCODE_GET 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_adrob  TYPE NADR-ADROB, "   
lv_ss_fcode  TYPE TNDYM-FCODE, "   
lv_ss_krzan  TYPE ISH_ON_OFF, "   SPACE
lv_ss_notan  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
lv_ss_frg  TYPE ISH_ON_OFF. "   SPACE

  CALL FUNCTION 'ISH_ADDRESS_FCODE_GET'  "
    EXPORTING
         SS_ADROB = lv_ss_adrob
         SS_KRZAN = lv_ss_krzan
         SS_NOTAN = lv_ss_notan
         SS_ROLLE = lv_ss_rolle
         SS_NPAP_SHORT = lv_ss_npap_short
         SS_NPAT_FURTHER = lv_ss_npat_further
         SS_FRG = lv_ss_frg
    IMPORTING
         SS_FCODE = lv_ss_fcode
. " ISH_ADDRESS_FCODE_GET




ABAP code using 7.40 inline data declarations to call FM ISH_ADDRESS_FCODE_GET

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 ADROB FROM NADR INTO @DATA(ld_ss_adrob).
 
"SELECT single FCODE FROM TNDYM INTO @DATA(ld_ss_fcode).
 
DATA(ld_ss_krzan) = ' '.
 
DATA(ld_ss_notan) = ' '.
 
"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) = ' '.
 
DATA(ld_ss_frg) = ' '.
 


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!