SAP Reports / Programs

RFKKTX00 SAP ABAP Report - Tax Reporting in Contract Accounting







RFKKTX00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You run this report to prepare value-added tax (VAT) reporting to submit to the tax authorities...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 RFKKTX00 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 RFKKTX00. "Basic submit
SUBMIT RFKKTX00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKTX00 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_TITLE = Subtitle
Selection Text: P_VARI = Display Variant
Selection Text: S_AUBEL = Clearing Document Number
Selection Text: S_BUKRS = Company Code
Selection Text: S_GPART = Business Partner
Selection Text: S_HKONT = Tax Account
Selection Text: S_KTOSL = Transaction Key
Selection Text: S_MWSKZ = Tax Code
Selection Text: S_OPBEL = Document Number
Selection Text: S_UBDAT = Posting Date
Selection Text: S_ULDAT = Document Date
Selection Text: S_VMDAT = Reporting Date
Selection Text: S_XBLNR = Official Document Number
Title: Tax Reporting in Contract Accounting
Text Symbol: 001 = General Selection
Text Symbol: 002 = Dynamic Selection
Text Symbol: 003 = Country Specific Setting
Text Symbol: 004 = - Actived Selection
Text Symbol: 009 = Output Options
Text Symbol: 010 = Configure
Text Symbol: 020 = (Only display)


INCLUDES used within this REPORT RFKKTX00

No INCLUDES are used within this REPORT code!


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_DOC_AUTHORITY_CHECK CALL FUNCTION 'FKK_DOC_AUTHORITY_CHECK' EXPORTING I_BUKRS = t001-bukrs * I_GSBER = ' ' * I_BEGRU = ' ' I_ACTVT = '03'. "Originally defined as '01'

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = l_variant.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = l_variant i_save = 'A' IMPORTING es_variant = l_variant_help.

REUSE_ALV_VARIANT_SELECT CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' EXPORTING I_DIALOG = ' ' * N1807262: select user specific variants also I_USER_SPECIFIC = 'X' IT_DEFAULT_FIELDCAT = gt_fieldcat[] I_LAYOUT = gs_layout IMPORTING ET_FIELDCAT = gt_fieldcat[] ET_SORT = gt_sort[] ET_FILTER = gt_filt[] "18072622 CHANGING CS_VARIANT = g_variant.

INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING i_n_fill = 0 CHANGING c_workarea = gs_tab.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING DATE_INTERNAL = h_date_fd IMPORTING DATE_EXTERNAL = h_char EXCEPTIONS DATE_INTERNAL_IS_INVALID = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = g_repid I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' * I_CALLBACK_USER_COMMAND = ' ' * I_STRUCTURE_NAME = 'DFKKREP06' IS_LAYOUT = gs_layout IT_FIELDCAT = gt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = IT_SORT = gt_sort[] IT_FILTER = gt_filt[] * IS_SEL_HIDE = I_DEFAULT = 'X' I_SAVE = 'A' * IS_VARIANT = g_variant "ACC IT_EVENTS = gt_events[] * IT_EVENT_EXIT = IS_PRINT = g_print * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = it_alvtab EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = I_STRUCTURE_NAME = i_structure I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = t_fieldcat[] * EXCEPTIONS * INCONSISTENT_INTERFACE = 1 * PROGRAM_ERROR = 2 * OTHERS = 3 .

FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING * expressions = texpr kind = 'T' * field_groups_key = qcat IMPORTING selection_id = selid * expressions = texpr * where_clauses = twhere * field_ranges = trange * number_of_active_fields = actnum TABLES tables_tab = tabs fields_tab = fields EXCEPTIONS others = 1.

FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING selection_id = selid title = sy-title as_window = 'X' no_intervals = 'X' * AS_SUBSCREEN = 'X' NO_FRAME = 'X' IMPORTING where_clauses = twhere * expressions = texpr field_ranges = trange number_of_active_fields = actnum TABLES fields_tab = fields EXCEPTIONS internal_error = 01 no_action = 02 * no_fields_selected = 03 * no_tables_selected = 04 selid_not_found = 05.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' * EXPORTING * IT_LIST_COMMENTARY = t_text.



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