RFWT0020 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program for Subsequently Creating and Making Changes to Withholding Tax Data with Withholding Tax Rate 0% Program for Subsequent Creation of and Changes to Withholding Tax Data with Withholding Tax Rate 0% Documents were posted without withholding tax in the fiscal year...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RFWT0020 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.
Selection Text: I_TIME = D .
Selection Text: I_STCD2 = D .
Selection Text: I_STCD1 = D .
Selection Text: I_LIFNR = D .
Selection Text: I_KUNNR = D .
Selection Text: I_KSTCD2 = D .
Selection Text: I_KSTCD1 = D .
Selection Text: I_BUKRS = D .
Selection Text: I_BELNR = D .
Selection Text: TEST = Test Mode
Title: Recreate and Change Withholding Tax Data with Witholding TaxRate of 0%
Text Symbol: 030 = Non-Changeable Docs
Text Symbol: 029 = Paymt Docs
Text Symbol: 028 = Invoice Docs
Text Symbol: 027 = Incorrect Classic Withholding Tax Data (BSEG)
Text Symbol: 026 = Changed Classic Withholding Tax Data (BSEG)
Text Symbol: 025 = Entries with Calculation Form.
Text Symbol: 024 = Only recreate documents without w/tax data
Text Symbol: 022 = Test Run: Program for Recreating Withholding Tax Data
Text Symbol: 021 = Program for Recreating Withholding Tax Data
Text Symbol: 019 = Lock Entries
Text Symbol: 018 = Lock Entries
Text Symbol: 009 = Changed Extended Withholding Tax Data (WITH_ITEM)
Text Symbol: 008 = Test Mode
Text Symbol: 005 = Details on Selected Procedure
Text Symbol: 004 = Change to Source Tax Code
Text Symbol: 003 = Data Regeneration
Text Symbol: 002 = Data Modification
Text Symbol: 001 = Acct Selectn
INCLUDE RFWT0020_TOP.
INCLUDE MF05ACOM.
INCLUDE RFEPOSC1.
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EFLFB1A CALL FUNCTION 'ENQUEUE_EFLFB1A' EXPORTING lifnr = wa_lfb1-lifnr bukrs = wa_t001-bukrs EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = wa_t001-bukrs EXCEPTIONS component_not_active = 1 not_found = 2 OTHERS = 3.
FI_WT_DETERM_RELEVANT_TYPES CALL FUNCTION 'FI_WT_DETERM_RELEVANT_TYPES' EXPORTING i_bukrs = wa_t001-bukrs i_acct = wa_lfb1-lifnr i_koart = 'K' i_budat = sy-datum i_postingtime = '2' TABLES t_with = i_accit_wt EXCEPTIONS nothing_selected = 1 OTHERS = 2.
ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = wa_bsak-bukrs belnr = wa_bsak-belnr gjahr = wa_bsak-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = wa_bsik-bukrs belnr = wa_bsik-belnr gjahr = wa_bsik-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ENQUEUE_EFKNB1A CALL FUNCTION 'ENQUEUE_EFKNB1A' EXPORTING kunnr = wa_knb1-kunnr bukrs = wa_t001-bukrs EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
FI_CHECK_EXTENDED_WT CALL FUNCTION 'FI_CHECK_EXTENDED_WT' EXPORTING i_bukrs = wa_t001-bukrs EXCEPTIONS component_not_active = 1 not_found = 2 OTHERS = 3.
FI_WT_DETERM_RELEVANT_TYPES CALL FUNCTION 'FI_WT_DETERM_RELEVANT_TYPES' EXPORTING i_bukrs = wa_t001-bukrs i_acct = wa_knb1-kunnr i_koart = 'D' i_budat = sy-datum i_postingtime = '2' TABLES t_with = i_accit_wt EXCEPTIONS nothing_selected = 1 OTHERS = 2.
ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = wa_bsad-bukrs belnr = wa_bsad-belnr gjahr = wa_bsad-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = wa_bsid-bukrs belnr = wa_bsid-belnr gjahr = wa_bsid-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFWT0020 - Recreate and Change Withholding Tax Data with Witholding TaxRate of 0% RFWT0020 - Recreate and Change Withholding Tax Data with Witholding TaxRate of 0% RFWT0010_TOP - RFWT0010TOP RFWT0010_ALV - RFWT0010ALV RFWT0010 - Adjustment of Withholding Tax Information to Relevant Types RFWT0010 - Adjustment of Withholding Tax Information to Relevant Types