SAP Reports / Programs

RPCSBTU0PBS2 SAP ABAP INCLUDE - Include RPCSBTU0PBS







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


Text pool values


Title: Include RPCSBTU0PBS


INCLUDES used within this REPORT RPCSBTU0PBS2

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:

RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = objkn objnr = rem_ts objin = tsheader empfg = empfg IMPORTING objhd = rem_fbhandle_1 tsobj = rem_tsobj_1 EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 no_object = 5 no_permission = 6.

RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' EXPORTING fbhandle = rem_fbhandle_1 TABLES datatab = tape_transm EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4.

RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' EXPORTING fbhandle = rem_fbhandle_1 TABLES datatab = disk_transm EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXPORTING fbhandle = rem_fbhandle_1 EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_other = 3.

RP_TS_OPEN CALL FUNCTION 'RP_TS_OPEN' EXPORTING tsobj = p_temse empfg = empfg IMPORTING objin = tsheader EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 no_object = 5 no_permission = 6 no_hr_application_file = 7 invalid_version_number = 8 wrong_report = 9 OTHERS = 10.

RSTS_READ CALL FUNCTION 'RSTS_READ' EXPORTING maxix = 0 TABLES datatab = tape_transm EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_other = 3.

RP_TS_HELPVIEW CALL FUNCTION 'RP_TS_HELPVIEW' EXPORTING repid = prog IMPORTING tsobj = p_temse EXCEPTIONS internal_error = 1 no_texts_found = 2 table_has_no_fields = 3 table_not_activ = 4 field_not_in_ddic = 5 more_then_one_selectfield = 6 no_selectfield = 7 no_value_request_for_molga = 8 no_entries_found = 9 helpview_not_installed = 10 OTHERS = 11.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING client = sy-mandt logical_filename = logical_filename operating_system = sy-opsys parameter_1 = param1 parameter_2 = param2 parameter_3 = param3 IMPORTING * file_name = temppath1.



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