Update for Release 1302 – July 2013
In this blog, I want to share the information on my solution template “Site Management”. The Site Management demo app is used through all chapters and how-to guides in my book on ByDesign Studio application development (Thomas Schneider: “SAP Business ByDesign Studio — Application Development” http://www.sap-press.com/products/SAP-Business-ByDesign-Studio-%E2%80%94-Application-Development.html)
You can download the solution template (from the Business Center, see details below) and import it into a customer-specific solution. As of July 2013, the template is for ByDesign version 1302. In the template you will find the entities described in chapters 1 to 5 of my book.
What is a solution template?
A solution template is a customer-independent solution that can be imported into customer-specific solutions. You can create all items that you want to reuse in a solution, for example, business objects, UIs, web services (exception: key user content, such as mash-ups). The solution template itself cannot be used in a production tenant, but only the customer-specific solutions derived from it.
How to use the solution template?
- Access to a ByDesign FP4.0 tenant that is enabled for customer-specific development
- Partner development authorization (Partner Development work center)
- ByDesign Studio 4.0 installed
To import the solution template into your solution:
- Go to the SME Business Center, Wiki, SAP Business ByDesign Studio, Best Practice for Implementation ( https://wiki.sme.sap.com/wiki/x/UIcqCw ),
- Go to the the section “How-To Guides with Solution Templates” and download the zip file with title “Site Management” to your computer.
- Open SAP Solutions OnDemand studio 1302, logon to a ByDesign 1302 tenant, create a solution with Type = Customer-Specific Solution and Deployment Unit = Customer Relationship Management.
- In the studio, open the Implementation Manager (View -> Other Windows -> Implementation Manager).
- Click “Import Solution Template” and select the file that you downloaded to your computer. The system imports the template into your solution.
- In the Solution Explorer, select the solution and select Activate from the context menu. The system generates the runtime artifacts.
- Open the Business Users view in the Application and User Management work center, select your user and assign the Site Management work center to your user (under Edit Access Rights).
See also the documentation on solution templates. (To download the documentation, select https://help.sap.com/sdk, SAP Solutions OnDemand Studio, Complete help: Print version. In the documentation, see section “Solution Templates Quick Guide for Customer-Specific Solutions”)
During importing the solution template into your solution, the artifacts are copied into your solution (this means technically, all namespaces are changed in the artifacts). After the import, you can change and adopt the artifacts.
What are the details of the solution?
The details of the solution and the solution blueprint is described in my book. The following entities are contained in the template:
- Work center Site Management, with Site Reservation view, Sites view, Site Categories view: If you start testing, create site categories first, then sites, and finally site reservations (Reservations use sites, sites use site categories).
- The central UI of the application is the Site Reservation QA, which you can open with the “New” or “Edit” button in the Site Reservation view (see Figure 1). I have implemented the following features:
- Account: Value Help, input validation, ID/description mapping and navigation to the Account UI
- Availability check for sites: “GetAvailableSites” and “Pick” function.
- Arrival/Departure date: Prefill and input validation
- Sales Order creation: create sales order (through button “Calculate Price” or “Release”)
- Automatic number (ID) selection.
The solution contains the following business objects:
Figure 1: Site Reservation Quick Activity UI