SAP Reports / Programs | Basis Components | Use Subcomponents | Print and Output Management(BC-CCM-PRN) SAP BC

RSPOLPRF SAP ABAP Report - Frontend Printing Form Routine Through Spool Work Process







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


Text pool values


Title: Frontend Printing Form Routine Through Spool Work Process


INCLUDES used within this REPORT RSPOLPRF

INCLUDE: RSPOTRC, RSPOOPT, RSPOCNST, .
INCLUDE: RSPOTRC, RSPOOPT, RSPOCNST, .

INCLUDE: RSPOTRC, RSPOOPT, RSPOCNST, .



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:

RSPO_NUMBER_TO_FILENAME "call function 'RSPO_NUMBER_TO_FILENAME' " exporting " sponum = pjid " pjnum = pjnum " importing " tmp_filename = tmpfile.

RSPO_READ_DATASET "call function 'RSPO_READ_DATASET' " exporting " rfcdest = tsp02-pjserver " file = pjfile " importing " filesize = pjlength " fullpath = pjfile " tables " buffer = dummy " exceptions " error = 1 " others = 2.

RSPO_SET_JOB_STATE call function 'RSPO_SET_JOB_STATE' exporting pjident = pjnummer = status = '4' info = pjinfo.

RSPO_LOCAL_TCP call function 'RSPO_LOCAL_TCP' exporting filesize = telenum = tsp02-pjtelenum jobowner = tsp02-pjowner jobid = id jobhost = sy-host printername = tsp02-pjposname pjident = pjnummer = pjcopies = tsp02-pjcopies no_download = 'X' file_name = importing dest = destination tables data_tab = data_tab exceptions lpd_could_not_start = 1 lpd_no_connect = 2 lpd_connection_aborted = 3 lpd_no_localhost = 4 lpd_no_serverprog = 5 lpd_write_failed = 6 lpd_read_failed = 7 download_failed = 8 execute_failed = 9 internal_error = 10 no_frontend = 99.

RSPO_OPTION_GET call function 'RSPO_OPTION_GET' exporting name = spopt_reactivate_frontendjobs importing int_value = reactivate.

RSPO_REACTIVATE_FRONTEND_JOBS call function 'RSPO_REACTIVATE_FRONTEND_JOBS' exceptions others = 1.

RFC_CONNECTION_CLOSE call function 'RFC_CONNECTION_CLOSE' exporting destination = destination exceptions destination_not_open = 1 others = 2.

RSPO_SET_JOB_STATE call function 'RSPO_SET_JOB_STATE' exporting pjident = pjnummer = status = '4' info = pjinfo.

RSPO_LOCAL_PRINT call function 'RSPO_LOCAL_PRINT' exporting printer_name = tsp02-pjposname job_owner = tsp02-pjowner pjident = tsp02-pjident pjnumber = tsp02-pjnummer job_title = tsp02-pjtitle copies = tsp02-pjcopies filename = pjfilename filesize = nochoice = nochoice tables data_tab = data_tab exceptions control_create_error = 1 dp_create_error = 2 control_call_error = 3 others = 4.

RFC_CONNECTION_CLOSE call function 'RFC_CONNECTION_CLOSE' exporting destination = 'NONE' exceptions destination_not_open = 1 others = 2.

RFC_CONNECTION_CLOSE call function 'RFC_CONNECTION_CLOSE' exporting destination = 'NONE' exceptions destination_not_open = 1 others = 2.

RFC_CONNECTION_CLOSE call function 'RFC_CONNECTION_CLOSE' exporting destination = 'NONE' exceptions destination_not_open = 1 others = 2.

RSPO_SET_JOB_STATE call function 'RSPO_SET_JOB_STATE' exporting pjident = pjid pjnummer = pjnum status = pjstatus info = pjinfo.

SO_USER_ADDRESS_NUMBER_GET call function 'SO_USER_ADDRESS_NUMBER_GET' exporting user = name importing user_address = addr exceptions others = 1.

RSPO_SET_JOB_STATE call function 'RSPO_SET_JOB_STATE' exporting pjident = tid pjnummer = tnum status = '4' info = pjinfo.

SDOK_CLASS_PROPERTIES_GET CALL FUNCTION 'SDOK_CLASS_PROPERTIES_GET' EXPORTING class = 'SOFFPHIO' TABLES properties = properties EXCEPTIONS not_existing = 1 not_authorized = 2 OTHERS = 3.

SCMS_CAT_INFO_GET CALL FUNCTION 'SCMS_CAT_INFO_GET' EXPORTING stor_cat = stor_cat IMPORTING stor_type = stor_type EXCEPTIONS not_found = 1 OTHERS = 2.

RSPO_FILE_TO_OFFICE CALL FUNCTION 'RSPO_FILE_TO_OFFICE' DESTINATION dest exporting file_name = file_name file_length = pjlen receiver = recipient_object mail_title = mailtitle pjtype = pjtype pjid = pjidn pjnum = pjnumn pjowner = tsp02-pjowner exceptions file_not_found = 1 could_not_send = 2 no_authority = 3 communication_failure = 4 MESSAGE rfc_msg system_failure = 5 MESSAGE rfc_msg OTHERS = 6. "#EC *



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