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

SPCPC_UNSET_PAL_FLAG SAP ABAP Report - Release printers in client systems from central management







SPCPC_UNSET_PAL_FLAG 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 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. "Basic submit
SUBMIT SPCPC_UNSET_PAL_FLAG AND RETURN. "Return to original report after report execution complete
SUBMIT SPCPC_UNSET_PAL_FLAG 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: PALG = D .
Selection Text: PALP = D .
Selection Text: TSG = D .
Selection Text: UNPAL = Release from centr. management
Title: Release printers in client systems from central management
Text Symbol: 001 = Nothing selected.
Text Symbol: 002 = No change authorization.
Text Symbol: 003 = Target System "$1" does not exist.
Text Symbol: 004 = Printer "$1" does not exist.
Text Symbol: 005 = Restrict printer selection
Text Symbol: 006 = Specify target
Text Symbol: 007 = Selecting printers
Text Symbol: 008 = Modifying printers in client systems
Text Symbol: 009 = Distribution status of not distributed printer updated.
Text Symbol: 010 = Distribution status of not distributed printer could not be updated.


INCLUDES used within this REPORT SPCPC_UNSET_PAL_FLAG

INCLUDE SPCPCDEF.
INCLUDE SPCPCUTIL.
INCLUDE SPCPC_UNSET_PAL_FLAG_ALV.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-007.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-008.

SPCPC_UNMARK_P_ON_TS CALL FUNCTION 'SPCPC_UNMARK_P_ON_TS' EXPORTING printer_id = printer_id target_system_id = target_system_id IMPORTING return_code = ret.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-repid dynnr = sy-dynnr TABLES fieldvalues = lt_param.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PNAME' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * CALLBACK_METHOD = * MARK_TAB = IMPORTING user_reset = reset TABLES value_tab = pr_values field_tab = lt_field return_tab = pr_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-repid dynnr = sy-dynnr TABLES fieldvalues = lt_param.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PGNAME' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * CALLBACK_METHOD = * MARK_TAB = IMPORTING user_reset = reset TABLES value_tab = pg_values field_tab = lt_field return_tab = pg_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-repid dynnr = sy-dynnr TABLES fieldvalues = lt_param.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'TSGNAME' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * CALLBACK_METHOD = * MARK_TAB = IMPORTING user_reset = reset TABLES value_tab = tsg_values field_tab = lt_field return_tab = tsg_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.



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