SAP ADDRESS_UPDATE_DIALOG Function Module for









ADDRESS_UPDATE_DIALOG is a standard address update dialog 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 address update dialog FM, simply by entering the name ADDRESS_UPDATE_DIALOG into the relevant SAP transaction such as SE37 or SE38.

Function Group: SAD2
Program Name: SAPLSAD2
Main Program: SAPLSAD2
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ADDRESS_UPDATE_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 'ADDRESS_UPDATE_DIALOG'"
TABLES
COMPANY_TABL = "Table with company addresses + versions
RML_TABL = "Structure SADR7L
SSW_TABL = "Structure SADR8L
TEL_TABL = "Structure SADR2L
TLX_TABL = "Structure SADR5L
TTX_TABL = "Structure SADR4L
X40_TABL = "Structure SADR9L
CS1_TABL = "Reserved
CS2_TABL = "Reserved
CS3_TABL = "Reserved
CS4_TABL = "Reserved
CS5_TABL = "Reserved
EDI_TABL = "Structure SADR6L
FAX_TABL = "Structure SADR3L
PERSONAL_TABL = "Private addresses + versions

EXCEPTIONS
DEFAULT_COMMU_ART_MISSING = 1 DEFAULT_COMMU_NR_MISSING = 2 WRONG_HEAD_DATA = 3
.



TABLES Parameters details for ADDRESS_UPDATE_DIALOG

COMPANY_TABL - Table with company addresses + versions

Data type: SADRL
Optional: No
Call by Reference: No ( called with pass by value option)

RML_TABL - Structure SADR7L

Data type: SADR7L
Optional: No
Call by Reference: No ( called with pass by value option)

SSW_TABL - Structure SADR8L

Data type: SADR9L
Optional: No
Call by Reference: No ( called with pass by value option)

TEL_TABL - Structure SADR2L

Data type: SADR2L
Optional: No
Call by Reference: No ( called with pass by value option)

TLX_TABL - Structure SADR5L

Data type: SADR5L
Optional: No
Call by Reference: No ( called with pass by value option)

TTX_TABL - Structure SADR4L

Data type: SADR4L
Optional: No
Call by Reference: No ( called with pass by value option)

X40_TABL - Structure SADR9L

Data type: SADR8L
Optional: No
Call by Reference: No ( called with pass by value option)

CS1_TABL - Reserved

Data type: SADR10L
Optional: No
Call by Reference: No ( called with pass by value option)

CS2_TABL - Reserved

Data type: SADR11L
Optional: No
Call by Reference: No ( called with pass by value option)

CS3_TABL - Reserved

Data type: SADR12L
Optional: No
Call by Reference: No ( called with pass by value option)

CS4_TABL - Reserved

Data type: SADR13L
Optional: No
Call by Reference: No ( called with pass by value option)

CS5_TABL - Reserved

Data type: SADR14L
Optional: No
Call by Reference: No ( called with pass by value option)

EDI_TABL - Structure SADR6L

Data type: SADR6L
Optional: No
Call by Reference: No ( called with pass by value option)

FAX_TABL - Structure SADR3L

Data type: SADR3L
Optional: No
Call by Reference: No ( called with pass by value option)

PERSONAL_TABL - Private addresses + versions

Data type: SADRPL
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

DEFAULT_COMMU_ART_MISSING - Standard type of communication (system) is missing

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

DEFAULT_COMMU_NR_MISSING - Standard communication number is missing

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

WRONG_HEAD_DATA - incorrect address data

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

Copy and paste ABAP code example for ADDRESS_UPDATE_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:
lt_company_tabl  TYPE STANDARD TABLE OF SADRL, "   
lv_default_commu_art_missing  TYPE SADRL, "   
lt_rml_tabl  TYPE STANDARD TABLE OF SADR7L, "   
lt_ssw_tabl  TYPE STANDARD TABLE OF SADR9L, "   
lt_tel_tabl  TYPE STANDARD TABLE OF SADR2L, "   
lt_tlx_tabl  TYPE STANDARD TABLE OF SADR5L, "   
lt_ttx_tabl  TYPE STANDARD TABLE OF SADR4L, "   
lt_x40_tabl  TYPE STANDARD TABLE OF SADR8L, "   
lt_cs1_tabl  TYPE STANDARD TABLE OF SADR10L, "   
lv_default_commu_nr_missing  TYPE SADR10L, "   
lt_cs2_tabl  TYPE STANDARD TABLE OF SADR11L, "   
lv_wrong_head_data  TYPE SADR11L, "   
lt_cs3_tabl  TYPE STANDARD TABLE OF SADR12L, "   
lt_cs4_tabl  TYPE STANDARD TABLE OF SADR13L, "   
lt_cs5_tabl  TYPE STANDARD TABLE OF SADR14L, "   
lt_edi_tabl  TYPE STANDARD TABLE OF SADR6L, "   
lt_fax_tabl  TYPE STANDARD TABLE OF SADR3L, "   
lt_personal_tabl  TYPE STANDARD TABLE OF SADRPL. "   

  CALL FUNCTION 'ADDRESS_UPDATE_DIALOG'  "
    TABLES
         COMPANY_TABL = lt_company_tabl
         RML_TABL = lt_rml_tabl
         SSW_TABL = lt_ssw_tabl
         TEL_TABL = lt_tel_tabl
         TLX_TABL = lt_tlx_tabl
         TTX_TABL = lt_ttx_tabl
         X40_TABL = lt_x40_tabl
         CS1_TABL = lt_cs1_tabl
         CS2_TABL = lt_cs2_tabl
         CS3_TABL = lt_cs3_tabl
         CS4_TABL = lt_cs4_tabl
         CS5_TABL = lt_cs5_tabl
         EDI_TABL = lt_edi_tabl
         FAX_TABL = lt_fax_tabl
         PERSONAL_TABL = lt_personal_tabl
    EXCEPTIONS
        DEFAULT_COMMU_ART_MISSING = 1
        DEFAULT_COMMU_NR_MISSING = 2
        WRONG_HEAD_DATA = 3
. " ADDRESS_UPDATE_DIALOG




ABAP code using 7.40 inline data declarations to call FM ADDRESS_UPDATE_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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!