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
Below is a list of transaction codes which are relevant to this SAP report
REEXACCSTGNTXT - Electr. Acct Statement: Gen. File
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: 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
INCLUDE RFREEXACCTSTMTGENGLOBAL.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFREEXACCTSTMTGENTEXTFILE - Real Estate - Create Test Files: MULTICASH or DTAUS Format RFREEXACCTSTMTGENTEXTFILE - Real Estate - Create Test Files: MULTICASH or DTAUS Format RFREEXACCTSTMTGENGLOBAL - Include RFVIMULTI02_1 RFREEXACCTSTMTGENDATA - Real Estate - Create Test Data in Multicash or DTAUS Format RFREEXACCTSTMTGENDATA - Real Estate - Create Test Data in Multicash or DTAUS Format RFREEALRF01 - documentation and ABAP source code