RFASLD02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The EC Sales List (Belgium and Luxembourg) report creates the EC sales list in XML format...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 RFASLD02 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: PAR_BSET = Base amount from tax items
Selection Text: PAR_CONT = Contact person
Selection Text: PAR_DEL = Warenlieferung selektieren
Selection Text: PAR_DEST = RFC Destination
Selection Text: PAR_EPOS = Line item display
Selection Text: PAR_FICA = Data from Contract Accounting
Selection Text: PAR_JAHR = Reporting Year
Selection Text: PAR_JAMO = Reporting Year of Calendar Mth
Selection Text: PAR_KNA1 = Read VAT Reg. No from Master
Selection Text: PAR_LSEP = Separate list
Selection Text: PAR_MIKF = Print microfiche line
Selection Text: PAR_MONA = Reporting Period
Selection Text: PAR_PRIL = Line item list printer
Selection Text: PAR_PRIM = Printer for accomp.letter
Selection Text: PAR_QUAR = Reporting quarter
Selection Text: PAR_RESP = For responsibility (text)
Selection Text: PAR_SRV = Select Service
Selection Text: PAR_TELF = Telephone no.of contact person
Selection Text: PAR_UNIX = File name in file system
Selection Text: SEL_VTDT = Tax Reporting Date
Selection Text: SEL_UKRS = Taxes on Sales/Purchases Group
Selection Text: SEL_MWKZ = Output Tax Code
Selection Text: SEL_LSTM = Reporting country
Selection Text: P_VATNUM = Sending Company's VAT Number
Selection Text: P_VATNU = Sending Company's VAT Number
Selection Text: P_TELF = Telephone number
Selection Text: P_STREET = Street
Selection Text: P_POST = Post Code
Selection Text: P_NAME = Sending Company's Name
Selection Text: P_IDLU = Agent Identification Number
Selection Text: P_FICAEP = Transfer Line Items
Selection Text: P_EMAIL = Email Address
Selection Text: P_DESIG = Sending Company's Name
Selection Text: P_CNTRY = Country
Selection Text: P_CITY = City
Selection Text: P_BYVTDT = Tax Reporting Date Selection
Selection Text: P_BYBUDT = Posting Date Selection
Selection Text: P_BETEL = Phone
INCLUDE RFASLIDD.
INCLUDE RFASLALV. "YHR-03
INCLUDE RFASLI00.
No SAP DATABASE tables are accessed within this REPORT code!
SET_ARROW_ICON CALL FUNCTION 'SET_ARROW_ICON' "YHR-02 EXPORTING "YHR-02 i_parameter = pri_form "YHR-02 i_icon_text = text-129 "YHR-02 IMPORTING "YHR-02 e_arrow_icon = p1button. "YHR-02
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '1' OBJECT = 'BE_ECLIST' 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.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = par_jahr parameter_3 = par_quar CHANGING physical_filename = par_unix EXCEPTIONS OTHERS = 1.
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.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = par_jahr parameter_3 = par_quar CHANGING physical_filename = par_unix EXCEPTIONS OTHERS = 1.
DMEE_HANDLE_XML_DOCUMENT CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' EXPORTING i_display = 'X'.
DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = 'DART' i_tree_id = lu_tree_type item = vatlist_xml TABLES file_output = lt_output.
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.
FI_PAYM_FILE_OPEN CALL FUNCTION 'FI_PAYM_FILE_OPEN' EXPORTING I_TEMSE_NAME = space I_FILE_NAME = file_name_goods.
FI_PAYM_FILE_WRITE CALL FUNCTION 'FI_PAYM_FILE_WRITE' TABLES T_LINES = lt_output.
FI_FILE_CLOSE CALL FUNCTION 'FI_FILE_CLOSE'.
DMEE_HANDLE_XML_DOCUMENT CALL FUNCTION 'DMEE_HANDLE_XML_DOCUMENT' EXPORTING i_display = 'X'.
DMEE_START CALL FUNCTION 'DMEE_START' EXPORTING i_tree_type = 'DART' i_tree_id = lu_tree_type item = vatlist_xml TABLES file_output = lt_output1.
DMEE_PUT_ITEM CALL FUNCTION 'DMEE_PUT_ITEM' EXPORTING item = vatlist_xml TABLES item_tab = lt_output1.
DMEE_END CALL FUNCTION 'DMEE_END' IMPORTING e_xml = lf_xml TABLES file_output = lt_output1.
FI_PAYM_FILE_OPEN CALL FUNCTION 'FI_PAYM_FILE_OPEN' EXPORTING I_TEMSE_NAME = space I_FILE_NAME = file_name_service.
FI_PAYM_FILE_WRITE CALL FUNCTION 'FI_PAYM_FILE_WRITE' TABLES T_LINES = lt_output1.
FI_FILE_CLOSE CALL FUNCTION 'FI_FILE_CLOSE'.
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 RFASLD02 or its description.