RFKKQST50 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program
If you would like to execute this report or see the full code listing simply enter RFKKQST50 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_AUGRD = D Clearing Reason
Selection Text: P_BLART = D Document Type
Selection Text: P_BUDAT = D Posting Date
Selection Text: P_BUKRS = D Company Code
Selection Text: P_LIST = List of line items
Selection Text: P_SIMUL = Test Run
Selection Text: P_VARI = D Display variant
Selection Text: P_VKONT = D Contract Account
Title: Clearing Statistical Withholding Tax Items
Text Symbol: 001 = General selections
Text Symbol: 002 = Posting Parameters
Text Symbol: 003 = Output control
Text Symbol: 010 = Statistical withholding tax items to be cleared
Text Symbol: 011 = Problems occurred during processing, check log
Text Symbol: 200 = Programm was executed in the test run
Text Symbol: 201 = Program was executed in update mode
INCLUDE RFKKQST50TOP.
INCLUDE RFKKQST50ALV.
INCLUDE RFKKQST_ALV.
INCLUDE RFKKQST_MESSAGE.
No SAP DATABASE tables are accessed within this REPORT code!
FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING E_APPLK = H_APPLK.
FKK_DOC_AUTHORITY_CHECK CALL FUNCTION 'FKK_DOC_AUTHORITY_CHECK' EXPORTING I_BUKRS = T001-BUKRS I_ACTVT = H_ACTVT.
NUMBER_GET_INFO CALL FUNCTION 'NUMBER_GET_INFO' EXPORTING NR_RANGE_NR = TFK003-NUMKR OBJECT = 'FKK_BELEG' EXCEPTIONS OTHERS = 01.
FKK_ACCOUNT_READ CALL FUNCTION 'FKK_ACCOUNT_READ' EXPORTING I_VKONT = TABLE_VKONT-VKONT IMPORTING E_FKKVK = FKKVK EXCEPTIONS ERROR_MESSAGE = 1.
FKK_OPEN_ITEM_SELECT CALL FUNCTION 'FKK_OPEN_ITEM_SELECT' EXPORTING I_APPLK = 'R' * I_CONTINUE = ' ' * I_NO_COLL_BILL_ITEMS = ' ' I_NO_ENQUEUE = NO_ENQUEUE * I_PAYMENT_DATE = X_PARAM-BUDAT I_WITHHTAX_IN = ' ' TABLES * T_AGRTAB = T_SELTAB = SELTAB * T_ENQTAB = T_FKKCL = I_FKKCL * T_BUKTAB = EXCEPTIONS CONCURRENT_CLEARING = 1 OTHERS = 2.
FKK_OPEN_ITEM_DEQUEUE CALL FUNCTION 'FKK_OPEN_ITEM_DEQUEUE' .
BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT'.
FKK_CREATE_DOC_AND_CLEAR CALL FUNCTION 'FKK_CREATE_DOC_AND_CLEAR' EXPORTING I_FKKKO = FKKKO * I_UPDATE_TASK = 'X' * I_RESOB = * I_RESKY = * I_DIFFB = * IMPORTING * E_OPBEL = H_OPBEL TABLES * T_FKKOP = * T_FKKOPK = T_FKKCL = I_FKKCL_REV EXCEPTIONS ERROR_MESSAGE = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFKKQST50 - Clearing Statistical Withholding Tax Items RFKKQST50 - Clearing Statistical Withholding Tax Items RFKKQST00 - Withholding Tax Reporting RFKKQST00 - Withholding Tax Reporting RFKKPYOR_REF - Included Expired Payment Orders in Returns Lot RFKKPYOR_REF - Included Expired Payment Orders in Returns Lot