SAP Reports / Programs

RFKK_EXTTAX_UPD SAP ABAP Report - Update Audit Files and Tax Registers from External Tax System







RFKK_EXTTAX_UPD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFKK_EXTTAX_UPD 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 RFKK_EXTTAX_UPD. "Basic submit
SUBMIT RFKK_EXTTAX_UPD AND RETURN. "Return to original report after report execution complete
SUBMIT RFKK_EXTTAX_UPD 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: FORCEMOD = Force Update
Selection Text: SELKEYPP = Subarea 000...999
Selection Text: SELOPBEL = Document Number
Selection Text: SELUFLAG = Current Status
Title: Update Audit Files and Tax Registers from External Tax System
Text Symbol: E01 = Errors:
Text Symbol: E02 = Differing Result After Recalculation of Tax
Text Symbol: E03 = RFC Destination Was Not Found
Text Symbol: E04 = External tax system could not be accessed
Text Symbol: E05 = System Error During Lock (ENQUEU SERVER)


INCLUDES used within this REPORT RFKK_EXTTAX_UPD

INCLUDE LFPTXF02.


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:

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = tabname TABLES x031l_tab = x031l_tab.

DEQUEUE_EFKK_KEYPP CALL FUNCTION 'DEQUEUE_EFKK_KEYPP' EXPORTING keypp = loc_keypp x_keypp = loc_x objpp = '01' _scope = '3' EXCEPTIONS system_failure = 0 OTHERS = 0.

ENQUEUE_EFKK_KEYPP CALL FUNCTION 'ENQUEUE_EFKK_KEYPP' EXPORTING keypp = par_keypp x_keypp = lv_x objpp = '01' _scope = '3' EXCEPTIONS system_failure = 2 OTHERS = 1.

FKK_COMP_CODE_DATA CALL FUNCTION 'FKK_COMP_CODE_DATA' EXPORTING i_bukrs = lt_taxitems-bukrs IMPORTING e_t001 = t001 e_fkk001 = fkk001.

US_TAXES_UPDATE_EXTERNALLY CALL FUNCTION 'US_TAXES_UPDATE_EXTERNALLY' EXPORTING i_test = 'X' i_ttxi = lv_ttxi TABLES t_ttxy = lt_ttxy EXCEPTIONS tax_determination_error = 1 tax_verification_error = 2 rfcdest_not_found = 3 communication_error = 4.

US_TAXES_UPDATE_EXTERNALLY CALL FUNCTION 'US_TAXES_UPDATE_EXTERNALLY' EXPORTING i_test = ' ' i_ttxi = lv_ttxi i_ovwr = forcemod TABLES t_ttxy = lt_ttxy EXCEPTIONS tax_determination_error = 1 communication_error = 3 rfcdest_not_found = 4.

FKK_COMP_CODE_DATA CALL FUNCTION 'FKK_COMP_CODE_DATA' EXPORTING i_bukrs = part_taxitems-bukrs IMPORTING e_t001 = t001 e_fkk001 = fkk001.

FKK_COMP_CODE_DATA CALL FUNCTION 'FKK_COMP_CODE_DATA' EXPORTING i_bukrs = lt_tax-bukrs IMPORTING e_fkk001 = fkk001 e_t001 = t001 EXCEPTIONS OTHERS = 0.



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