All packages, services and objects are grouped into development components (DC).
You can create new composite application DCs which represent your application.
More information: Composite Application Development Components.
You have opened the Composite Application Perspective.
More information: Opening the Composite Application Perspective.
C...
1. Choose File → New →Project…
2. Select Development Infrastructure → Development Component and choose Next.
3. Select Composite Application.
4. Select the software component for the new DC to be created in.
The default software component is Local Development → My Components.
5. Fill the required data as follows:
Field |
Description |
Vendor |
Enter the name of the component vendor. Default value: sap.com |
Name |
Enter the name of the DC. Use lowercase only. You may use more than one component name by separating the names with a slash.
Enter a component name shorter than 9 characters. |
Caption |
Enter a single line caption. |
Language |
Choose the language. Default value: American English |
Domain |
Choose the domain. Default value: Basis |
Support Comment |
This is used only when the value in the Vendor field is sap.com. Enter a CSN component name.
CAF-SOL BC-DWB-JAV-CAF |
6. Choose Next, then choose Finish.
The application you have created is added to the Composite Application Explorer.
It is not recommended to rename a CAF DC. Note that if you want to rename the CAF DC anyway, for example using DC tool, you should follow the procedure below:
i. Rename all the five DCs of CAF, so that their name pattern remains the same:
§ <new_name>/dictionary
§ <new_name>/ear
§ <new_name>/ejbmodule
§ <new_name>/metadata
§ <new_name>/permissions
ii. In the Navigator view, choose the ca_model.cafmm file in the /metadata project (it is in the /src/MMR directory) in the CAF application you want to rename.
iii. Find and replace all occurrences of the original application name with the new application name.
iv. Build the following string: <reversed_orig_vendor_name>.<orig_appl_name> and replace all of its occurrences with the string <reversed_new_vendor_name>.<new_appl_name>. <reversed_orig_vendor_name> is the same as <reversed_new_vendor_name> in case you have not changed the vendor name of the DCs.
v. If you have changed the vendor name, you need to do the following in addition:
■ Find and replace all occurrences of the original application name with the new application name.
■ Search for the string: namespace=http://www.sap.com/caf/sap.com. Find and replace all occurrences of this namespace string with http://www.sap.com/caf/<customer vendor name>.
■ Search for the string: namespace=http://www.sap.com/caf/sap.com. Find and replace all occurrences of this namespace string with http://www.sap.com/caf/<customer vendor name>.
vi. Save and generate the application whose name you have changed.
7. Optional: You can use the business object nodes, application services, and data types of reused projects you have added to define the structure of your application services and business objects. To reuse another application, do the following:
a. Open the Reused Projects tab page of your application.
b. Choose Add and select the project you want to use in your application.
c. Choose Finish.
You cannot create an association from a business object node in your application to a business object node in the reused application.
You cannot create an attribute in your structure that references a structure in the reused application in the following cases:
■ your structure is a main structure of a business object node
■ your structure is referenced directly or indirectly by a main structure of a business object node
8. To reuse an existing project that you have created with an older version of the SAP NetWeaver Developer Studio, you need to create projects that use the old connectivity. In these projects, you can reuse old projects. Navigate to Window → Preferences → CAF Preferences and enable the Use deprecated CE 7.1 SP3 connectivity for newly created projects indicator.
If you have already enabled this option, next time you create a project a warning appears that the new project iuse old connectivity.
Note that you cannot reused projects that have been created with the new connectivity version in projects that are created with the deprecated connectivity version and vice-versa.
You have created a new application. You have the following options:
· You can continue by adding services and objects to the application.
More information: