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

RFASLM00 SAP ABAP Report - EC Sales List







RFASLM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program creates a form for the EC sales list...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 RFASLM00 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 RFASLM00. "Basic submit
SUBMIT RFASLM00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFASLM00 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_CORR = Corrected Return
Selection Text: PAR_DEL = Select Goods Delivery
Selection Text: PAR_DEST = RFC Destination
Selection Text: PAR_DOWN = Display Down Payments
Selection Text: PAR_DREI = Aggregate triangular deals
Selection Text: PAR_EPOS = Line item display
Selection Text: PAR_FICA = Data from Contract A/R and A/P
Selection Text: PAR_FORM = Form name (sales list)
Selection Text: PAR_JAHR = Reporting year
Selection Text: PAR_JAMO = Reporting Year of Calendar Mth
Selection Text: PAR_KNA1 = Read VAT No from Master Record
Selection Text: PAR_LOHN = Accumulate subcontracting
Selection Text: PAR_LPP = Lines per Page
Selection Text: PAR_LSEP = List Separation Required
Selection Text: PAR_MIKF = Print microfiche line
Selection Text: PAR_MONA = Reporting Period
Selection Text: PAR_PDF = Form Name (Sales List)
Selection Text: PAR_QUAR = Reporting quarter
Selection Text: PAR_SKIP = Output per tax nummer
Selection Text: PAR_SRV = Select Service
Selection Text: PDF_FORM = PDF Form Output
Selection Text: P_BYBUDT = Posting Date Selection
Selection Text: P_BYVTDT = Tax Reporting Date Selection
Selection Text: P_FICAEP = Line Item Transfer
Selection Text: SCR_FORM = SAPscript Form Output
Selection Text: SEL_LSTM = Reporting country
Selection Text: SEL_MWKZ = Output Tax Code
Selection Text: SEL_UKRS = Taxes on sales/purchases group
Selection Text: SEL_VTDT = Tax Reporting Date
Selection Text: PAR_BSET = Base amount from tax items
Selection Text: PAR_ADDR = Also read address data
Title: EC Sales List
Text Symbol: 0** = * Program Title and Selection Parameters
Text Symbol: 001 = EC Sales List for the quarter &Q/&Y
Text Symbol: 002 = VAT reg.no.: &UIN
Text Symbol: 003 = EC Sales List for Month &M/&Y
Text Symbol: 010 = Reporting quarter
Text Symbol: 011 = /





Text Symbol: 012 = Reporting Period
Text Symbol: 028 = Print control
Text Symbol: 029 = Print parameter (form)
Text Symbol: 030 = Form name (notifictn)
Text Symbol: 050 = EC sales list: open items list
Text Symbol: 051 = EC sales list: form
Text Symbol: 052 = EC sales list: accompanying letter to data medium
Text Symbol: 053 = EC sales list: Error list
Text Symbol: 070 = Contract A/R + A/P
Text Symbol: 1** = * List Header
Text Symbol: 100 = |CoCd| VAT reg.no.of |Sub-|Tri-|Document |Lne|Posting |Posting| Value of goods | |
Text Symbol: 101 = | |purchaser |cont|ang.|number |itm|date |period | in &WAERS | |
Text Symbol: 102 = | | | | | | | | | | |
Text Symbol: 9** = * Error display
Text Symbol: 902 = |The customer VAT reg.no. is missing in the document or posting key is not relevant to sales |
Text Symbol: 903 = The document information does not appear in the EC sales list.
Text Symbol: 906 = | CoCd Doc.number Line item |
Text Symbol: 907 = |W A R N I N G |
Text Symbol: 908 = |Reporting quarter/period not specified on either the data carrier or the sales list |
Text Symbol: 909 = |(due to the selection via the reporting period) |


INCLUDES used within this REPORT RFASLM00

INCLUDE RFASLIDD.
INCLUDE RFASLALV. "YHR-02
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:

FORM_CHECK CALL FUNCTION 'FORM_CHECK' EXPORTING i_pzfor = par_form.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' "1123764 EXPORTING "1123764 i_name = ld_form_name "1123764 IMPORTING "1123764 e_funcname = ld_fm_name. "1123764

DISPLAY_FORM_TREE_F4 CALL FUNCTION 'DISPLAY_FORM_TREE_F4' EXPORTING p_tree_name = 'FI-10' IMPORTING p_form_name = hp_form_name EXCEPTIONS OTHERS = 4.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING archive_mode = '1' authority = itcpo-tdautority copies = hlp_copies department = itcpo-tddivision destination = itcpo-tddest expiration = itcpo-tdlifetime immediately = itcpo-tdimmed no_dialog = 'X' receiver = itcpo-tdreceiver sap_cover_page = itcpo-tdcover mode = 'PARAMS' IMPORTING out_parameters = gs_prparams valid = gs_valid EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

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

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = jobcount jobname = jobname stepcount = stepcount "549974 EXCEPTIONS no_runtime_info = 1.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = jobcount job_read_jobname = jobname job_read_opcode = 20 TABLES job_read_steplist = steplist "549974 EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3.






OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING archive_index = gs_idxparams "766359 archive_params = ls_arparams "766359 form = par_form device = 'PRINTER' language = sy-langu OPTIONS = itcpo * dialog = 'X' "YHR-02 +"549974 -"766359 dialog = ' ' "YHR-02 -"549974 +"766359 EXCEPTIONS form = 1.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = sfpoutputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5. "PDF

START_FORM * CALL FUNCTION 'START_FORM'. "766359

START_FORM CALL FUNCTION 'START_FORM' "766359 EXPORTING "766359 archive_index = gs_idxparams. "766359

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = '510' type = 'TOP' function = 'APPEND' EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' "775681 EXPORTING "775681 element = '520' "775681 EXCEPTIONS "775681 window = 1 "775681 element = 2. "775681

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

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = '500' EXCEPTIONS window = 1 element = 2.

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

END_FORM CALL FUNCTION 'END_FORM' IMPORTING RESULT = itcpp.

READ_FORM_ELEMENTS CALL FUNCTION 'READ_FORM_ELEMENTS' TABLES elements = tab_windows.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING startpage = 'FIRST'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'TITLE1' EXCEPTIONS window = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'TITLE2' EXCEPTIONS window = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'TITLE3' EXCEPTIONS window = 1.

END_FORM CALL FUNCTION 'END_FORM'.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = form_name IMPORTING e_funcname = fm_name.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = itcpp.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' IMPORTING e_result = sfpjoboutput "PDF EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.



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