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

RSPO0068 SAP ABAP Report - BC-XDC: Convert and Print Single *.DOC







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


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


Text pool values


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


INCLUDES used within this REPORT RSPO0068

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:

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.



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