RFKKTX40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to prepare a tax invoice list as required in Russia...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 RFKKTX40 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: S_UMKRS = Tax group
Selection Text: S_OPBEL = CA document number
Selection Text: S_MWSKZ = Tax code
Selection Text: S_MONAT = Period
Selection Text: S_KUNNR = Business partner
Selection Text: S_CPUDT = D Entry date
Selection Text: S_BUPLA = Business place
Selection Text: S_BUDAT = D Original doc. date
Selection Text: S_BSCHL = Posting key
Selection Text: S_BLDAT = Document date
Selection Text: P_VERS = Grouping version
Selection Text: P_VARI = Report variant
Title: Tax Report (Russia)
Text Symbol: P01 = Company code:
Text Symbol: P02 = VAT number:
Text Symbol: P03 = Sales period:
Text Symbol: P04 = From
Text Symbol: P05 = to
Text Symbol: T01 = Remarks
Text Symbol: T02 = Rem.
Text Symbol: T11 = Tax 20% in local currency
Text Symbol: T12 = Tax 20% LC
Text Symbol: T21 = Tax 10% in local currency
Text Symbol: T22 = Tax 10% LC
Text Symbol: T31 = Tax 0% in local currency
Text Symbol: T32 = Tax 0% LC
Text Symbol: T41 = Free LC
Text Symbol: O01 = SALES LEDGER
Text Symbol: B11 = Realization 20% w/o VAT local currency
Text Symbol: B12 = 20% LC
Text Symbol: B21 = Realization 10% w/o VAT local currency
Text Symbol: B22 = 10% LC
Text Symbol: B31 = Realization 0% w/o VAT local currency
Text Symbol: B32 = 0% LC
Text Symbol: B41 = Free of VAT Realization in local curr.
Text Symbol: B42 = Free LC
Text Symbol: BL1 = FI-CA selections
Text Symbol: BL3 = Output control
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.
FKK_DOC_AUTHORITY_CHECK CALL FUNCTION 'FKK_DOC_AUTHORITY_CHECK' EXPORTING i_bukrs = t001-bukrs i_actvt = '02'. "Change authority
FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_applk = dfkkrep06-applk i_fbeve = '0925' TABLES t_fbstab = i_fbstab.
FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_applk = dfkkrep06-applk i_fbeve = '0924' TABLES t_fbstab = i_fbstab.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = g_repid i_callback_pf_status_set = g_formname_pf_status i_callback_user_command = g_formname_user_command i_callback_top_of_page = g_formname_top_of_page * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = gs_layout it_fieldcat = gt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = g_save is_variant = g_variant * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_ADD_FIELDCAT = * IT_HYPERLINK = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = t_taxit * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 .
CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = br_budat-low IMPORTING date_external = date_str_l EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.
CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = br_budat-high IMPORTING date_external = date_str_h EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = ttop.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_display_via_grid = 'X' * it_default_fieldcat = IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = lt_events.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.
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 RFKKTX40 or its description.