SAP BUP_BUPA_MEMORY_GET Function Module for









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

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



Function BUP_BUPA_MEMORY_GET 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_BUPA_MEMORY_GET'"
EXPORTING
I_PARTNER = "Partner Number
* I_XWA = ' ' "
* I_VALDT = '00000000' "Validity Date

IMPORTING
E_BUT000 = "General Data
E_BUT001 = "General Data II

TABLES
* T_BUT000_TD = "
* T_BUT0ID_OLD = "
* T_BUT0IS = "Industries
* T_BUT0IS_OLD = "
* T_ADTEL = "
* T_ADFAX = "
* T_ADTTX = "
* T_ADTLX = "
* T_ADSMTP = "
* T_ADRML = "
* T_ADX400 = "
* T_BUT000_TD_OLD = "
* T_ADRFC = "
* T_ADPRT = "
* T_ADSSF = "
* T_ADURI = "
* T_ADPAG = "
* T_PARTNERROLES = "
* T_BUT0BK = "Bank Details
* T_BUT0BK_OLD = "
* T_BUT100 = "BP Roles
* T_BUT100_OLD = "
* T_BUT0CC = "
* T_BUT0CC_OLD = "
* T_BUT0ID = "

EXCEPTIONS
NO_DATA_FOUND = 1 WRONG_PARAMETERS = 2 DATE_INVALID = 3
.



IMPORTING Parameters details for BUP_BUPA_MEMORY_GET

I_PARTNER - Partner Number

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

I_XWA -

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

I_VALDT - Validity Date

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

EXPORTING Parameters details for BUP_BUPA_MEMORY_GET

E_BUT000 - General Data

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

E_BUT001 - General Data II

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

TABLES Parameters details for BUP_BUPA_MEMORY_GET

T_BUT000_TD -

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

T_BUT0ID_OLD -

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

T_BUT0IS - Industries

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

T_BUT0IS_OLD -

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

T_ADTEL -

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

T_ADFAX -

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

T_ADTTX -

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

T_ADTLX -

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

T_ADSMTP -

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

T_ADRML -

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

T_ADX400 -

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

T_BUT000_TD_OLD -

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

T_ADRFC -

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

T_ADPRT -

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

T_ADSSF -

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

T_ADURI -

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

T_ADPAG -

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

T_PARTNERROLES -

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

T_BUT0BK - Bank Details

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

T_BUT0BK_OLD -

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

T_BUT100 - BP Roles

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

T_BUT100_OLD -

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

T_BUT0CC -

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

T_BUT0CC_OLD -

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

T_BUT0ID -

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

EXCEPTIONS details

NO_DATA_FOUND -

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

WRONG_PARAMETERS - Wrong parameter

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

DATE_INVALID - Invalid Date

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BUP_BUPA_MEMORY_GET 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___I, "   
lv_i_partner  TYPE BUT000-PARTNER, "   
lt_t_but000_td  TYPE STANDARD TABLE OF BUT000_TD, "   
lv_no_data_found  TYPE BUT000_TD, "   
lt_t_but0id_old  TYPE STANDARD TABLE OF BUT0ID, "   
lt_t_but0is  TYPE STANDARD TABLE OF BUT0IS, "   
lt_t_but0is_old  TYPE STANDARD TABLE OF BUT0IS, "   
lt_t_adtel  TYPE STANDARD TABLE OF ADTEL, "   
lt_t_adfax  TYPE STANDARD TABLE OF ADFAX, "   
lt_t_adttx  TYPE STANDARD TABLE OF ADTTX, "   
lt_t_adtlx  TYPE STANDARD TABLE OF ADTLX, "   
lt_t_adsmtp  TYPE STANDARD TABLE OF ADSMTP, "   
lt_t_adrml  TYPE STANDARD TABLE OF ADRML, "   
lt_t_adx400  TYPE STANDARD TABLE OF ADX400, "   
lv_i_xwa  TYPE BOOLE-BOOLE, "   SPACE
lv_e_but001  TYPE BUS001UPDT, "   
lt_t_but000_td_old  TYPE STANDARD TABLE OF BUT000_TD, "   
lv_wrong_parameters  TYPE BUT000_TD, "   
lt_t_adrfc  TYPE STANDARD TABLE OF ADRFC, "   
lt_t_adprt  TYPE STANDARD TABLE OF ADPRT, "   
lt_t_adssf  TYPE STANDARD TABLE OF ADSSF, "   
lt_t_aduri  TYPE STANDARD TABLE OF ADURI, "   
lt_t_adpag  TYPE STANDARD TABLE OF ADPAG, "   
lt_t_partnerroles  TYPE STANDARD TABLE OF BUP_PARTNERROLES, "   
lv_i_valdt  TYPE SY-DATLO, "   '00000000'
lt_t_but0bk  TYPE STANDARD TABLE OF BUT0BK, "   
lv_date_invalid  TYPE BUT0BK, "   
lt_t_but0bk_old  TYPE STANDARD TABLE OF BUT0BK, "   
lt_t_but100  TYPE STANDARD TABLE OF BUT100, "   
lt_t_but100_old  TYPE STANDARD TABLE OF BUT100, "   
lt_t_but0cc  TYPE STANDARD TABLE OF BUT0CC, "   
lt_t_but0cc_old  TYPE STANDARD TABLE OF BUT0CC, "   
lt_t_but0id  TYPE STANDARD TABLE OF BUT0ID. "   

  CALL FUNCTION 'BUP_BUPA_MEMORY_GET'  "
    EXPORTING
         I_PARTNER = lv_i_partner
         I_XWA = lv_i_xwa
         I_VALDT = lv_i_valdt
    IMPORTING
         E_BUT000 = lv_e_but000
         E_BUT001 = lv_e_but001
    TABLES
         T_BUT000_TD = lt_t_but000_td
         T_BUT0ID_OLD = lt_t_but0id_old
         T_BUT0IS = lt_t_but0is
         T_BUT0IS_OLD = lt_t_but0is_old
         T_ADTEL = lt_t_adtel
         T_ADFAX = lt_t_adfax
         T_ADTTX = lt_t_adttx
         T_ADTLX = lt_t_adtlx
         T_ADSMTP = lt_t_adsmtp
         T_ADRML = lt_t_adrml
         T_ADX400 = lt_t_adx400
         T_BUT000_TD_OLD = lt_t_but000_td_old
         T_ADRFC = lt_t_adrfc
         T_ADPRT = lt_t_adprt
         T_ADSSF = lt_t_adssf
         T_ADURI = lt_t_aduri
         T_ADPAG = lt_t_adpag
         T_PARTNERROLES = lt_t_partnerroles
         T_BUT0BK = lt_t_but0bk
         T_BUT0BK_OLD = lt_t_but0bk_old
         T_BUT100 = lt_t_but100
         T_BUT100_OLD = lt_t_but100_old
         T_BUT0CC = lt_t_but0cc
         T_BUT0CC_OLD = lt_t_but0cc_old
         T_BUT0ID = lt_t_but0id
    EXCEPTIONS
        NO_DATA_FOUND = 1
        WRONG_PARAMETERS = 2
        DATE_INVALID = 3
. " BUP_BUPA_MEMORY_GET




ABAP code using 7.40 inline data declarations to call FM BUP_BUPA_MEMORY_GET

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_xwa).
DATA(ld_i_xwa) = ' '.
 
 
 
 
 
 
 
 
 
 
"SELECT single DATLO FROM SY INTO @DATA(ld_i_valdt).
DATA(ld_i_valdt) = '00000000'.
 
 
 
 
 
 
 
 
 


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!