Skip to Content

Session Variables values in HANA DB SQL Queries

I have a standard CDS View where Client Handling Annotation is set to below:

@ClientHandling.algorithm#SESSION_VARIABLE

Now, when I am performing a select query on the SQL View name I am not getting the dataset.

As I understand that the session variables for $SESSION.CLIENT is not filled and hence I am not getting any data.

The question I have now is, how do I feel session variables in HANA DB, I novice in this area so any help is appreciated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 23 at 09:40 AM

    See

    https://blogs.sap.com/2018/04/03/abap-managed-database-objects-and-how-to-access-them/

    Exactly because of this, you should not access the ABAP managed DB objects directly from HANA.

    Add comment
    10|10000 characters needed characters exceeded