RBCS_EXAMPLE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RBCS_EXAMPLE into the relevant SAP transactions such as SE38 or SE80
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.
Title: BCS Use, Example 5 (Winword Attachment)
Text Symbol: 001 = Error occurred
Text Symbol: 002 = Error Type
Text Symbol: 003 = Document Sent Successfully
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BBP_OUTPUT_X_OPEN_FILE CALL FUNCTION 'BBP_OUTPUT_X_OPEN_FILE' IMPORTING et_data = lt_content ev_filename = lv_filename ev_size = lv_size EXCEPTIONS file_open_dialog_failed = 1 nochoice = 2 uploaderror = 3 OTHERS = 4.
BBP_OUTPUT_X_TABLESIZE_CHG CALL FUNCTION 'BBP_OUTPUT_X_TABLESIZE_CHG' EXPORTING iv_size = lv_size IMPORTING ev_size = lv_size TABLES it_data = lt_content et_data = binary_content EXCEPTIONS noentries = 1 OTHERS = 2.
BBP_OUTPUT_X_PATH_FILE_EXT CALL FUNCTION 'BBP_OUTPUT_X_PATH_FILE_EXT' EXPORTING i_pathfile = lv_filename IMPORTING e_file_pure = lv_subject e_extens = lv_type EXCEPTIONS no_file = 1 path_empty = 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.