SAP ABAP Class CL_AMDP_RUNTIME (Runtime ABAP-Managed DB Procedures)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SABP_AMDP_KRN (Package) Kernel Interface for Database Procedure Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_AMDP_BASE Interface for Fundamental AMDP Functions 20130830
Properties
Class CL_AMDP_RUNTIME  
Short Description Runtime ABAP-Managed DB Procedures    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status S  System Program 
Category 0   
Package SABP_AMDP_KRN   Kernel Interface for Database Procedure Management 
Created 20130614   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_AMDP_BASE Interface for Fundamental AMDP Functions 20130830
Friends
Class CL_AMDP_RUNTIME has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_AMDP_CYCLE_TYPE Static Attribute Private Type reference (TYPE) I CO_AMDP_NO_CYCLE Type of call cycle 20130716
2 A_AMDP_SVER_MODE Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Flag for additional SVER checks 20130620
3 A_CP_INCL_SEQ Static Attribute Private Type reference (TYPE) TT_STRING_SEQ 20130813
4 A_DBPROC_CYCLE_BEG Static Attribute Private Type reference (TYPE) STRING 20130807
5 A_DBPROC_CYCLE_END Static Attribute Private Type reference (TYPE) STRING 20130807
6 A_DBPROC_SEQ Static Attribute Private Type reference (TYPE) TT_STRING_SEQ 20130813
7 CO_AMDP_CLASS_CYCLE Constant Private Type reference (TYPE) I 2 Recursion check: Class call cycle 20130716
8 CO_AMDP_DBPROC_CYCLE Constant Private Type reference (TYPE) I 1 Recursion check: Procedure call cycle 20130716
9 CO_AMDP_MAX_RETRIES Constant Public Type reference (TYPE) I 3 Maximum number of calls of CL_AMDP_RUNTIME from kernel 20130717
10 CO_AMDP_NO_CYCLE Constant Private Type reference (TYPE) I 0 Recursion check: No call cycle 20130716
11 CO_AMDP_SQL_HDBPROC_NOT_FOUND Constant Private Type reference (TYPE) I 328 20130807
12 CO_AMDP_SQL_HDB_INVALID Constant Private Type reference (TYPE) I 430 HDB SQL code for "invalid" 20130719
13 CO_AMDP_SQL_HDB_TAB_NOT_FOUND Constant Private Type reference (TYPE) I 259 HDB SQL code fur "table not found" 20130719
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE_SVER_CHECKS Static method Public Method 20130626
2 CHECK_EXECUTION_FAILED Static method Private Method 20130731
3 CREATE_DB_OBJECTS_AT_RUNTIME Static method Public Method 20130806
4 CREATE_DB_OBJECTS_EXTERNAL Static method Public Method 20131205
5 GET_AMDP_BODY_MAP Static method Private Method 20130704
6 GET_RABAX_INFO_FROM_SQLMSG Static method Private Method 20131205
7 GET_RABAX_INFO_SIMPLE Static method Private Method 20131118
8 LOAD_DBPROC_CLASSES_EXTERNAL Static method Public Method 20131205
9 METH_INCL_NAME Static method Private Method 20130807
10 RABAX_CYCLIC_CALL Static method Private Method 20130716
11 RABAX_DBOBJ_CREATE_FAILED Static method Private Method 20130704
12 RABAX_DBPROC_CREATE_FAILED Static method Private Method 20130719
13 RABAX_EXECUTION_FAILED Static method Private Method 20130704
14 RABAX_IMPORT_TABLE_ERROR Static method Private Method 20131118
15 RABAX_NO_CONNECTION Static method Private Method 20130719
16 RABAX_OBJECT_NOT_FOUND Static method Private Method 20130719
17 RABAX_TOO_MANY_RETRIES Static method Private Method 20130704
18 RABAX_VERSION_MISMATCH Static method Private Method 20130704
19 RESET_CLASS_ATTRIBUTES Static method Private Method 20130717
20 _WALK_THROUGH_DB_OBJECTS Static method Private Method 20131205
Events
Class CL_AMDP_RUNTIME has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_RABAX_INFO Private See coding 20130814 begin of ts_rabax_info, class_name type string, class_version type d010dbobj-abap_version, class_incl_name type string, meth_incl_name type string, meth_name type string, abap_line type i, dbproc_name type string, dbproc_stack type string_table, end of ts_rabax_info
2 TT_DBPROC_CACHE Public Type reference (TYPE) TT_STRING_SEQ 20131205
3 TT_STRING_SEQ Public See coding 20130813 tt_string_seq type standard table of string with empty key with unique sorted key uni components table_line
4 TY_ERROR_KRN_RT Public See coding 20130619 begin of ty_error_krn_rt, code type i, " Error code set by kernel sqlcode type i, " Error code from DB dbicode type i, " Error code from DBI message type string, " In case of error: message name type string, " In case of error: object with problem end of ty_error_krn_rt
5 TY_KRN_CALLER_CONTEXT Public See coding 20130711 begin of ty_krn_caller_context, num_retries type i, end of ty_krn_caller_context
Method Signatures

