SAP Reports / Programs | Cross-Application Components | Document Management System(CA-DMS) SAP CA

RCVBI010 SAP ABAP Report - Create Document Info Records via Batch Input







RCVBI010 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to transfer document info records from an external system to your SAP System...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 RCVBI010 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

OD91 - Document Data Transfer


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 RCVBI010. "Basic submit
SUBMIT RCVBI010 AND RETURN. "Return to original report after report execution complete
SUBMIT RCVBI010 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: DS_NAME = File Name
Selection Text: LOG_NAME = Logical file name
Title: Create Document Info Records via Batch Input
Text Symbol: 001 = Processing the data records imported from the file:
Text Symbol: 002 = Create session
Text Symbol: 003 = Selected: Always create BI sessions
Text Symbol: 004 = Not selected: Create BI sessions in case of error only
Text Symbol: 005 = File selection
Text Symbol: 006 = Read file from application server
Text Symbol: 008 = Read file from external application server
Text Symbol: 009 = Location of file to be imported
Text Symbol: 010 = Server name
Text Symbol: 011 = The following messages were displayed:
Text Symbol: 012 = Application server
Text Symbol: 013 = Presentation server


INCLUDES used within this REPORT RCVBI010

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 = ds_name mask = mask mode = 'O' title = text-005 IMPORTING filename = ds_name rc = dummy EXCEPTIONS inv_winsys = 04 no_batch = 08 selection_cancel = 12 selection_error = 16.

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.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = log_name IMPORTING file_name = ds_phy_name EXCEPTIONS file_not_found = 04.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' "Begin of Note 1600879 EXPORTING LOGICAL_FILENAME = gc_logfile_dms CHANGING PHYSICAL_FILENAME = ds_phy_name EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2.

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

CS_BI_GET_BOM_FILE_REMOTE_HOST CALL FUNCTION 'CS_BI_GET_BOM_FILE_REMOTE_HOST' DESTINATION server EXPORTING bom_filename = ds_phy_name log_filename = log_name "n 1524781 TABLES bom_file = pc_data_tab EXCEPTIONS logical_filename_not_found = 01 "n 1524781 validation_failed = 02 "n 1524781 open_failure = 04 file_contains_no_data = 08.

DOCNUMBER_CHECK_IN_EXIT CALL FUNCTION 'DOCNUMBER_CHECK_IN_EXIT' EXPORTING ex_dokar = draw_bi-dokar ex_doknr = int_doknr IMPORTING doknr = int_doknr.

CONVERT_FIELD_TO_INTERN_FORMAT CALL FUNCTION 'CONVERT_FIELD_TO_INTERN_FORMAT' EXPORTING efeld = int_doknr dtype = 'CHAR' conve = conve IMPORTING error = error_flag ifeld = int_doknr messg = message msgln = message_length.

CLCV_CONVERT_FIELDS_TO_OBJECT CALL FUNCTION 'CLCV_CONVERT_FIELDS_TO_OBJECT' EXPORTING rmclfstru = rmclf table = 'DRAW' IMPORTING rmclfstru = rmclf tcode = sy-tcode EXCEPTIONS tclo_not_found = 04.

CV_BI_DOC_CREATE_BATCH_INPUT CALL FUNCTION 'CV_BI_DOC_CREATE_BATCH_INPUT' EXPORTING bdc_flag = bdc_flag close_group = close_group document_data = draw_bi group_data = bgr00 new_group = new_group tcode_mode = tcd_mode tcode_update = 'A' IMPORTING msgty = message_type msgid = message_id msgno = message_number msgv1 = message_var1 msgv2 = message_var2 msgv3 = message_var3 msgv4 = message_var4 TABLES doc_char_values = biausp_tab doc_classifications = bikssk_tab doc_descriptive_texts = drat_tab doc_long_texts = ltext_tab doc_additional_files1 = draz1_tab "4.5B

CV_BI_DOC_CREATE_BATCH_INPUT CALL FUNCTION 'CV_BI_DOC_CREATE_BATCH_INPUT' EXPORTING bdc_flag = 'X' close_group = close_group document_data = draw_bi group_data = bgr00 new_group = new_group tcode_mode = tcd_mode tcode_update = 'A' IMPORTING msgty = message_type msgid = message_id msgno = message_number msgv1 = message_var1 msgv2 = message_var2 msgv3 = message_var3 msgv4 = message_var4 TABLES doc_char_values = biausp_tab doc_classifications = bikssk_tab doc_descriptive_texts = drat_tab doc_long_texts = ltext_tab doc_additional_files1 = draz1_tab "4.5B

WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgid = w_msgid msgno = w_msgno msgty = w_msgty msgv1 = w_msgv1 msgv2 = w_msgv2 msgv3 = w_msgv3 msgv4 = w_msgv4 msgv5 = space IMPORTING error = error_flag messg = loc_aux_message msgln = message_length.



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