Creating Contracts

This option allows you to provide contract details such as project, package, name, prefix, and source proxy.

Context

To define technical details of a semantic contract, you need to create a contract.

Prerequisites Procedure
  1. Access the Enterprise Services wizard. For information on using the wizard, see Accessing the Enterprise Services Wizard.
  2. Select Contract.
  3. Click Next.

    The New Contract wizard appears.

  4. Enter the following details:
    • Package name
    • Name
    • Prefix, if required
  5. Select Backend as the source.
  6. Click Next.

    The wizard to enter the ABAP back-end details appear.

  7. Enter the following details:
    • SAP enterprise service (ES) Name
    • SAP enterprise service (ES) Namespace
    • Browse to the defined semantic contract.
  8. Proceed with the wizard and complete the task.

    The contract and its respective operations appear in the editor window.

  9. In the Details section of the contract editor, you can:
    • view information about participating actors
    • select a communication type for the contract
  10. To provide operation details, select an operation.
    Selected Communication Type Action Required
    RFC Only the Select button for the RFC Consumer field appears enabled. Use the Select button to provide RFC Consumer and RFC Operation details.
    Web Service The Browse buttons of the Request and Response Message Type fields and the Add button of the Fault Message Type field appear enabled.
  11. Save the contract.
  12. On the top right corner of the proxy editor window, click ( Activate ABAP Object) to activate the contract.