SAP ABAP Class CL_AMDP_UTILS (Utilities for CL_AMDP_[COMPILER|RUNTIME])
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
Properties
Class CL_AMDP_UTILS  
Short Description Utilities for CL_AMDP_[COMPILER|RUNTIME]    
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 20130704   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_AMDP_UTILS has no forward declaration.
Interfaces
Class CL_AMDP_UTILS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_AMDP_COMPILER 20130704 Compiler for ABAP Managed Stored Procedures
2 CL_AMDP_COMPILER_HDB 20130704 AMDP Compiler for HDB
3 CL_AMDP_RUNTIME 20130704 Runtime ABAP-Managed DB Procedures
4 CL_AMDP_UPGRADE_TOOLS 20131118 Helper Routines for Upgrade
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_FT_RABAX_IMPORT_TABLE_ERROR Constant Public Type reference (TYPE) I 7420000 20131118
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_ABAP_TO_DB_STR_VAL Static method Private Method Convert string representation of ABAP value to DB value 20130821
2 EXECUTE_DDL Static method Private Method Run DDL statement using ADBC 20130719
3 FEATURE_SUPPORTED Static method Public Method 20131118
4 GET_DATA_OBJECT_BY_TYPE_DESCR Static method Private Method 20130822
5 MAP_DB_POS_TO_ABAP_POS Static method Private Method Convert error position in DB procedure to ABAP position 20130704
6 PARSE_SQL_MSG Static method Private Method 20130920
7 PARSE_SQL_MSG_STACK Static method Private Method 20130920
8 PREPARE_D010DBOBJ_CREATE_STMT Static method Public Method Versioning for CREATE (not currently used) 20130711
9 PREPARE_D010DBOBJ_DROP_STMT Static method Public Method Versioning for DROP (not currently used) 20130711
10 PROCESS_D010DBOBJDEL Static method Public Method Delete obsolete database procedures in the database 20130711
Events
Class CL_AMDP_UTILS has no event.
Types
Class CL_AMDP_UTILS has no local type.
Method Signatures

Method CONVERT_ABAP_TO_DB_STR_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_RC Call by reference Type reference (TYPE) ABAP_BOOL 20130821
2 Exporting EX_STRING_VAL_FROM_DB Call by reference Type reference (TYPE) STRING 20130822
3 Importing IM_SQL_HANDLE Call by reference Object reference (TYPE REF TO) CL_SQL_CONNECTION 20130821
4 Importing IM_TYPE_DB Call by reference Type reference (TYPE) STRING 20130822
5 Importing IM_TYPE_DESCR Call by reference Type reference (TYPE) AMDP_ELEM_DESCR 20130822
6 Importing IM_VAL_IN_ABAP Call by reference Type reference (TYPE) ANY 20130822

Method CONVERT_ABAP_TO_DB_STR_VAL on class CL_AMDP_UTILS has no exception.

Method EXECUTE_DDL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DDL_COMMAND Call by reference Type reference (TYPE) STRING 20130719
2 Importing IM_SQL_HANDLE Call by reference Object reference (TYPE REF TO) CL_SQL_STATEMENT 20130719
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION 20130719

Method FEATURE_SUPPORTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FEATURE_ID Call by reference Type reference (TYPE) I 20131118
2 Returning RT_SUPPORTED Value transfer Type reference (TYPE) ABAP_BOOL 20131118

Method FEATURE_SUPPORTED on class CL_AMDP_UTILS has no exception.

Method GET_DATA_OBJECT_BY_TYPE_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ABAP_TYPE_NAME Call by reference Type reference (TYPE) STRING 20130826
2 Exporting EX_DREF Call by reference Object reference (TYPE REF TO) DATA 20130826
3 Importing IM_TYPE_DESCR Call by reference Type reference (TYPE) AMDP_ELEM_DESCR 20130822

Method GET_DATA_OBJECT_BY_TYPE_DESCR on class CL_AMDP_UTILS has no exception.

Method MAP_DB_POS_TO_ABAP_POS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_IS_AFTER_END Call by reference Type reference (TYPE) ABAP_BOOL 20130704
2 Importing IM_BODY_MAP Call by reference Type reference (TYPE) AMDP_BODY_SOURCE_MAP_TAB 20130704
3 Importing IM_DB_POS Call by reference Type reference (TYPE) AMDP_BODY_POS 20130704
4 Returning RT_ABAP_POS Value transfer Type reference (TYPE) AMDP_POS_INFO 20130704

Method MAP_DB_POS_TO_ABAP_POS on class CL_AMDP_UTILS has no exception.

Method PARSE_SQL_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DB_POS Call by reference Type reference (TYPE) AMDP_BODY_POS 20130920
2 Exporting EX_DB_STMT_OFFS Call by reference Type reference (TYPE) I 20130920
3 Exporting EX_MSG Call by reference Type reference (TYPE) STRING 20130920
4 Importing IM_SQL_MSG Call by reference Type reference (TYPE) STRING 20130920

Method PARSE_SQL_MSG on class CL_AMDP_UTILS has no exception.

Method PARSE_SQL_MSG_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DBPROC_NAME Call by reference Type reference (TYPE) STRING 20130920
2 Exporting EX_DBPROC_STACK Call by reference Type reference (TYPE) STRING_TABLE 20130920
3 Exporting EX_DB_POS Call by reference Type reference (TYPE) AMDP_BODY_POS 20130920
4 Importing IM_SQL_MSG Call by reference Type reference (TYPE) STRING 20130920

Method PARSE_SQL_MSG_STACK on class CL_AMDP_UTILS has no exception.

Method PREPARE_D010DBOBJ_CREATE_STMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_D010DBOBJ Call by reference Type reference (TYPE) D010DBOBJ Verzeichnis der von ABAP verwalteten DB-Prozeduren + Typen 20130711

Method PREPARE_D010DBOBJ_CREATE_STMT on class CL_AMDP_UTILS has no exception.

Method PREPARE_D010DBOBJ_DROP_STMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_D010DBOBJ Call by reference Type reference (TYPE) D010DBOBJ Verzeichnis der von ABAP verwalteten DB-Prozeduren + Typen 20130711

Method PREPARE_D010DBOBJ_DROP_STMT on class CL_AMDP_UTILS has no exception.

Method PROCESS_D010DBOBJDEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CONN Call by reference Object reference (TYPE REF TO) CL_SQL_CONNECTION Datenbankverbindung 20130711
2 Importing IM_STMT Call by reference Object reference (TYPE REF TO) CL_SQL_STATEMENT SQL Statement 20130711

Method PROCESS_D010DBOBJDEL on class CL_AMDP_UTILS has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in 740