| Provide a fully qualified URL to an entity set in the metadata of the OData service
for your application as required. The entity set represents
the collection of the entities for the business object type
and is called the Collection in the
OData Service Registry. For example, in the case of the SAP
Fiori for SAP CRM My Accounts app, the entity set is
AccountCollection
for corporate accounts, and
IndividualAccountCollection
for individual accounts. Example for Share
Feature, Corporate Accounts:
If you
wish to use the Share feature, you must specify the
OData service document relative path. The format for the
external type in this case is as
follows:
https://<external
representation of your Gateway system><odata
service document relative
path>/$metadata#<entity set for the business
object type>
If your external
representation is
www.<some_location>.com,
the OData service document relative path is
/sap/opu/odata/sap/CRM_BUPA_ODATA,
and the entity set for the business object type is
AccountCollection,
then the external type is as follows:
https://www.<some_location>.com/sap/opu/odata/sap/CRM_BUPA_ODATA/$metadata#AccountCollection
Example
for Discuss Feature, Individual
Accounts:
If you wish to use the Discuss
feature, you must enter the external OData service name that
has been defined in the OData Service Registry. The format
for the external type in this case is as follows:
https://<external representation of
your Gateway system><External OData Service
Name>/$metadata#<Entity
Set>
Therefore, the external type for
the Discuss feature using the business object type for
individual accounts is as
follows:
https://www.<some_location>.com/sap/opu/odata/CRMSWI01/CRMSMI_SRV/$metadata#IndividualAccountCollection
|