cancel
Showing results for 
Search instead for 
Did you mean: 

The 'READ' method for both display and edit mode

Fil_Iv
Explorer
0 Kudos
244

Hello Together!

During development of unmanaged RAP application, I encountered the following behavior in the way how CDS selection logic works. In display mode, the data is selected directly from root CDS and corresponding associations, but when I switch to edit mode, the 'Read' methods of the generated class are called. I wonder if there is a reason for different ways of read.   For my application I would prefer if the data were read only by READ method in all cases. Is it possible?  Do you have any tips for me? 

I'm working on S4HANA 2023.  

Best regards,
Ivan

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

This is because when pressing the Edit button you start the transactional processing. 

When working with API's such BAPI's you would want to retrieve the data that resides in the transactinal buffer.

Developing Unmanaged Transactional Apps | SAP Help Portal

Kind regards,

Andre