Show TOC

TasksLocate this document in the navigation structure

Use

Here you can find information about developing composite applications. This section introduces a summary of the work processes that are related to the development of composite applications.

Procedure
  1. You develop composite applications in accordance with SAP's component model. That is why your composite application actually consists of a number of development components (DCs) which you use for the actual development of the composite application. In these DCs you also create different data types. More information:
    1. Creating Composite Application Development Components
    2. Creating and Editing Data Types
  2. (Optional) You can define security restrictions for the different objects in the composite application. More information: Composite Application Service Security .
  3. In the composite application, you can create and model business objects and application services. You use them to define the logic of your composite application. More information:
    • Modeling Business Objects

      You model business objects so that the resulting attributes and data types can then generate other tables, define table relations, and implement basic methods for reading, writing, updating, deleting, and querying data.

    • Modeling Application Services

      You model application services to implement the business project logic of your composite application.

    • Modeling External Services

      You can use remote function calls (RFC) including Business Application Programming Interfaces (BAPIs) or Web services to access data from an external source such as SAP systems or any system that supports the industry Web services standard.

    • Implementing Web Services in CAF

      You can implement a customized Web service that best suits your business needs by importing an existing WSDL definition from different resources (such as ESR for SAP NetWeaver CE, Service Registry, local file system) and then adding your custom business logic.

      Note

      To develop your application in a model-driven way, you can use the graphical tools available in the SAP NetWeaver Developer Studio.

      More information: Modeling a Composite Application Using a CAF Diagram

  4. When you are ready with the development, you generate, build your composite application and deploy it onto the AS Java.
    Note

    If the generation or the build fails, this may be caused by type conflicts in your application. When generating outside-in Web services, collisions may arise in the mapping between names in the WSDL and the names of the corresponding Java artifacts. To resolve them, click the application with the secondary mouse button and from the context menu, choose Resolve Conflicts Interactively. If there are any conflicts, a window appears with proposals on how to resolve them.

  5. (Optional) Customize the source code of the generated CAF application.

    More information: Customizing CAF Model with Own Implementation .

  6. (Optional) Translate your composite application into another language.

    More information: Translating Language Dependent Attributes

  7. You can publish your Web service, that is, the service that you implement locally with CAF in the Service Registry. When you publish the Web service in Service Registry it can be imported from other users.

    More information: Publishing Web Services in Service Registry with CAF .

  8. You can test your application with the Service Browser.

    More information: Testing Services with the Service Browser .

    Note

    If you need to perform some configuration or administrative tasks, your user must be mapped to the following standard roles delivered with and used in all configuration aspects of CAF:

    • SAP_CAF_ADMIN - required to use the CAF administrative UI tools.
    • SAP_CAF_DEVELOPER - required to work with the Service Browser.

    For more information about creating users and groups and how to map the permissions to users using the User Management Engine (UME) tool: Administration of Users and Roles .

Optionally, you can: