RFKQST20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is relevant for the following countries: ,,,,France ,,,,Belgium Program RFKQST20 provides evaluations on sales subject to withholding tax for reporting to the vendor...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 RFKQST20 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: ALTCURR = Alternative local currency
Selection Text: ALT_CTRY = Country in title
Selection Text: AUGDAT = Clearing date
Selection Text: BELART = Document type
Selection Text: BELNUM = Document number
Selection Text: BKRSUMME = Totals by company code
Selection Text: BUCHDT = Posting date
Selection Text: CONVDAT = Translation date
Selection Text: EINZELPO = Line items
Selection Text: FORMULAR = Form printout
Selection Text: KD_AUGDT = ?...(KD_AUGDT)
Selection Text: KTOSUMME = Total by vendor
Selection Text: LISTSEPA = Separate list
Selection Text: PROTOKOL = Log
Selection Text: P_ADRID = Address ID
Selection Text: P_FORID = Form ID
Selection Text: P_IMMEA = Print immediately
Selection Text: P_PRINT = Printer
Selection Text: P_VARIA = Country variant
Selection Text: P_ZAEHL = Consecutive account no. from
Selection Text: P_ZUTIT = Additional heading
Selection Text: QSTKZ = Withholding tax code
Selection Text: QSTSUMME = Totals per w/hld.tax type/code
Selection Text: SUMMENTB = Totals table
Selection Text: TESTDRCK = Number of sample printouts
Selection Text: UMRECHN = Exchange rate from invoice
Selection Text: UNAUSGEG = Also invoices not cleared
Selection Text: WITHT = Withholding tax type
Selection Text: KD_BUDAT = ?...(KD_BUDAT)
Selection Text: KD_BUKRS = ?...(KD_BUKRS)
Selection Text: KD_LIFNR = ?...(KD_LIFNR)
Selection Text: KD_STIDA = ?...(KD_STIDA)
Selection Text: KD_UMSKZ = ?...(KD_UMSKZ)
Selection Text: KD_ZUONR = ?...(KD_ZUONR)
Title: Withholding Tax Report for the Vendor
Text Symbol: 510 = Withholding tax code:
Text Symbol: 509 = With/tax type:
Text Symbol: 001 = Company Code
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FI_WT_READ_WT_INFO CALL FUNCTION 'FI_WT_READ_WT_INFO' EXPORTING I_BUKRS = BSIK-BUKRS I_BELNR = BSIK-BELNR I_GJAHR = BSIK-GJAHR I_BUZEI = BSIK-BUZEI " Get WT data of complete doc.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = CONVDAT FOREIGN_CURRENCY = ALTCURR LOCAL_AMOUNT = WDMBTR LOCAL_CURRENCY = T001-WAERS * rate = ??? TYPE_OF_RATE = 'M' IMPORTING FOREIGN_AMOUNT = WDMBTR.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = INV_DATE " Insert OSS 306375 FOREIGN_CURRENCY = CURR_INV LOCAL_CURRENCY = T001-WAERS FOREIGN_AMOUNT = BSIK-QSSHB * rate from tcurr RATE = RATE_INV " Insert OSS 306375 TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = BSIK-QSSHB.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = INV_DATE FOREIGN_AMOUNT = BSIK-QBSHB FOREIGN_CURRENCY = CURR_PAY LOCAL_CURRENCY = T001-WAERS RATE = RATE_INV TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = BSIK-QBSHB.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = INV_DATE FOREIGN_AMOUNT = BSIK-QBSHB FOREIGN_CURRENCY = CURR_PAY LOCAL_CURRENCY = T001-WAERS * rate from tcurr TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = BSIK-QBSHB.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = PAY_DATE FOREIGN_CURRENCY = CURR_INV LOCAL_CURRENCY = T001-WAERS FOREIGN_AMOUNT = BSIK-QSSHB RATE = RATE_PAY TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = BSIK-QSSHB.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = PAY_DATE FOREIGN_CURRENCY = CURR_INV LOCAL_CURRENCY = T001-WAERS FOREIGN_AMOUNT = BSIK-QSSHB * rate from tcurr TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = BSIK-QSSHB.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = PAY_DATE FOREIGN_CURRENCY = CURR_PAY LOCAL_CURRENCY = T001-WAERS FOREIGN_AMOUNT = BSIK-QBSHB RATE = RATE_PAY TYPE_OF_RATE = 'M' IMPORTING LOCAL_AMOUNT = BSIK-QBSHB.
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 RFKQST20 or its description.