RSPO0068 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 RSPO0068 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.
Test BC-DCI Interface for Print Conversion of PC Documents
Selection Text: DELETE = Delete After Printing
Selection Text: DEST = Output Device
Selection Text: DOCFILE = PC Document File (*.doc)
Selection Text: DOCTYPE = Document Type (DOC, PPT, XLS)
Selection Text: IMMED = Print Immediately
Title: BC-XDC: Convert and Print Single *.DOC
Text Symbol: 001 = Uploaded File:
Text Symbol: 002 = Upload terminated
Text Symbol: 003 = Bytes Imported from File
Text Symbol: 004 = New Spool Request
Text Symbol: 005 = ERROR when opening spool request
Text Symbol: 006 = ERROR when writing to spool request
Text Symbol: 007 = ERROR when closing spool request
Text Symbol: 008 = Check Status of Conversion for
Text Symbol: 009 = Specify a Valid Printer
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSPO_SR_OPEN CALL FUNCTION 'RSPO_SR_OPEN' EXPORTING DEST = dest name = sponame suffix1 = suffix1 suffix2 = suffix2 IMMEDIATE_PRINT = ' ' AUTO_DELETE = ' ' DOCTYPE = rqdoctype IMPORTING HANDLE = spoolhandle spoolid = spoolreq EXCEPTIONS others = 1.
RSPO_SR_TABLE_WRITE_BINARY CALL FUNCTION 'RSPO_SR_TABLE_WRITE_BINARY' EXPORTING HANDLE = spoolhandle * CODEPAGE = TOTAL = bytecount TABLES LINES = doctab EXCEPTIONS HANDLE_NOT_VALID = 1.
RSPO_SR_CLOSE CALL FUNCTION 'RSPO_SR_CLOSE' EXPORTING HANDLE = spoolhandle FINAL = 'X' exceptions HANDLE_NOT_VALID = 1 OPERATION_FAILED = 2.
RSPO_CONVERT_AND_PRINT_PCDOCS CALL FUNCTION 'RSPO_CONVERT_AND_PRINT_PCDOCS' EXPORTING COMP_SPOOLREQ = spoolreq IMMED_PRINT = immed DELETE_AFTER_PRINT = delete * ZERO_CONV_ERRORS = 'X' EXCEPTIONS CONVERTER_ERROR = 1 CONVERTER_NOT_INSTALLED = 2 RFC_ERROR = 3 INTERNAL_ERROR = 4 COMP_SPOOLREQ_NESTED = 5 COMP_SPOOLREQ_NOT_FOUND = 6 COMP_SPOOLREQ_PRINTING = 7 COMP_SPOOLREQ_NOT_FINAL = 8 NO_COMP_SPOOLREQ = 9 PRINTFORMAT_NOT_SUPPORTED = 10.
RSPO_QUERY_CONVSTATUS CALL FUNCTION 'RSPO_QUERY_CONVSTATUS' EXPORTING SPOOLREQUEST = spoolreq IMPORTING STATUS = status STATUSMSG = msg EXCEPTIONS CONVERTER_NOT_INSTALLED = 1 RFC_ERROR = 2 SPOOLREQUEST_UNKNOWN = 3.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = name FILETYPE = FILETYPE IMPORTING FILELENGTH = bin_filesize TABLES DATA_TAB = datatab EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 INVALID_TYPE = 3 NO_BATCH = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSPO0068 - BC-XDC: Convert and Print Single *.DOC RSPO0068 - BC-XDC: Convert and Print Single *.DOC RSPO0067 - Change Assignment Between Printers and Spooler Servers. RSPO0067 - Change Assignment Between Printers and Spooler Servers. RSPO0065 - Output All Existing Spool Requests RSPO0065 - Output All Existing Spool Requests