SAP ABAP Data Element WDY_MD_APPL_SESSION (Session State (Stateful, Stateless))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-WD-ABA (Application Component) Web Screen Tools - ABAP
     SWDP_METADATA_API_APPLICATION (Package) Web Dynpro: Application
Basic Data
Data Element WDY_MD_APPL_SESSION
Short Description Session State (Stateful, Stateless)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type WDY_MD_APPL_SESSION    
Data Type NUMC   Character string with only digits 
Length 2    
Decimal Places 0    
Output Length 2    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 State 
Medium 15 Session State 
Long 20 Session State 
Heading 15 Session State 
Documentation

Definition

This switch specifies whether a Web Dynpro application is run as a stateful (recommended) or stateless application.

Use

  • Stateful: When the application URL is first called, a new ABAP session is created. The ABAP sesson stays open until the application is closed. This is the recommended operation mode for Web Dynpro applications.
  • Stateless: With each call a new ABAP session is created, which is closed immediately after the result is sent. Accordingly, with each request the Web Dynpro ABAP application and its components are reopened, and then closed again.

    In stateless operation some Web Dynpro ABAP functions cannot be used. For more information, see the SAP documentation "Web Dynpro ABAP -> Developing Stateless Applications".

Dependencies

Example

History
Last changed by/on SAP  20110908 
SAP Release Created in 740