1

I am working on ABAP CDS on ABAP 740 where I don't have access to the $session variables.

The case

USR05.bname = 'XXXXXX' where by the xxxxxx is my user id (Hard coded )

What is the workaround?

Suncatcher
  • 10,355
  • 10
  • 52
  • 90
Rone
  • 11
  • 2
  • Hey, checkout parameter annotations and this link. https://stackoverflow.com/questions/39115637/optional-parameters-in-abap-cds-views – Eray Oct 27 '22 at 15:49
  • @Eray this is exactly the thing he is speaking about. Those $session annotations are not available on ABAP 7.40 – Suncatcher Nov 10 '22 at 02:40
  • 1
    @Suncatcher yep you are right. I confused 7.50 and 7.40 versions. Some session annotations are not available also 7.50 version( like $session.system_date) but it's not related with this topic. Thanks for the warning :) – Eray Nov 14 '22 at 09:54

0 Answers0