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 (
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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFIDARR615 - Withholding Tax Update RFIDARR615 - Withholding Tax Update RFIDAREXRATEDIFF_DATA - Include RFIDAREXRATEDIFF_DATA RFIDAREXRATEDIFF - Argentina: Post Debit/Credit Memos for Exchange Rate Differences RFIDAREXRATEDIFF - Argentina: Post Debit/Credit Memos for Exchange Rate Differences RFICO_OVERLAPPED_PERIODS - Program RFICO_OVERLAPPED_PERIODS