SAP BAPI_BUPA_ADDRESS_GETDETAIL Function Module for SAP BP, BAPI: Read Address









BAPI_BUPA_ADDRESS_GETDETAIL is a standard bapi bupa address getdetail SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SAP BP, BAPI: Read Address processing and below is the pattern details for this FM, 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 bapi bupa address getdetail FM, simply by entering the name BAPI_BUPA_ADDRESS_GETDETAIL into the relevant SAP transaction such as SE37 or SE38.

Function Group: BUBA_3
Program Name: SAPLBUBA_3
Main Program: SAPLBUBA_3
Appliation area:
Release date: 26-Nov-2001
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_BUPA_ADDRESS_GETDETAIL 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 'BAPI_BUPA_ADDRESS_GETDETAIL'"SAP BP, BAPI: Read Address
EXPORTING
BUSINESSPARTNER = "Business Partner Number
* ADDRESSGUID = "Address GUID
* VALID_DATE = SY-DATLO "Validity Date
* RESET_BUFFER = "Resets Buffer

IMPORTING
ADDRESSDATA = "Address Data

TABLES
* BAPIADTEL = "Telephone Number
* BAPIADSSF = "SSF Addresses
* BAPIADURI = "URI Addresses
* BAPIADPAG = "Pager Numbers
* BAPIAD_REM = "Address Notes
* BAPICOMREM = "Notes on Communication Types
* ADDRESSUSAGE = "Address Usages
* BAPIADVERSORG = "International Address Version for Organization/Group
* BAPIADVERSPERS = "International Address Version for Persons
* BAPIADUSE = "BAPI Structure for Communication Usages (BAS)
* RETURN = "Messages
* BAPIADFAX = "Fax Number
* BAPIADTTX = "Teletext Number
* BAPIADTLX = "Telex Number
* BAPIADSMTP = "E-Mail Addresses
* BAPIADRML = "RML Addresses
* BAPIADX400 = "X400 Addresses
* BAPIADRFC = "RFC Addresses
* BAPIADPRT = "PRT Addresses
.



IMPORTING Parameters details for BAPI_BUPA_ADDRESS_GETDETAIL

BUSINESSPARTNER - Business Partner Number

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

ADDRESSGUID - Address GUID

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

VALID_DATE - Validity Date

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

RESET_BUFFER - Resets Buffer

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

EXPORTING Parameters details for BAPI_BUPA_ADDRESS_GETDETAIL

ADDRESSDATA - Address Data

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

TABLES Parameters details for BAPI_BUPA_ADDRESS_GETDETAIL

BAPIADTEL - Telephone Number

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

BAPIADSSF - SSF Addresses

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

BAPIADURI - URI Addresses

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

BAPIADPAG - Pager Numbers

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

BAPIAD_REM - Address Notes

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

BAPICOMREM - Notes on Communication Types

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

ADDRESSUSAGE - Address Usages

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

BAPIADVERSORG - International Address Version for Organization/Group

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

BAPIADVERSPERS - International Address Version for Persons

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

BAPIADUSE - BAPI Structure for Communication Usages (BAS)

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

RETURN - Messages

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

BAPIADFAX - Fax Number

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

BAPIADTTX - Teletext Number

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

BAPIADTLX - Telex Number

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

BAPIADSMTP - E-Mail Addresses

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

BAPIADRML - RML Addresses

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

BAPIADX400 - X400 Addresses

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

BAPIADRFC - RFC Addresses

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

BAPIADPRT - PRT Addresses

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

