SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable(FI-CA) SAP FI

RFKKBIT0 SAP ABAP Report - Doc Transfer - Display/Change Content of Sequential File







RFKKBIT0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is only used for testing purposes when implementing a document transfer program...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 RFKKBIT0 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 RFKKBIT0. "Basic submit
SUBMIT RFKKBIT0 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKBIT0 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: PH_NAME = File name (application server)
Selection Text: MIN_LINE = Output docs from no.
Selection Text: MAX_LINE = Output docs up to no.
Title: Doc Transfer - Display/Change Content of Sequential File
Text Symbol: 851 = Or
Text Symbol: 850 = Transactions/checks
Text Symbol: 813 = Presentation server
Text Symbol: 812 = Application server
Text Symbol: 810 = ServerName
Text Symbol: 809 = Location of file to be imported
Text Symbol: 808 = Read file from external application server
Text Symbol: 806 = Read file from application server
Text Symbol: 037 = Object relation
Text Symbol: 036 = Card Supplement
Text Symbol: 035 = COPABBSEG
Text Symbol: 034 = Deferred Revenue
Text Symbol: 033 = Info
Text Symbol: 032 = Lock
Text Symbol: 031 = Trans.
Text Symbol: 030 = Unknown
Text Symbol: 029 = Error
Text Symbol: 028 = Add. EANs
Text Symbol: 027 = Long text
Text Symbol: 026 = Units of meas.
Text Symbol: 025 = Short Txt
Text Symbol: 024 = Consumptn data
Text Symbol: 023 = Fcast dates
Text Symbol: 022 = Item
Text Symbol: 021 = Document Header
Text Symbol: 020 = File hdr
Text Symbol: 011 = I--- there are still more documents
Text Symbol: 010 = -E- Incorrect record sequence or record type
Text Symbol: 006 = Save?
Text Symbol: 005 = No
Text Symbol: 004 = Y
Text Symbol: 003 = Data was changed
Text Symbol: 002 = Save data file?
Text Symbol: 001 = & transactions from file &





INCLUDES used within this REPORT RFKKBIT0

No INCLUDES are used within this REPORT code!


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:

DYNP_VALUES_READ * call function 'DYNP_VALUES_READ' * exporting dyname = d020s-prog * dynumb = d020s-dnum * * tables dynpfields = dynp_value_tab * * exceptions invalid_abapworkarea = 04 * invalid_dynprofield = 08 * invalid_dynproname = 12 * invalid_dynpronummer = 16 * invalid_request = 20 * no_fielddescription = 24 * undefind_error = 28.

WS_FILENAME_GET * call function 'WS_FILENAME_GET' * exporting def_filename = space * def_path = os_name * mask = mask * mode = 'O' * title = text-005 * * importing filename = os_name * RC = DUMMY * * exceptions inv_winsys = 04 * no_batch = 08 * selection_cancel = 12 * selection_error = 16.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = lds_name IMPORTING file_name = ds_name EXCEPTIONS file_not_found = 01.

TH_SELECT_SERVER * call function 'TH_SELECT_SERVER' * exporting * services = msxxlist-msgtypes * importing * server = server * exceptions * no_server_list_received = 04 * no_server_selected = 08.

BI_EDIT_DATA CALL FUNCTION 'BI_EDIT_DATA' EXPORTING list_title = title alter_allowed = alter_allowed create_tables_statement = x nodata_sign = nodata display_only_data = ' ' TABLES disp_data = datedit CHANGING data_altered = altered EXCEPTIONS no_tables_statement = 1 OTHERS = 2.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING defaultoption = '1' textline2 = 'Datenfile zurückschreiben?'(002) textline1 = 'Die Daten wurden geändert'(003) * TEXTLINE3 = ' ' text_option1 = 'Ja'(004) text_option2 = 'Nein'(005) titel = 'Sichern ?'(006) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = antwort EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = c_lgname CHANGING physical_filename = ds_name EXCEPTIONS OTHERS = 1.

CLBA_UPDATE_FILE_REMOTE_HOST * CALL FUNCTION 'CLBA_UPDATE_FILE_REMOTE_HOST' DESTINATION SERVER * EXPORTING * FILE_NAME = DS_NAME * TABLES * DATA_TAB = DATEDIT * EXCEPTIONS * OPEN_FAILURE = 1 * OTHERS = 2.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * filename = rlgrap-filename * filetype = rlgrap-filetype * TABLES * data_tab = pc_data_tab * 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.

TH_SERVER_LIST * CALL FUNCTION 'TH_SERVER_LIST' * EXPORTING * services = msxxlist-msgtypes * TABLES * list = server_tab.

CLBA_CLASSIF_FILE_REMOTE_HOST * CALL FUNCTION 'CLBA_CLASSIF_FILE_REMOTE_HOST' DESTINATION server * EXPORTING * file_name = ds_name * TABLES * classif_file = pc_data_tab * EXCEPTIONS * open_failure = 04 * file_contains_no_data = 08.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * filename = rlgrap-filename * filetype = rlgrap-filetype * TABLES * data_tab = pc_data_tab * EXCEPTIONS * file_open_error = 04 * file_read_error = 08 * invalid_type = 12 * unknown_error = 16.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = c_lgname CHANGING physical_filename = ds_name EXCEPTIONS OTHERS = 1.



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