Show TOC

Background documentationPrerequisites Locate this document in the navigation structure

 

Questions Answered
  • Which components and features do I need to develop composite applications for using SAP NetWeaver Business Process Management?

  • What do I need to configure before I can start?

  • Which configuration templates can I use?

  • Which roles do I have to assign?

Introduction

To develop a composite application, you have to install certain features for the SAP NetWeaver Developer Studio (Developer Studio) — the design time — and the SAP Application Server Java (AS Java) — the runtime. The prerequisites mentioned in this chapter are necessary for the use case “Developing Composite Applications Using SAP NetWeaver Business Process Management”. The features and capabilities mentioned as optional belong to steps that go beyond the core steps of this use case.

Activities
1. Check Installed Developer Studio Features and Server Capabilities

Check if the following AS Java and Developer Studio features and capabilities are installed.

Feature/Capability

Description/Comment

Java EE

Consists of a Developer Studio and an AS Java capability and provides a Java EE perspective.

Web Dynpro

Provides a Developer Studio perspective Web Dynpro to develop user interfaces.

Composition Tools

Provides a Developer Studio perspective Composite Designer to create and maintain composite applications easily.

Business Process Management

Consists of the Developer Studio perspective Process Composer as BPM design time and the process server as BPM runtime.

Business Rules Management — optional

Consists of the Developer Studio perspective Rules Composer as BRM design time and the rules engine as BRM runtime.

Development Infrastructure (NWDI) with lnfrastructure Client — optional

Needed for team development with the SAP NetWeaver Development Infrastructure (NWDI).

Enterprise Services Repository (ESR) – optional

Provides a central modeling and design environment for creating, aggregating, and using Enterprise Services.

To figure out whether the Developer Studio features are installed, look for the corresponding perspective:

  1. In the Developer Studio choose in the menu bar   Window   Open Perspective   Other...  .

    The Open Perspective window is displayed. It lists all available perspectives.

  2. Look in the list for the required perspective, for example, the Process Composer perspective for modeling processes.

Note Note

Some of the features have dependencies to other features. The feature installation of the Developer Studio provides a Select Required button which automatically detects and selects depend features.

End of the note.

For more information about how to install additional features for the Developer Studio see: Update Manager

More information about the installation of AS Java for development systems is provided in the Installation Guide (Developer Edition) for SAP NetWeaver CE on SAP Service Marketplace: http://service.sap.com/instguidesnw

2. Configure Your Development Environment

Before you can develop composite applications you need to perform the following configuration steps. Directly after installation and before manual configuration, you can run the configuration wizard and use the configuration templates to save time and manual steps. Configuration templates start wizards to set preferences on the AS Java.

  1. To run the configuration templates use the SAP NetWeaver Administrator (NWA) and then navigate to   Configuration Management   Scenarios   Configuration Wizard  

  2. Select the following configuration templates or if not possible because it is not the initial configuration, perform the manual steps as described in the corresponding documentation.

    Configuration Template

    Manual Configuration

    Services Registry Destinations Creation

    Configuring the Services Registry

    Setting Destinations to UDDI Server and Classification Service

    BPM All Configuration Tasks Combined

    Configuring Notification Messages Service

    Connection Configuration to Central Services Registry

    Configuring the Services Registry

    Configuring a Central Services Registry

    Initial setup of functional unit SLD

    Note Note

    For both the Enterprise Services Repository and NWDI you need to configure the System Landscape Directory (SLD) first

    End of the note.

    Configuring System Landscape Directory

    Changing the SLD Configuration

    Configuring Systems to Connect to the SLD

    If the Enterprise Services Repository is installed:

    Configuration of ESR in CE

    Configuring Enterprise Services Repository

    Additional Manual Configuration

    If the SAP NetWeaver Developer Infrastructure (NWDI) is installed:

    • Change Management Service (CMS): Create an Application Skeleton

    • Change Management Service (CMS): Modify a Software Component

    Configuring Development Infrastructure

    Preparing CMS

  3. To use the process desk tools and to be able to start a process within the Universal Worklist (UWL) or to just execute tasks that are included in a process, configure the process desk including the UWL.

    More information: Configuring the Process Desk

More Information: Wizard-Based Configuration, Configuration of SAP NetWeaver CE

3. Assign Roles to Users

