SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

RFIDARR615 SAP ABAP Report - Withholding Tax Update







RFIDARR615 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In Argentina, the tax authorities (Administración Federal de Ingresos Públicos, AFIP) require companies to withhold value-added tax (VAT) on payments to certain vendors...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 RFIDARR615 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 RFIDARR615. "Basic submit
SUBMIT RFIDARR615 AND RETURN. "Return to original report after report execution complete
SUBMIT RFIDARR615 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: WT_TYPE = Withholding Tax Type
Selection Text: WT_CODE = Withholding Tax Code
Selection Text: TESTMODE = Simulate Results
Selection Text: LOW_LIM = Consider Lower Limit
Selection Text: LOW_AM = Lower Limit Amount
Selection Text: D_NAME = File Name
Title: Withholding Tax Update
Text Symbol: 032 = Related item exist
Text Symbol: 031 = Item without related WT code
Text Symbol: 030 = WT code not found
Text Symbol: 022 = Status
Text Symbol: 021 = Not found
Text Symbol: 020 = AFIP file contains no data
Text Symbol: 016 = ST new
Text Symbol: 015 = ST old
Text Symbol: 014 = Results
Text Symbol: 013 = Type
Text Symbol: 012 = Batch Input Message
Text Symbol: 011 = WT Code for 100% VAT
Text Symbol: 010 = WT Type for 100% VAT
Text Symbol: 009 = TESTMODE
Text Symbol: 008 = File name
Text Symbol: 007 = WT code not found
Text Symbol: 006 = No update : wrong status information
Text Symbol: 005 = No update : same transaction code
Text Symbol: 004 = Vendor not found
Text Symbol: 003 = Document Update
Text Symbol: 002 = AFIP File Upload
Text Symbol: 001 = WT Type and Code Corresponding to 100% VAT


INCLUDES used within this REPORT RFIDARR615

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:

J_1BSA_COMPONENT_ACTIVE call function 'J_1BSA_COMPONENT_ACTIVE' exporting bukrs = it_batch-cc component = 'AR' importing active_component = compo exceptions component_not_active = 1 others = 2.

FI_WT_READ_T001WT call function 'FI_WT_READ_T001WT' exporting i_bukrs = it_batch-cc * I_TYPE = tables t_t001wt = h_t001wt exceptions not_found = 1 others = 2.

FI_WT_READ_LFBW call function 'FI_WT_READ_LFBW' exporting i_lifnr = it_batch-lifnr i_bukrs = it_batch-cc * I_TYPE = tables t_lfbw = h_lfbw exceptions not_found = 1 others = 2.

CHANGEDOCUMENT_READ call function 'CHANGEDOCUMENT_READ' exporting * ARCHIVE_HANDLE = 0 * CHANGENUMBER = ' ' * DATE_OF_CHANGE = '00000000' objectclass = 'KRED' objectid = object * TABLEKEY = ' ' tablename = 'LFBW' * TIME_OF_CHANGE = '000000' * USERNAME = ' ' * LOCAL_TIME = ' ' tables editpos = old_wt exceptions no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 others = 4. .

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING * ARCHIVE_HANDLE = 0 * DATE_OF_CHANGE = '00000000' OBJECTCLASS = 'WITH_ITEM' OBJECTID = OBJECT * TIME_OF_CHANGE = '000000' USERNAME = ' ' * LOCAL_TIME = ' ' TABLES I_CDHDR = IT_CDHDR EXCEPTIONS NO_POSITION_FOUND = 1 WRONG_ACCESS_TO_ARCHIVE = 2 TIME_ZONE_CONVERSION_ERROR = 3 OTHERS = 4.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING CHANGENUMBER = IT_CDHDR-CHANGENR IMPORTING HEADER = IT_CDHDR TABLES EDITPOS = IT_CDSHW EXCEPTIONS NO_POSITION_FOUND = 1 OTHERS = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = gc_filename * OPERATING_SYSTEM = SY-OPSYS * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = * TS_ALIAS = changing physical_filename = D_NAME EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = g_repid i_callback_user_command = 'USER_COMMAND' it_fieldcat = gt_fieldcat[] is_layout = gs_layout i_save = 'A' i_tabname_header = gt_tabname_header i_tabname_item = gt_tabname_item is_keyinfo = gs_keyinfo it_events = gt_events[] tables t_outtab_header = it_alv_vmr t_outtab_item = it_alv_oi.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = gt_list_top_of_page.

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 1 importing et_events = ft_events.

FI_WT_READ_LFBW CALL FUNCTION 'FI_WT_READ_LFBW' EXPORTING i_lifnr = lfa1-lifnr i_bukrs = KD_BUKRS-LOW * I_TYPE = tables t_lfbw = h_lfbw EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .



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