GLE_MCA_GENL_GET_FORCU_DOCS 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 GLE_MCA_GENL_GET_FORCU_DOCS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
GLE_MCA_GENL_SUM_LINES
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'GLE_MCA_GENL_GET_FORCU_DOCS' "Get foreign currency documents
EXPORTING
i_glflex_active = " boole_d Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* i_prccat = " gle_mca_dte_tprc_cat Process Type
* i_runid = " gle_mca_dte_runid Run ID
i_tab_sel_par = " rsparams_tt rsparams Table
* i_log_handle = " balloghndl Application Log: Log Handle
* i_fcurr = " boole_d Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* i_blocksize = 500 " int4 Max. no. of entries in 'for all entries in ...'-tables
* i_calc_rdiff = SPACE " boole_d Calculate exchange rate differences
* i_ex_pdiff = " gle_mca_dte_ratevar Quantity Variance (Percentage)
* i_amount_diff = " gle_mca_dte_dmbtr Amount Functional Currency
* i_rate_type = " kurst_curr Exchange Rate Type
* i_show_all = SPACE " boole_d Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IMPORTING
e_tab_forcu_item = " gle_mca_tab_fx_trn GLE MCA Table Type for Postline
e_tab_return = " bapiret2_t Return parameter table
e_errors = " boole_d Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
. " GLE_MCA_GENL_GET_FORCU_DOCS
The ABAP code below is a full code listing to execute function module GLE_MCA_GENL_GET_FORCU_DOCS 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).
| ld_e_tab_forcu_item | TYPE GLE_MCA_TAB_FX_TRN , |
| ld_e_tab_return | TYPE BAPIRET2_T , |
| ld_e_errors | TYPE BOOLE_D . |
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_e_tab_forcu_item | TYPE GLE_MCA_TAB_FX_TRN , |
| ld_i_glflex_active | TYPE BOOLE_D , |
| ld_e_tab_return | TYPE BAPIRET2_T , |
| ld_i_prccat | TYPE GLE_MCA_DTE_TPRC_CAT , |
| ld_e_errors | TYPE BOOLE_D , |
| ld_i_runid | TYPE GLE_MCA_DTE_RUNID , |
| ld_i_tab_sel_par | TYPE RSPARAMS_TT , |
| ld_i_log_handle | TYPE BALLOGHNDL , |
| ld_i_fcurr | TYPE BOOLE_D , |
| ld_i_blocksize | TYPE INT4 , |
| ld_i_calc_rdiff | TYPE BOOLE_D , |
| ld_i_ex_pdiff | TYPE GLE_MCA_DTE_RATEVAR , |
| ld_i_amount_diff | TYPE GLE_MCA_DTE_DMBTR , |
| ld_i_rate_type | TYPE KURST_CURR , |
| ld_i_show_all | TYPE BOOLE_D . |
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 GLE_MCA_GENL_GET_FORCU_DOCS or its description.
GLE_MCA_GENL_GET_FORCU_DOCS - Get foreign currency documents GLE_MCA_GENL_GET_DOCS2 - Get FI Documents for Classic G/L GLE_MCA_GENL_GET_BALANCES - Select G/L Account Balances GLE_MCA_GENL_GET_ACCOUNTS - Get Accounts GLE_MCA_GENL_DSP_RETURN_TO_LOG - Add messages of return table to application log GLE_MCA_GENL_DSP_LOG_DISPLAY - Display application log as grid