SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Information System(FI-SL-IS) SAP FI

FGRWXF04 SAP ABAP INCLUDE - documentation and ABAP source code







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


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 FGRWXF04. "Basic submit
SUBMIT FGRWXF04 AND RETURN. "Return to original report after report execution complete
SUBMIT FGRWXF04 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FGRWXF04

No INCLUDES are used within this REPORT code!


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_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.



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 FGRWXF04 or its description.