SAP ABAP Class CL_RUNTIME (Class to Get/Modify Runtime Environment)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CST (Application Component) Client/Server Technology
     STSK2 (Package) CST Components with New Package Concept
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RUNTIME Runtime Interface 20071015
Properties
Class CL_RUNTIME  
Short Description Class to Get/Modify Runtime Environment    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status S  System Program 
Category 0   
Package STSK2   CST Components with New Package Concept 
Created 20071015   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_RUNTIME has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_RUNTIME Runtime Interface 20071015
Friends
# Friend Modeled only Created on Description
1 CL_APC_MANAGER 20130107 ABAP Push Channel (APC) WebSocket (WS) framework manager
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_INFINITE_RUNTIME Constant Public Type reference (TYPE) I 0 Unlimited Runtime 20071015
2 CO_SESSION_MODE_INVALID Constant Public Type reference (TYPE) I 0 APC invalid session mode 20121126
3 CO_SESSION_MODE_STATEFUL Constant Public Type reference (TYPE) I 2 APC stateful session 20121126
4 CO_SESSION_MODE_STATELESS Constant Public Type reference (TYPE) I 1 APC stateless session 20121126
Methods
# Method Level Visibility Method type Description Created on
1 CLOSE_RFC_SERVER_CONNECTION Static method Public Method Close server connection of an RFC server 20130219
2 ISET_MAX_RUNTIME Static method Protected Method Sets the maximum runtime for a request 20071015
3 MAX_TIME_FOR_SERVER_STARTUP Static method Public Method Max. Time for server startup procedure 20130503
4 PREPARE_FOR_APC Static method Protected Method Prepare WebSocket for APC Request Handling 20130828
5 RESTART_FOR_RKS Static method Public Method Restart for RKS? 20130503
6 SET_HTTP_UI Static method Public Method Selects this session as an HTTP online (Oberon UI) 20100326
7 SET_RFC_UI Static method Public Method Selects this RFC session as an online session (e.g. Eclipse) 20121106
8 SWITCH_TASKTYPE_TO_APC Static method Protected Method Switch Task Type from PLG/HTTP to APC 20121025
9 TEST_SERVER_STARTUP Static method Public Method Test server startup procedure? 20130503
10 _CLOSE_RFC_SERVER_CONNECTION Static method Private Method Close server connection of an RFC server 20130219
11 _MAX_TIME_FOR_SERVER_STARTUP Static method Private Method Max. Time for server startup procedure 20130503
12 _PREPARE_FOR_APC Static method Private Method Prepare WebSocket for APC Request Handling 20130828
13 _RESTART_FOR_RKS Static method Private Method Restart for RKS? 20130503
14 _SET_HTTP_UI Static method Private Method Selects this session as an HTTP online (Oberon UI) 20100326
15 _SET_MAX_RUNTIME Static method Private Method Sets the maximum runtime for a request 20071015
16 _SET_RFC_UI Static method Private Method Selects this RFC session as an online session (e.g. Eclipse) 20121106
17 _SWITCH_TASKTYPE_TO_APC Static method Private Method Switch Task Type from PLG/HTTP to APC 20121025
18 _TEST_SERVER_STARTUP Static method Private Method Test server startup procedure? 20130503
Events
Class CL_RUNTIME has no event.
Types
Class CL_RUNTIME has no local type.
Method Signatures

Method CLOSE_RFC_SERVER_CONNECTION Signature

Method CLOSE_RFC_SERVER_CONNECTION on class CL_RUNTIME has no parameter.
# Exception Resumable Description Created on
1 CX_RUNTIME_ERROR Runtime Ausnahmen 20130219

Method ISET_MAX_RUNTIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing RUNTIME Call by reference Type reference (TYPE) I maximale Laufzeit 20071015
# Exception Resumable Description Created on
1 CX_RUNTIME_ERROR 20071015

