SAP ISH_ADDRESS_SAVE Function Module for









ISH_ADDRESS_SAVE is a standard ish address save 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 save FM, simply by entering the name ISH_ADDRESS_SAVE 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_SAVE 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_SAVE'"
EXPORTING
SS_ADRNR = "Address Number
SS_ADROB = "Address Object
SS_TCODE = "Transaction Code
* SS_DATUM = SY-DATUM "Date (Change Document Creation)
* SS_UZEIT = SY-UZEIT "Time (Change Document Creation)
* SS_UPDATE_TASK = 'X' "Change in Update Task (ON/OFF)
* SS_RESET_ASTERISK = 'X' "Update * Tables (ON/OFF)

IMPORTING
SS_ADRNR_NEW = "Address Number (Create -> Internal Number Assignment)
SS_ADROB_NEW = "Addrss Object (Create)
.




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_SAVE

SS_ADRNR - Address Number

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

SS_ADROB - Address Object

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

SS_TCODE - Transaction Code

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

SS_DATUM - Date (Change Document Creation)

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_UZEIT - Time (Change Document Creation)

Data type: SY-UZEIT
Default: SY-UZEIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_UPDATE_TASK - Change in Update Task (ON/OFF)

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

SS_RESET_ASTERISK - Update * Tables (ON/OFF)

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

EXPORTING Parameters details for ISH_ADDRESS_SAVE

SS_ADRNR_NEW - Address Number (Create -> Internal Number Assignment)

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

SS_ADROB_NEW - Addrss Object (Create)

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

Copy and paste ABAP code example for ISH_ADDRESS_SAVE 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_adrnr  TYPE NADR-ADRNR, "   
lv_ss_adrnr_new  TYPE NADR-ADRNR, "   
lv_ss_adrob  TYPE NADR-ADROB, "   
lv_ss_adrob_new  TYPE NADR-ADROB, "   
lv_ss_tcode  TYPE SY-TCODE, "   
lv_ss_datum  TYPE SY-DATUM, "   SY-DATUM
lv_ss_uzeit  TYPE SY-UZEIT, "   SY-UZEIT
lv_ss_update_task  TYPE NPDOK-XFELD, "   'X'
lv_ss_reset_asterisk  TYPE NPDOK-XFELD. "   'X'

  CALL FUNCTION 'ISH_ADDRESS_SAVE'  "
    EXPORTING
         SS_ADRNR = lv_ss_adrnr
         SS_ADROB = lv_ss_adrob
         SS_TCODE = lv_ss_tcode
         SS_DATUM = lv_ss_datum
         SS_UZEIT = lv_ss_uzeit
         SS_UPDATE_TASK = lv_ss_update_task
         SS_RESET_ASTERISK = lv_ss_reset_asterisk
    IMPORTING
         SS_ADRNR_NEW = lv_ss_adrnr_new
         SS_ADROB_NEW = lv_ss_adrob_new
. " ISH_ADDRESS_SAVE




ABAP code using 7.40 inline data declarations to call FM ISH_ADDRESS_SAVE

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 ADRNR FROM NADR INTO @DATA(ld_ss_adrnr).
 
"SELECT single ADRNR FROM NADR INTO @DATA(ld_ss_adrnr_new).
 
"SELECT single ADROB FROM NADR INTO @DATA(ld_ss_adrob).
 
"SELECT single ADROB FROM NADR INTO @DATA(ld_ss_adrob_new).
 
"SELECT single TCODE FROM SY INTO @DATA(ld_ss_tcode).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_ss_datum).
DATA(ld_ss_datum) = SY-DATUM.
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_ss_uzeit).
DATA(ld_ss_uzeit) = SY-UZEIT.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_update_task).
DATA(ld_ss_update_task) = 'X'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_reset_asterisk).
DATA(ld_ss_reset_asterisk) = 'X'.
 


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!