Please find list of related blogs
Please refer to S/4HANA SQUARE ONE for other blogs
Cloud Print Manager (CPM) is a windows software that runs on a Windows PC and is used to print business docs from S4HANA Cloud (or Business ByDesign) to the printer on local network. The CPM software fetches prints jobs from the Print Queues on the S4HANA Cloud.
Currently the printing solution is only available on Windows platform. CPM has to be installed on Windows based computer (Windows 7/8/10, 32-bit/64-bit) as a Service. One CPM can handle printing to all printers like Invoice Printer, Check printer, Purchase Order printer, etc.
Ref SAP Note 2738233 – Supported platforms for SAP Cloud Print Manager.
Output Management with S/4HANA Cloud requires CPM to enable automatic transmission and printing of documents from cloud-based system to local printers.
CPM tool only works with print queues which do not exist in on-premise and cannot work with spool, so CPM cannot be used with On-Prem.
Please find below the Architecture diagram for the SAP Cloud Print Manager.
TIP: As you can see from above the Cloud Print Manager service continuously polls the cloud system using WebService url , Print user / password and port 443, so you should open the firewall port.
SAP Cloud Print Manager has following features:
- Allowing login with your Business User.
- Storing documents anywhere in file directory etc.
- Cleaning up file directory.
- Resetting all Print queues to factory default.
Each of the sections below describe the software download, installation and configuration
Please refer Note 2099739 – SAP Cloud Print Manager for more info
PART 1: SOFTWARE DOWNLOAD:
In the Fiori Apps, locate tile Additional Software – Install Additional Software. You will require authorization with role SAP_BR_ADMINISTRATOR. Double click the tile.
You will get the screen below
After clicking on Download button you system will prompt for S-User id login to the SAP Service Marketplace. Please note that this user id requires download authorization. You can check whether you have this authorization by clicking on url: https://launchpad.support.sap.com/#/user/authorizations
Check under AUTHORIZATIONS column for “Software Download” as below.
If you have software download authorization, you will get screen below:
Click on the filename xCPM740SP01P_3-80000550.exe and save. This is a 32-bit application that runs on both platforms 32-but as well as 64-bit.
PART 2: SOFTWARE INSTALLATION
It is recommended to install SAP Cloud Print Manager on a central Windows Print Server on your network and should be available all the time or at least during the time printing is needed.
- Please ensure you have admin rights on the Windows computer.
- If you are printing sensitive documents please ensure only authorized users can access this folder – C:\Users\<User Name for Cloud Print Service>\AppData\Roaming\SAP\Cloud Print Manager
Locate the downloaded file xCPM740SP01P_3-80000550.exe and click on “Run as administrator” as shown:
At the first screen, Click on Next
You will get screen below like SAPGUI installation, the SAP Front End Installer, Click on Next
Keep default path C:\Program Files (x86)\SAP\SAP Cloud Print Manager and Click on Next
You should get message that “Installation is completed successfully”.
After installation you should have 2 icons in the app path as shown below for Windows 10:
(1) Windows Start (2) All Apps -> (3) SAP Cloud Print Manager -> (4) SAP Cloud Print Manager executable program as well as (4) SAP Cloud Print Manager Help doc.
Alternatively you can access the pdf file SapCloudPrintManagerHelp.pdf in the folder C:\Program Files (x86)\SAP\SAP Cloud Print Manager\. This document is also useful for latest information.
The third alternative to access this SAP Cloud Print Manager Help is shown below using menu option as shown below from the Cloud Print manager software. This opens the Help document in html format.
PART 3: CREATE PRINT QUEUE
Let us first create the Print Queue which will be needed to configure the Cloud Print Manager settings.
Select Fiori app from Group – Output Management ; – Fiori Tile – Maintain Print Queue.
You need authorization for Output Management with Catalog ID SAP_CORE_BC_OM
You should have screen below:
TIP: In the above screen please note there is always a Print Queue by name DEFAULT, but it can never print to Cloud Print manager. The purpose of DEFAULT queue is for sending any output that does not have queue defined. Also please note that the Print Queues do not belong to a specific business user but a “Technical” User.
Now let us add New Print Queue. Click on “New” in above screen.
Please enter (1) Queue Name, (2) Description, and click on (3) New Print User
In the above screen, enter the (1) Name of print user, (2) Description and (3) Password (password must contain at least one special character) and click on (4) Create. Note down this user and password as it will be needed for the Cloud Print Manager configuration in next step. The Print User above is a Technical user and is used by Cloud Print manager to log into the Cloud system via the internet.
On the previous screen, keep format as PDF. With this setting as PDF, the Cloud Print Manager converts format to whatever is needed by Windows Printer. Click on (4) Create.
A Queue will be created as shown below:
At the bottom of this screen click on System UR that we will use in the next step to configure the cloud print manager.
PART 4: CONFIGURE CLOUD PRINT MANAGER
Start the SAP Cloud Print Manager either from path mentioned before or alternatively for routine access, click on (1) Search icon and type (2) “sap cloud print” to locate the application, select (3) SAP Cloud Print Manager and right click to select (4) “Run as Administrator”
When you start Cloud Print Manager for first time you should start it with “Run as administrator” rights, if not you will get a message below:
Next step is to enter details of Domain – here you can either enter Domain name for domain accounts or computer name for local accounts, User and Password
TIP: If there is no Windows domain user available please refer Note 2718588 – How to maintain the service account for SAP Cloud Print Service without a Windows Domain
If everything is fine, you will get screen below, select menu option Runtime Systems, select New …
Enter details of (1) name of the system – like for e.g. STARTER, TEST or PRODUCTION system. Enter (2) url from previous step https://my300429.s4hana.ondemand.com and (3) click on Test Connection
If you get “Connection test successful”, the connection information is saved. After a few moments, CPM should automatically display all the print queues that were assigned to the print user.
In a few moments you should see the Print Queue.
TIP: In case you get error: The requested key container was not found, please refer Note 2690882 – Cloud Print Manager: (error: The requested key container was not found.)
Please refer SAP Note 2616159 – SAP Cloud Print Manager Log Files
If connection test is not successful and you get error shown below at this step, please confirm that firewall port is open and check the proxy server setting if it is needed.
In this case, please go to menu option Help-> About and then click on Error Log to get the details of error.
Log shows details below: (28.06.2017 11:34:51) *** ERROR ***  Unable to connect to the remote server WebException from GetAllPrintQueues webservice, System = SAP_Q_System ***** [GetAllPrintQueues in PrintQueueAccess.cs at line 282 ] ***** (28.06.2017 11:34:51) *** ERROR ***  Connection Test: Unable to connect to the remote server ***** [ TestThread in ConnectionTester.cs at line 239 ] ***** If the issue is not resolved please attach the error log to the ticket.
Next step is to assign the Windows Printer to a Print Queue, select the Print Queue in bottom section and Rt-Mouse Click to select Output Options … , in the dialog, checkmark Send to Printer and select the printer from popup. Click on OK.
This will change default format “PDF” to the windows printer as shown in next screen (1)
If you click on SAP Cloud Print Watcher and click on Start Service, this service starts Cloud Print Service if it aborts unexpectedly.
TIP: Please do not create multiple “Runtime Systems” with same url+user combination as shown below.
Above situation will create issues and error in the log
(28.03.2019 20:57:56) *** ERROR ***  GetMetaData returned an empty item. System = S4HTESTDUPL Queue = CPM_Q_TEST_3 ***** [ RetrieveDocuments in RetrievalManager.cs at line 1088 ] *****
PART 5: PRINT TEST PAGE
At this point it is good to confirm that Print Queue to Physical Printout is working. Click on Fiori app Maintain Print Queues and select (1) the print queue and click (2) Change.
Click on Create Test Page
You should get physical paper printout.
This completes the Cloud Print Manager configuration. If you would like to Customize the Master Form Template please follow this blog – Output Management – Customize Master Form for Logo Address Tel Fax eMail
PART 6: PRINTING STAGES
As you print please find below the stages of printing as you observe the queue in cloud system to finally see the paper output. Ensure that Cloud Print Manager is started and printer is online and available for printing.
In Cloud system Manage Print Queues, the status is new
In Cloud Print Manager the document is Queued
In Cloud Print Manager the document is Printing
In Cloud Print Manager the document is Successful
In Cloud system Manage Print Queues, the status is successful
PART 7: TROUBLESHOOTING & RUN OPS
In case you printed the document and would like to quickly go to the details, please Fiori Tile Manage Output Items as below which has a Failed Output Items counter and is advisable to keep on Home tab.
All the configuration and logs related to the install/configuration/run operations are stored in the folders as below (Windows 10)
Cloud Print Manager temporarily stores documents under this folder and in case sensitive documents are printed, it is recommended that only authorized users can access the above folder.
It is recommended to periodically clean the folder using this option below in Cloud Print manager.
PART 8: ARCHITECTURE
- One single Cloud Print Manager can connect to multiple systems like Starter, Q-System, P-System and fetch jobs from different systems. You will have to add each Runtime system separately with its own combination of WebService URL Print User and password. In the graphic below, Toronto and New York have separate LANs.
- DO NOT install more than one Cloud Print Manager to poll from same Print Queue. Meaning, you should not configure CPM’s on two different Windows PCs using the same URL+ Print User combination. This will confuse the CPM. In future, the system may be able to detect this situation and prevent second config of CPM.
- One Technical Print User + URL combination basically will make all the Print Queues available on the system under that Technical Print User. So in the Cloud system, if you have 3 different Queues, with same Technical Print User, once you configure Cloud Pint Manager with the URL + Technical Print User combination, these 3 print queues are automatically available in the CPM. Show below there are 3 print queues defined in S4HC for Technical user CPM_Q_TEST_USER4
After connecting from CPM with URL + Technical User combination the 3 Print Queues are automatically visible in CPM.
- You can move documents form one Print Queue to another Print Queue.
- Print Queues do not belong to a specific business user but a Technical Print User.
PART 9: OTHER TIPS
- The Technical User password can be changed with a separate Fiori Tile – “Display Technical User“, although it can be used for change/reset password/lock user.
- You can first print to PDF format in the Cloud system and view the pdf before printing to local printer. However please note that when printing using pdf file, but when printing ensure the setting in Print dialog for windows is set to “Actual size” rather than the default “Shrink oversized pages“. This is important if you align forms for check printing the form may not match when printed directly.
- You should not create multiple entries for “Runtime Systems” with the same combination of url + user as shown at the end of STEP 4 CONFIGURE CLOUD PRINT MANAGER.
- For the same combination of “Runtime System” entry i.e. (same url + user combination) there should be no other Cloud Print Managers active at same time. You can stop one CPM and switch to other CPM but not both CPM active at same time. Ensure no redundant CPM’s are left over form previous test configurations.
It is recommended to install one Cloud Printer in the system for the Starter, Q and P systems.
If there are different locations then you can install separate Cloud Print Managers in each location but both these cloud print managers will have separate Print Queues mapped to the CPM.
The Print Queues are separately created in the Starter, Q and P system. The queues are not transportable.
COMPONENT FOR INCIDENTS:
You can create OSS messages using component:
BC-CCM-PRN – Output Management, Cloud Print Manager
CA-GTF-OC – Output Control for forms (S4HANA)
SAP Note 2099739 – SAP Cloud Print Manager
SAP Note 2738233 – Supported platforms for SAP Cloud Print Manager
SAP Note 2616159 – SAP Cloud Print Manager Log Files
SAP Note 2679304 – Follow Me Printing on Cloud Print Manager (not supported)
SAP Note 2718588 – How to maintain the service account for SAP Cloud Print Service without a Windows Domain
SAP Note 2764853 – S/4HANA Cloud: only PDF test documents are created
SAP Note 2814277 – SAP Cloud Print Manager cannot communicate with Cloud Backend due to TLS level 1.2 requirement
S/4HANA Cloud Product Expert