RFKQST00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for General Report for Withholding Tax Reporting This report evaluates withholding tax transactions and supports classic withholding tax as well as extended withholding tax...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 RFKQST00 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: P_BSCHLS = Reposting Key for TO (H)
Selection Text: P_BSCHLH = Reposting Key for TO (H)
Selection Text: P_BEFR = Also Docs with Exemption Numbr
Selection Text: P_ADRID = Address ID
Selection Text: PROTOKOL = Log
Selection Text: PM_UNAME = Name of Batch Input Session
Selection Text: PM_UMBU = Create batch input session
Selection Text: PM_RUECK = PrPer Posting with Exemption
Selection Text: PM_FINA = TO if no Relevant TO entered
Selection Text: NLAMWSKZ = Tax code not subject to tax
Selection Text: LISTSEPA = Separate list
Selection Text: KTOSUMME = Totals per vendor
Selection Text: KANTIVA = Tax on Sales/Pur. Acct Dwn Pyt
Selection Text: FORMULAR = Form printout
Selection Text: FNZSUMME = Totals per Tax Office
Selection Text: EINZELPO = Line items
Selection Text: DTATAB = Fill table for DME
Selection Text: DP_SELEC = Also open down payments
Selection Text: DETAIL_W = Detail display of w/tax
Selection Text: CONVDAT = Translation date
Selection Text: BUCHDT = Posting date
Selection Text: BKRSUMME = Totals per company code
Selection Text: BELNUM = Document number
Selection Text: BELART = Document type
Selection Text: AUGDAT = Clearing date
Selection Text: ALT_CTRY = Country in title
Selection Text: ALTCURR = Alternative local currency
Selection Text: P_EXCL0 = No Items with W/Tax Amount 0
Selection Text: S_FISKU = D .
Selection Text: P_KEEP = D .
Selection Text: PM_ZTERM = D .
Selection Text: PM_PYCUR = D .
Selection Text: PM_BLDAT = D .
Selection Text: PM_BLART = D .
Selection Text: ZUSTITEL = Additional heading
Selection Text: WITHT = Withholding tax type
Selection Text: UNAUSGEG = Also open invoices
Selection Text: UMRECHN = Exchange rate from invoice
INCLUDE RFEPOSC1.
No SAP DATABASE tables are accessed within this REPORT code!
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'CURRENT' no_dialog = 'X' * BoI 1253173 new_list_id = 'X' immediately = p_immea line_size = '132' line_count = ln_count * EoI 1253173 IMPORTING * OUT_ARCHIVE_PARAMETERS = * BoI 1253173 out_archive_parameters = d_arc_param * EoI 1253173 out_parameters = d_out_param * VALID = EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.
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 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.
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.
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.
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.
FI_WT_READ_T059U CALL FUNCTION 'FI_WT_READ_T059U' EXPORTING i_bukrs = ktab-bukrs i_type = x_with_item-witht TABLES t_t059u = x_t059u EXCEPTIONS not_found = 4.
FI_WT_READ_T059ZT CALL FUNCTION 'FI_WT_READ_T059ZT' EXPORTING i_bukrs = ktab-bukrs i_type = x_with_item-witht i_wt_withcd = x_with_item-wt_withcd i_spras = sy-langu TABLES t_t059zt = x_t059zt EXCEPTIONS not_found = 4.
FI_WT_READ_T059ZT CALL FUNCTION 'FI_WT_READ_T059ZT' EXPORTING i_bukrs = ktab-bukrs i_type = x_with_item-witht i_wt_withcd = x_with_item-wt_withcd i_spras = gs_t001-spras TABLES t_t059zt = x_t059zt EXCEPTIONS not_found = 4.
POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST' EXPORTING force = 'X'.
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 RFKQST00 or its description.