Method ACTIVATE_SVER_CHECKS Signature

Method ACTIVATE_SVER_CHECKS on class CL_AMDP_RUNTIME has no parameter.
Method ACTIVATE_SVER_CHECKS on class CL_AMDP_RUNTIME has no exception.

Method CHECK_EXECUTION_FAILED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_NAME Call by reference Type reference (TYPE) STRING 20130807
2 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT Fehlerinformatuon zum aktuellen Aufrufversuch aus dem Kernel 20130731
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20130731

Method CREATE_DB_OBJECTS_AT_RUNTIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_CALLER_CONTEXT Call by reference Type reference (TYPE) TY_KRN_CALLER_CONTEXT Kontext für wiederholte Aufrufversuche aus dem Kernel 20130806
2 Importing IM_ABAP_VERSION Call by reference Type reference (TYPE) STRING Version der Datenbankprozedur in D010DBOBJ 20130806
3 Importing IM_CP_INCL_NAME Call by reference Type reference (TYPE) STRING Include-Name der implementierenden Klasse 20130806
4 Importing IM_DB_PROC_NAME Call by reference Type reference (TYPE) STRING 20130807
5 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT Fehlerinformatuon zum aktuellen Aufrufversuch aus dem Kernel 20130806
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20130806

Method CREATE_DB_OBJECTS_EXTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ABAP_VERSION Call by reference Type reference (TYPE) STRING 20131205
2 Importing IM_DB_PROC_NAME Call by reference Type reference (TYPE) STRING 20131205
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20131205

Method GET_AMDP_BODY_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_BODY_SRC_MAP Call by reference Type reference (TYPE) AMDP_BODY_SOURCE_MAP_TAB 20130704
2 Exporting EX_METH_INCL_NAME Call by reference Type reference (TYPE) STRING 20130704
3 Importing IM_DBPROC Call by reference Type reference (TYPE) D010DBOBJ 20130704

Method GET_AMDP_BODY_MAP on class CL_AMDP_RUNTIME has no exception.

Method GET_RABAX_INFO_FROM_SQLMSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20131205
2 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT 20131205
3 Returning RS_RABAX_INFO Value transfer Type reference (TYPE) TS_RABAX_INFO 20131205

Method GET_RABAX_INFO_FROM_SQLMSG on class CL_AMDP_RUNTIME has no exception.

Method GET_RABAX_INFO_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20131118
2 Returning RS_RABAX_INFO Value transfer Type reference (TYPE) TS_RABAX_INFO 20131118

Method GET_RABAX_INFO_SIMPLE on class CL_AMDP_RUNTIME has no exception.

Method LOAD_DBPROC_CLASSES_EXTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_DBPROC_CACHE Call by reference Type reference (TYPE) TT_DBPROC_CACHE 20131205
2 Importing IM_ABAP_VERSION Call by reference Type reference (TYPE) STRING 20131205
3 Importing IM_DB_PROC_NAME Call by reference Type reference (TYPE) STRING 20131205
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20131205

