COMP_CURRENCY_GETTABLES is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name COMP_CURRENCY_GETTABLES into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_CR_CY
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'COMP_CURRENCY_GETTABLES' "Get Currency Tables ( Component )
* EXPORTING
* logical_system = " bbp_backend_dest-log_sys Logical system
TABLES
i_t_langu = " rslangusel
e_t_tcurf = " rstcurf
e_t_tcurs = " rstcurs
e_t_tcurt = " rstcurt
e_t_tcurv = " rstcurv
e_t_tcurw = " rstcurw
e_t_tcurx = " rstcurx
e_t_tcurc = " rstcurc
return = " bapireturn
control_record = " bbp_control_record
. " COMP_CURRENCY_GETTABLES
The ABAP code below is a full code listing to execute function module COMP_CURRENCY_GETTABLES including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_i_t_langu | TYPE STANDARD TABLE OF RSLANGUSEL,"TABLES PARAM |
| wa_i_t_langu | LIKE LINE OF it_i_t_langu , |
| it_e_t_tcurf | TYPE STANDARD TABLE OF RSTCURF,"TABLES PARAM |
| wa_e_t_tcurf | LIKE LINE OF it_e_t_tcurf , |
| it_e_t_tcurs | TYPE STANDARD TABLE OF RSTCURS,"TABLES PARAM |
| wa_e_t_tcurs | LIKE LINE OF it_e_t_tcurs , |
| it_e_t_tcurt | TYPE STANDARD TABLE OF RSTCURT,"TABLES PARAM |
| wa_e_t_tcurt | LIKE LINE OF it_e_t_tcurt , |
| it_e_t_tcurv | TYPE STANDARD TABLE OF RSTCURV,"TABLES PARAM |
| wa_e_t_tcurv | LIKE LINE OF it_e_t_tcurv , |
| it_e_t_tcurw | TYPE STANDARD TABLE OF RSTCURW,"TABLES PARAM |
| wa_e_t_tcurw | LIKE LINE OF it_e_t_tcurw , |
| it_e_t_tcurx | TYPE STANDARD TABLE OF RSTCURX,"TABLES PARAM |
| wa_e_t_tcurx | LIKE LINE OF it_e_t_tcurx , |
| it_e_t_tcurc | TYPE STANDARD TABLE OF RSTCURC,"TABLES PARAM |
| wa_e_t_tcurc | LIKE LINE OF it_e_t_tcurc , |
| it_return | TYPE STANDARD TABLE OF BAPIRETURN,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return , |
| it_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD,"TABLES PARAM |
| wa_control_record | LIKE LINE OF it_control_record . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_logical_system | TYPE BBP_BACKEND_DEST-LOG_SYS , |
| it_i_t_langu | TYPE STANDARD TABLE OF RSLANGUSEL , |
| wa_i_t_langu | LIKE LINE OF it_i_t_langu, |
| it_e_t_tcurf | TYPE STANDARD TABLE OF RSTCURF , |
| wa_e_t_tcurf | LIKE LINE OF it_e_t_tcurf, |
| it_e_t_tcurs | TYPE STANDARD TABLE OF RSTCURS , |
| wa_e_t_tcurs | LIKE LINE OF it_e_t_tcurs, |
| it_e_t_tcurt | TYPE STANDARD TABLE OF RSTCURT , |
| wa_e_t_tcurt | LIKE LINE OF it_e_t_tcurt, |
| it_e_t_tcurv | TYPE STANDARD TABLE OF RSTCURV , |
| wa_e_t_tcurv | LIKE LINE OF it_e_t_tcurv, |
| it_e_t_tcurw | TYPE STANDARD TABLE OF RSTCURW , |
| wa_e_t_tcurw | LIKE LINE OF it_e_t_tcurw, |
| it_e_t_tcurx | TYPE STANDARD TABLE OF RSTCURX , |
| wa_e_t_tcurx | LIKE LINE OF it_e_t_tcurx, |
| it_e_t_tcurc | TYPE STANDARD TABLE OF RSTCURC , |
| wa_e_t_tcurc | LIKE LINE OF it_e_t_tcurc, |
| it_return | TYPE STANDARD TABLE OF BAPIRETURN , |
| wa_return | LIKE LINE OF it_return, |
| it_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD , |
| wa_control_record | LIKE LINE OF it_control_record. |
This function module is executed on the component and calls the META
function module to get the Currency Tables data from the core system.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name COMP_CURRENCY_GETTABLES or its description.