FV64A090 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). It is used for Actual Costs from Transportation Tendering This is an example of a
If you would like to execute this report or see the full code listing simply enter FV64A090 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!
SD_SCD_ITEM_PRICING_DATA_GET call function 'SD_SCD_ITEM_PRICING_DATA_GET' importing e_refobj = l_refobj.
PRICING_CHECK_EURO_CURRENCY call function 'PRICING_CHECK_EURO_CURRENCY' exporting currency_to_check = xkomv-waers date_to_check = xkomv-kdatu importing euro_flag = l_ship_curr_is_euro exceptions euro_currencies = 1 others = 2.
PRICING_CHECK_EURO_CURRENCY call function 'PRICING_CHECK_EURO_CURRENCY' exporting currency_to_check = komk-waerk date_to_check = komp-kursk_dat importing euro_flag = l_doc_curr_is_euro exceptions euro_currencies = 1 others = 2.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = komp-kursk_dat foreign_amount = xkwert foreign_currency = xkomv-waers local_currency = komk-waerk type_of_rate = kurstyp importing exchange_rate = xkomv-kkurs local_amount = xkwert exceptions no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = xkomv-kdatu foreign_amount = xkwert foreign_currency = xkomv-waers local_currency = komk-hwaer rate = xkomv-kkurs type_of_rate = kurstyp importing exchange_rate = xkomv-kkurs local_amount = xkwert exceptions error_message = 4 others = 4.
CONVERT_TO_FOREIGN_CURRENCY call function 'CONVERT_TO_FOREIGN_CURRENCY' exporting date = komp-kursk_dat local_amount = xkwert foreign_currency = komk-waerk local_currency = komk-hwaer rate = komp-kursk type_of_rate = kurstyp importing exchange_rate = komp-kursk foreign_amount = xkwert exceptions error_message = 4 others = 4.
CONVERT_TO_FOREIGN_CURRENCY call function 'CONVERT_TO_FOREIGN_CURRENCY' exporting date = komp-kursk_dat local_amount = xkwert foreign_currency = komk-waerk local_currency = komk-hwaer importing foreign_amount = xkwert exceptions error_message = 4 others = 4.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = komp-kursk_dat "xkomv-kdatu foreign_amount = xkwert foreign_currency = xkomv-waers local_currency = komk-waerk type_of_rate = kurstyp importing exchange_rate = xkomv-kkurs local_amount = xkwert exceptions no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 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.