SAP BUPA_ADDRESS_READ_DETAIL Function Module for









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

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



Function BUPA_ADDRESS_READ_DETAIL 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 'BUPA_ADDRESS_READ_DETAIL'"
EXPORTING
* IV_PARTNER = "Business Partner Number
* IV_XADTTX = ' ' "Indicator: Teletext Numbers Relevant
* IV_XADTLX = ' ' "Indicator: Telex Numbers Relevant
* IV_XADSMTP = ' ' "Indicator: EMail Addresses Relevant
* IV_XADRML = ' ' "Indicator: RML Addresses Relevant
* IV_XADX400 = ' ' "Indicator: X400 Addresses Relevant
* IV_XADRFC = ' ' "Indicator: RFC Addresses Relevant
* IV_XADPRT = ' ' "Indicator: PRT Addresses Relevant
* IV_XADSSF = ' ' "Indicator: SSF Addresses Relevant
* IV_XADURI = ' ' "Indicator: URI Addresses Relevant
* IV_XADPAG = ' ' "Indicator: Pager Numbers Relevant
* IV_PARTNER_GUID = "Business Partner GUID
* IV_XAD_REM = ' ' "Indicator: Remarks for Address Relevant
* IV_XADCOMREM = ' ' "Indicator: Remarks for Communication Types Relevant
* IV_XADUSE = ' ' "Indicator: Address Usages Relevant
* IV_VALID_DATE = "
* IV_VALID_TIME = "UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
* IV_RESET_BUFFER = "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
* IV_ADDRNUMBER = "Address Number
* IV_ADDRGUID = "Address GUID
* IV_XADDRESS = 'X' "Indicator: Address Data Relevant
* IV_XADTEL = ' ' "Indicator: Telephone Numbers Relevant
* IV_XADFAX = ' ' "Indicator: Telefax Numbers Relevant

IMPORTING
ES_ADDRESS = "SAP BP: BAPI Structure for Address Data

TABLES
* ET_ADTEL = "Telephone Number
* ET_ADSSF = "SSF Addresses
* ET_ADURI = "URI Addresses
* ET_ADPAG = "Pager Numbers
* ET_AD_REM = "Remarks for Address
* ET_COMREM = "Remarks for Communication Types
* ET_ADUSE = "Address Usages
* ET_ADDR_VERS_ORG = "
* ET_ADDR_VERS_PERS = "
* ET_ADFAX = "Fax Number
* ET_ADTTX = "Teletext Number
* ET_ADTLX = "Telex Number
* ET_ADSMTP = "E-Mail Addresses
* ET_ADRML = "RML Addresses
* ET_ADX400 = "X400 Addresses
* ET_ADRFC = "RFC Addresses
* ET_ADPRT = "PRT Addresses

EXCEPTIONS
NO_PARTNER_SPECIFIED = 1 NO_VALID_RECORD_FOUND = 2
.



IMPORTING Parameters details for BUPA_ADDRESS_READ_DETAIL

IV_PARTNER - Business Partner Number

Data type: BU_PARTNER
Optional: Yes
Call by Reference: Yes

IV_XADTTX - Indicator: Teletext Numbers Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADTLX - Indicator: Telex Numbers Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADSMTP - Indicator: EMail Addresses Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADRML - Indicator: RML Addresses Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADX400 - Indicator: X400 Addresses Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADRFC - Indicator: RFC Addresses Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADPRT - Indicator: PRT Addresses Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADSSF - Indicator: SSF Addresses Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADURI - Indicator: URI Addresses Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADPAG - Indicator: Pager Numbers Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_PARTNER_GUID - Business Partner GUID

Data type: BU_PARTNER_GUID
Optional: Yes
Call by Reference: Yes

IV_XAD_REM - Indicator: Remarks for Address Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADCOMREM - Indicator: Remarks for Communication Types Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADUSE - Indicator: Address Usages Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_VALID_DATE -

Data type: BAPI_BUPA_VALID_DATE
Optional: Yes
Call by Reference: Yes

IV_VALID_TIME - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)

Data type: TIMESTAMP
Optional: Yes
Call by Reference: Yes

IV_RESET_BUFFER - Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

IV_ADDRNUMBER - Address Number

Data type: AD_ADDRNUM
Optional: Yes
Call by Reference: Yes

IV_ADDRGUID - Address GUID

Data type: BU_ADDRESS_GUID
Optional: Yes
Call by Reference: Yes

