SNMP Print Job Status Feedback User Guide - Archive

2y ago
43 Views
2 Downloads
939.80 KB
14 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Melina Bettis
Transcription

SAP NetWeaverConfiguration GuideSNMP Print JobStatus FeedbackUser GuideValid for SAP NW 7.0 EhP 1 and higherDocument Version 5January 19th, 2015

Print Job Status Feedback User GuideSAP NW 7.01 and higher Copyright 2015 SAP AG. All rights reserved.No part of this publication may be reproduced or transmitted in any form or for any purposewithout the express permission of SAP AG. The information contained herein may bechanged without prior notice.Some software products marketed by SAP AG and its distributors contain proprietarysoftware components of other software vendors.Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of MicrosoftCorporation.IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400,OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, System i, System i5, System p, Systemp5, System x, System z, System z9, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli,Informix, i5/OS, POWER, POWER5, POWER5 , OpenPower and PowerPC are trademarksor registered trademarks of IBM Corporation.Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registeredtrademarks of Adobe Systems Incorporated in the United States and/or other countries.Oracle is a registered trademark of Oracle Corporation.UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin aretrademarks or registered trademarks of Citrix Systems, Inc.HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C , WorldWide Web Consortium, Massachusetts Institute of Technology.Java is a registered trademark of Sun Microsystems, Inc.JavaScript is a registered trademark of Sun Microsystems, Inc., used under license fortechnology invented and implemented by Netscape.MaxDB is a trademark of MySQL AB, Sweden.SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, Duet, PartnerEdge, andother SAP products and services mentioned herein as well as their respective logos aretrademarks or registered trademarks of SAP AG in Germany and in several other countries allover the world. All other product and service names mentioned are the trademarks of theirrespective companies. Data contained in this document serves informational purposes only.National product specifications may vary.These materials are subject to change without notice. These materials are provided by SAPAG and its affiliated companies ("SAP Group") for informational purposes only, withoutrepresentation or warranty of any kind, and SAP Group shall not be liable for errors oromissions with respect to the materials. The only warranties for SAP Group products andservices are those that are set forth in the express warranty statements accompanying suchproducts and services, if any. Nothing herein should be construed as constituting anadditional warranty.ii

Print Job Status Feedback User GuideSAP NW 7.01 and higherPrint Job Status Feedback User Guide . 2Enable Print Job Status Feedback in SPAD . 3Print Job Status Feedback in Output Controller . 6Changes in SAP System Configuration . 10Restrictions on Document Types . 121

Print Job Status Feedback User GuideSAP NW 7.01 and higherPrint Job Status Feedback User GuidePurposeThis document provides an overview of the feature “Status Feedback for Print Jobs using theSNMP protocol (Simple Network Management Protocol)” which is supported with SAPNetWeaver 7.0 Enhancement Package 1 (EhP1) and higher.Target AudienceThis document is intended for both system administrators and for application users. SectionsEnable Job Status Feedback in SPAD and Changes in the SAP Configuration outlineinformation which is only relevant for system administrators. The remaining sections areintended for both target groups.GlossaryPrint Job Status FeedbackThis feature enables SAP end users tocheck the status of their print jobs (‘outputrequests’ in SP01) submitted from the SAPsystem to the printer.Output deviceFor all actions to be done in transactionSPAD this document uses the term ‘outputdevice’ instead of ‘printer’.In general this term is a superordinate termfor any machine used to representinformation from a computer, includingdisplay screens, printers, fax machines, andarchiving devices in the SAP system.Output requestFor all actions referring to transaction SP01this document uses the term ‘output requestinstead of ‘print job’.In general this term is superordinate term forany data record created by the SAP Systemeach time a spool request is printed. Anoutput request contains information aboutthe utilized output device and the status ofthe request.PrinterIn transaction SPAD the superordinate termoutput device is used for printer.Print jobIn this documentation output request is usedas a synonym of print job.SNMPSimple Network Management Protocol.Check http://ietf.org/ for details on SNMP.SPADSpool Administration transactionSP01Output Controller transaction2

