SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

FK21RE19 SAP ABAP INCLUDE - Computation of field groups not contained in the data base







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


Text pool values


Title: Computation of field groups not contained in the data base


INCLUDES used within this REPORT FK21RE19

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:

K_QUANTITY_EVAL_WITH_RECEIVER CALL FUNCTION 'K_QUANTITY_EVAL_WITH_RECEIVER' "730779 EXPORTING "730779 receiver = coss-objnr "730779 CHANGING "730779 co_valuation = ls_coval "730779 EXCEPTIONS "730779 price_not_found = 1 "730779 sender_not_valid = 2 "730779 receiver_not_valid = 3 "730779 unit_conversion_error = 4 "730779 currency_error = 5 "730779 illegal_quantity = 6 "730779 others = 7. "730779

K_QUANTITY_EVAL_WITH_RECEIVER CALL FUNCTION 'K_QUANTITY_EVAL_WITH_RECEIVER' "730779 EXPORTING "730779 receiver = coss-objnr "730779 CHANGING "730779 co_valuation = ls_coval "730779 EXCEPTIONS "730779 price_not_found = 1 "730779 sender_not_valid = 2 "730779 receiver_not_valid = 3 "730779 unit_conversion_error = 4 "730779 currency_error = 5 "730779 illegal_quantity = 6 "730779 others = 7. "730779

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * DATE = DATE * FOREIGN_AMOUNT = WKG * FOREIGN_CURRENCY = CCR1S-KWAER * LOCAL_CURRENCY = ZWAER * TYPE_OF_RATE = TYPE * IMPORTING * LOCAL_AMOUNT = WZG * EXCEPTIONS * NO_RATE_FOUND = 4 * OVERFLOW = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = zwaer i_source_currency = ccr1s-kwaer i_conv_type = type i_conv_date = date i_source_amount = wkg i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = wzg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = date * foreign_amount = wkg * foreign_currency = ccr1s-kwaer * local_currency = zwaer * type_of_rate = type * IMPORTING * local_amount = wzg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = zwaer i_source_currency = ccr1s-kwaer i_conv_type = type i_conv_date = date i_source_amount = wkg i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = wzg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = date * foreign_amount = wkg * foreign_currency = ccr1s-kwaer * local_currency = zwaer * type_of_rate = type * IMPORTING * local_amount = wzg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = zwaer i_source_currency = ccr1s-kwaer i_conv_type = type i_conv_date = date i_source_amount = wkg i_perio = l_perio i_gjahr = cossp-gjahr IMPORTING i_target_amount = wzg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = date * foreign_amount = wkg * foreign_currency = ccr1s-kwaer * local_currency = zwaer * type_of_rate = type * IMPORTING * local_amount = wzg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = zwaer i_source_currency = ccr1s-kwaer i_conv_type = type i_conv_date = date i_source_amount = wkg i_perio = l_perio i_gjahr = cospp-gjahr IMPORTING i_target_amount = wzg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkg * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wkg i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wog * foreign_currency = i_owaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wog i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtg * foreign_currency = cosp-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = cosp-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wtg i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkg * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wkg i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY





* CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wog * foreign_currency = i_owaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wog i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtg * foreign_currency = coss-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = coss-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wtg i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkg * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wkg i_perio = l_perio i_gjahr = cospp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wog * foreign_currency = i_owaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wog i_perio = l_perio i_gjahr = cospp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtg * foreign_currency = cospp-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = cospp-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wtg i_perio = l_perio i_gjahr = cospp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkg * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wkg i_perio = l_perio i_gjahr = cossp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wog * foreign_currency = i_owaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wog i_perio = l_perio i_gjahr = cossp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtg * foreign_currency = cossp-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkg * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = cossp-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wtg i_perio = l_perio i_gjahr = cossp-gjahr IMPORTING i_target_amount = rkg EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

K_QUANTITY_EVAL_WITH_RECEIVER CALL FUNCTION 'K_QUANTITY_EVAL_WITH_RECEIVER' "730779 EXPORTING "730779 receiver = coss-objnr "730779 CHANGING "730779 co_valuation = ls_coval "730779 EXCEPTIONS "730779 price_not_found = 1 "730779 sender_not_valid = 2 "730779 receiver_not_valid = 3 "730779 unit_conversion_error = 4 "730779 currency_error = 5 "730779 illegal_quantity = 6 "730779 others = 7. "730779

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkf * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkf * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wkf i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkf "730779 i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.




CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtf * foreign_currency = cosp-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkf * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = cosp-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkf "730779 i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkf * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkf * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = wkf i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

K_QUANTITY_EVAL_WITH_RECEIVER CALL FUNCTION 'K_QUANTITY_EVAL_WITH_RECEIVER' "730779 EXPORTING "730779 receiver = coss-objnr "730779 CHANGING "730779 co_valuation = ls_coval "730779 EXCEPTIONS "730779 price_not_found = 1 "730779 sender_not_valid = 2 "730779 receiver_not_valid = 3 "730779 unit_conversion_error = 4 "730779 currency_error = 5 "730779 illegal_quantity = 6 "730779 others = 7. "730779

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkf "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wof * foreign_currency = i_owaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkf * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkf "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = coss-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkf "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtf * foreign_currency = coss-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkf * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = coss-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkf "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkf EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

K_QUANTITY_EVAL_WITH_RECEIVER CALL FUNCTION 'K_QUANTITY_EVAL_WITH_RECEIVER' "730779 EXPORTING "730779 receiver = coss-objnr "730779 CHANGING "730779 co_valuation = ls_coval "730779 EXCEPTIONS "730779 price_not_found = 1 "730779 sender_not_valid = 2 "730779 receiver_not_valid = 3 "730779 unit_conversion_error = 4 "730779 currency_error = 5 "730779 illegal_quantity = 6 "730779 others = 7. "730779

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkv * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkv * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wov * foreign_currency = i_owaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkv * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtv * foreign_currency = cosp-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkv * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = cosp-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = cosp-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wkv * foreign_currency = i_kwaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkv * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_kwaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

K_QUANTITY_EVAL_WITH_RECEIVER CALL FUNCTION 'K_QUANTITY_EVAL_WITH_RECEIVER' "730779 EXPORTING "730779 receiver = coss-objnr "730779 CHANGING "730779 co_valuation = ls_coval "730779 EXCEPTIONS "730779 price_not_found = 1 "730779 sender_not_valid = 2 "730779 receiver_not_valid = 3 "730779 unit_conversion_error = 4 "730779 currency_error = 5 "730779 illegal_quantity = 6 "730779 others = 7. "730779

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wov * foreign_currency = i_owaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkv * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = i_owaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = coss-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * date = i_date * foreign_amount = wtv * foreign_currency = coss-twaer * local_currency = i_zwaer * type_of_rate = i_type * IMPORTING * local_amount = rkv * EXCEPTIONS * no_rate_found = 4 * overflow = 8.

REUT_CALCULATE_TARGET_CURR_VAL CALL FUNCTION 'REUT_CALCULATE_TARGET_CURR_VAL' EXPORTING i_kokrs = ccr1s-kokrs i_target_currency = i_zwaer i_source_currency = coss-twaer i_conv_type = i_type i_conv_date = i_date i_source_amount = rkv "730779 i_perio = l_perio i_gjahr = coss-gjahr IMPORTING i_target_amount = rkv EXCEPTIONS no_fiscper_specified = 1 no_kokrs_specified = 2 period_not_defined = 3 no_rate_found = 4 overflow = 5 other_conversion_error = 6 OTHERS = 7.



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