FIWT0000 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 FIWT0000 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!
FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = buk_tab-bukrs EXCEPTIONS component_not_active = 1.
CONVERT_TO_LOCAL_CURRENCY * Call function 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * Date = Ld_pay_date * Rate = Ld_pay_rate * Foreign_amount = Ct_with_item-Wt_qsshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * IMPORTING * Local_amount = Ct_with_item-Wt_qsshh.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = ct_with_item-wt_qsshb foreign_currency = cs_ktab-waers local_currency = id_localcurr TYPE_OF_RATE = P_KURST IMPORTING local_amount = ct_with_item-wt_qsshh 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 = ld_pay_date foreign_amount = ct_with_item-wt_qsshb foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate IMPORTING local_amount = ct_with_item-wt_qsshh 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 = bseg-augdt foreign_amount = ct_with_item-wt_qbshb foreign_currency = cs_ktab-waers local_currency = id_localcurr type_of_rate = zkurst IMPORTING local_amount = ct_with_item-wt_qbshh 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 = ld_pay_date foreign_amount = ct_with_item-wt_qsshb foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qsshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Rate = Ld_pay_rate * Foreign_amount = Cs_ktab-Wrbtr * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * IMPORTING * Local_amount = Cs_ktab-Dmbtr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-wrbtr foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-dmbtr * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Rate = Ld_pay_rate * Foreign_amount = Cs_ktab-Wmwst * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * IMPORTING * Local_amount = Cs_ktab-Mwsts.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-wmwst foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-mwsts * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Rate = Ld_pay_rate * Foreign_amount = Cs_ktab-Ensab * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * IMPORTING * Local_amount = Cs_ktab-Ensah.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-ensab foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-ensah * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_PAY_DATE FOREIGN_AMOUNT = CS_KTAB-ENS_AMNT_B FOREIGN_CURRENCY = CS_KTAB-WAERS LOCAL_CURRENCY = ID_LOCALCURR RATE = LD_PAY_RATE * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = CS_KTAB-ENS_AMNT_H * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.
CONVERT_TO_FOREIGN_CURRENCY * Call function 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * Date = Id_convdat * TYPE_OF_RATE = 'M' * Local_amount = Cs_ktab-Dmbtr * Local_currency = Id_localcurr * Foreign_currency = Id_outcurr * IMPORTING * Foreign_amount = Cs_ktab-Dmbtr.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = id_convdat foreign_currency = id_outcurr local_amount = cs_ktab-dmbtr local_currency = id_localcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = foreign_amount = cs_ktab-dmbtr * FOREIGN_FACTOR = * LOCAL_FACTOR = * EXCHANGE_RATEX = * DERIVED_RATE_TYPE = * FIXED_RATE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
CONVERT_TO_FOREIGN_CURRENCY * Call function 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * Date = Id_convdat * Type_of_rate = 'M' * Local_amount = Cs_ktab-Mwsts * Local_currency = Id_localcurr * Foreign_currency = Id_outcurr * IMPORTING * Foreign_amount = Cs_ktab-Mwsts.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = id_convdat foreign_currency = id_outcurr local_amount = cs_ktab-mwsts local_currency = id_localcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = foreign_amount = cs_ktab-mwsts * FOREIGN_FACTOR = * LOCAL_FACTOR = * EXCHANGE_RATEX = * DERIVED_RATE_TYPE = * FIXED_RATE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
CONVERT_TO_FOREIGN_CURRENCY * Call function 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * Date = Id_convdat * Type_of_rate = 'M' * Local_amount = Cs_ktab-Ensah * Local_currency = Id_localcurr * Foreign_currency = Id_outcurr * IMPORTING * Foreign_amount = Cs_ktab-Ensah.
CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = id_convdat foreign_currency = id_outcurr local_amount = cs_ktab-ensah local_currency = id_localcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = foreign_amount = cs_ktab-ensah * FOREIGN_FACTOR = * LOCAL_FACTOR = * EXCHANGE_RATEX = * DERIVED_RATE_TYPE = * FIXED_RATE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = ID_CONVDAT FOREIGN_CURRENCY = ID_OUTCURR LOCAL_AMOUNT = CS_KTAB-ENS_AMNT_H LOCAL_CURRENCY = ID_LOCALCURR * RATE = 0 TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = FOREIGN_AMOUNT = CS_KTAB-ENS_AMNT_H * FOREIGN_FACTOR = * LOCAL_FACTOR = * EXCHANGE_RATEX = * DERIVED_RATE_TYPE = * FIXED_RATE = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.
CONVERT_TO_FOREIGN_CURRENCY * Call function 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * Date = Id_convdat * Type_of_rate = 'M' * Local_amount = Ct_with_item-Wt_qbshh * Local_currency = Id_localcurr * Foreign_currency = Id_outcurr * IMPORTING * Foreign_amount = Ct_with_item-Wt_qbshh.
CONVERT_TO_FOREIGN_CURRENCY * Call function 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * Date = Id_convdat * Type_of_rate = 'M' * Local_amount = Ct_with_item-Wt_qsshh * Local_currency = Id_localcurr * Foreign_currency = Id_outcurr * IMPORTING * Foreign_amount = Ct_with_item-Wt_qsshh.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = id_convdat foreign_currency = id_outcurr local_amount = ct_with_item-wt_qbshh local_currency = id_localcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = foreign_amount = ct_with_item-wt_qbshh * FOREIGN_FACTOR = * LOCAL_FACTOR = * EXCHANGE_RATEX = * DERIVED_RATE_TYPE = * FIXED_RATE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = id_convdat foreign_currency = id_outcurr local_amount = ct_with_item-wt_qsshh local_currency = id_localcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = foreign_amount = ct_with_item-wt_qsshh * FOREIGN_FACTOR = * LOCAL_FACTOR = * EXCHANGE_RATEX = * DERIVED_RATE_TYPE = * FIXED_RATE = 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 = Id_convdat * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Wrbtr * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Dmbtr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = id_convdat foreign_amount = cs_ktab-wrbtr foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-dmbtr * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Id_convdat * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Wmwst * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * LOCAL_AMOUNT = CS_KTAB-MWSTS.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = id_convdat foreign_amount = cs_ktab-wmwst foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-mwsts * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Id_convdat * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Ensab * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Ensah.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = id_convdat foreign_amount = cs_ktab-ensab foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-ensah * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = ID_CONVDAT FOREIGN_AMOUNT = CS_KTAB-ENS_AMNT_B FOREIGN_CURRENCY = CS_KTAB-WAERS LOCAL_CURRENCY = ID_OUTCURR * RATE = 0 TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = CS_KTAB-ENS_AMNT_H * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Id_convdat * Type_of_rate = 'M' * Foreign_amount = Ct_with_item-Wt_qsshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Ct_with_item-Wt_qsshh.
CONVERT_TO_LOCAL_CURRENCY * Call function 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * Date = Id_convdat * Type_of_rate = 'M' * Foreign_amount = Ct_with_item-Wt_qbshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Ct_with_item-Wt_qbshh.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = id_convdat foreign_amount = ct_with_item-wt_qsshb foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qsshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = id_convdat foreign_amount = ct_with_item-wt_qbshb foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qbshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_INV_DATE * Type_of_rate = 'M' * Foreign_amount = Ct_with_item-Wt_qbshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * LOCAL_AMOUNT = CT_WITH_ITEM-WT_QBSHH.
CONVERT_TO_LOCAL_CURRENCY * Call function 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * DATE = LD_INV_DATE * Type_of_rate = 'M' * Foreign_amount = Ct_with_item-Wt_qsshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * LOCAL_AMOUNT = CT_WITH_ITEM-WT_QSSHH.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_inv_date foreign_amount = ct_with_item-wt_qbshb foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qbshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = ld_inv_date foreign_amount = ct_with_item-wt_qsshb foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qsshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_PAY_DATE * Type_of_rate = 'M' * Foreign_amount = Ct_with_item-Wt_qbshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * LOCAL_AMOUNT = CT_WITH_ITEM-WT_QBSHH.
CONVERT_TO_LOCAL_CURRENCY * Call function 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * DATE = LD_PAY_DATE * Type_of_rate = 'M' * Foreign_amount = Ct_with_item-Wt_qsshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * LOCAL_AMOUNT = CT_WITH_ITEM-WT_QSSHH.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = ct_with_item-wt_qbshb foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qbshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = ld_pay_date foreign_amount = ct_with_item-wt_qsshb foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qsshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_PAY_DATE * Rate = Ld_pay_rate * Foreign_amount = Ct_with_item-Wt_qsshb * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * importing * LOCAL_AMOUNT = CT_WITH_ITEM-WT_QSSHH.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = ct_with_item-wt_qsshb foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = ct_with_item-wt_qsshh * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_inv_date * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Wrbtr * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Dmbtr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_inv_date foreign_amount = cs_ktab-wrbtr foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-dmbtr * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_inv_date * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Wmwst * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Mwsts.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_inv_date foreign_amount = cs_ktab-wmwst foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-mwsts * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_INV_DATE * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Ensab * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Ensah.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_inv_date foreign_amount = cs_ktab-ensab foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-ensah * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_INV_DATE FOREIGN_AMOUNT = CS_KTAB-ENS_AMNT_B FOREIGN_CURRENCY = CS_KTAB-WAERS LOCAL_CURRENCY = ID_OUTCURR * RATE = 0 TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = CS_KTAB-ENS_AMNT_H * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Wrbtr * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Dmbtr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-wrbtr foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-dmbtr * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Wmwst * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Mwsts.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-wmwst foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-mwsts * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Type_of_rate = 'M' * Foreign_amount = Cs_ktab-Ensab * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_outcurr * IMPORTING * Local_amount = Cs_ktab-Ensah.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-ensab foreign_currency = cs_ktab-waers local_currency = id_outcurr * RATE = 0 type_of_rate = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-ensah * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_PAY_DATE FOREIGN_AMOUNT = CS_KTAB-ENS_AMNT_B FOREIGN_CURRENCY = CS_KTAB-WAERS LOCAL_CURRENCY = ID_OUTCURR * RATE = 0 TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = CS_KTAB-ENS_AMNT_H * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Rate = Ld_pay_rate * Foreign_amount = Cs_ktab-Wrbtr * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * IMPORTING * Local_amount = Cs_ktab-Dmbtr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-wrbtr foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-dmbtr * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Rate = Ld_pay_rate * Foreign_amount = Cs_ktab-Wmwst * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * IMPORTING * Local_amount = Cs_ktab-Mwsts.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-wmwst foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-mwsts * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = Ld_pay_date * Rate = Ld_pay_rate * Foreign_amount = Cs_ktab-Ensab * Foreign_currency = Cs_ktab-Waers * Local_currency = Id_localcurr * IMPORTING * Local_amount = Cs_ktab-Ensah.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ld_pay_date foreign_amount = cs_ktab-ensab foreign_currency = cs_ktab-waers local_currency = id_localcurr rate = ld_pay_rate * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = cs_ktab-ensah * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = 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 = LD_PAY_DATE FOREIGN_AMOUNT = CS_KTAB-ENS_AMNT_B FOREIGN_CURRENCY = CS_KTAB-WAERS LOCAL_CURRENCY = ID_LOCALCURR RATE = LD_PAY_RATE * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = CS_KTAB-ENS_AMNT_H * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.
FI_WT_READ_T059Z * Call function 'FI_WT_READ_T059Z' * EXPORTING * I_bukrs = Is_bsik-Bukrs * I_type = Ld_witht * I_wt_withcd = Ld_withcd * TABLES * T_t059z = X_t059z.
FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING i_bukrs = is_bsik-bukrs i_type = ld_witht i_wt_withcd = ld_withcd TABLES t_t059z = x_t059z EXCEPTIONS not_found = 1 OTHERS = 2.
FI_WT_READ_WT_INFO CALL FUNCTION 'FI_WT_READ_WT_INFO' EXPORTING i_bukrs = boe_bsik-bukrs i_belnr = boe_bsik-belnr i_gjahr = boe_bsik-gjahr TABLES t_with_item = x_with_item EXCEPTIONS not_found = 1.
FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING i_bukrs = ktab-bukrs i_type = x_with_item-witht i_wt_withcd = x_with_item-wt_withcd TABLES t_t059z = x_t059z EXCEPTIONS not_found = 1 OTHERS = 2.
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 FIWT0000 or its description.
FIWT0000 - documentation and ABAP source code FIUUMS40 - documentation and ABAP source code FIUT_BA_INVOICE - Auxillary Program: Enter Business Area in Invoice Item FIUT_BA_INVOICE - Auxillary Program: Enter Business Area in Invoice Item FIUT_BA_I2 - Auxillary Program: Business Area Include 2 FIUT_BA_I1 - FIUTBAI1