SAP Reports / Programs

RFREEXACCTSTMTGENTEXTFILE SAP ABAP Report - Real Estate - Create Test Files: MULTICASH or DTAUS Format







RFREEXACCTSTMTGENTEXTFILE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Generate data files for electronic account statement transfer (for test purposes)...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 RFREEXACCTSTMTGENTEXTFILE 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

REEXACCSTGNTXT - Electr. Acct Statement: Gen. File


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 RFREEXACCTSTMTGENTEXTFILE. "Basic submit
SUBMIT RFREEXACCTSTMTGENTEXTFILE AND RETURN. "Return to original report after report execution complete
SUBMIT RFREEXACCTSTMTGENTEXTFILE 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: XPC = Download to PC
Selection Text: UMSFILE = Sales file (only Multicash)
Selection Text: HKTID = Account (ID)
Selection Text: HBKID = House bank (ID)
Selection Text: BUKRS = Company Code
Selection Text: AZ_NUM = Statement number
Selection Text: AZFILE = Statement file
Title: Real Estate - Create Test Files: MULTICASH or DTAUS Format
Text Symbol: 013 = Error in download of
Text Symbol: 014 = Lines:
Text Symbol: 016 = No files generated
Text Symbol: 017 = Company Code
Text Symbol: 018 = House bk
Text Symbol: 019 = Bank acc.
Text Symbol: 020 = Currncy
Text Symbol: 021 = Statement no.
Text Symbol: 022 = Stmnt date
Text Symbol: 023 = Bank Number
Text Symbol: 024 = Acct Number
Text Symbol: 025 = Statement info
Text Symbol: 026 = Beg.bal.
Text Symbol: 027 = Sales debs
Text Symbol: 028 = Sales creds
Text Symbol: 029 = End Bal.
Text Symbol: 030 = Sales file
Text Symbol: 012 = You are not authorized to create
Text Symbol: 011 = File Generated
Text Symbol: 010 = Files created
Text Symbol: 003 = Account info
Text Symbol: 031 = Stmt file
Text Symbol: 054 = Company Code of House Bank
Text Symbol: 053 = SAP Test report RFVIMULTI02
Text Symbol: 052 = Not Available
Text Symbol: 051 = DTAUS
Text Symbol: 050 = MULTICASH
Text Symbol: 039 = Statement no.
Text Symbol: 038 = Statement date
Text Symbol: 037 = StatemntData





Text Symbol: 036 = Acct details
Text Symbol: 035 = File specs
Text Symbol: 034 = Required file format
Text Symbol: 033 = Transactions
Text Symbol: 032 = DTAUS file


INCLUDES used within this REPORT RFREEXACCTSTMTGENTEXTFILE

INCLUDE RFREEXACCTSTMTGENGLOBAL.


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:

KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING * mask = ',Multicash,*.txt'

KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING * mask = ',Multicash,*.txt'

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = itab
EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22 .

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * FILENAME = FILENAME * TABLES * DATA_TAB = ITAB * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * OTHERS = 8.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = p_file EXCEPTIONS others = 1.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING program = 'RFVIMULTI02' activity = sabc_act_write filename = i_file EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.



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