By assigning a role to a user, you provide the user with the authorizations or functions needed to fulfill specific tasks. You can also indirectly assign a role to a user by assigning the group to which the user belongs to the role. You can manage both user management engine (UME) roles and portal roles. Portal roles define how content is displayed in the portal. UME roles define a set of authorizations.

More information: UME Roles and Portal Roles.

  1. In the SAP NetWeaver Administrator (NWA), choose   Configuration Management   Security   Identity Management  .

  2. Assign the following UME roles to your user:

    Note Note

    You can see with the code within the role's name to which tool or component the role belongs, for example, NWA_SUPERADMIN belongs to the SAP NetWeaver Administrator (NWA), SAP_BPM_Navigation belongs to SAP NetWeaver Business Process Management (BPM).

    End of the note.

    UME Role

    Description

    NWA_SUPERADMIN

    Enables the user to access the SAP NetWeaver Administrator and authorizes for all administration tasks including user management and starting processes.

    SAP_BPM_Navigation

    SAP_BPM_SuperAdmin

    SAP_BPM_SuperDisplay

    Enables the user to access all component of the SAP NetWeaver BPM Administrator and so allows to see all deployed processes and running instances of processes and tasks.

    More information: Configuring BPM Users, Authorizations and Roles

    SAP_CAF_ADMIN

    SAP_CAF_DEVELOPER

    Enables the user to work with the Composite Application Framework (CAF) administrative tools and with the Service Browser.

    More information: Composite Application Framework Security Guide, Authorizations section

    SAP_DI_ADMINISTRATOR

    SAP_DI_CONFIGURATOR

    Enables the user to perform DI administration tasks.

    More information: Configuring Development Infrastructure, Setting Up Privileges, Roles and Groups section

    SAP_JAVA_WSSEC_SAML

    This is a security role.

    More information: User Management Engine

    SAP_SLD_ADMINISTRATOR

    Authorizes the user for all administrative tasks in the System Landscape Directory (SLD). It includes all other permissions like SAP_SLD_Developer.

    More information: Configuring SLD Security Roles

    SERVICES_REGISTRY_READ_WRITE

    Enables the user to call Read and Write APIs in the Enterprise Services Registry.

    More information: Configuring the Services Registry, Authorizations section

    SAP_JAVA_NWADMIN_LOCAL

    A local security role, which authorizes the user to enable/disable certain elements in the UI of the Web Admin tool, as well as permissions to access the data in the managed system.

    More information: User Management Engine

    UDDI_Admin

    Authorizes the user to access all data in the Services Registry and the UDDI server.

    More information: Configuring the UDDI Server, Configuring the Services Registry

    Only if Enterprise Services Repository is installed:

    • SAP_XI_ADMINISTRATOR_J2EE

    Enables the user to define authorizations that restrict access to design and configuration objects. This role should only be granted to a restricted number of administrators.

    More information: Configuring Enterprise Services Repository

    Only if the SAP NetWeaver Development Infrastructure installed:

    • SAP_DI_DEVELOPER

    • SAP_DI_OPERATOR

    • SAP_DTR_DEVELOPER

    More information: Configuring Development Infrastructure, Setting Up Privileges, Roles and Groups section

  3. Assign the following portal role to your user:

    Portal Role

    Description

    BPEM End User Role

    Enables the user to see/access processes and tasks within a BPM process in portal applications as the universal worklist (UWL)

    More information: Configuring BPM Users, Authorizations and Roles

    Standard User Role

    Enables the user to see the default portal page which contains the UWL.

    More information: Configuring BPM Users, Authorizations and Roles

More Information: User Management of the Application Server Java.

4. Define the Most Important SAP Preferences in the Developer Studio
  1. In the menu bar in the Developer Studio, choose   Window   Preferences  .

  2. Choose   Web Services   Server and Runtime  

    Server: SAP Server

    Web service runtime: SAP Netweaver

  3. Choose   Web Services   Services Registry  

    Server : <yourServer> Example: localhost

    Port: <portnumber> Example: 50000

    More information: Connecting the Developer Studio to the Services Registry

  4. Choose   SAP AS Java  

    Add a SAP system specified by the system name (example: CE1) and the instance number (example: 0).

    More information: Configuring the Application Server in the Developer Studio

  5. Check JDK version and settings of your Developer Studio

    More information: Using Different Java Runtime Environment Versions