SAP FKK_BUPA_READ_SINGLE Function Module for Read Business Partner









FKK_BUPA_READ_SINGLE is a standard fkk bupa read single SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Business Partner 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 fkk bupa read single FM, simply by entering the name FKK_BUPA_READ_SINGLE into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_BUPA_READ_SINGLE 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 'FKK_BUPA_READ_SINGLE'"Read Business Partner
EXPORTING
I_PARTNER = "Partner Number
* I_XCOMM_FRTH = "
* I_XTAXNO = "
* I_XADDVER = "
* I_ADDRNUMBER = ' ' "Address Number
* I_OPERATION = "Activity for BP Address Determination
* I_VALDT_SEL = SY-DATLO "Business Selection Date for Time-Dependency
* I_XBUT0IS = "
* I_XBANK = "
* I_XCCARD = "
* I_XADDR_MULT = "
* I_XTELN_MULT = "
* I_XFAXN_MULT = "
* I_XEMAIL_MULT = "
* I_XR3MAIL_MULT = "
* I_XURI_MULT = "

IMPORTING
E_BUT000 = "
E_BUT000_VALIDITY = "BP: General Data, Validity

TABLES
* T_BUT000 = "BP: General Data I (Read) with Validity Interval
* T_EMAIL = "
* T_RML = "
* T_URI = "
* T_TAX = "Tax Numbers for Business Partner
* T_ADDVER = "BP: Address Usages (Read)
* T_ADDVER_FS = "Time-Dependent Address Usages
* T_BUT0IS = "GP: Industries
* T_BUT000_INT = "BP: General Data I (Internal Data Fields) with Validity
* T_BANK = "Bank Details
* T_CCARD = "BP: Read Payment Card Details
* T_ADDRESS = "Addresses
* T_TELNO = "Telephone Numbers
* T_FAXNO = "Telefax Numbers
* T_TTXNO = "
* T_TLXNO = "

EXCEPTIONS
PARTNER_NOT_FOUND = 1 PARTNER_IN_ROLE_NOT_FOUND = 2 INTERNAL_ERROR = 3
.



IMPORTING Parameters details for FKK_BUPA_READ_SINGLE

I_PARTNER - Partner Number

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

I_XCOMM_FRTH -

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

I_XTAXNO -

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

I_XADDVER -

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

I_ADDRNUMBER - Address Number

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

I_OPERATION - Activity for BP Address Determination

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

I_VALDT_SEL - Business Selection Date for Time-Dependency

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

I_XBUT0IS -

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

I_XBANK -

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

I_XCCARD -

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

I_XADDR_MULT -

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

I_XTELN_MULT -

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

I_XFAXN_MULT -

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

I_XEMAIL_MULT -

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

I_XR3MAIL_MULT -

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

I_XURI_MULT -

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

EXPORTING Parameters details for FKK_BUPA_READ_SINGLE

E_BUT000 -

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

E_BUT000_VALIDITY - BP: General Data, Validity

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

TABLES Parameters details for FKK_BUPA_READ_SINGLE

T_BUT000 - BP: General Data I (Read) with Validity Interval

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

T_EMAIL -

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

T_RML -

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

T_URI -

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

T_TAX - Tax Numbers for Business Partner

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

T_ADDVER - BP: Address Usages (Read)

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

T_ADDVER_FS - Time-Dependent Address Usages

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

T_BUT0IS - GP: Industries

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

T_BUT000_INT - BP: General Data I (Internal Data Fields) with Validity

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

T_BANK - Bank Details

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

T_CCARD - BP: Read Payment Card Details

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

T_ADDRESS - Addresses

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

T_TELNO - Telephone Numbers

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

T_FAXNO - Telefax Numbers

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

T_TTXNO -

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

T_TLXNO -

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

EXCEPTIONS details

PARTNER_NOT_FOUND -

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

