SAP ABAP IMG Activity /UI2/JAM_SRV_REG (Register OData Service)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2 (Application Component) SAP UI for Decoupled Innovations
     /UI2/IMG (Package) IMG Activities
IMG Activity
ID /UI2/JAM_SRV_REG Register OData Service  
Transaction Code /UI2/73000036   (empty) 
Created on 20140303    
Customizing Attributes /UI2/JAM_SRV_REG   Register OData Service 
Customizing Activity /UI2/JAM_SRV_REG   Service Registry 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /UI2/JAM_SRV_REG    

Use

The OData Service Registry is a reuse component for any application. The registry allows you to define a subset of OData services that can be published in a given application context to external or on-demand platforms.

You define the OData services in the application system.

Requirements

Standard settings

SAP standard services may have been delivered from view cluster CLB2VC_GW_SRV_S (transaction SE54). Check these default settings, first.

Activities

If necessary, you can register your own OData services in view cluster CLB2VC_GW_SRV_C (Customer) as follows:

  • The business object type (mandatory) and the application context (optional) determine your business context.
  • The external service name is the external name of an OData Service and includes the service namespace. The value must correspond to an entry in Customizing (see Customizing for SAP NetWeaver under Gateway -> OData Channel -> Administration -> General Settings -> Activate and Maintain Services (or run transaction /IWFND/MAINT_SERVICE)).
  • Enter the version of the service in the Service Version field.
  • The name of the Collection or entity set within the service that corresponds to the business object type.
  • The Resource URL field contains the static part of the OData service. Adhere to the following naming convention:

    /sap/opu/odata/{NAMESPACE}/{SERVICE}

    The internal URL prefix for addressing the Gateway system is added from the information that has to be maintained (once) in the Customizing activity Server Settings in the form of the RFC destination of the Gateway server.

  • The Annotation URL field must contain the static part of the OData annotation resource that is assigned to the specific OData service.

    The field needs to be maintained only if the business objects can be rendered by the service provider, for example, through the Thing Inspector component of SAP UI5. If the service provider is SAP Jam, the resource URL must also be registered in your SAP Jam instance as an external application. For more information, see the SAP Jam Administration Guide on SAP Help Portal at http://help.sap.com/sapjam.

  • In the dialog structure, under Service Providers, assign all service providers for which the service registration is to be valid, for example, Jam.
  • In the dialog structure, under Related Services, you have the option of defining a service mapping. That is, all OData resources that are added here will be treated like the OData resource of the corresponding root entry. The resource information from the root node will be used while sharing information with the external service provider.

Note: If the collection name or annotation URL cannot be statically defined, you can implement BAdI Empty Fields in OData Service Registry to determine the right values at runtime.

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /UI2/JAM_SRV_REG 0 U000000043 SAP UI Integration - Social Media Collaboration Enablement 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
CLB2VC_GW_SRV_C C - View cluster CLB2_GW_SRV_C  
History
Last changed by/on SAP  20140527 
SAP Release Created in 100