Sub topic 12
Deploying configuration to test and production systems
Prerequisites
This chapter assumes you know what an implementation project is, how scope items and the enterprise structure are chosen, and that configuration activities have been worked through in CBC. You should also know the SaaS landscape of SAP S/4HANA Cloud Public Edition, which has separate development (or starter), test, and production systems.
The working model
In CBC, you do not configure each system by hand. You maintain one configuration in the implementation project. CBC then deploys that configuration to the systems that are assigned to the project. This is the main difference from on-premise SAP, where you build configuration in a development client and move it with transport requests.
Deployment pushes the current state of the project: the selected scope items, the enterprise structure, the answers to scoping questions, and the configuration activity results. The target system is changed to match it.
Deployment steps
The exact screens change between releases. The sequence stays the same.
- Complete the mandatory configuration activities. Open activities block a clean deployment.
- Check that the target systems are assigned to the project and have the status you expect.
- Start the deployment to the first target system, usually the test system.
- Monitor the deployment status in the project until it finishes.
- Test the business processes in the target system.
- Repeat the deployment for the production system after the tests pass.
Reading deployment results
A deployment runs as a background job and ends in one of a few states. Treat the status as the starting point for your analysis.
| Status | Meaning | Typical action |
|---|---|---|
| In progress | CBC is still applying the configuration. | Wait. Do not start a second deployment. |
| Successful | The target matches the project. | Begin testing. |
| Failed | At least one step could not be applied. | Open the log, fix the cause in CBC, deploy again. |
Failures usually come from incomplete or inconsistent input, such as a missing mandatory answer, an enterprise structure that conflicts with the selected scope, or a target system that is not ready. Fix the cause in the project. Do not patch the target system directly, because the next deployment would overwrite your fix.
Common errors
- Changing configuration in the target system. Settings in the test or production system that bypass CBC are not part of the project. They can be lost or can conflict at the next deployment. Make every change in CBC and deploy it.
- Skipping the test system. Production should receive only a configuration that has already run successfully in test.
- Deploying while activities are open. Incomplete configuration produces partial or failed results. Finish the mandatory activities first.
- Starting parallel deployments. Wait for the running deployment to finish before you start another one for the same target.
Practical checklist
- Confirm which systems are assigned to the project.
- Confirm that mandatory activities are complete.
- Deploy to test and read the log, even when the status is successful.
- Run your key process tests, for example order-to-cash and procure-to-pay.
- Deploy to production and verify a few critical processes.
Exercise
A deployment to the test system fails. A colleague suggests fixing the missing setting directly in the test system so you can keep testing. Why is this a poor choice, and what should you do instead?
Show answer
The project in CBC is the source of the configuration. A setting made directly in the test system is not part of the project, so the next deployment can overwrite it, and production would never receive it. Open the deployment log, find the cause, correct the configuration in the implementation project, and deploy again.
Exercise
Put these steps in the correct order: deploy to production, deploy to test, complete mandatory configuration activities, test business processes.
Show answer
Complete mandatory configuration activities, deploy to test, test business processes, deploy to production.