In my document Customer-Specific Solutions and Template Solutions I introduced the features and functions of custom-specific solutions and solution templates. In the discussion on this article, many questions on the process of custom-specific solutions have been raised. I tried to answer them, but I think it is helpful to summarize the discussion and introduce some figures to make the behavior more clear.
Let me start with the basics: Customer data reside in a tenant, a tenant belong to a system. SAP code, structures and database tables are cross-tenant artifacts; they are shared between the tenants of a system. Customer data are tenant specific and physically separated from each other. The tenant-to-system assignment is not visible to the customer and cannot be influenced by the customer. As a rule of thumb, tenants of one customer reside in the same system.
Each custom-specific solutions consist of cross-tenant artifacts and tenant-specific artifacts. Cross-tenant artifacts reside in a shared system area; the access to these objects is controlled by tenant-specific filters. If no filter exists in a tenant of the filter is switched off, the objects are not visible. Cross-tenant artifacts are, for example business objects, database tables and service interfaces with their proxy structures.
Figure 1 shows the initial setup of the development of a custom-specific solution. The solution mySol has been developed in a test tenant (TST). The filter is automatically created during solution creation and the cross-tenant artifacts are generated during activation of the respective object. During initial deployment, the tenant-specific artifacts and the filter is being created.
Figure 1: Initial Deployment
Notes
Figure 2 shows the patch creation. A new solution myPatSol, a new namespace and a new filter is created. The objects of the mySol solution are copied and the namespace is replaced by the new namespace of the myPatSol solution. Now, you can start developing the patch without modifying the objects of the original solution with your development users. Your development users have “privileged” access to the objects of the patch solution; you can see the objects of the patch solution. But for business users the changes are not yet visible, because the switch Pat for the myPatSol solution is still turned off.
Figure 2: Patch Creation
Figure 3 shows the next step “Enable Business User Testing”. In this step, the switch of the mySol solution of turned off and the switch of the myPatSol solution gets turned on. Now, business users see the objects of the patch solution.
Figure 3: Business User Testing
Note:
At patch deployment (assembly, download, upload, activation), the objects of the patch solution (having Version n+1) are deployed to the PRD tenant. In addition to the initial deployment, two activities are performed. (a) The namespace of the patch solution is copied back to the original solution (aliasing). (b) In an after deployment step, the tenant-specific parts of the solutions in other tenants are updated (automatic distribution).
Figure 4: Patch Deployment
Notes:
You can request a new tenant in the Business Configuration work center. The test tenant is created as a copy of the production tenant (or as copy of an existing test tenant). Figure 5 shows the following example: A production tenant PRD and a test tenant that is used for custom development exists. You have requested a new tenant for migration test (called MIG in this figure), which is created as a copy of the PRD tenant. As a result, the mySol solution is active in MIG tenant.
Figure 5: Tenant Copy
Notes:
As mentioned in the introduction, the MIG tenant will be created in the same system as the PRD tenant. But even if the tenant is created in a different system, this will make no difference for you as a developer of a custom solution.
Figure 6 shows the patch deployment for a landscape with multiple tenants. In addition to the situation shown in Figure 4, an additional automatic distribution step that updates the MIG tenant is performed.
Figure 6: Patch Deployment (Multiple Tenants)
Notes:
No activities are required for the SAP system upgrade (=new SAP product version is applied). After the upgrade
Notes:
In my next article(s) I will describe the process around solutions templates and partner development tenants and give an outlook on the future development planned for lifecycle management.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
28 | |
14 | |
12 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 |