cancel
Showing results for 
Search instead for 
Did you mean: 

CAI - Open purchase orders

0 Kudos

I have used filter in my odata service and in my CAI chatbot i am not able to fetch the data thought my odata is working fine ,

error i am getting is no reply, and the link i am giving in my chatbot is :

sap/opu/odata/sap/ZGW_PO_DATA_SRV/zPOdataSet?$filter=Lifnr eq ('{{memory.openpo.scalar}}')

please help

0 Kudos

Still the url not working:

sap/opu/odata/sap/ZGW_PO_DATA_SRV/zPOdataSet?$filter=Lifnr eq '{{memory.openpo.scalar}}'

how can i use url -sap-client when my odata contains filter.

can you help me

Accepted Solutions (0)

Answers (3)

Answers (3)

JonasB
Contributor
0 Kudos

Hi lakshmi,

the error message
Error: No skill has been triggered and no fallback skill is setup

means that the skill was actually not triggered - so there is no issue with the URL but there is something wrong with your intents and triggers. Please make sure that the sentence you're entering is maintained in an intent and that this intent is added in the "Triggers" tab of the skill.

Regards

Jonas

JonasB
Contributor
0 Kudos

Hi Lakshmi,

is your OData service accessible from the internet or are you using a SCP destination with Cloud Connector?

Did you check if the API call is successful without the filter condition and the memory variable?

To get more information what is going wrong, you should enable the "Debug" mode in the "Chat with your bot" tool.

Regards
Jonas

0 Kudos

/sap/opu/odata/sap/ZGW_PO_DATA_SRV/zPOdataSet?$filter=Lifnr eq ('{{memory.openpo.scalar}}')

I'am getting this error

Error: No skill has been triggered and no fallback skill is setup

Warning: An API error has been detected on

No code

No content

Warning: An API error has been detected on

can you please help me

and my odata is working fine in browser

former_member667434
Active Participant

Hi kolilakshmi42,

I think there is an issue with URL - Try this URL

sap/opu/odata/sap/ZGW_PO_DATA_SRV/zPOdataSet?$filter=Lifnr eq '{{memory.openpo.scalar}}'

former_member667434
Active Participant

Hi kolilakshmi42,

Can you share the complete URL which you are calling from Chat Bot?

Is your data OData exposed via ODP in SAP Cloud Platform. Are you able to access the data from Postman?

Check if the blog helps you - https://blogs.sap.com/2019/11/10/sap-cai-chatbot-integration-with-erp-just-become-super-easier-for-a...

-Ashutosh

former_member667434
Active Participant
0 Kudos

HI,

Hope in header you have added Accept 'application/json.