Method MAX_TIME_FOR_SERVER_STARTUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning MAX_TIME Value transfer Type reference (TYPE) I max time for server startup procedure 20130503

Method MAX_TIME_FOR_SERVER_STARTUP on class CL_RUNTIME has no exception.

Method PREPARE_FOR_APC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MODE Value transfer Type reference (TYPE) I APC session mode (stateless/stateful) 20130828
# Exception Resumable Description Created on
1 CX_RUNTIME_ERROR Runtime Ausnahmen 20130828

Method RESTART_FOR_RKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESTART_FOR_RKS Value transfer Type reference (TYPE) I Restart for RKS? 20130506

Method RESTART_FOR_RKS on class CL_RUNTIME has no exception.

Method SET_HTTP_UI Signature

Method SET_HTTP_UI on class CL_RUNTIME has no parameter.
# Exception Resumable Description Created on
1 CX_RUNTIME_ERROR Runtime Ausnahmen 20100326

Method SET_RFC_UI Signature

Method SET_RFC_UI on class CL_RUNTIME has no parameter.
# Exception Resumable Description Created on
1 CX_RUNTIME_ERROR Runtime Ausnahmen 20121106

Method SWITCH_TASKTYPE_TO_APC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MODE Value transfer Type reference (TYPE) I APC session mode (stateless/stateful) 20121126
# Exception Resumable Description Created on
1 CX_RUNTIME_ERROR Runtime Ausnahmen 20121025

Method TEST_SERVER_STARTUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TEST Value transfer Type reference (TYPE) I Test server startup? 20130503

Method TEST_SERVER_STARTUP on class CL_RUNTIME has no exception.

Method _CLOSE_RFC_SERVER_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RETURNCODE Call by reference Type reference (TYPE) I Returncode des Kernels 20130219

Method _CLOSE_RFC_SERVER_CONNECTION on class CL_RUNTIME has no exception.

Method _MAX_TIME_FOR_SERVER_STARTUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning MAX_TIME Value transfer Type reference (TYPE) I max. Time for server startup procedure 20130503

Method _MAX_TIME_FOR_SERVER_STARTUP on class CL_RUNTIME has no exception.

Method _PREPARE_FOR_APC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MODE Value transfer Type reference (TYPE) I APC session mode 20130828
2 Exporting RETURNCODE Call by reference Type reference (TYPE) I Return Code of Kernel 20130828

Method _PREPARE_FOR_APC on class CL_RUNTIME has no exception.

Method _RESTART_FOR_RKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESTART_FOR_RKS Value transfer Type reference (TYPE) I Restart for RKS? 20130503

Method _RESTART_FOR_RKS on class CL_RUNTIME has no exception.

Method _SET_HTTP_UI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RETURNCODE Call by reference Type reference (TYPE) I Returncode des Kernels 20100326

Method _SET_HTTP_UI on class CL_RUNTIME has no exception.

Method _SET_MAX_RUNTIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RETURNCODE Call by reference Type reference (TYPE) I Returncode des Kernels 20071015
2 Importing RUNTIME Call by reference Type reference (TYPE) I maximale Laufzeit 20071015

Method _SET_MAX_RUNTIME on class CL_RUNTIME has no exception.

Method _SET_RFC_UI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RETURNCODE Call by reference Type reference (TYPE) I Returncode des Kernels 20121106

Method _SET_RFC_UI on class CL_RUNTIME has no exception.

Method _SWITCH_TASKTYPE_TO_APC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MODE Value transfer Type reference (TYPE) I APC session mode 20121126
2 Exporting RETURNCODE Call by reference Type reference (TYPE) I Return Code of Kernel 20121025

Method _SWITCH_TASKTYPE_TO_APC on class CL_RUNTIME has no exception.

Method _TEST_SERVER_STARTUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TEST Value transfer Type reference (TYPE) I Test server startup procedure? 20130503

Method _TEST_SERVER_STARTUP on class CL_RUNTIME has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 711