Skip to Content
0

Session Variables values in HANA DB SQL Queries

Apr 23 at 08:07 AM

56

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Apr 23 at 09:40 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded