SAP BUP_BUFFER_PREFETCH Function Module for









BUP_BUFFER_PREFETCH is a standard bup buffer prefetch 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 bup buffer prefetch FM, simply by entering the name BUP_BUFFER_PREFETCH into the relevant SAP transaction such as SE37 or SE38.

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



Function BUP_BUFFER_PREFETCH 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 'BUP_BUFFER_PREFETCH'"
EXPORTING
* IT_PARTNER = "
* IV_XBUT020 = ' ' "
* IT_ADDRNUMBER = "
* IV_XBUT020_DFADR = ' ' "
* IV_XBUT021 = ' ' "
* IV_XBUT021_DFADU = ' ' "
* IV_XADDRDATA = ' ' "
* IT_BPEXT = "
* IT_PARTNER_GUID = "
* IT_PERSNUMBER = "
* IV_XBUT0BK = ' ' "
* IV_XBUT0CC = ' ' "
* IV_XBUT0ID = ' ' "
* IV_XBUT0IS = ' ' "
* IV_XBUT100 = ' ' "

TABLES
* IT_BUT0BK = "
* IT_BUT021 = "
* IT_BUT021_ADR_KIND = "
* IT_BUT000 = "
* IT_BUT0CC = "
* IT_BUT0ID = "
* IT_BUT0IS = "
* IT_BUT100 = "
* IT_BUT100_RLTYP = "
* IT_BUT020 = "
* IT_BUT020_ADEXT = "
* IT_BUT020_ADDRGUID = "

EXCEPTIONS
NO_TABLES_ENTERED = 1 TABLE_TOO_LARGE = 2
.



IMPORTING Parameters details for BUP_BUFFER_PREFETCH

IT_PARTNER -

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

IV_XBUT020 -

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

IT_ADDRNUMBER -

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

IV_XBUT020_DFADR -

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

IV_XBUT021 -

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

IV_XBUT021_DFADU -

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

IV_XADDRDATA -

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

IT_BPEXT -

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

IT_PARTNER_GUID -

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

IT_PERSNUMBER -

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

IV_XBUT0BK -

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

IV_XBUT0CC -

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

IV_XBUT0ID -

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

IV_XBUT0IS -

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

IV_XBUT100 -

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

TABLES Parameters details for BUP_BUFFER_PREFETCH

IT_BUT0BK -

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

IT_BUT021 -

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

IT_BUT021_ADR_KIND -

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

IT_BUT000 -

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

IT_BUT0CC -

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

IT_BUT0ID -

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

IT_BUT0IS -

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

IT_BUT100 -

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

IT_BUT100_RLTYP -

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

IT_BUT020 -

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

IT_BUT020_ADEXT -

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

IT_BUT020_ADDRGUID -

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

EXCEPTIONS details

NO_TABLES_ENTERED -

Data type:
Optional: No
Call by Reference: Yes

TABLE_TOO_LARGE -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BUP_BUFFER_PREFETCH 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_it_but0bk  TYPE STANDARD TABLE OF BUT0BK, "   
lv_it_partner  TYPE BU_PARTNER_T, "   
lv_no_tables_entered  TYPE BU_PARTNER_T, "   
lt_it_but021  TYPE STANDARD TABLE OF BUT021, "   
lv_iv_xbut020  TYPE BOOLE-BOOLE, "   SPACE
lv_it_addrnumber  TYPE BU_ADDRNUMBER_T, "   
lt_it_but021_adr_kind  TYPE STANDARD TABLE OF BUT021, "   
lt_it_but000  TYPE STANDARD TABLE OF BUT000, "   
lv_iv_xbut020_dfadr  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xbut021  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xbut021_dfadu  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xaddrdata  TYPE BOOLE-BOOLE, "   SPACE
lv_it_bpext  TYPE BU_BPEXT_T, "   
lt_it_but0cc  TYPE STANDARD TABLE OF BUT0CC, "   
lv_table_too_large  TYPE BUT0CC, "   
lt_it_but0id  TYPE STANDARD TABLE OF BUT0ID, "   
lv_it_partner_guid  TYPE BU_PARTNERGUID_T, "   
lt_it_but0is  TYPE STANDARD TABLE OF BUT0IS, "   
lv_it_persnumber  TYPE BU_PERSNUMBER_T, "   
lt_it_but100  TYPE STANDARD TABLE OF BUT100, "   
lv_iv_xbut0bk  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xbut0cc  TYPE BOOLE-BOOLE, "   SPACE
lt_it_but100_rltyp  TYPE STANDARD TABLE OF BUT100, "   
lt_it_but020  TYPE STANDARD TABLE OF BUT020, "   
lv_iv_xbut0id  TYPE BOOLE-BOOLE, "   SPACE
lv_iv_xbut0is  TYPE BOOLE-BOOLE, "   SPACE
lt_it_but020_adext  TYPE STANDARD TABLE OF BUT020, "   
lv_iv_xbut100  TYPE BOOLE-BOOLE, "   SPACE
lt_it_but020_addrguid  TYPE STANDARD TABLE OF BUT020. "   

  CALL FUNCTION 'BUP_BUFFER_PREFETCH'  "
    EXPORTING
         IT_PARTNER = lv_it_partner
         IV_XBUT020 = lv_iv_xbut020
         IT_ADDRNUMBER = lv_it_addrnumber
         IV_XBUT020_DFADR = lv_iv_xbut020_dfadr
         IV_XBUT021 = lv_iv_xbut021
         IV_XBUT021_DFADU = lv_iv_xbut021_dfadu
         IV_XADDRDATA = lv_iv_xaddrdata
         IT_BPEXT = lv_it_bpext
         IT_PARTNER_GUID = lv_it_partner_guid
         IT_PERSNUMBER = lv_it_persnumber
         IV_XBUT0BK = lv_iv_xbut0bk
         IV_XBUT0CC = lv_iv_xbut0cc
         IV_XBUT0ID = lv_iv_xbut0id
         IV_XBUT0IS = lv_iv_xbut0is
         IV_XBUT100 = lv_iv_xbut100
    TABLES
         IT_BUT0BK = lt_it_but0bk
         IT_BUT021 = lt_it_but021
         IT_BUT021_ADR_KIND = lt_it_but021_adr_kind
         IT_BUT000 = lt_it_but000
         IT_BUT0CC = lt_it_but0cc
         IT_BUT0ID = lt_it_but0id
         IT_BUT0IS = lt_it_but0is
         IT_BUT100 = lt_it_but100
         IT_BUT100_RLTYP = lt_it_but100_rltyp
         IT_BUT020 = lt_it_but020
         IT_BUT020_ADEXT = lt_it_but020_adext
         IT_BUT020_ADDRGUID = lt_it_but020_addrguid
    EXCEPTIONS
        NO_TABLES_ENTERED = 1
        TABLE_TOO_LARGE = 2
. " BUP_BUFFER_PREFETCH




ABAP code using 7.40 inline data declarations to call FM BUP_BUFFER_PREFETCH

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_xbut020).
DATA(ld_iv_xbut020) = ' '.
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut020_dfadr).
DATA(ld_iv_xbut020_dfadr) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut021).
DATA(ld_iv_xbut021) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut021_dfadu).
DATA(ld_iv_xbut021_dfadu) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xaddrdata).
DATA(ld_iv_xaddrdata) = ' '.
 
 
 
 
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut0bk).
DATA(ld_iv_xbut0bk) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut0cc).
DATA(ld_iv_xbut0cc) = ' '.
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut0id).
DATA(ld_iv_xbut0id) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut0is).
DATA(ld_iv_xbut0is) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_xbut100).
DATA(ld_iv_xbut100) = ' '.
 
 


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!