2510650 - How to use Odata Function Import

SAP Knowledge Base Articles - public

2510650 - How to use Odata Function Import


You created Custom Action in Function Import. While testing this Custom Odata Service you cannot find Odata Function Import.


Reproducing the Issue

  1. Go to Administrator workcenter.
  2. Open the Odata Service Explorer.
  3. Open the Custom Odata Service.
  4. Here check XXX Odata Service and check the function import tab.
  5. Select Test option.

You will not find the Custom Action to test the Odata Service.


Function Imports for particular OData Service are not visible in OData Console UI.


To use Function Imports, use the following solutions:

  1. From the metadata, take the Function Import name, and HttpMethod.

  2. The URL with parameters in console should be :

            Syntax : https://qxl-cust220.dev.sapbydesign.com/sap/c4c/odata/v1/c4codata/ <FunctionImportName>?<Parameter>=’<value>’

            Example : https://qxl-cust220.dev.sapbydesign.com/sap/c4c/odata/v1 /c4codata/AccountFindByCommunicationData?Phone=’XXXXX’

     3. Set the Request Header value should be same as HttpMethod from the metadata In this case it is GET.



KBA , SRD-CC , Cross Components , How To


SAP HYBRIS C4C 1705 ; SAP Hybris Cloud for Customer 1708