RFUSVB10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program creates a data extract for the annual tax return in Belgium...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 RFUSVB10 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: DATEI = Data medium file name
Selection Text: FLIST = Print file contents
Selection Text: GRENZBTR = Min./max.amount for tax report
Selection Text: LIST = Paper version
Selection Text: PAR_XSTW = Nat.Crcy Instead of Local Crcy
Selection Text: PNAME1 = Name
Selection Text: PORT01 = City
Selection Text: PPSTLZ = Postal code
Selection Text: PSTRAS = Street and house number
Selection Text: P_130 = Tape (130) 'X' / disk ' '
Selection Text: P_BETEL = Phone
Selection Text: P_BRANCH = Use Details of the Branch
Selection Text: P_CNTRY = Country
Selection Text: P_EMAIL = Email Address
Selection Text: P_EXCEPT = Print exceptions
Selection Text: P_HEAD = No pge header on paper version
Selection Text: P_L_EXCL = Detaled list did not incl.docs
Selection Text: P_L_INCL = Detailed list of selected docs
Selection Text: P_VATNUM = VAT Registration Number
Selection Text: P_VAT_0 = Select empty tax number
Selection Text: SEL_LSTM = Tax return country
Selection Text: SEL_UKRS = Taxes on sales/purchases group
Selection Text: SUM_UKRS = Totals for tax on sls/pur.grp
Selection Text: S_KUNNR = Customers (from document)
Selection Text: S_MWSKZ = Tax on sales/purchases code
Selection Text: S_VATNR = Tax number
Selection Text: TAPE = Create data medium
Title: Annual Tax Report (Belgium) ---> On Tape / Paper
Text Symbol: PEN = Page total
Text Symbol: 001 = Seq.no.Name Street Post City Number
Text Symbol: 002 = code Comp.codes
Text Symbol: 003 = Seq.no.Name Street Post City O Tax Net Tax
Text Symbol: 004 = code T number sales amount
Text Symbol: 005 = Seq.no.Tax Name No.of Net Tax
Text Symbol: 006 = number customers sales amount
Text Symbol: 007 = Log of sequential data carriers
Text Symbol: 008 = Summary list for accompanying letters
Text Symbol: 009 = --------------------------------------- Period selected $VVVVVVVVV to $BBBBBBBBB ( $xxx )-------------------------------------------
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' "WiA EXPORTING local_currency = t005-waers "WiA foreign_currency = bkpf-waers "WiA foreign_amount = bseg-wrbtr "WiA date = date "WiA type_of_rate = t005-kurst "WiA IMPORTING local_amount = bsega-dmshb.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_budat-low parameter_3 = br_budat-high CHANGING physical_filename = datei EXCEPTIONS OTHERS = 1.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SELECTION ADDRESS_GROUP = 'CA01' IMPORTING ADDRESS_VALUE = ADDRESS_VALUE SADR = SADR EXCEPTIONS OTHERS = 0.
POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST' EXPORTING ON_EMPTY_LIST = 'X'.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '1' OBJECT = 'BE_VAT' SUBOBJECT = br_bukrs-low TOYEAR = br_budat-low(4) IMPORTING NUMBER = we_dmeeXML-file_version EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 BUFFER_OVERFLOW = 7 OTHERS = 8.
DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = 'DART' i_tree_id = lv_tree_type item = vatlist_xml TABLES file_output = lt_output.
DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = vatlist_xml TABLES item_tab = lt_output.
DMEE_END CALL FUNCTION 'DMEE_END' IMPORTING e_xml = lf_xml TABLES file_output = lt_output.
CALL FUNCTION 'FI_PAYM_FILE_OPEN' "1265759 EXPORTING I_TEMSE_NAME = space I_FILE_NAME = file_name.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_budat-low parameter_3 = br_budat-high CHANGING physical_filename = datei EXCEPTIONS OTHERS = 1.
FI_PAYM_FILE_WRITE CALL FUNCTION 'FI_PAYM_FILE_WRITE' "1265759 TABLES t_lines = lt_output.
FI_FILE_CLOSE CALL FUNCTION 'FI_FILE_CLOSE'. "1265759
DMEE_HANDLE_XML_DOCUMENT CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' EXPORTING i_display = 'X'.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = selection address_group = 'CA01' IMPORTING address_value = address_value sadr = sadr EXCEPTIONS OTHERS = 0.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '1' OBJECT = 'BE_VAT' "1333817 SUBOBJECT = br_bukrs-low TOYEAR = br_budat-low(4) IMPORTING NUMBER = we_dmeeXML-file_version EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 BUFFER_OVERFLOW = 7 OTHERS = 8.
DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = 'DART' i_tree_id = 'BE_VATNIHIL_XML' item = vatlist_xml TABLES file_output = lt_output.
DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = vatlist_xml TABLES item_tab = lt_output.
DMEE_END CALL FUNCTION 'DMEE_END' IMPORTING e_xml = lf_xml TABLES file_output = lt_output.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = br_budat-low parameter_3 = br_budat-high CHANGING physical_filename = datei EXCEPTIONS OTHERS = 1.
DMEE_HANDLE_XML_DOCUMENT CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' EXPORTING i_display = 'X'.
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 RFUSVB10 or its description.
RFUSVB10 - Annual Tax Report (Belgium) ---> On Tape / Paper RFUSVB10 - Annual Tax Report (Belgium) ---> On Tape / Paper RFUPESCSBI04_1 - Validate and extract data handling for CSB19.2_annex5 RFUPESCSBI03_1 - Subroutines common handling for CSB19_an5 RFUPESCSBI02_1 - Declarations of sel. screen RFUPESCSBI01_1 - Declarations of global data