cancel
Showing results for 
Search instead for 
Did you mean: 

Actions in Behavior Definition For CDS Custom Entity

aatan
Explorer
0 Kudos
700

Hi everyone,

The scenario is;  I have created a RAP application that will display data from Web Service. CDS Custom entity was created and the query implementation class called Web service.

The next step is to save the data from my Fiori Report List into my custom Z* table and update the "Status" field on the Fiori List.

Why does the Read Entity result fail? 

What should be the way?

aatan_2-1745164448614.png

aatan_1-1745163997420.png

Kind regards, aatan.

 

 

 

 

 

 

View Entire Topic
junwu
SAP Champion
SAP Champion
0 Kudos

did you implement the read method in the handler class?

aatan
Explorer
0 Kudos

Hi @junwu,

Yes, it has been implemented. I am calling the service data again with the selected key values and filling the "RESULT" return.

When I click the SetData(For Action) button, the setExchange method is called first, followed by the Read method.

Kind regards, aatan.

junwu
SAP Champion
SAP Champion
then just debug, why the read method didn't return anything