RFASLD11B is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = docu -> fi -> figl The report creates a data extract for the EC sales list in Spain...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 RFASLD11B 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: I_KUNNR = Customer
Selection Text: I_LIFNR = Vendor
Selection Text: PAR_DEL = Delivery /Acquisition of Goods
Selection Text: PAR_ECHT = Update Run
Selection Text: PAR_EPOS = Line item display
Selection Text: PAR_FILE = File name (file system)
Selection Text: PAR_JAHR = Reporting Year
Selection Text: PAR_JAMO = Reporting Yr for Calendar Mth
Selection Text: PAR_LSEP = Separate List
Selection Text: PAR_MIKF = Print Microfiche Line
Selection Text: PAR_MONA = Reporting Period
Selection Text: PAR_QUAR = Reporting quarter
Selection Text: PAR_RENO = Form Number
Selection Text: PAR_SRV = Services
Selection Text: PAR_TAPE = Output as file (file system)
Selection Text: PER_INT = Change of the Period Interval
Selection Text: P_RENOPR = Number of Previous Report
Selection Text: R_DECLC = Additional Report
Selection Text: R_DECLN = Normal Report
Selection Text: R_DECLS = Replacement Report
Selection Text: R_MEDC = Cassette
Selection Text: R_MEDT = Diskette
Selection Text: SEL_LSTM = Reporting Country
Selection Text: SEL_MWKZ = Tax on sales/purchases code
Selection Text: SEL_VTDT = Tax Reporting Date
Title: EC Sales List (Spain)
Text Symbol: 917 = correcting the above data
Text Symbol: 916 = The report contains incorrect data. Run the report again after
Text Symbol: 915 = selection
Text Symbol: 914 = memos or remove the credit memos in question from the
Text Symbol: 0** = ---------- Report title and selection parameters --------------------------
Text Symbol: 001 = EC Sales List for the quarter &Q/&Y
Text Symbol: 002 = VAT reg.no.:&UIN
Text Symbol: 010 = Reporting quarter
Text Symbol: 011 = /
Text Symbol: 012 = DVD-R or DVD+R
Text Symbol: 013 = Diskette
Text Symbol: 014 = Internet
INCLUDE RFASLALV.
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 = tab_bseg-dmshb. "WiA
CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING I_BUKRS = tab_bseg-bukrs I_MWSKZ = tab_bseg-mwskz I_WAERS = '' I_WRBTR = dummy_amt TABLES T_MWDAT = IT_MWDAT.
GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = bkpf-bukrs date = bkpf-budat IMPORTING * CURRM = curry = lv_crnt_fscl_yr * PREVM = * PREVY = .
CHECK_PLANTS_ABROAD_ACTIVE CALL FUNCTION 'CHECK_PLANTS_ABROAD_ACTIVE' EXPORTING "1078607 i_cust = flg_xwia "1078607 IMPORTING e_fi_isactive = d_xwiaa.
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_file EXCEPTIONS OTHERS = 1.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = addrs_sel IMPORTING address_value = addrs_val EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.
CALCULATE_TAX_ITEM CALL FUNCTION 'CALCULATE_TAX_ITEM' EXPORTING dialog = space inklusive = space i_dmbtr = bseg-dmbtr i_taxcom = taxcom pruefen = space reset = space IMPORTING e_taxcom = taxcom e_xstvr = l_xstvr nav_anteil = l_fwnaf EXCEPTIONS mwskz_not_found = 04 mwskz_not_defined = 04.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = addr_sel IMPORTING address_value = addr_val EXCEPTIONS OTHERS = 4.
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 RFASLD11B or its description.