IV_XADDRESS - Indicator: Address Data Relevant

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: Yes

IV_XADTEL - Indicator: Telephone Numbers Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_XADFAX - Indicator: Telefax Numbers Relevant

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for BUPA_ADDRESS_READ_DETAIL

ES_ADDRESS - SAP BP: BAPI Structure for Address Data

Data type: BAPIBUS1006_ADDRESS
Optional: No
Call by Reference: Yes

TABLES Parameters details for BUPA_ADDRESS_READ_DETAIL

ET_ADTEL - Telephone Number

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

ET_ADSSF - SSF Addresses

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

ET_ADURI - URI Addresses

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

ET_ADPAG - Pager Numbers

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

ET_AD_REM - Remarks for Address

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

ET_COMREM - Remarks for Communication Types

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

ET_ADUSE - Address Usages

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

ET_ADDR_VERS_ORG -

Data type: BAPIAD1VD
Optional: Yes
Call by Reference: Yes

ET_ADDR_VERS_PERS -

Data type: BAPIAD2VD
Optional: Yes
Call by Reference: Yes

ET_ADFAX - Fax Number

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

ET_ADTTX - Teletext Number

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

ET_ADTLX - Telex Number

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

ET_ADSMTP - E-Mail Addresses

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

ET_ADRML - RML Addresses

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

ET_ADX400 - X400 Addresses

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

ET_ADRFC - RFC Addresses

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

ET_ADPRT - PRT Addresses

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

EXCEPTIONS details

NO_PARTNER_SPECIFIED -

Data type:
Optional: No
Call by Reference: Yes

