SAP Reports / Programs

RFASLD12 SAP ABAP Report - EC Sales List (Austria)







RFASLD12 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates the EC sales list in accordance with the guidelines for the electronic transmission of the EC sales list in Austria (Federal Ministry of Finance, dept...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 RFASLD12 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 RFASLD12. "Basic submit
SUBMIT RFASLD12 AND RETURN. "Return to original report after report execution complete
SUBMIT RFASLD12 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: PAR_YEAR = D .
Selection Text: PAR_MTH = D .
Title: EC Sales List (Austria)
Text Symbol: 213 = Field 13 - structure version
Text Symbol: 214 = Field 14|Indicator |
Text Symbol: 215 = Field 15|VAT reg.number of submitting party |
Text Symbol: 216 = Field 16|Reporting period |
Text Symbol: 217 = Field 17|Date of sales list |
Text Symbol: 218 = Field 18|Number of lines in sales list |
Text Symbol: 219 = Field 19 - name of submitting party
Text Symbol: 220 = Field 20|Title of submitting party |
Text Symbol: 221 = Field 21|Address of submitting party |
Text Symbol: 222 = Field 22|Postal code of submitting party |
Text Symbol: 223 = Field 23|City of submitting party |
Text Symbol: 224 = Field 24|Telephone number of submitting party |
Text Symbol: 225 = Field 25 - fax number of submitting party
Text Symbol: 233 = Field 33| Reporting currency
Text Symbol: 235 = (initial transmission)
Text Symbol: 236 = (complete cancellation of earlier report)
Text Symbol: 240 = Technical information on the file
Text Symbol: 241 = File Name
Text Symbol: 242 = Number of information records
Text Symbol: 243 = Number of EC sales list records
Text Symbol: 244 = Number of field groups in the EC sales list records
Text Symbol: 250 = Output Control
Text Symbol: 260 = DMEE Output
Text Symbol: 261 = Rep. Period
Text Symbol: 270 = Additional Data
Text Symbol: 271 = EC Sales List for Month &M/&Y
Text Symbol: 0** = * Selection Parameters and Work Fields
Text Symbol: 008 = Save on Application Server
Text Symbol: 009 = Save on PC
Text Symbol: 010 = Reporting Quarter
Text Symbol: 011 = /
Text Symbol: 012 = DME Format
Text Symbol: 013 = Output Control
Text Symbol: 014 = XML-Relevant Fields
Text Symbol: 015 = Withdraw EC Sls List





Text Symbol: 016 = Sender
Text Symbol: 017 = ReportParty
Text Symbol: 018 = Tax Off. No.
Text Symbol: 019 = Tax No.
Text Symbol: 020 = PO Box
Text Symbol: 021 = File Name
Text Symbol: 029 = Print parameter(message)
Text Symbol: 030 = Print control
Text Symbol: 070 = Contract A/R + A/P
Text Symbol: 2** = * Accompanying Sheet
Text Symbol: 201 = Info.record for Austrian EC sales list DME - company code &
Text Symbol: 202 = Information record for EC sales list DME (Austria) - tax on sales/purchases group
Text Symbol: 204 = Fld 04 |Tax off.no.of comp.providing service |
Text Symbol: 205 = Fld 05 |Tax number of comp. providing service |
Text Symbol: 206 = Fld 06 |DPR number of comp. providing service |
Text Symbol: 207 = Field 07|Tax office no.of submitting company |
Text Symbol: 208 = Field 08|Tax number of submitting company |
Text Symbol: 209 = Field 08|DPR number of submitting company |
Text Symbol: 211 = Field 11|Date of transmission |


INCLUDES used within this REPORT RFASLD12

INCLUDE RFASLIDD_12.
INCLUDE RFASLALV. "YHR-03
INCLUDE RFASLI12.


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:

SET_ARROW_ICON CALL FUNCTION 'SET_ARROW_ICON' "YHR-02 EXPORTING "YHR-02 i_parameter = pri_form "YHR-02 i_icon_text = text-029 "YHR-02 IMPORTING "YHR-02 e_arrow_icon = p1button. "YHR-02

MAINTAIN_TEXT_PRINT_PARAMETERS CALL FUNCTION 'MAINTAIN_TEXT_PRINT_PARAMETERS' EXPORTING i_title_text = sy-title CHANGING c_itcpo = pri_form EXCEPTIONS parameters_not_valid = 1 OTHERS = 2.

TAX_REP_UMKRS_AUTHORITY_CHECK CALL FUNCTION 'TAX_REP_UMKRS_AUTHORITY_CHECK' EXPORTING i_database = 'B' TABLES t_ran_umkrs = sel_ukrs.

BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING xdatabase = 'B' TABLES xbukreis = br_bukrs.

KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING static = 'X' CHANGING file_name = par_fil2.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST' EXPORTING force = 'X'.

DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = tree_typ i_tree_id = tree_id item = epost param = param uparam = formatspec TABLES file_output = output sort_fields = sort_fields.

TAX_REP_SORT_DMEE_TABLE





CALL FUNCTION 'TAX_REP_SORT_DMEE_TABLE' TABLES t_item = t_epost t_dme_sortfields = sort_fields.

DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = epost param = param uparam = formatspec TABLES file_output = output.

DMEE_END CALL FUNCTION 'DMEE_END' EXPORTING uparam = formatspec param = param IMPORTING e_xml = lf_xml TABLES file_output = output.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = output EXCEPTIONS file_write_error = 1 OTHERS = 22.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT LOGICAL_FILENAME = gc_filename PARAMETER_1 = sy-cprog * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' CHANGING PHYSICAL_FILENAME = par_fil3 EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

DMEE_HANDLE_XML_DOC_PC CALL FUNCTION 'DMEE_HANDLE_XML_DOC_PC' EXPORTING i_filename = file_name i_save = save i_display = display.

DMEE_HANDLE_XML_DOCUMENT CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' EXPORTING i_filename = file_name i_save = save i_display = display.

DMEE_HANDLE_XML_DOCUMENT CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' EXPORTING i_save = space i_display = display.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING language = space currency = t001-waers amount = tab-dmshb IMPORTING in_words = spell.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT LOGICAL_FILENAME = gc_filename PARAMETER_1 = sy-cprog * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' CHANGING PHYSICAL_FILENAME = par_file EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

SCP_REPLACE_STRANGE_CHARS CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS' EXPORTING intext = feld IMPORTING outtext = feld.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT LOGICAL_FILENAME = gc_filename PARAMETER_1 = sy-cprog * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' CHANGING PHYSICAL_FILENAME = par_file EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT LOGICAL_FILENAME = gc_filename PARAMETER_1 = sy-cprog * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' CHANGING PHYSICAL_FILENAME = par_fil3 EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.



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