Understanding Printing Scenario Pull Integration

Objective

After completing this lesson, you will be able to outline the printing infrastructure for scenario pull integration

Printing Infrastructure - Prerequisites

The printing infrastructure of SAP S/4HANA Cloud Public Edition is designed to facilitate the generation and distribution of various documents, such as invoices, reports, and forms. It leverages a combination of SAP technologies and services to provide a robust and flexible printing system in a cloud-based environment.

Furthermore, the configuration effort is minimized by enabling the existing customer's local printing infrastructure. The setup steps within SAP cloud-based solutions also follow a minimalistic approach to configuration and customizing. In the mentioned scenario, when (re)using the existing customer printing environment, the SAP Cloud Print Manager for Pull Integration has to be installed on a Windows host within the local customer infrastructure. This agent works with the ​ Term ​SAP Print Service​ Term ​, which is used in cloud-based business products across the ​ Term ​SAP Intelligent Enterprise Suite​ Term ​ like ​ Term ​SAP S/4HANA Cloud Public Edition​ Term ​, and the cloud-based SAP Business Technology Platform (SAP BTP). This service exposes print queues, typically created and managed by key users in the business applications.

This image is separated into the Customer IT Infrastructure (at the left) and SAP S/4HANA Cloud Public Edition (at the right). In between, there is a firewall. The graphic lists the necessary steps before using the local customer printing infrastructure from SAP S/4HANA Cloud Public Edition for output-relevant documents. Steps 2 and 5 (at the left) are executed by an OS Windows administrator (installation and configuration of the SAP Cloud Print Manager for Pull Integration), whilst steps 1, 3, and 4 are done by a cloud key user or administrator with the respective app's authorization (download additional software, create communication arrangement and system, create print queue).

To use the SAP Print Service, some customization has to be done by the business application's development team or by a team member in the system administration of the cloud-based product. More precisely, the initialization of the SAP Print Service requires creating a Communication Arrangement based on an SAP-provided Communication Scenario. The communication partner, a so-called Communication System, is referenced by the Communication Arrangement and provides technical information (host, port, etc.) and authentication data (technical user).

The SAP Cloud Print Manager for Pull Integration gets access to the established scenario when the respective print queue connection is configured in the Windows-based SAP CPM for PI. From then on, the agent polls all locally configured print queues and forwards, waiting for output items to connect local printers in the customer network.

In this way, customers can easily establish the connection between the SAP Print Service and the customer’s local printers with a significantly reduced development effort.

The following graphic illustrates the core elements of this scenario.

The documents are routed to a specific Print Queue in the system which will be pulled by the SAP Cloud Print Manager for Pull Integration to a specific printer. The Output Parameter Determination defines the print rules via Business Rules Framework Plus (BRF+).

The image shows a business user connecting from the local customer IT infrastructure to the SAP S/4HANA Cloud Public Edition, calling the function 'Manage Purchase Order' and printing a PO. Further steps are needed to process the output: Output Parameter Determination and sending the output request to a Print Queue. As soon as the output request is forwarded to a print queue, the SAP Print Service is used to handover the data to the SAP Cloud Print Manager for Pull Integration, installed and configured in the local customer IT infrastructure. From there, a physical printer at the customer location can be used for the printout.

When a business user initiates the creation of a purchase order - for instance, for materials like aggregate—the system automatically references the Output Parameter Determination settings of the business application or the document type to determine the subsequent actions needed for handling. This involves deciding on the specific output method, such as whether the document should be emailed directly to stakeholders, formatted as an XML document for integration purposes, or printed as a physical copy for departmental processing. If we focus on output management for a printer or PDF paper output, the output parameter determination settings will also define which print queue a document is sent to.

To send the request to the specified printer, you must install the SAP Cloud Print Manager for Pull Integration on your local network, which connects the Print Queue and the local printer.

Preview the Next Setup Steps for the Printing Infrastructure

Considering the previous overview of the printing infrastructure and the customer's desire to utilize the current local printing system, planning and executing the following configuration stages is essential. To enable the reuse of this local printing setup, it is necessary to employ Communication ScenarioPrinting - Pull Integration. This process requires the setup of extra communication components, including a Communication Arrangement, a Communication System, and a Communication User.

Moreover, some definitions have to be done:

  • Define Print Queue(s)
  • Maintain Output Parameter Determination
  • Install the SAP Cloud Print Manager for Pull Integration (SAP CPM for PI)

In our example, we initially establish the essential communication definitions. Then, we proceed to create a new Print Queue, designed specifically for generating output items for Purchase Orders. This is followed by configuring the Output Parameter Determination for Purchase Orders, where we associate the newly created Print Queue with the Business Rules for Purchase Orders, ensuring that all relevant documents are directed to this new Print Queue.

To complete the setup, the SAP Cloud Print Manager for Pull Integration should be installed on a Windows server within the customer's local network and linked to the SAP S/4HANA Cloud Public Edition tenant.