Skip to content

Latest commit

 

History

History
58 lines (30 loc) · 1.82 KB

define-a-service-definition-and-binding-via-ina-e8a5adb.md

File metadata and controls

58 lines (30 loc) · 1.82 KB

Define a Service Definition and Binding via InA

Define and bind services via the SAP Information Access (InA) service.

First, you need to create a service definition on top of your query.

  1. In the Project Explorer, right-click on your query and select New Service Definition.
  2. Provide a Name (e.g. Z_BOOKINGS_SERVICE) and Description. The Exposed Entity should be your query (Z_BOOKINGS_VE_QUERY). Click Next.
  3. Select a transport request, then click Finish.
  4. After the query is exposed as a service, activate the service definition by clicking the wand icon (CRTL+F3).

Result

Z_BOOKINGS_SERVICE

@EndUserText.label: 'Bookings Service Definition'
define service Z_Bookings_Service {
  expose Z_BOOKINGS_VE_Query as Bookings;
}

Next, you need to create a service binding on top of your service definition.

  1. In the Project Explorer, expand Business Services. Right-click on your query (Z_BOOKINGS_SERVICE) and select New Service Binding.
  2. Fill in a Name (e.g. Z_BOOKINGS_INA_BINDING), Description and Service Definition (Z_BOOKINGS_SERVICE). Select InA - UIas the Binding Type. Click Next.
  3. Select a transport request and click Finish.
  4. Activate the service binding by clicking the wand icon (CRTL+F3).

Result

After activation, the external service name for your query is displayed.

Note that the analytical query will be displayed with the external service name as datasource in SAP Analytics Cloud.

Related Information

Business Services Provisioning