SAP Reports / Programs | Financial Accounting | Accounts Payable | Basic Functions(FI-AP-AP) SAP FI

FIWT0020 SAP ABAP INCLUDE - General Help Routines for Withholding Tax Programs







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


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


Text pool values


Title: General Help Routines for Withholding Tax Programs


INCLUDES used within this REPORT FIWT0020

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:

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.



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