Method METH_INCL_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CLASS_NAME Call by reference Type reference (TYPE) STRING 20130807
2 Importing IM_METH_NAME Call by reference Type reference (TYPE) STRING 20130807
3 Returning RT_NAME Value transfer Type reference (TYPE) STRING 20130807

Method METH_INCL_NAME on class CL_AMDP_RUNTIME has no exception.

Method RABAX_CYCLIC_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_CURR Call by reference Type reference (TYPE) D010DBOBJ 20130716
2 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20130716
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20130716

Method RABAX_DBOBJ_CREATE_FAILED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBOBJ_CURR_NAME Call by reference Type reference (TYPE) STRING 20130704
2 Importing IM_DBPROC_CURR Call by reference Type reference (TYPE) D010DBOBJ 20130704
3 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20130704
4 Importing IM_SQL_EXCP Call by reference Object reference (TYPE REF TO) CX_SQL_EXCEPTION 20130704
# Exception Resumable Description Created on
1 CX_AMDP_RABAX Exceptionklasse mit RABAX-Attributen 20130710

Method RABAX_DBPROC_CREATE_FAILED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_CURR Call by reference Type reference (TYPE) D010DBOBJ 20130719
2 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20130719
3 Importing IM_SQL_EXCP Call by reference Object reference (TYPE REF TO) CX_SQL_EXCEPTION 20130719
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20130719

Method RABAX_EXECUTION_FAILED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20130704
2 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT 20130719
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20130719

Method RABAX_IMPORT_TABLE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20131118
2 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT 20131118
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20131118

Method RABAX_NO_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CONNECTION_NAME Call by reference Type reference (TYPE) DBCON_NAME 20130719
2 Importing IM_DBPROC_CURR Call by reference Type reference (TYPE) D010DBOBJ 20130719
3 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20130719
4 Importing IM_SQL_EXCP Call by reference Object reference (TYPE REF TO) CX_SQL_EXCEPTION 20130719
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20130719

Method RABAX_OBJECT_NOT_FOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_CURR_NAME Call by reference Type reference (TYPE) STRING 20130719
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20130719

Method RABAX_TOO_MANY_RETRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING Verzeichnis der von ABAP verwalteten DB-Prozeduren + Typen 20130718
2 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT Fehlermeldungen aus dem Kernel 20130718
# Exception Resumable Description Created on
1 CX_AMDP_RABAX Exceptionklasse mit RABAX-Attributen 20130717

Method RABAX_VERSION_MISMATCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ABAP_VERSION Call by reference Type reference (TYPE) STRING 20130719
2 Importing IM_DBPROC_TOP_NAME Call by reference Type reference (TYPE) STRING 20130704
3 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT 20130719
# Exception Resumable Description Created on
1 CX_AMDP_RABAX Exceptionklasse mit RABAX-Attributen 20130719

Method RESET_CLASS_ATTRIBUTES Signature

Method RESET_CLASS_ATTRIBUTES on class CL_AMDP_RUNTIME has no parameter.
Method RESET_CLASS_ATTRIBUTES on class CL_AMDP_RUNTIME has no exception.

Method _WALK_THROUGH_DB_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_DBPROC_CACHE Call by reference Type reference (TYPE) TT_DBPROC_CACHE 20131205
2 Importing IM_CP_INCL_NAME Call by reference Type reference (TYPE) STRING 20131205
3 Importing IM_CREATE_DB_OBJECTS Call by reference Type reference (TYPE) ABAP_BOOL 20131205
4 Importing IM_DBPROC_NAME Call by reference Type reference (TYPE) STRING 20131205
5 Importing IM_ERROR_INFO_RT Call by reference Type reference (TYPE) TY_ERROR_KRN_RT 20131205
# Exception Resumable Description Created on
1 CX_AMDP_RABAX 20131205
History
Last changed by/on SAP  20141121 
SAP Release Created in 740