SAP Reports / Programs

RBCS_EXAMPLE SAP ABAP Report - BCS Use, Example 5 (Winword Attachment)







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


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 RBCS_EXAMPLE. "Basic submit
SUBMIT RBCS_EXAMPLE AND RETURN. "Return to original report after report execution complete
SUBMIT RBCS_EXAMPLE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: BCS Use, Example 5 (Winword Attachment)
Text Symbol: 001 = Error occurred
Text Symbol: 002 = Error Type
Text Symbol: 003 = Document Sent Successfully


INCLUDES used within this REPORT RBCS_EXAMPLE

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:

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.



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