SPCPC_SPOO_SERV_MASS_CHANGE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Change the Spool Server of a centrally managed PAL printer on a Target System...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SPCPC_SPOO_SERV_MASS_CHANGE 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.
Title: PAL Printer Spool Server Change
Text Symbol: 029 = PAL Printer list:
Text Symbol: 028 = Result:
Text Symbol: 027 = New Server:
Text Symbol: 026 = Old Server:
Text Symbol: 025 = Printer:
Text Symbol: 024 = Detailed results:
Text Symbol: 023 = Overall change result
Text Symbol: 022 = Number of Printers that could not be changed:
Text Symbol: 021 = Number of Printers successfully changed:
Text Symbol: 020 = Printer sucessfully changed.
Text Symbol: 019 = Printer not found in table TSP03.
Text Symbol: 018 = Unlock of printer failed.
Text Symbol: 017 = Lock of printer failed.
Text Symbol: 016 = Printer not found in table TSP03D.
Text Symbol: 015 = You are about to change $1 printers.
Text Symbol: 014 = Nothing to change.
Text Symbol: 013 = Spool Server not existing.
Text Symbol: 012 = No new Spool Server specified.
Text Symbol: 011 = No PAL Printer specified.
Text Symbol: 010 = Confirm before change
Text Symbol: 009 = Server List:
Text Symbol: 008 = New Spool Server
Text Symbol: 007 = Specify new Spool Server
Text Symbol: 006 = Spool server
Text Symbol: 005 = SID of Central System
Text Symbol: 004 = Access Method
Text Symbol: 003 = Model
Text Symbol: 002 = Printer name
Text Symbol: 001 = Specify PAL printer filter criteria
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TH_SERVER_LIST call function 'TH_SERVER_LIST' tables list = appservers exceptions others = 99.
RSPO_SERVER_GET call function 'RSPO_SERVER_GET' exporting server = s1-server mapping = 'X' importing entry = s2.
RSPO_SERVER_GET call function 'RSPO_SERVER_GET' exporting server = s2-spoolsrv mapping = 'X' importing entry = s1.
ENQUEUE_ESTSP03D call function 'ENQUEUE_ESTSP03D' exporting name = name exceptions foreign_lock = 1 system_failure = 2 others = 3.
DEQUEUE_ESTSP03D call function 'DEQUEUE_ESTSP03D' exporting name = name exceptions others = 3.
RSPO_DEVICE_FLUSH call function 'RSPO_DEVICE_FLUSH' exporting device = e03d-padest.
RSPO_REDIRECT_JOBS_FOR_DEVICE call function 'RSPO_REDIRECT_JOBS_FOR_DEVICE' exporting dest = e03d-padest.
FUNCTION_EXISTS call function 'FUNCTION_EXISTS' exporting funcname = 'SPCPC_MARK_CPC_PRINTER_AS_MOD' exceptions others = 99.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SPCPC_SPOO_SERV_MASS_CHANGE - PAL Printer Spool Server Change SPCPC_SPOO_SERV_MASS_CHANGE - PAL Printer Spool Server Change SPCPC_SET_OVERWRITE_ON_PG - Set overwrite flag of PAL Printers SPCPC_SET_OVERWRITE_ON_PG - Set overwrite flag of PAL Printers SPCPC_PAL_TEST_BUILD_DEVICE - SPCPCPALTESTBUILDDEVICE SPCPC_PAL_TEST_BUILD_DEVICE - SPCPCPALTESTBUILDDEVICE