FIWT0020 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 FIWT0020 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.
Title: General Help Routines for Withholding Tax Programs
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' " Data from payment document EXPORTING BUKRS = LOC_BUKRS DATE = LOC_AUGDT IMPORTING CURRY = AUG_YEAR.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = CONV_DATE FOREIGN_CURRENCY = CURR_QSSHB LOCAL_CURRENCY = LOC_WAERS FOREIGN_AMOUNT = LOC_WRBTR * rate = rate_qsshb TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = LOC_DMBTR.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = CONV_DATE FOREIGN_CURRENCY = CURR_QSSHB LOCAL_CURRENCY = LOC_WAERS FOREIGN_AMOUNT = LOC_QSSHB * rate = rate_qsshb TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = LOC_QSSHB.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = CONV_DATE FOREIGN_CURRENCY = CURR_QBSHB LOCAL_CURRENCY = LOC_WAERS FOREIGN_AMOUNT = LOC_QBSHB * rate = rate_qbshb TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = LOC_QBSHB.
GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' " Data from payment document EXPORTING BUKRS = I_BUKRS DATE = I_AUGDT IMPORTING CURRY = AUG_YEAR.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = I_CONV_DATE FOREIGN_CURRENCY = I_FROM_CURR LOCAL_CURRENCY = I_TO_CURR FOREIGN_AMOUNT = I_AMOUNT * rate = i_rate TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = I_AMOUNT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FIWT0020 - General Help Routines for Withholding Tax Programs FIWT0010 - General Help Routines for Extended Withholding Tax 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