SAP Reports / Programs

RFASLD15 SAP ABAP Report - EU Sales and Purchase List for Poland, Hungary and Czech







RFASLD15 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFASLD15 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RFEULIST - EU Sales and Purchase List


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 RFASLD15. "Basic submit
SUBMIT RFASLD15 AND RETURN. "Return to original report after report execution complete
SUBMIT RFASLD15 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_DOWN = Show Downpayments
Selection Text: PAR_ECHT = D .
Selection Text: PAR_EPOS = Line item display
Selection Text: PAR_EXRA = D .
Selection Text: PAR_JAHR = Reporting year
Selection Text: PAR_MONA = Reporting Month
Selection Text: PAR_QUAR = D .
Selection Text: PAR_SRV = Select Services
Selection Text: PAR_TRID = D .
Selection Text: PAR_TRTY = D .
Selection Text: PAR_XSTW = Nat.Crcy Instead of Local Crcy
Selection Text: P_DECLID = D .
Selection Text: P_DISTR = District
Selection Text: P_DMEE = Create XML
Selection Text: P_F1PI = D .
Selection Text: P_F1PR = D .
Selection Text: P_FMPR = Print Form
Selection Text: P_LOCAL = Download on Local File
Selection Text: P_LOFILE = D .
Selection Text: P_POFF = Post Office
Selection Text: P_SBLDAT = Used as Document Date
Selection Text: P_SBUDAT = Used as Posting Date
Selection Text: P_SDIST = Sub District
Selection Text: P_SEFILE = D .
Selection Text: P_SERVER = Download on Application Server
Selection Text: P_TAXNUM = REGON
Selection Text: P_VARIA = D .
Selection Text: SEL_BART = D .
Selection Text: SEL_DATB = D .
Selection Text: SEL_LSTM = Tax return country
Selection Text: SEL_MWKZ = Tax on sales/purchases code
Selection Text: SEL_UKRS = D .
Selection Text: PAR_DEL = Select Delivery
Selection Text: PAR_CONV = Convert amounts
Selection Text: OPR_PO = Relation to company
Selection Text: OPR_P = First name - entitled person
Selection Text: OPR_J = Surname - entitled person
Selection Text: GV_VTDAT = D .





Selection Text: C_UFO = Financial office ID
Title: EU Sales and Purchase List for Poland, Hungary and Czech
Text Symbol: V01 = List Output
Text Symbol: 001 = EC Sales List for the quarter &Q/&Y
Text Symbol: 002 = VAT reg.no.: &UIN
Text Symbol: 004 = There are already correction runs in the table.
Text Symbol: 005 = Do you want to continue?
Text Symbol: 006 = Normal/correction runs will be deleted for the current period.
Text Symbol: 009 = File
Text Symbol: 010 = Reporting quarter
Text Symbol: 011 = /
Text Symbol: 015 = Normal
Text Symbol: 016 = Correction
Text Symbol: 017 = Posting Date
Text Symbol: 018 = Document Date
Text Symbol: 020 = Output Parameters (Only for Poland)
Text Symbol: 025 = ERROR LIST
Text Symbol: 030 = Missing VAT-Numbers
Text Symbol: 111 = Reporting Month
Text Symbol: 112 = XML Fields CZ
Text Symbol: 300 = Addit.details
Text Symbol: 301 = Exchange Rate (Only for HU)
Text Symbol: 302 = Not triangular deal
Text Symbol: 303 = Intermediate customer
Text Symbol: 304 = Final customer
Text Symbol: 305 = Import Tax Agent
Text Symbol: 306 = Indirect Customs Representative
Text Symbol: F01 = Reporting Quarter


INCLUDES used within this REPORT RFASLD15

INCLUDE RFASLD15_TOP.


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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_filename parameter_1 = sy-cprog CHANGING PHYSICAL_FILENAME = p_sefile EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

CHECK_PLANTS_ABROAD_ACTIVE CALL FUNCTION 'CHECK_PLANTS_ABROAD_ACTIVE' "1146425 EXPORTING I_CUST = 'X' IMPORTING E_FI_ISACTIVE = gf_xwia.

LGL_RPT_USER_EXIT_BUDAT_CHK CALL FUNCTION 'LGL_RPT_USER_EXIT_BUDAT_CHK' IMPORTING chk_flag = chk_flg.

BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING xdatabase = 'B' TABLES xbukreis = br_bukrs EXCEPTIONS not_authorized = 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.

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

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = exr_date foreign_amount = bseg-wrbtr foreign_currency = bkpf-waers local_currency = t001-waers type_of_rate = par_exra IMPORTING local_amount = exr_dmbtr EXCEPTIONS no_rate_found = 1 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = exr_date foreign_amount = bseg-txbhw foreign_currency = bkpf-waers local_currency = t001-waers type_of_rate = par_exra IMPORTING local_amount = exr_dmbtr EXCEPTIONS no_rate_found = 1 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = exr_date foreign_amount = bseg-wrbtr foreign_currency = bkpf-waers local_currency = t005-waers type_of_rate = par_exra IMPORTING local_amount = exr_dmbtr EXCEPTIONS no_rate_found = 1 OTHERS = 6.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = exr_date foreign_currency = wa_teurb-waers local_amount = exr_dmbtr local_currency = t005-waers type_of_rate = par_exra IMPORTING foreign_amount = exr_dmbtr EXCEPTIONS no_rate_found = 1 OTHERS = 6.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = exr_date foreign_currency = wa_teurb-waers local_amount = bseg-wrbtr local_currency = t005-waers type_of_rate = par_exra IMPORTING foreign_amount = exr_dmbtr EXCEPTIONS no_rate_found = 1 OTHERS = 6.



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