cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BPA - Error in executing the action in Process flow

Saurabh_Mittal
Explorer
0 Kudos

HI SAP BPA Community,

I am getting the below error while trying to execute the action in the process flow in BPA. I am connecting to S/4 HANA on-premise system and when I am executing the action from Action editor using the same Destination, it is working fine. I was not getting this error 1-2 months back when I was using the same destination.

I have already seen the below post but did not the solution.

https://community.sap.com/t5/technology-q-a/sap-build-process-automation-problem-with-post-action-an... 

The action is calling a custom OData from backend S/4 on premise system. Connection test is working from cloud connector, BTP cockpit and Action editor. But not working in Process flow.

"Perform ExchangeRate Entry" failed
Error message: Action 'b1790140-ffdf-4e89-966d-d98d5afa1f3a' failed with the following error: 'Error thrown from action runtime library: Failed to read sap.lcnc.fetchXcsrf flag from destination configuration : Could not fetch client credentials token for service of type "destination".'.
Log ID: 2b9789ea-338e-4104-a000-e974c88-us10

mittal_saurabh_1-1711633434695.png

mittal_saurabh_0-1711633389721.png

mittal_saurabh_2-1711633536166.pngmittal_saurabh_3-1711633558576.png

@Archana SAP Build Process Automation 

 

View Entire Topic
Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos
Saurabh_Mittal
Explorer
0 Kudos
Hi Ivan, Yes I have seen that. I am using a custom OData API and as mentioned in the attached screenshots, CSRF is already enabled for the POST method. Also, in my destination configuration, the sap.lcnc.fetchXcsrf property is there, but still the BPA process flow is unable to identify the destination.