cancel
Showing results for 
Search instead for 
Did you mean: 

Etag and CID variable while adding behavior defintion to cds in CP ABAP Environment

0 Kudos

Please give me more info on Etag and CID variable while adding behavior defintion to cds in CP ABAP Environment in handler class.

View Entire Topic
Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Shani,

how the use of etags is enabled is described here:

https://help.sap.com/viewer/c0d02c4330c34b3abca88bdd57eaccfc/Cloud/en-US/6067f63e45244fdb96c8bb4d7d1...

You just have to define it and you have to implement the READ method.

The use of %CID is described here starting at

" --> Remember In some use case …"

https://help.sap.com/viewer/c0d02c4330c34b3abca88bdd57eaccfc/Cloud/en-US/c4ee4128bef34e588310eb69712...

See also Listing 4: Creating Instances with %CIDs

https://help.sap.com/viewer/c0d02c4330c34b3abca88bdd57eaccfc/Cloud/en-US/0e2c4f0d48eb4717ac3611215c0...

Or where Implementing the CREATE Operation for Associated Bookings is explained

https://help.sap.com/viewer/c0d02c4330c34b3abca88bdd57eaccfc/Cloud/en-US/b58e20c1ef9f4a2aa7c21cdad8f...

The whole coding you can download from GITHUB.

https://github.com/SAP/abap-platform-refscen-flight

Regards,

Andre

0 Kudos

Thanks Fisher. Downloaded the flight application and is going through the same.

Can you please help me out in one problem.

While creating list report in WebIDE in Neo environment, the annotation file is not loading. In the preview in eclipse, it is coming correctly.

I am using service url, and giving the Odata url. While trying with service catalog, I am getting error. What can be possible cause for annotation file not loading.

PaulTiemann
Participant
0 Kudos

Hello Andre,

then clicking on your links I get the message:

"You're not authorized to see this page."

Can you please check them?

With Kind Regards,

Paul