Creating Semantic Contracts from Schemas

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

Context

In a distributed system landscape without a shared transport manager you have the option of creating a semantic contract from a schema. You need to export an XML description of a semantic contract to an ABAP system and use the semantic contract wizard to create a semantic contract.

Exporting a Semantic Contract Schema Prerequisite

You have identified a semantic contract for exporting the schema.

Procedure
  1. Access an ABAP package. For information on accessing an ABAP package, see Accessing an ABAP Package.
  2. Navigate to the identified semantic contract.
  3. Open the semantic contract.

    The semantic contract editor window appears.

  4. Click the Source [Read-Only] page.

    The schema or the XML definition of the semantic contract is displayed.

  5. On the top right corner of the editor, click (Export as WSDL).

    The Save As window appears.

  6. Save the file and send it to an ABAP system.
Creating Semantic Contracts from XML Files
  1. Access the Enterprise Services wizard. For information on using the wizard, see Accessing the Enterprise Services Wizard.
  2. Select Semantic Contract.
  3. Click Next.

    The New Semantic Contract wizard appears.

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

    The wizard to browse to a local WSDL file appears.

  7. Click Browse...

    The Open window appears.

  8. Browse to the WSDL file location.
  9. Select the WSDL file.
  10. Click Open.
  11. Click Finish.

    The semantic contract is created and displayed in its respective editor.

  12. Save the semantic contract.
  13. On the top right corner of the editor, click ( Activate ABAP Object) to activate the semantic contract.