Print Job Status Feedback User GuideSAP NW 7.01 and higherRequirementsPrint Job Status Feedback is only possible for network printers because the status of a printjob is monitored via SNMP protocol directly from the printer.1. The physical printer must be a network printer which supports SNMP2. Access Method must be C, L, U or S3. SAP device type which is especially created for this printer model must be used. Thisdevice type must support Print Job Status Feedback via SNMP. Check the “Print JobStatus Feedback Development Guide” for more information.4. The network address (IP address or network name) must be made public to the SAPspooler (i.e. the SAP system).Refer to SAP Note 1134251 for required support package and kernel patch levels.Enable Print Job Status Feedback in SPADOnce a physical network printer which supports SNMP is available, you must create a devicedefinition for this printer model (i.e. output device) in transaction SPAD. This device definitionrequires additional information for enabling Print Job Status Feedback via SNMP. Thefollowing section describes how to enter the additional information for SNMP. For generaldescription of creating and managing output devices in SAP systems, see Help ApplicationHelp in the SAPGUI menu of transaction SPAD.Open transaction SPAD and create the new output device. When you select one of thesupported access methods an additional button SNMP becomes available (see Fig.1).Fig.13

Print Job Status Feedback User GuideSAP NW 7.01 and higherSelect this button. A subscreen with additional entry fields will be opened. Enter the SNMPrelevant parameters as described below. Those values will be required later to gain access tothe output device (see Fig. 2).Fig. 2Information for SNMPIP address/HostnameTCP/IP network address under which the physical printer can be accessed.In most cases this the only information you have to provide. In this field enter the IP addressof your network printer as shown in Fig. 2 or the network alias name of your network printer.This will be the network address to which SNMP queries from the SAP spooler will be sent.Make sure that this is the actual IP address of the physical printer in the network. The IPaddress in this field must point to the physical device connected to the network even if youaccess the printer from SAP via a print server. The name of the print server is entered in theDestination host field.A print server will not reply to SNMP calls intended for a printer and thus Print JobStatus Feedback would fail. This explains why SAP cannot automatically use the name ofthe Destination host field as the target address of the printer for sending SNMP queries.You can enter an IP address not only for output devices with access method U but also foraccess method S, L and C. This is useful if the physical printer that will receive printouts fromSAP via the various connection methods is a network printer supporting SNMP and you canaccess it directly via the network.4

Print Job Status Feedback User GuideSAP NW 7.01 and higherSNMP uses the UDP protocol and different network ports than printing via access method U(which uses TCP/IP port 515 by default). This is important for system administratorsconnecting network printers behind a firewall to the SAP system. If you want to enable SNMP,you must enable UDP protocol and the necessary network ports.Community NamePassword which is needed for an SNMP query. The default value is ‘public’, and it should notbe changed in the majority of the cases. However, it might occur that for a certain printer thecommunity name has been changed and the SNMP query fails. In this case, you must enterthe correct community name for the printer here.VersionThe SNMP version which is used has default value 1. Do not change this value.Device IndexValue used for addressing or distinguishing several “virtual” SNMP devices within onephysical device. For a printer it is should be set to 1.Checkbox Job StatusThis checkbox (see Fig. 3) will be displayed when the output device is saved, the device typeyou have selected for the output device supports Print Job Status Feedback, and the SAPsystem is on a release that supports Print Job Status Feedback.For new output devices the box is unchecked by default. If you want to enable Print JobStatus Feedback via SNMP for this output device, switch it on and save the changes.Fig.35

Print Job Status Feedback User GuideSAP NW 7.01 and higherPrint Job Status Feedback in Output ControllerAn output request for an ABAP list, a SAPscript or a Smart Form has been sent to the printer.To check the status of the output request, open transaction SP01. Note that ‘output request’and ‘(print) job’ are synonyms.In Fig. 4 you see the message “Waiting in host spooler”. This is the initial status of an outputrequest.Fig. 4This status is displayed as long as the SAP spool database has not yet been updated with theresult of an SNMP query. If you refresh the status display, you should see a different statustext after a couple of seconds.Fig. 5 shows message “Job is currently processing”. This means that the SNMP query hasfound the job you sent to the printer to be processing (i.e. printing) in the printer.6

Print Job Status Feedback User GuideSAP NW 7.01 and higherFig. 5When an output request has been processed completely, the following message will bedisplayed:Fig. 67

