We will see how the SAP CPI deployment works and what are following practices we should apply. All of these are in this section.
What is Sap Cpi Deployment?
SAP Cpi Deployment is a way of deploying SAP applications in our system. This is done by storing the SAP application into a folder on our system or as a file system. Then using the sapCpiDeploy utility we can deploy it in our system.
The other ways to deploy SAP software are using the sapCpiDeploy utility, using the SAP NetWeaver Installation and Update Manager (NWIUM). Using the SAP Easy Access method which allows us to install SAP software without having the media.
What are the steps in SAP CPI deployment?
There are some steps that we need to take before we decide to deploy our SAP applications. These include:
Creating an Application Pool
Configuring SAP Cpi Deployment and defining where to store our files (installation directory)
Creating a package that includes the following:
- Control Repository Configuration Data (CRD) (if needed) as well as,
- ControlInformation (CI),
- Control Tables,
- External Tables, and
- Connection Providers
It must have corresponding configuration data if required. This package is called a Deployment Package (DPKG).
Using sapCpiDeploy Utility to deploy the package into an Application Pool that we have created earlier.
Now, what are the best practices in Sap Cpi Deployment? We see in detail.
1. Create an Application Pool
Before deploying an SAP application, we need to create an Application Pool in our system. For this, we will use the IWM.
Steps that we have to follow:
- Create an Application Pool
- Go to IWM->Application Pool->New->Application Pool and give the name of the application pool. Then click on Next.
- Configure Application Pool
2. Configure SAP Cpi Deployment
After creating an Application Pool, we will configure SAP CPI deployment.
Steps that we need to follow are:
Configure SAP Cpi Deployment
Go to IWM->Application Pool->APPL_POOL_NAME->Application Pool Settings and click on the configuration tab. From there, the following steps are to be performed:
3. Create a Deployment Package (DPKG)
A DPKG is a package that contains all of the required information to deploy an SAP application in our system.
4. Using sapCpiDeploy Utility to Deploy an SAP Application
We can use the sapCpiDeploy utility for deploying an SAP application in our system using a deployment package (DPKG).
Steps that we need to follow are: Deployment Package (DPKG) is the file that contains all of the information needed to deploy an SAP application in our system. To deploy an SAP application, we will follow these steps:
- Create a Package for your SAP Application
- Create a Dpkg File for your SAP Application
- Save the Dpkg File on a Server accessible from your System.
- Use the sapCpiDeploy Utility to Deploy your SAP application.
In this example, we will use the “INSTALL” option to install the application in our system.
There are other options we can use like: “CONFIGURE”, “COPY”, “UPDATE”, “UNINSTALL” etc, which will be discussed later in this article.
5. Create a package for your SAP Application
Creating packages is as simple as creating a directory. So it must have with some files and putting them in it and then copying that directory on our system where we want to deploy our application.
6. Using sapCpiDeploy Utility to Deploy an SAP application (CONFIGURE)
Configuration is used when we want to change the configuration. Especially, if an existing application is in our system. Thus, instead of deploying the whole application again from scratch and overwriting the existing one on our system.
Wrapping It Up
In this article we discussed SAP CPI Deployment in detail and how to use the sapCpiDeploy utility. We also discussed what are the practices that we should follow while deploying SAP applications and some best practices.