SAP Reports / Programs | Financial Accounting | General Ledger Accounting | Information System(FI-GL-IS) SAP FI

RFASLD02 SAP ABAP Report - EC Sales List (Belgium, Luxembourg)







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


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 RFASLD02. "Basic submit
SUBMIT RFASLD02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFASLD02 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_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





Title: EC Sales List (Belgium, Luxembourg)
Text Symbol: B11 = NInt
Text Symbol: B10 = Order
Text Symbol: 505 = Period for Posting Date Selec.
Text Symbol: 504 = Quarter for Posting Date Selec.
Text Symbol: 503 = Sending Company Luxembourg
Text Symbol: 502 = Sending Company Belgium
Text Symbol: 501 = Luxembourg
Text Symbol: 209 = Name and address of
Text Symbol: 208 = Accompanying note
Text Symbol: 207 = More lists
Text Symbol: 206 = One list
Text Symbol: 205 = Magnetic medium containing
Text Symbol: 204 = -------------------------
Text Symbol: 203 = similar operations
Text Symbol: 202 = Free intracommunity goods and
Text Symbol: 201 = Quarter delivery list of
Text Symbol: 130 = Print control
Text Symbol: 129 = Print parameter(message)
Text Symbol: 070 = Contract Accounting
Text Symbol: 060 = Total amount
Text Symbol: 051 = customers
Text Symbol: 050 = Number
Text Symbol: 041 = Q/year
Text Symbol: 040 = Period
Text Symbol: 031 = Nomination
Text Symbol: 030 = Name
Text Symbol: 020 = VAT no.
Text Symbol: 012 = Reporting Period
Text Symbol: 011 = /
Text Symbol: 010 = Reporting quarter
Text Symbol: 500 = Belgium
Text Symbol: 233 = is taken by the assujetti named on the joint list.
Text Symbol: 232 = contained on the magnetic medium. This responsibility
Text Symbol: 231 = responsibility for the validity of the information
Text Symbol: 230 = With this letter I declare that I take no
Text Symbol: 228 = is honest and true.
Text Symbol: 227 = that the information contained on the magnetic medium
Text Symbol: 226 = the assujetti named in the joint list, I declare





Text Symbol: 225 = With the agreement that has been given to me by,
Text Symbol: 223 = Number of lists contained on the magnetic medium
Text Symbol: 222 = magnetic medium
Text Symbol: 221 = of the person who made the
Text Symbol: 220 = of the declarant
Text Symbol: 219 = (Name and quality)
Text Symbol: 218 = Signature
Text Symbol: 217 = Date
Text Symbol: 216 = Certify honest and true,
Text Symbol: 215 = Total amount of the list ( &waer ) :
Text Symbol: 214 = Number of customers on the list:
Text Symbol: 213 = Period of the data contained on the list:
Text Symbol: 212 = Phone number
Text Symbol: 211 = Contact person
Text Symbol: 210 = VAT number


INCLUDES used within this REPORT RFASLD02

INCLUDE RFASLIDD.
INCLUDE RFASLALV. "YHR-03
INCLUDE RFASLI00.


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-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.

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.

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'.



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