SAP B45A_CURRENCY_GETTABLES Function Module for Transfer Currency Tables









B45A_CURRENCY_GETTABLES is a standard b45a currency gettables SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transfer Currency Tables 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 b45a currency gettables FM, simply by entering the name B45A_CURRENCY_GETTABLES into the relevant SAP transaction such as SE37 or SE38.

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



Function B45A_CURRENCY_GETTABLES 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 'B45A_CURRENCY_GETTABLES'"Transfer Currency Tables
TABLES
* I_T_LANGU = "
CONTROL_RECORD = "
* E_T_TCURF = "
* E_T_TCURS = "
* E_T_TCURT = "
* E_T_TCURV = "
* E_T_TCURW = "
* E_T_TCURX = "
* E_T_TCURC = "
RETURN = "
.



TABLES Parameters details for B45A_CURRENCY_GETTABLES

I_T_LANGU -

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

CONTROL_RECORD -

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

E_T_TCURF -

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

E_T_TCURS -

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

E_T_TCURT -

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

E_T_TCURV -

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

E_T_TCURW -

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

E_T_TCURX -

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

E_T_TCURC -

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

RETURN -

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

Copy and paste ABAP code example for B45A_CURRENCY_GETTABLES 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_i_t_langu  TYPE STANDARD TABLE OF RSLANGUSEL, "   
lt_control_record  TYPE STANDARD TABLE OF BBP_CONTROL_RECORD, "   
lt_e_t_tcurf  TYPE STANDARD TABLE OF RSTCURF, "   
lt_e_t_tcurs  TYPE STANDARD TABLE OF RSTCURS, "   
lt_e_t_tcurt  TYPE STANDARD TABLE OF RSTCURT, "   
lt_e_t_tcurv  TYPE STANDARD TABLE OF RSTCURV, "   
lt_e_t_tcurw  TYPE STANDARD TABLE OF RSTCURW, "   
lt_e_t_tcurx  TYPE STANDARD TABLE OF RSTCURX, "   
lt_e_t_tcurc  TYPE STANDARD TABLE OF RSTCURC, "   
lt_return  TYPE STANDARD TABLE OF BAPIRETURN. "   

  CALL FUNCTION 'B45A_CURRENCY_GETTABLES'  "Transfer Currency Tables
    TABLES
         I_T_LANGU = lt_i_t_langu
         CONTROL_RECORD = lt_control_record
         E_T_TCURF = lt_e_t_tcurf
         E_T_TCURS = lt_e_t_tcurs
         E_T_TCURT = lt_e_t_tcurt
         E_T_TCURV = lt_e_t_tcurv
         E_T_TCURW = lt_e_t_tcurw
         E_T_TCURX = lt_e_t_tcurx
         E_T_TCURC = lt_e_t_tcurc
         RETURN = lt_return
. " B45A_CURRENCY_GETTABLES




ABAP code using 7.40 inline data declarations to call FM B45A_CURRENCY_GETTABLES

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.

 
 
 
 
 
 
 
 
 
 


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!