PARTNER_IN_ROLE_NOT_FOUND -

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 FKK_BUPA_READ_SINGLE 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_e_but000  TYPE BUS000_EXT, "   
lt_t_but000  TYPE STANDARD TABLE OF BUS000_TD, "   
lv_i_partner  TYPE BUT000-PARTNER, "   
lv_partner_not_found  TYPE BUT000, "   
lt_t_email  TYPE STANDARD TABLE OF FKK0ADSMTP, "   
lv_i_xcomm_frth  TYPE BOOLE-BOOLE, "   
lt_t_rml  TYPE STANDARD TABLE OF FKK0ADRML, "   
lv_i_xtaxno  TYPE BOOLE-BOOLE, "   
lt_t_uri  TYPE STANDARD TABLE OF FKK0ADURI, "   
lv_i_xaddver  TYPE BOOLE-BOOLE, "   
lt_t_tax  TYPE STANDARD TABLE OF BUS_TAX, "   
lv_i_addrnumber  TYPE BUT020-ADDRNUMBER, "   SPACE
lt_t_addver  TYPE STANDARD TABLE OF BUS021, "   
lv_i_operation  TYPE TB008S-OPERATION, "   
lv_i_valdt_sel  TYPE SY-DATLO, "   SY-DATLO
lt_t_addver_fs  TYPE STANDARD TABLE OF BUT021_FS, "   
lt_t_but0is  TYPE STANDARD TABLE OF BUT0IS, "   
lv_i_xbut0is  TYPE BOOLE-BOOLE, "   
lv_i_xbank  TYPE BOOLE-BOOLE, "   
lt_t_but000_int  TYPE STANDARD TABLE OF BUS000_INT_TD, "   
lv_e_but000_validity  TYPE BUS000_VALIDITY, "   
lv_partner_in_role_not_found  TYPE BUS000_VALIDITY, "   
lt_t_bank  TYPE STANDARD TABLE OF BUS0BK, "   
lv_i_xccard  TYPE BOOLE-BOOLE, "   
lv_internal_error  TYPE BOOLE, "   
lt_t_ccard  TYPE STANDARD TABLE OF BUS0CC, "   
lv_i_xaddr_mult  TYPE BOOLE-BOOLE, "   
lt_t_address  TYPE STANDARD TABLE OF BUS020_EXT, "   
lv_i_xteln_mult  TYPE BOOLE-BOOLE, "   
lt_t_telno  TYPE STANDARD TABLE OF BUS0ADTEL, "   
lv_i_xfaxn_mult  TYPE BOOLE-BOOLE, "   
lt_t_faxno  TYPE STANDARD TABLE OF BUS0ADFAX, "   
lv_i_xemail_mult  TYPE BOOLE-BOOLE, "   
lt_t_ttxno  TYPE STANDARD TABLE OF BUS0ADTTX, "   
lv_i_xr3mail_mult  TYPE BOOLE-BOOLE, "   
lt_t_tlxno  TYPE STANDARD TABLE OF BUS0ADTLX, "   
lv_i_xuri_mult  TYPE BOOLE-BOOLE. "   

  CALL FUNCTION 'FKK_BUPA_READ_SINGLE'  "Read Business Partner
    EXPORTING
         I_PARTNER = lv_i_partner
         I_XCOMM_FRTH = lv_i_xcomm_frth
         I_XTAXNO = lv_i_xtaxno
         I_XADDVER = lv_i_xaddver
         I_ADDRNUMBER = lv_i_addrnumber
         I_OPERATION = lv_i_operation
         I_VALDT_SEL = lv_i_valdt_sel
         I_XBUT0IS = lv_i_xbut0is
         I_XBANK = lv_i_xbank
         I_XCCARD = lv_i_xccard
         I_XADDR_MULT = lv_i_xaddr_mult
         I_XTELN_MULT = lv_i_xteln_mult
         I_XFAXN_MULT = lv_i_xfaxn_mult
         I_XEMAIL_MULT = lv_i_xemail_mult
         I_XR3MAIL_MULT = lv_i_xr3mail_mult
         I_XURI_MULT = lv_i_xuri_mult
    IMPORTING
         E_BUT000 = lv_e_but000
         E_BUT000_VALIDITY = lv_e_but000_validity
    TABLES
         T_BUT000 = lt_t_but000
         T_EMAIL = lt_t_email
         T_RML = lt_t_rml
         T_URI = lt_t_uri
         T_TAX = lt_t_tax
         T_ADDVER = lt_t_addver
         T_ADDVER_FS = lt_t_addver_fs
         T_BUT0IS = lt_t_but0is
         T_BUT000_INT = lt_t_but000_int
         T_BANK = lt_t_bank
         T_CCARD = lt_t_ccard
         T_ADDRESS = lt_t_address
         T_TELNO = lt_t_telno
         T_FAXNO = lt_t_faxno
         T_TTXNO = lt_t_ttxno
         T_TLXNO = lt_t_tlxno
    EXCEPTIONS
        PARTNER_NOT_FOUND = 1
        PARTNER_IN_ROLE_NOT_FOUND = 2
        INTERNAL_ERROR = 3
. " FKK_BUPA_READ_SINGLE




ABAP code using 7.40 inline data declarations to call FM FKK_BUPA_READ_SINGLE

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 PARTNER FROM BUT000 INTO @DATA(ld_i_partner).
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xcomm_frth).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xtaxno).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xaddver).
 
 
"SELECT single ADDRNUMBER FROM BUT020 INTO @DATA(ld_i_addrnumber).
DATA(ld_i_addrnumber) = ' '.
 
 
"SELECT single OPERATION FROM TB008S INTO @DATA(ld_i_operation).
 
"SELECT single DATLO FROM SY INTO @DATA(ld_i_valdt_sel).
DATA(ld_i_valdt_sel) = SY-DATLO.
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xbut0is).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xbank).
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xccard).
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xaddr_mult).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xteln_mult).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xfaxn_mult).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xemail_mult).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xr3mail_mult).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xuri_mult).
 


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!