SAP Reports / Programs

RFKKQST50 SAP ABAP Report - Clearing Statistical Withholding Tax Items







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


Text pool values


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


INCLUDES used within this REPORT RFKKQST50

INCLUDE RFKKQST50TOP.
INCLUDE RFKKQST50ALV.
INCLUDE RFKKQST_ALV.
INCLUDE RFKKQST_MESSAGE.


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:

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.



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