Print Job Status Feedback User GuideSAP NW 7.01 and higherIf an output request has stopped processing due to missing paper for example, the followingmessage will be displayed (see Fig. 7):Fig. 7Overview of Print Job Status Feedback (SNMP) messages#MessageExplanation1Job completed successfully (SNMP)Job completely printedwithout errors or warnings2Job completed with warnings (SNMP)Job completely printed withwarnings (it is vendorspecific what is considereda warning)3Job completed with errors (SNMP)Job completely printed,errors occurred (it isvendor-specific what isconsidered an error)4Job was completed (SNMP)Job completely printed5Job was aborted (SNMP)Job was aborted6Job was cancelled (SNMP)Job was cancelled7Job was cancelled at device (SNMP)Job was cancelled atprinter (e.g. with cancel8

Print Job Status Feedback User GuideSAP NW 7.01 and higherbutton on front panel)8Job was not found in printer (SNMP)Printer has no informationabout this job: either thejob has not (yet) arrived atthe printer or the printerhas already deleted thePrint Job Status FeedbackRead section Changes inSAP System Configurationfor details.9Job stored in printer for later printout (SNMP)Some printers can storejobs which are only printede.g. when a user types in apassword10Job possibly printed (final state unknown, SNMP)The job was found to beprocessing in the printerpreviously but during thelast SNMP query no PrintJob Status Feedback wasfound.Read section Changes inSAP System Configurationfor details.11Job processing has temporarily stopped (SNMP)The printer has put the jobon hold (no details areknown)12Job is currently printing (SNMP)The job is printing13Job is currently processing (SNMP)The job is being processed14Job is currently interpreting (SNMP)The job is being interpretedby the printer15Job is pending to be printed (SNMP)The job has arrived at theprinter but processing hasnot yet started16Job stopped, resources are not ready (SNMP)The job is put on holdbecause resources (e.g.paper, toner, ink) are notavailable17Job put on hold, device has stopped (SNMP)The job is put on holdbecause the printer hasstopped processing18Printer feedback not available: SNMP failurePrint Job Status Feedbackwas disabled for this printerbecause an error occurredduring the SNMP query.For performance reasons,future jobs for this printerwill be processed normallywithout status feedback.19Job state is unknown (Job not found, SNMP)The job was not found in9

Print Job Status Feedback User GuideSAP NW 7.01 and higherthe printer (and was alsonot found to be presentpreviously)20Job put on hold, device has stopped partly(SNMP)The job is put on holdbecause the printer haspartly stopped processing21Job put on hold while pending (SNMP)The job has been put onhold by the printer before itstarted processing22Printer feedback not available: SNMP networktimeoutThe SNMP network callfailed with TIMEOUT23Printer feedback not available: SNMP programmissingThe ABAP programrequired for job statusfeedback processing is notpresent. This indicates thatthe chosen device typerequires a SAP softwareupdate to support Print JobStatus Feedback. Pleasecheck with the supplier ofthe device type.24Printer feedback not available: internal SNMPerrorError in SNMP library25Printer feedback not available: SNMPincompatible printerThe printer responded inan unexpected manner toan SNMP query from SAP.This typically indicates thatthe connected printer is notcompatible with theselected device type inSPAD.If messages 8 “Job was not found in Printer” and 10 “Possibly printed (final state unknown)”occur, a change in SAP system configuration may be necessary.Changes in SAP System ConfigurationSNMP job status query operation takes place when the SAP spooler (i.e. the SPO workprocess) performs the Host Spool Query operation. This is a periodic action performed every60 seconds by exactly one SPO process on an application server in order to query the jobqueue of host spoolers (i.e. local Unix or Windows spooler, remote network spooler orSAPSprint).This action can be delayed due to other actions the SPO work processes perform, forexample processing output requests. As some printer models automatically delete job statusinformation 60 seconds after a job is completed, it is possible that job status information is nolonger available when the SNMP job status query arrives from the SAP system.If you experience this problem (e.g. output requests for SNMP-enabled printers are notreported as “Finished” in SP01 even though the job was correctly printed), configureadditional SPO work processes on the server serving the printer.Profile parameter rdisp/wp no spo controls the number of SPO processes and should beincreased in that situation.10

