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

SPCPC_UNSET_PAL_FLAG_CLIENT SAP ABAP Report - Release Printers from Central Management (Only Locally in Target Sys.)







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


Text pool values


Title: Release Printers from Central Management (Only Locally in Target Sys.)
Text Symbol: 001 = Release Printers from PAL
Text Symbol: 002 = Select the desired printers and choose "Release Printers from PAL"
Text Symbol: 003 = Centrally Managed
Text Symbol: 004 = Central System
Text Symbol: 005 = Do you want to release the selected printers from central management?
Text Symbol: 006 = Caution, this action cannot be undone.
Text Symbol: 007 = Information
Text Symbol: 008 = You can use this report to release printers in a PAL target system from PAL control.
Text Symbol: 009 = You should only execute the report in the following situations:
Text Symbol: 010 = 1. The central system is currently not available and you want to change printers locally.
Text Symbol: 011 = 2. The system is actually a copy of a "real" PAL target system.
Text Symbol: 012 = It is not known to the central PAL system.
Text Symbol: 013 = After a change and distribution from the central PAL system, the printers will be under PAL control again.


INCLUDES used within this REPORT SPCPC_UNSET_PAL_FLAG_CLIENT

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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Caution, irreversible action'(006) * DIAGNOSE_OBJECT = ' ' text_question = question IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

SPCPC_I_UNMARK_DEVICE CALL FUNCTION 'SPCPC_I_UNMARK_DEVICE' EXPORTING name = ls_printer-pname caller_sid = sid IMPORTING return_code = ret.

RSPO_R_SELECT_DEVICE CALL FUNCTION 'RSPO_R_SELECT_DEVICE' EXPORTING field_name = 'PRINTER' ldev = ls_printer-pname.

POPUP_WITH_TABLE CALL FUNCTION 'POPUP_WITH_TABLE' EXPORTING endpos_col = 132 endpos_row = 21 startpos_col = 6 startpos_row = 10 titletext = sy-repid * IMPORTING * CHOICE = choice TABLES valuetab = lt_info EXCEPTIONS OTHERS = 0.



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