SAP® Documentation

Single view

CL_ABAP_SESSION_TEMPERATURE - DB Access Control for Data Aging

CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This class enables the data temperature to be set for the internal session of an ABAP session. The data temperature is inherited by further calls in the call stack.

The class has the following methods:

  • GET_SESSION_CONTROL
    This public static method gets an instance of the class. This instance can be requested precisely once. If a further instance is requested, an exception of the class CX_ABAP_SESSION_TEMPERATURE is raised. For this reason, the session temperature should only be set for central accesses to a processing logic and detailed processing is also planned in this temperature context (for example, after START-OF-SELECTION in a data destruction report or when calling the initialization method of a Web Dynpro that reads Cold data in all methods. Using the instance provided, the methods described below can be used to control the session temperature.
  • SET_HOT
    This public instance method sets the temperature to Hot within the ABAP session, which means that only the Hot area is accessed once this method is called.
  • SET_COLD
    This public instance method sets the temperature to Cold within the ABAP session, which means that both the Hot area and the entire Cold area are accessed once this method is called, namely in the Cold temperature area 01.01.0001 - 31.12.9999 and the Hot area 00.00.0000.
  • SET_TEMPERATURE
    This public instance method enables a specific temperature to be set using the importing parameter IM_TEMPERATURE. This restricts the temperature within the Cold area within the ABAP session, meaning that if, for example, the date 16.09.2013 is passed, the Hot area 00.00.0000 and the Cold area from 16.09.2013 - 31.12.9999 is read.
  • SET_PASSING_TO_PROGRAMS
    The temperature setting is not usually passed in the program calls SUBMIT, CALL TRANSACTION, and CALL DIALOG. To pass temperatures anyway, this public instance method can be used to define how temperatures are passed in program calls.

Relationships

Example

Notes

Further information

For more information about controlling the session temperature using the stack temperature and about passing temperatures in calls, see the documentation of the class CL_ABAP_STACK_TEMPERATURE.






CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2666 Date: 20190619 Time: 084254     sap01-206 ( 27 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.