SAP Reports / Programs

RS_REMOTE_PRINT SAP ABAP Report - Test Program for Remote Print







RS_REMOTE_PRINT 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 RS_REMOTE_PRINT 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 RS_REMOTE_PRINT. "Basic submit
SUBMIT RS_REMOTE_PRINT AND RETURN. "Return to original report after report execution complete
SUBMIT RS_REMOTE_PRINT 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: PBUS = BusObject
Selection Text: PGUID = Document GUID
Selection Text: PLANGU = Language
Selection Text: PPOP = Output Type (POST2 or HPLJ4)
Selection Text: PPRINT = Printer
Title: Test Program for Remote Print
Text Symbol: 001 = Remote Print
Text Symbol: 002 = Execute


INCLUDES used within this REPORT RS_REMOTE_PRINT

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_PDEXT_PRINT CALL FUNCTION 'BBP_PDEXT_PRINT' EXPORTING iv_guid = lv_guid is_params = ls_params iv_bustype = lv_bustype IMPORTING et_pack = lt_pack et_spooldata = lt_sp_data et_return = lt_return.

RSPO_SR_OPEN CALL FUNCTION 'RSPO_SR_OPEN' EXPORTING dest = pprint doctype = 'BIN' IMPORTING handle = lv_sp_handle spoolid = lv_sp_id EXCEPTIONS device_missing = 1 name_twice = 2 no_such_device = 3 operation_failed = 4 OTHERS = 5.

RSPO_SR_TABLE_WRITE_BINARY CALL FUNCTION 'RSPO_SR_TABLE_WRITE_BINARY' EXPORTING handle = lv_sp_handle total = lv_size TABLES lines = lt_sp_data_single EXCEPTIONS handle_not_valid = 1.

RSPO_SR_CLOSE CALL FUNCTION 'RSPO_SR_CLOSE' EXPORTING handle = lv_sp_handle final = 'X' EXCEPTIONS handle_not_valid = 1 operation_failed = 2 OTHERS = 3.

RSPO_SR_OPEN CALL FUNCTION 'RSPO_SR_OPEN' EXPORTING dest = ls_output_options-tddest name = ls_output_options-tddataset suffix1 = ls_output_options-tdsuffix1 suffix2 = ls_output_options-tdsuffix2 copies = lv_copies immediate_print = ls_output_options-tdimmed auto_delete = ls_output_options-tddelete titleline = ls_output_options-tdcovtitle receiver = ls_output_options-tdreceiver division = ls_output_options-tddivision authority = ls_output_options-tdautority lifetime = '8' coverpage = ls_output_options-tdcover doctype = 'COMP' archmode = ls_output_options-tdarmod IMPORTING handle = lv_c_sp_handle spoolid = lv_c_sp_id EXCEPTIONS device_missing = 1 name_twice = 2 no_such_device = 3 operation_failed = 4 OTHERS = 5.

RSPO_SR_ADD_PARTS CALL FUNCTION 'RSPO_SR_ADD_PARTS' EXPORTING handle = lv_c_sp_handle TABLES parts = lt_part EXCEPTIONS handle_not_valid = 1 no_comp_job = 2 incomplete = 3 no_such_part = 4 job_not_final = 5 illegal_device_type = 6 no_permission = 7 no_such_device = 8 OTHERS = 9.

RSPO_SR_CLOSE CALL FUNCTION 'RSPO_SR_CLOSE' EXPORTING handle = lv_c_sp_handle final = 'X' EXCEPTIONS handle_not_valid = 1 operation_failed = 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 RS_REMOTE_PRINT or its description.