SAP Reports / Programs

SPCPC_SPOO_SERV_MASS_CHANGE SAP ABAP Report - PAL Printer Spool Server Change







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


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


Text pool values


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


INCLUDES used within this REPORT SPCPC_SPOO_SERV_MASS_CHANGE

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:

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.



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