J_3RF_RATE_CALC_FORMS is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter J_3RF_RATE_CALC_FORMS into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Include J_3RF_RATE_CALC_FORMS
" MAIN PART OF NUMBER INCLUDES ONLY DIGISTS FROM HIGHEST POSITIONS
" CONVERTED MAIN PART AND DIVISION REST WILL BE STORED IN 15 LENGTH NUBERS TO INCLUDE ACCURACY
No SAP DATABASE tables are accessed within this REPORT code!
CONVERT_TO_FOREIGN_CURRENCY * CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * date =
-bldat * foreign_currency = p_waers * local_amount = -dmbtr * local_currency = wa_t001-waers * type_of_rate = g_kurstyp * IMPORTING * foreign_amount = -wrbtr_inv * EXCEPTIONS * OTHERS = 6.
READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING date =
-bldat foreign_currency = p_waers local_currency = wa_t001-waers type_of_rate = g_kurstyp IMPORTING EXCHANGE_RATE = -rate_pay FOREIGN_FACTOR = FFACT LOCAL_FACTOR = LFACT EXCEPTIONS NO_RATE_FOUND = 1 NO_FACTORS_FOUND = 2 NO_SPREAD_FOUND = 3 DERIVED_2_TIMES = 4 OVERFLOW = 5 ZERO_RATE = 6 OTHERS = 7.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = l_budat foreign_amount = l_wrbtr foreign_currency = p_waers local_currency = l_waers type_of_rate = g_kurstyp IMPORTING local_amount = l_dmbtr EXCEPTIONS OTHERS = 6.
KURS_IN_PREISNOTATION CALL FUNCTION 'KURS_IN_PREISNOTATION' EXPORTING date = rateequation-conv_date type_of_rate = rateequation-kurstyp foreign_currency = rateequation-fcurrp local_currency = rateequation-tcurrp rate = 0 IMPORTING foreign_factor = rateequation-ffactp local_factor = rateequation-tfactp EXCEPTIONS error_message = 1.
KURS_IN_MENGENNOTATION CALL FUNCTION 'KURS_IN_MENGENNOTATION' EXPORTING date = rateequation-conv_date type_of_rate = rateequation-kurstyp foreign_currency = rateequation-fcurrm local_currency = rateequation-tcurrm rate = 0 IMPORTING foreign_factor = rateequation-ffactm local_factor = rateequation-tfactm EXCEPTIONS error_message = 1.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = date foreign_currency = foreign_currency local_amount = lv_locl_curr_main_part local_currency = local_currency type_of_rate = type_of_rate IMPORTING foreign_amount = lv_foreign_amount_main EXCEPTIONS OTHERS = 6.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = date foreign_currency = foreign_currency local_amount = lv_locl_curr_divis_rest local_currency = local_currency type_of_rate = type_of_rate IMPORTING foreign_amount = lv_foreign_amount_divs EXCEPTIONS OTHERS = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.