Print Job Status Feedback User GuideSAP NW 7.01 and higherNote:Profile parameter rdisp/wp no spo Snm max mentioned in a former version of thisdocument had to be disabled/removed from SAP kernel with release 7.21/7.41 and higher.The former functionality of reserving one SPO process exclusively for SNMP queries is notsupported any longer because it is not compatible with current work process architecture.Restriction for SAP NW 7.0 EhP1:After the system has been restarted and the first output request with SNMP Job Status hasbeen processed, one of the three configured SPO processes will continuously be displayedas “busy” in transaction SM50 and SM51. This is the newly configured SPO process reservedfor Print Job Status Feedback.This SNMP-SPO process is not busy (i.e. consuming CPU time) all the time but continuouslypausing (without consuming CPU) when no printers are to be queried via SNMP. Withrelease 7.11, this will be fixed and the SM50/SM51 display of a SPO process performingSNMP queries for Print Job Status Feedback will be as shown in Fig. 8:Fig. 8When the SNMP-SPO process is not pausing but actually performing SNMP queries, it will bein SM50/SM51 as shown in Fig. 9 (this applies to all NetWeaver releases):Fig. 911

Print Job Status Feedback User GuideSAP NW 7.01 and higherNote that the name shown in SM50 is the internal, four-character name of a printer.Restrictions on Document TypesNot all types of documents generated and printed by the SAP system support Print Job StatusFeedback. The following table lists typical document types and whether or not Print JobStatus Feedback is supported:Document TypePrint Job Status Feedback SupportABAP ListALV ListSAPscript FormSmart FormSAP Interactive Forms by AdobeSAPscript RDI FormatSmart Forms XSF Format12

Print Job Status Feedback is only possible for network printers because the status of a print job is monitored via SNMP protocol directly from the printer. 1. The physical printer must be a network printer which supports SNMP 2. Access Method must be C, L, U or S 3. SAP device type which is especially created for this printer model must be used. This device type must support Print Job Status

Related Documents:

ACI SNMP Overview SNMP Basic components are: Managed Device: the hardware device to be monitored Agent (SNMP software running on the Managed Device) Network Management System: the monitoring system which has SNMP Client to communicate with the Agent running on the Managed Device SNMP is widely supported across several Cisco platforms. For more information on SNMP, please refer to the Cisco .

Nimble Storage software provides an SNMP option for monitoring Nimble arrays.You should be familiar with Simple Network Topics: Setting up SNMP on the Nimble array Management Protocol (SNMP) bef ore enab ling SNMP monitor ing. RFC1155 is a good place to star t if you are not f amiliar with SNMP IANA and OID numbers and MIBs.

SNMP / net-snmp SNMP: Simple Network Monitoring Protocol – Versions 1 (RFC 1157), 2c (1901), 3 (2571) net-snmp: dominant toolkit to implement SNMP – applications (snmpwalk etc.) and libraries – sn

SNMP Informant - Installation and Configuration Guide - v2014.1 Page 4 Product Description SNMP Informant agents are DLL (Dynamic Link Libraries) extensions to the Microsoft Windows SNMP service. The Windows SNMP Service must be installed properly, configured and running before the SNMP Informant agent is accessible.

link-status command in either interface configuration mode or service instance configuration mode. To disable SNMP link traps, use the no form of this command. snmp trap link-status [permit duplicates] no snmp trap link-status [permit duplicates] Syntax Description. Command Default SNMP link traps are sent when an interface goes up or down.

SNMP versions 1 and 2 There are 3 widely implemented versions of SNMP: SNMP v1 (the first version of the protocol) – defined in 1988 in RFC1065, RFC1066, RFC1067 – Authentication mechanism is single password string called “Community” sent clear-text across network – Number of other issues with packet format and PDUs SNMP v2 (and why you know it as v2c)

Contents iv Using SNMP Version 3 with CiscoWorks and Third-Party Tools Implementation Guide OL-19726-01 Adding a Network to the Current Map 2-33 Configuring Specific SNMP Version 3 Parameters 2-36 Setting Global SNMP Version 3 Credentials 2-37 Setting Specific SNMP Version 3 Credentials 2-37 Viewing Node Information 2-38 Configuring the NNM MIB Browser 2-39

ASP.Net – MV3 asic Discussion 7 Page Figure:-dynamic keyword Session variables: - By using session variables we can maintain data from any entity to any entity. Hidden fields and HTML controls: - Helps to maintain data from UI to controller only. So you can send data from HTML controls or hidden fields to the controller using POST or GET HTTP methods. Below is a summary table which shows .