cancel
Showing results for 
Search instead for 
Did you mean: 

SAP RAP Static Action( Function Import ) not working

Bhavik2
Explorer
0 Kudos
190

Hello,

In BTP ABAP Environment I created service OData V2 managed scenario in which I want to use below Static Action-Function import from Postman.

Bhavik2_0-1742301524645.pngBhavik2_1-1742301740060.png

But when I call from Postman or SBPA it does not work.

Bhavik2_3-1742302230448.png

The value of travelid is not getting imported as 1

Bhavik2_2-1742302098530.png

 

Any help!

 

View Entire Topic
ClearQueries
Explorer

Hi @Bhavik2,

You've to pass the action parameters at URI level and not at the payload something as mentioned below - 

/sap/opu/odata/sap/SERVICE_V2/testStaticAction?Param1='10'&Param2='20'

Hope this resolves your query.

Please accept the solution if it does.

Regards,

ClearQueries.com 

Follow on LinkedIn

 

Bhavik2
Explorer
0 Kudos
I tried the same by adding parameters in URL but it did not work
ClearQueries
Explorer
0 Kudos

Could you please share the screenshot from postman while you're passing parameters via URI and not in payload.

Also add the screenshot of debugger when you execute the batch call.

Thanks