NO_VALID_RECORD_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BUPA_ADDRESS_READ_DETAIL 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_et_adtel  TYPE STANDARD TABLE OF BAPIADTEL, "   
lv_es_address  TYPE BAPIBUS1006_ADDRESS, "   
lv_iv_partner  TYPE BU_PARTNER, "   
lv_no_partner_specified  TYPE BU_PARTNER, "   
lt_et_adssf  TYPE STANDARD TABLE OF BAPIADSSF, "   
lv_iv_xadttx  TYPE BOOLE-BOOLE, "   SPACE
lt_et_aduri  TYPE STANDARD TABLE OF BAPIADURI, "   
lv_iv_xadtlx  TYPE BOOLE-BOOLE, "   SPACE
lt_et_adpag  TYPE STANDARD TABLE OF BAPIADPAG, "   
lv_iv_xadsmtp  TYPE BOOLE-BOOLE, "   SPACE
lt_et_ad_rem  TYPE STANDARD TABLE OF BAPIAD_REM, "   
lv_iv_xadrml  TYPE BOOLE-BOOLE, "   SPACE
lt_et_comrem  TYPE STANDARD TABLE OF BAPICOMREM, "   
lv_iv_xadx400  TYPE BOOLE-BOOLE, "   SPACE
lt_et_aduse  TYPE STANDARD TABLE OF BAPIBUS1006_ADDRESSUSAGE, "   
lv_iv_xadrfc  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xadprt  TYPE BOOLE-BOOLE, "   SPACE
lt_et_addr_vers_org  TYPE STANDARD TABLE OF BAPIAD1VD, "   
lv_iv_xadssf  TYPE BOOLE-BOOLE, "   SPACE
lt_et_addr_vers_pers  TYPE STANDARD TABLE OF BAPIAD2VD, "   
lv_iv_xaduri  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xadpag  TYPE BOOLE-BOOLE, "   SPACE
lt_et_adfax  TYPE STANDARD TABLE OF BAPIADFAX, "   
lv_iv_partner_guid  TYPE BU_PARTNER_GUID, "   
lv_no_valid_record_found  TYPE BU_PARTNER_GUID, "   
lv_iv_xad_rem  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xadcomrem  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xaduse  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_valid_date  TYPE BAPI_BUPA_VALID_DATE, "   
lt_et_adttx  TYPE STANDARD TABLE OF BAPIADTTX, "   
lv_iv_valid_time  TYPE TIMESTAMP, "   
lt_et_adtlx  TYPE STANDARD TABLE OF BAPIADTLX, "   
lv_iv_reset_buffer  TYPE BOOLE-BOOLE, "   
lt_et_adsmtp  TYPE STANDARD TABLE OF BAPIADSMTP, "   
lv_iv_addrnumber  TYPE AD_ADDRNUM, "   
lt_et_adrml  TYPE STANDARD TABLE OF BAPIADRML, "   
lv_iv_addrguid  TYPE BU_ADDRESS_GUID, "   
lt_et_adx400  TYPE STANDARD TABLE OF BAPIADX400, "   
lv_iv_xaddress  TYPE BOOLE-BOOLE, "   'X'
lt_et_adrfc  TYPE STANDARD TABLE OF BAPIADRFC, "   
lv_iv_xadtel  TYPE BOOLE-BOOLE, "   SPACE
lt_et_adprt  TYPE STANDARD TABLE OF BAPIADPRT, "   
lv_iv_xadfax  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'BUPA_ADDRESS_READ_DETAIL'  "
    EXPORTING
         IV_PARTNER = lv_iv_partner
         IV_XADTTX = lv_iv_xadttx
         IV_XADTLX = lv_iv_xadtlx
         IV_XADSMTP = lv_iv_xadsmtp
         IV_XADRML = lv_iv_xadrml
         IV_XADX400 = lv_iv_xadx400
         IV_XADRFC = lv_iv_xadrfc
         IV_XADPRT = lv_iv_xadprt
         IV_XADSSF = lv_iv_xadssf
         IV_XADURI = lv_iv_xaduri
         IV_XADPAG = lv_iv_xadpag
         IV_PARTNER_GUID = lv_iv_partner_guid
         IV_XAD_REM = lv_iv_xad_rem
         IV_XADCOMREM = lv_iv_xadcomrem
         IV_XADUSE = lv_iv_xaduse
         IV_VALID_DATE = lv_iv_valid_date
         IV_VALID_TIME = lv_iv_valid_time
         IV_RESET_BUFFER = lv_iv_reset_buffer
         IV_ADDRNUMBER = lv_iv_addrnumber
         IV_ADDRGUID = lv_iv_addrguid
         IV_XADDRESS = lv_iv_xaddress
         IV_XADTEL = lv_iv_xadtel
         IV_XADFAX = lv_iv_xadfax
    IMPORTING
         ES_ADDRESS = lv_es_address
    TABLES
         ET_ADTEL = lt_et_adtel
         ET_ADSSF = lt_et_adssf
         ET_ADURI = lt_et_aduri
         ET_ADPAG = lt_et_adpag
         ET_AD_REM = lt_et_ad_rem
         ET_COMREM = lt_et_comrem
         ET_ADUSE = lt_et_aduse
         ET_ADDR_VERS_ORG = lt_et_addr_vers_org
         ET_ADDR_VERS_PERS = lt_et_addr_vers_pers
         ET_ADFAX = lt_et_adfax
         ET_ADTTX = lt_et_adttx
         ET_ADTLX = lt_et_adtlx
         ET_ADSMTP = lt_et_adsmtp
         ET_ADRML = lt_et_adrml
         ET_ADX400 = lt_et_adx400
         ET_ADRFC = lt_et_adrfc
         ET_ADPRT = lt_et_adprt
    EXCEPTIONS
        NO_PARTNER_SPECIFIED = 1
        NO_VALID_RECORD_FOUND = 2
. " BUPA_ADDRESS_READ_DETAIL




ABAP code using 7.40 inline data declarations to call FM BUPA_ADDRESS_READ_DETAIL

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 BOOLE FROM BOOLE INTO @DATA(ld_iv_xadttx).
DATA(ld_iv_xadttx) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadtlx).
DATA(ld_iv_xadtlx) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadsmtp).
DATA(ld_iv_xadsmtp) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadrml).
DATA(ld_iv_xadrml) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadx400).
DATA(ld_iv_xadx400) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadrfc).
DATA(ld_iv_xadrfc) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadprt).
DATA(ld_iv_xadprt) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadssf).
DATA(ld_iv_xadssf) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xaduri).
DATA(ld_iv_xaduri) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadpag).
DATA(ld_iv_xadpag) = ' '.
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xad_rem).
DATA(ld_iv_xad_rem) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadcomrem).
DATA(ld_iv_xadcomrem) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xaduse).
DATA(ld_iv_xaduse) = ' '.
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_reset_buffer).
 
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xaddress).
DATA(ld_iv_xaddress) = 'X'.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadtel).
DATA(ld_iv_xadtel) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xadfax).
DATA(ld_iv_xadfax) = ' '.
 


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!