cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a Bound Function in CAP against SAP-Business-One-Servicelayer

MatLakaemper
Participant
0 Kudos

Hello,

I have prepared a Function in SAP-Business-One in order to get a Joined Sql-Result.
This function is callable via the Servicelayer.

The Idea is, to call this function via CAP, but this doesnt work in the moment.

I would appreciate to get any help. 

Problem-Description

Sql-Result via Service-Layer

https://192.168.206.146:50000/b1s/v2/SQLQueries('sql06')/List?docNum=1

MatLakaemper_0-1712036001162.png

Doku CAP

https://cap.cloud.sap/docs/guides/providing-services

MatLakaemper_1-1712036066452.png

Cds-Definition for bound function

MatLakaemper_2-1712036104164.png

Metadata-Definition

Service-Layer

MatLakaemper_3-1712036147140.png

CAP

MatLakaemper_4-1712036165400.png

Delegate the call

Cap-Url: http://localhost:4004/odata/v4/z/SqlQueriesXXX('sql04')/List()

MatLakaemper_5-1712036209107.pngMatLakaemper_6-1712036217018.png

 

 

 

 

Accepted Solutions (0)

Answers (0)