FGRWXF04 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 FGRWXF04 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = l_date foreign_amount = p_amount foreign_currency = p_unit local_currency = p_curr type_of_rate = p_rate IMPORTING local_amount = l_new_amount EXCEPTIONS no_rate_found = 1.
UNIT_PARAMETERS_GET * CALL FUNCTION 'UNIT_PARAMETERS_GET' * EXPORTING * unit = l_s_t006-msehi * IMPORTING * decimals = l_s_t006-andec * dimension = l_s_t006-dimid * numerator = l_s_t006-zaehl * denominator = l_s_t006-nennr * exponent = l_s_t006-exp10 * add_const = l_s_t006-addko * decan = l_s_t006-decan * famunit = l_s_t006-famunit * EXCEPTIONS * OTHERS = 4.
CONVERSION_FACTOR_GET CALL FUNCTION 'CONVERSION_FACTOR_GET' EXPORTING unit_in = l_unit1 unit_out = l_unit2 IMPORTING add_const = t_t006-addko decimals = t_t006-andec denominator = t_t006-nennr dimension = t_t006-dimid numerator = t_t006-zaehl EXCEPTIONS OTHERS = 4.
UNIT_CONVERSION_WITH_FACTOR * CALL FUNCTION 'UNIT_CONVERSION_WITH_FACTOR' * EXPORTING * add_const = t_t006-addko * denominator = t_t006-nennr * input = l_amount1 * numerator = t_t006-zaehl * IMPORTING * output = l_amount2 * EXCEPTIONS * OTHERS = 4.
UNIT_PARAMETERS_GET CALL FUNCTION 'UNIT_PARAMETERS_GET' EXPORTING unit = ls_t006-msehi IMPORTING decimals = ls_t006-andec dimension = ls_t006-dimid numerator = ls_t006-zaehl denominator = ls_t006-nennr exponent = ls_t006-exp10 add_const = ls_t006-addko decan = ls_t006-decan famunit = ls_t006-famunit EXCEPTIONS OTHERS = 4.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = i_amount1 UNIT_IN = i_unit1 UNIT_OUT = i_unit2 IMPORTING OUTPUT = e_amount2 EXCEPTIONS CONVERSION_NOT_FOUND = 1 DIVISION_BY_ZERO = 2 INPUT_INVALID = 3 OUTPUT_INVALID = 4 OVERFLOW = 5 TYPE_INVALID = 6 UNITS_MISSING = 7 UNIT_IN_NOT_FOUND = 8 UNIT_OUT_NOT_FOUND = 9 OTHERS = 10.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.