Copy and paste ABAP code example for BAPI_BUPA_ADDRESS_GETDETAIL 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_bapiadtel  TYPE STANDARD TABLE OF BAPIADTEL, "   
lv_addressdata  TYPE BAPIBUS1006_ADDRESS, "   
lv_businesspartner  TYPE BAPIBUS1006_HEAD-BPARTNER, "   
lt_bapiadssf  TYPE STANDARD TABLE OF BAPIADSSF, "   
lt_bapiaduri  TYPE STANDARD TABLE OF BAPIADURI, "   
lt_bapiadpag  TYPE STANDARD TABLE OF BAPIADPAG, "   
lt_bapiad_rem  TYPE STANDARD TABLE OF BAPIAD_REM, "   
lt_bapicomrem  TYPE STANDARD TABLE OF BAPICOMREM, "   
lt_addressusage  TYPE STANDARD TABLE OF BAPIBUS1006_ADDRESSUSAGE, "   
lt_bapiadversorg  TYPE STANDARD TABLE OF BAPIAD1VD, "   
lt_bapiadverspers  TYPE STANDARD TABLE OF BAPIAD2VD, "   
lt_bapiaduse  TYPE STANDARD TABLE OF BAPIADUSE, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lt_bapiadfax  TYPE STANDARD TABLE OF BAPIADFAX, "   
lv_addressguid  TYPE BUT020-GUID, "   
lt_bapiadttx  TYPE STANDARD TABLE OF BAPIADTTX, "   
lv_valid_date  TYPE BAPIBUS1006_VALIDITY-VALID_DATE, "   SY-DATLO
lt_bapiadtlx  TYPE STANDARD TABLE OF BAPIADTLX, "   
lv_reset_buffer  TYPE BOOLE-BOOLE, "   
lt_bapiadsmtp  TYPE STANDARD TABLE OF BAPIADSMTP, "   
lt_bapiadrml  TYPE STANDARD TABLE OF BAPIADRML, "   
lt_bapiadx400  TYPE STANDARD TABLE OF BAPIADX400, "   
lt_bapiadrfc  TYPE STANDARD TABLE OF BAPIADRFC, "   
lt_bapiadprt  TYPE STANDARD TABLE OF BAPIADPRT. "   

  CALL FUNCTION 'BAPI_BUPA_ADDRESS_GETDETAIL'  "SAP BP, BAPI: Read Address
    EXPORTING
         BUSINESSPARTNER = lv_businesspartner
         ADDRESSGUID = lv_addressguid
         VALID_DATE = lv_valid_date
         RESET_BUFFER = lv_reset_buffer
    IMPORTING
         ADDRESSDATA = lv_addressdata
    TABLES
         BAPIADTEL = lt_bapiadtel
         BAPIADSSF = lt_bapiadssf
         BAPIADURI = lt_bapiaduri
         BAPIADPAG = lt_bapiadpag
         BAPIAD_REM = lt_bapiad_rem
         BAPICOMREM = lt_bapicomrem
         ADDRESSUSAGE = lt_addressusage
         BAPIADVERSORG = lt_bapiadversorg
         BAPIADVERSPERS = lt_bapiadverspers
         BAPIADUSE = lt_bapiaduse
         RETURN = lt_return
         BAPIADFAX = lt_bapiadfax
         BAPIADTTX = lt_bapiadttx
         BAPIADTLX = lt_bapiadtlx
         BAPIADSMTP = lt_bapiadsmtp
         BAPIADRML = lt_bapiadrml
         BAPIADX400 = lt_bapiadx400
         BAPIADRFC = lt_bapiadrfc
         BAPIADPRT = lt_bapiadprt
. " BAPI_BUPA_ADDRESS_GETDETAIL




ABAP code using 7.40 inline data declarations to call FM BAPI_BUPA_ADDRESS_GETDETAIL

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 BPARTNER FROM BAPIBUS1006_HEAD INTO @DATA(ld_businesspartner).
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single GUID FROM BUT020 INTO @DATA(ld_addressguid).
 
 
"SELECT single VALID_DATE FROM BAPIBUS1006_VALIDITY INTO @DATA(ld_valid_date).
DATA(ld_valid_date) = SY-DATLO.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_reset_buffer).
 
 
 
 
 
 


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!