SAP ADDR_BUILD_COMPLETE Function Module for
ADDR_BUILD_COMPLETE is a standard addr build complete 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 addr build complete FM, simply by entering the name ADDR_BUILD_COMPLETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SZAE
Program Name: SAPLSZAE
Main Program: SAPLSZAE
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ADDR_BUILD_COMPLETE 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 'ADDR_BUILD_COMPLETE'".
EXPORTING
* ADDRNUMBER = "Address Number (Key of Database Table)
* ADDRHANDLE = "Address handle (temporary key)
IMPORTING
ADDR1_COMPLETE = "
TABLES
* ADDR1 = "Address
* ADPRT = "Printer
* ADSSF = "SSF
* ADURI = "
* ADPAG = "Pager
* ADDR_REM = "Comments
* ADCOMREM = "Notes on Communication Types
* ADUSE = "
* ADTEL = "Tel.No.
* ADFAX = "Fax
* ADTTX = "Teletex
* ADTLX = "Telex
* ADSMTP = "SMTP
* ADRML = "R/Mail
* ADX400 = "X.400
* ADRFC = "RFC
EXCEPTIONS
PARAMETER_ERROR = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for ADDR_BUILD_COMPLETE
ADDRNUMBER - Address Number (Key of Database Table)
Data type: ADDR1_SEL-ADDRNUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
ADDRHANDLE - Address handle (temporary key)
Data type: ADDR1_SEL-ADDRHANDLEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ADDR_BUILD_COMPLETE
ADDR1_COMPLETE -
Data type: SZADR_ADDR1_COMPLETEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ADDR_BUILD_COMPLETE
ADDR1 - Address
Data type: ADDR1_VALOptional: Yes
Call by Reference: No ( called with pass by value option)
ADPRT - Printer
Data type: ADPRTOptional: Yes
Call by Reference: No ( called with pass by value option)
ADSSF - SSF
Data type: ADSSFOptional: Yes
Call by Reference: No ( called with pass by value option)
ADURI -
Data type: ADURIOptional: Yes
Call by Reference: No ( called with pass by value option)
ADPAG - Pager
Data type: ADPAGOptional: Yes
Call by Reference: No ( called with pass by value option)
ADDR_REM - Comments
Data type: ADDR_REMOptional: Yes
Call by Reference: No ( called with pass by value option)
ADCOMREM - Notes on Communication Types
Data type: ADCOMREMOptional: Yes
Call by Reference: No ( called with pass by value option)
ADUSE -
Data type: ADUSEOptional: Yes
Call by Reference: Yes
ADTEL - Tel.No.
Data type: ADTELOptional: Yes
Call by Reference: No ( called with pass by value option)
ADFAX - Fax
Data type: ADFAXOptional: Yes
Call by Reference: No ( called with pass by value option)
ADTTX - Teletex
Data type: ADTTXOptional: Yes
Call by Reference: No ( called with pass by value option)
ADTLX - Telex
Data type: ADTLXOptional: Yes
Call by Reference: No ( called with pass by value option)
ADSMTP - SMTP
Data type: ADSMTPOptional: Yes
Call by Reference: No ( called with pass by value option)
ADRML - R/Mail
Data type: ADRMLOptional: Yes
Call by Reference: No ( called with pass by value option)
ADX400 - X.400
Data type: ADX400Optional: Yes
Call by Reference: No ( called with pass by value option)
ADRFC - RFC
Data type: ADRFCOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PARAMETER_ERROR - Incorrect parameter values
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ADDR_BUILD_COMPLETE 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_addr1 | TYPE STANDARD TABLE OF ADDR1_VAL, " | |||
lv_addrnumber | TYPE ADDR1_SEL-ADDRNUMBER, " | |||
lv_addr1_complete | TYPE SZADR_ADDR1_COMPLETE, " | |||
lv_parameter_error | TYPE SZADR_ADDR1_COMPLETE, " | |||
lt_adprt | TYPE STANDARD TABLE OF ADPRT, " | |||
lt_adssf | TYPE STANDARD TABLE OF ADSSF, " | |||
lt_aduri | TYPE STANDARD TABLE OF ADURI, " | |||
lt_adpag | TYPE STANDARD TABLE OF ADPAG, " | |||
lt_addr_rem | TYPE STANDARD TABLE OF ADDR_REM, " | |||
lt_adcomrem | TYPE STANDARD TABLE OF ADCOMREM, " | |||
lt_aduse | TYPE STANDARD TABLE OF ADUSE, " | |||
lt_adtel | TYPE STANDARD TABLE OF ADTEL, " | |||
lv_addrhandle | TYPE ADDR1_SEL-ADDRHANDLE, " | |||
lv_internal_error | TYPE ADDR1_SEL, " | |||
lt_adfax | TYPE STANDARD TABLE OF ADFAX, " | |||
lt_adttx | TYPE STANDARD TABLE OF ADTTX, " | |||
lt_adtlx | TYPE STANDARD TABLE OF ADTLX, " | |||
lt_adsmtp | TYPE STANDARD TABLE OF ADSMTP, " | |||
lt_adrml | TYPE STANDARD TABLE OF ADRML, " | |||
lt_adx400 | TYPE STANDARD TABLE OF ADX400, " | |||
lt_adrfc | TYPE STANDARD TABLE OF ADRFC. " |
  CALL FUNCTION 'ADDR_BUILD_COMPLETE' " |
EXPORTING | ||
ADDRNUMBER | = lv_addrnumber | |
ADDRHANDLE | = lv_addrhandle | |
IMPORTING | ||
ADDR1_COMPLETE | = lv_addr1_complete | |
TABLES | ||
ADDR1 | = lt_addr1 | |
ADPRT | = lt_adprt | |
ADSSF | = lt_adssf | |
ADURI | = lt_aduri | |
ADPAG | = lt_adpag | |
ADDR_REM | = lt_addr_rem | |
ADCOMREM | = lt_adcomrem | |
ADUSE | = lt_aduse | |
ADTEL | = lt_adtel | |
ADFAX | = lt_adfax | |
ADTTX | = lt_adttx | |
ADTLX | = lt_adtlx | |
ADSMTP | = lt_adsmtp | |
ADRML | = lt_adrml | |
ADX400 | = lt_adx400 | |
ADRFC | = lt_adrfc | |
EXCEPTIONS | ||
PARAMETER_ERROR = 1 | ||
INTERNAL_ERROR = 2 | ||
. " ADDR_BUILD_COMPLETE |
ABAP code using 7.40 inline data declarations to call FM ADDR_BUILD_COMPLETE
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 ADDRNUMBER FROM ADDR1_SEL INTO @DATA(ld_addrnumber). | ||||
"SELECT single ADDRHANDLE FROM ADDR1_SEL INTO @DATA(ld_addrhandle). | ||||
Search for further information about these or an SAP related objects