Creating Projects (API-Based)

Use

To generate and implement enterprise services, you first need to create a project.

Prerequisites

Before you start project creation, you must ensure the following:

  • You have the authorization to create projects.

  • You have the authorization for Enterprise Services Repository (ES Repository).

  • You have made the appropriate Customizing settings in transaction Service Implementation Workbench (transaction code SIW) under Start of the navigation pathGoTo Next navigation step Customizing (IMG) Next navigation step Define LandscapeEnd of the navigation path and Start of the navigation pathGoTo Next navigation step Customizing (IMG) Next navigation step Define Configurations.End of the navigation path

For more information, see the documentation for the Customizing activities in your system.

Procedure

You need to work in the system in which Service Implementation Workbench (SIW) is located. Proceed as follows:

  1. On the SAP Easy Access menu, select transaction Service Implementation Workbench (transaction code SIW). The system starts Service Implementation Workbench.

  2. Choose Create Project.

  3. Enter a Project ID with a maximum length of 40 characters.

  4. Select the Configuration ID of the API-based configuration that you want to use as the basis for service generation. To do so, you must have assigned this configuration ID in the Customizing activity Define Configurations before.

  5. Choose Create Project.

    A dialog box that comprises the API-based service creation type, and related entry fields appears..

  6. Enter the Function Module (API) Name.

  7. Select the Software Component, the Software Component Version and the ES Repository Namespace that you want to use.

  8. Enter the name of the Service Interface that you want to create for your implementation or that you want to use (if the interface already exists).

  9. Enter a name for the Service Operation to be created.

  10. Enter the GDT Namespace that you want to use.

  11. Enter the name of the business object to which your service implementation refers.

  12. Select the Operation Code that determines what your service does (for example Create, Change, Update, Cancel, Read, QueryByElements, and Action).

  13. Choose Create Project. The Project screen, with the entire project data entered on it, is displayed. Only the IDT Prefix, the Proxy Package, and the Proxy Prefix fields are empty.

  14. Now (or later), enter the data for these fields and choose Save.

Result

You have created your project. In the background, SIW has created a draft signature for your future service implementation. You need to specify your enterprise service by completing the project context data and by completing the draft signature. For more information, see Completing Project Context Data and Completing Signatures (Mapping).

More Information

For more Information about the overall process, see Service Creation and Implementation (API-based).