SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_3RF_RATE_CALC_FORMS SAP ABAP INCLUDE - Include J_3RF_RATE_CALC_FORMS







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT J_3RF_RATE_CALC_FORMS. "Basic submit
SUBMIT J_3RF_RATE_CALC_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT J_3RF_RATE_CALC_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include J_3RF_RATE_CALC_FORMS


INCLUDES used within this REPORT 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


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name J_3RF_RATE_CALC_FORMS or its description.