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

RSPO0071 SAP ABAP Report - Maintain Resources for Format







RSPO0071 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 RSPO0071 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 RSPO0071. "Basic submit
SUBMIT RSPO0071 AND RETURN. "Return to original report after report execution complete
SUBMIT RSPO0071 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: AUTODEL = Delete After Printing
Selection Text: DELPCDOC = Delete Original Document
Selection Text: DEST = Output Device
Selection Text: DOCFILE = PC Document File (*.doc)
Selection Text: DOCTYPE = Document Type (DOC, PPT, XLS)
Selection Text: IMMED = Print After Conversion
Selection Text: TEXTID = Text ID
Selection Text: TEXTLANG = Text Language
Selection Text: TEXTNAME = Name of Standard Text
Title: BC-XDC: Generate and Convert Spool Request from SAPscript and *.DOC
Text Symbol: 001 = GUI Upload:
Text Symbol: 002 = Canceled by user
Text Symbol: 003 = File Size:
Text Symbol: 004 = Error when generating OTF spool request
Text Symbol: 005 = Error when creating *.doc spool request
Text Symbol: 006 = Error when writing *.doc spool request
Text Symbol: 007 = Error in composite spool request
Text Symbol: 008 = Composite spool request created with ID:
Text Symbol: 009 = Converting with BC-DCI...
Text Symbol: 010 = Standard text does not exist:
Text Symbol: 011 = Error in PRINT_TEXT:


INCLUDES used within this REPORT RSPO0071

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 = doctype IMPORTING HANDLE = spoolhandle spoolid = newspoolid EXCEPTIONS others = 1.

RSPO_SR_TABLE_WRITE_BINARY CALL FUNCTION 'RSPO_SR_TABLE_WRITE_BINARY' EXPORTING HANDLE = spoolhandle TOTAL = bytecount TABLES LINES = bindoc EXCEPTIONS HANDLE_NOT_VALID = 1.

RSPO_SR_CLOSE CALL FUNCTION 'RSPO_SR_CLOSE' EXPORTING HANDLE = spoolhandle FINAL = 'X'.

RSPO_SR_OPEN CALL FUNCTION 'RSPO_SR_OPEN' EXPORTING DEST = dest IMMEDIATE_PRINT = space AUTO_DELETE = autodel DOCTYPE = 'COMP' IMPORTING HANDLE = spoolhandle spoolid = compid EXCEPTIONS others = 1.

RSPO_SR_ADD_PARTS CALL FUNCTION 'RSPO_SR_ADD_PARTS' EXPORTING HANDLE = spoolhandle TABLES PARTS = parts.

RSPO_SR_CLOSE CALL FUNCTION 'RSPO_SR_CLOSE' EXPORTING HANDLE = spoolhandle FINAL = 'X'.

RSPO_CONVERT_AND_PRINT_PCDOCS CALL FUNCTION 'RSPO_CONVERT_AND_PRINT_PCDOCS' EXPORTING COMP_SPOOLREQ = compid IMMED_PRINT = immed DELETE_AFTER_PRINT = autodel ZERO_CONV_ERRORS = 'X' delete_pcdocs = delpcdoc 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.

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.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = textid LANGUAGE = textlang NAME = textname OBJECT = 'TEXT' IMPORTING HEADER = HEADER TABLES LINES = LINES EXCEPTIONS NOT_FOUND = 1.

PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = ' ' * ARCHIVE_PARAMS = ' ' * DEVICE = 'PRINTER' DIALOG = ' ' HEADER = header OPTIONS = options IMPORTING * NEW_ARCHIVE_PARAMS = RESULT = result TABLES LINES = lines * OTFDATA = EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4.



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