Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close
  1. SAP Glossary
  2. Database Interface, Database Platforms
  3. session variable


What is 'session variable' in SAP BC-DB - Database Interface, Database Platforms?


session variable - Overview

  • Component: BC-DB

  • Component Name: Database Interface, Database Platforms

  • Description: Global variable of a database system that contains information about the current context. The SAP HANA database has special ABAP-specific session variables whose content matches the value of specific ABAP system fields when accessed from ABAP. In CDS views, it is possible to access these ABAP-specific session variables on all supported platforms.


session variable - Details


  • Key Concepts: A session variable is a type of variable in SAP that is used to store values for a particular user session. It is stored in the database and can be accessed by any program running in the same user session. Session variables are used to store information that needs to be accessed across multiple programs or transactions.
    How to use it: Session variables can be used to store values that need to be accessed across multiple programs or transactions. For example, if a user needs to access a certain value from one program and use it in another, they can store the value in a session variable and access it from any program running in the same user session.
    Tips & Tricks: When using session variables, it is important to remember that they are only accessible within the same user session. If the user logs out or closes the program, the session variable will no longer be accessible. Additionally, it is important to remember that session variables are stored in the database and can be accessed by any program running in the same user session, so it is important to ensure that only necessary information is stored in them.
    Related Information: Session variables are part of the BC-DB Database Interface, which is a set of tools and services for connecting SAP applications with

    Already have an account? Login here!





session variable - Related SAP Terms

Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant