Show TOC Start of Content Area

Procedure documentation Importing Enterprise Services Models  Locate the document in its SAP Library structure

 

Caution

The following procedure requires that the Enterprise Services Repository (ESR) for SAP NetWeaver Composition Environment is installed in your system landscape.

 

Use

Web Dynpro is the user interface technology for applications using data out of an Enterprise Services Repository. Using the Web Dynpro model interface, you directly connect against an SAP system that contains the repository with business object nodes and compound service interfaces. The Enterprise Services Model is the interface to an Enterprise Services Framework backend.

The standard business object nodes, actions and queries can be used as in the single business object model import. The adapted model class is not for use in a standalone scenario, as it does not contain the complete instrumentation code to construct this service adaptation. The adapted structure only defined the interface typing, not the construction rule, giving a greater reuse and flexibility in usage of the user interface building block. Plain business objects or adapted business object nodes can be used to type inports and outports of a user interface building block.

The generated model contains the adapted business object node. Note that the adapted node has a single relation back to its original primary business object node. Furthermore, the model contains more than one business object as well as the cross business object relations modelled as relations.

Prerequisites

      Java Engine installation including Visual Composer and development server

      Developer Studio is installed. Make sure the target Java runtime environment is properly configured (Window Preferences).

      Development Infrastructure is properly set up:

       Check the development workspace setup: Goto Window Preferences Java Development Infrastructure Development Configuration Pool URL (default port is 53600): http://<sapnameserver:53600

       Check that in the development configuration you are using, you have access to the software components (SCs) sap.com_WD_PTN_COM_1 as well as sap.com_WD_PTN_FW_1. These SCs are required, as they provide the interfaces that your Web Dynpro component must implement as well as the Common Model Interface model that your Web Dynpro Component must use.

      System information for the backend system which contains the Enterprise Services Repository you would like to use data out of. A generic display user for the backend system would satisfy for the connect, contact your system administrator for details.

      Detailed knowledge about object data in the backend. If you are not responsible for the repository contact your administrator.

      Web Dynpro project, either available locally or as a development component for using the development infrastructure. The project is displayed in Web Dynpro Explorer.

Procedure

Creating the Model

...

       1.      To import the model for using the business objects, open the Web Dynpro Perspective within Developer Studio.

       2.      Start the importer on node Models in Web Dynpro Explorer, and choose Enterprise Services Model.

Using Business Objects From SAP Backend

...

       1.      Make the required entries to create the model from a service module definition, and select Import Business Objects from SAP backend.

       2.      In the SAP Logon screen, enter the needed system information.

       3.      Select the business objects you want to generate the model for.

Using Business Objects From Visual Composer

...

       1.      Select the Import Business Objects from Visual Composer Model option, and browse to the file system: Pick the exported *.vcl.zip file.

       2.      Logon to the Enterprise Services Repository system. Analyse the export log, especially the warnings issued regarding suppression of colliding names, e.g. aggregations and associations colliding with property names or property names colliding with base class names.

End of Content Area