RSPO_TEST_CREATE_SPOOL 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 RSPO_TEST_CREATE_SPOOL 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.
Selection Text: BIN = Create Binary Spool Request
Selection Text: COMP = Combine with OTF Request
Selection Text: DEST = D .
Title: Create Composed or Binary Spool Request
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = name filetype = 'BIN' IMPORTING filelength = bin_filesize TABLES data_tab = raw_buffer EXCEPTIONS file_open_error = 2 file_read_error = 3 invalid_type = 4 no_batch = 5 OTHERS = 6.
RSPO_SR_OPEN CALL FUNCTION 'RSPO_SR_OPEN' EXPORTING dest = p_dest layout = 'G_RAW' * name = sponame suffix1 = 'BIN' suffix2 = sy-uname immediate_print = ' ' auto_delete = ' ' doctype = 'BIN' IMPORTING handle = bin_spoolhandle spoolid = p_bin_id EXCEPTIONS OTHERS = 1.
RSPO_SR_TABLE_WRITE_BINARY CALL FUNCTION 'RSPO_SR_TABLE_WRITE_BINARY' EXPORTING handle = bin_spoolhandle * CODEPAGE = total = bin_filesize TABLES lines = raw_buffer EXCEPTIONS handle_not_valid = 1.
RSPO_SR_CLOSE CALL FUNCTION 'RSPO_SR_CLOSE' EXPORTING handle = bin_spoolhandle final = 'X' EXCEPTIONS handle_not_valid = 1 operation_failed = 2.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING * CLIENT = SY-MANDT id = 'ST' language = 'E' name = 'I18N_PRINT_TEST_SC_EN' object = 'TEXT' IMPORTING header = header TABLES lines = lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.
PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = ' ' * ARCHIVE_PARAMS = ' ' * DEVICE = 'PRINTER' dialog = space header = header options = form_pripars IMPORTING * NEW_ARCHIVE_PARAMS = result = result TABLES lines = lines * OTFDATA = EXCEPTIONS canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 unknown = 6 format = 7 textformat = 8 communication = 9 bad_pageformat_for_print = 10 OTHERS = 11.
RSPO_SR_OPEN CALL FUNCTION 'RSPO_SR_OPEN' EXPORTING dest = p_dest * LDEST = * LAYOUT = name = 'COMP' * SUFFIX1 = * SUFFIX2 = * COPIES = * PRIO = * IMMEDIATE_PRINT = * AUTO_DELETE = * TITLELINE = * RECEIVER = * DIVISION = * AUTHORITY = * POSNAME = * ACTTIME = * LIFETIME = '8' * APPEND = * COVERPAGE = * CODEPAGE = doctype = 'COMP' * ARCHMODE = * ARCHPARAMS = * TELELAND = * TELENUM = * TELENUME = * SPONUMIV = ' ' * USESPOOLID = * PRINTOPTIONS = * PRINTTICKET = ' ' IMPORTING handle = comp_handle spoolid = comp_id * TABLES * ATTRIBUTES = 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 = comp_handle auto_toc = abap_true * IMPORTING * PAGECOUNT = TABLES parts = lt_parts 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 = comp_handle * PAGES = final = 'X' EXCEPTIONS handle_not_valid = 1 operation_failed = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSPO_TEST_CREATE_SPOOL - Create Composed or Binary Spool Request RSPO_TEST_CREATE_SPOOL - Create Composed or Binary Spool Request RSPO_SPOOL_PATCH_GET==========FT - RSPOSPOOLPATCHGET==========FT RSPO_SHOW_SPO_NUM - Display Spool Number Range Interval RSPO_SHOW_SPO_NUM - Display Spool Number Range Interval RSPO_SHOW_DELAYED_OUTREQS - Find Output Requests in Which Processing Delays Occurred