SAP ABAP Class CL_AMDP_COMPILER (Compiler for ABAP Managed Stored 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 - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_AMDP_COMPILER_HDB AMDP Compiler for HDB 20130618
Properties
Class CL_AMDP_COMPILER  
Short Description Compiler for ABAP Managed Stored Procedures    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SABP_AMDP_KRN   Kernel Interface for Database Procedure Management 
Created 20130618   SAP 
Last change 20140121   SAP 
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)
2 IF_AMDP_COMPILER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_AMDP_COMPILER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_ABAP_GENERATE_KRN 20130729 Kernel Exit for ABAP Generation
2 CL_ABAP_SYNTAX_CHECK_KRN 20130729 Extension of ABAP Statement SYNTAX-CHECK
3 CL_AMDP_COMPILER_HDB 20130618 AMDP Compiler for HDB
4 CL_AMDP_GENERATE 20130619 Generator for ABAP Managed Database Procedures
5 CL_AMDP_SYNTAX_CHECK 20130618 Syntax Check Handler for ABAP Managed Database Procedures
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_AMDP_001 Constant Private Type reference (TYPE) STRING `+AMDP:001` 20130822
2 CO_AMDP_002 Constant Private Type reference (TYPE) STRING `+AMDP:002` 20130822
3 CO_AMDP_003 Constant Private Type reference (TYPE) STRING `+AMDP:003` 20130822
4 CO_AMDP_004 Constant Private Type reference (TYPE) STRING `+AMDP:004` 20130826
5 CO_AMDP_005 Constant Private Type reference (TYPE) STRING `+AMDP:005` 20130826
6 CO_AMDP_006 Constant Private Type reference (TYPE) STRING `+AMDP:006` 20130827
7 CO_AMDP_007 Constant Private Type reference (TYPE) STRING `+AMDP:007` 20130920
8 CO_AMDP_008 Constant Private Type reference (TYPE) STRING `+AMDP:008` 20131105
9 CO_AMDP_009 Constant Private Type reference (TYPE) STRING `+AMDP:009` 20131205
10 CO_LTXT_LINE_LENG_MAX Constant Private Type reference (TYPE) I 132 20130916
11 CO_LTXT_PARAM_VAL_LENG_MAX Constant Private Type reference (TYPE) I 72 20130909
12 CO_RAW_TXT_BEG Constant Private See coding '<(>' 20131118
13 CO_RAW_TXT_END Constant Private See coding '<)>' 20131118
14 ST_BREAK_ON_ERROR Static Attribute Private Type reference (TYPE) ABAP_BOOL 20130729
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE_FOR_ABAP Static method Private Method 20130920
2 ADD_MESSAGE_FOR_ABAP_W_DBPOS Static method Private Method 20130920
3 ADD_MESSAGE_FOR_DBLANG Static method Private Method 20130920
4 DBLANG_MESSAGE_TO_STRING_TABLE Static method Private Method 20130920
5 GET_ABAP_POS_OF_NAMESPACE Static method Private Method 20130920
6 GET_COMPILER Static method Private Method 20130618
7 GET_MESSAGE_KIND Static method Private Method 20130920
8 GET_SYNTAX_MESSAGE Static method Private Method 20130618
9 IS_TABLE_BUFFERED Static method Private Method 20130816
10 REPLACE_MESSAGE_FOR_DBLANG Static method Private Method 20130920
11 SET_BREAK_ON_ERROR Static method Private Method 20130729
12 TRMSG_KEY Static method Private Method 20130821
13 WRITE_LONGTEXT Static method Private Method 20130625
Events
Class CL_AMDP_COMPILER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_ANY_STRING_TAB Public See coding 20130625 tt_any_string_tab type any table of string
Method Signatures

Method ADD_MESSAGE_FOR_ABAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_MSG_INFO Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO 20130920
2 Importing IM_ABORT_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20131118
3 Importing IM_MSG_ID Call by reference Type reference (TYPE) TRMSG_KEY 20130920
4 Importing IM_MSG_KIND Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_KIND 'E' 20130920
5 Importing IM_MSG_LTXT Call by reference Type reference (TYPE) TT_ANY_STRING_TAB 20130920
6 Importing IM_MSG_PARAMS Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO_PARAMS 20130920
7 Importing IM_MSG_POS Call by reference Type reference (TYPE) AMDP_POS_INFO 20130920
8 Importing IM_MSG_WORD Call by reference Type reference (TYPE) STRING 20130920

Method ADD_MESSAGE_FOR_ABAP on class CL_AMDP_COMPILER has no exception.

Method ADD_MESSAGE_FOR_ABAP_W_DBPOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_MSG_INFO Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO 20130920
2 Importing IM_BODY_MAP Call by reference Type reference (TYPE) AMDP_BODY_SOURCE_MAP_TAB 20130920
3 Importing IM_MSG_ID Call by reference Type reference (TYPE) TRMSG_KEY 20130920
4 Importing IM_MSG_LTXT Call by reference Type reference (TYPE) TT_ANY_STRING_TAB 20130920
5 Importing IM_MSG_PARAMS Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO_PARAMS 20130920
6 Importing IM_MSG_WORD Call by reference Type reference (TYPE) STRING 20130920
7 Importing IM_STMT Call by reference Type reference (TYPE) STRING 20130920
8 Importing IM_STMT_OFFS Call by reference Type reference (TYPE) I 20130920

Method ADD_MESSAGE_FOR_ABAP_W_DBPOS on class CL_AMDP_COMPILER has no exception.

Method ADD_MESSAGE_FOR_DBLANG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_MSG_INFO Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO 20130920
2 Importing IM_BODY_MAP Call by reference Type reference (TYPE) AMDP_BODY_SOURCE_MAP_TAB 20130920
3 Importing IM_DDL_STMT Call by reference Type reference (TYPE) STRING 20130920
4 Importing IM_MSG Call by reference Type reference (TYPE) STRING 20130920
5 Importing IM_MSG_CODE Call by reference Type reference (TYPE) I 20130920
6 Importing IM_MSG_ID Call by reference Type reference (TYPE) TRMSG_KEY 20130920
7 Importing IM_MSG_PARAMS Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO_PARAMS 20130920
8 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING 20130920

Method ADD_MESSAGE_FOR_DBLANG on class CL_AMDP_COMPILER has no exception.

Method DBLANG_MESSAGE_TO_STRING_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DDL_STMT Call by reference Type reference (TYPE) STRING 20130920
2 Importing IM_MSG Call by reference Type reference (TYPE) STRING 20130920
3 Importing IM_MSG_POS Call by reference Type reference (TYPE) AMDP_BODY_POS 20130920
4 Returning RT_STR_TAB Value transfer Type reference (TYPE) STRING_TABLE 20130920

Method DBLANG_MESSAGE_TO_STRING_TABLE on class CL_AMDP_COMPILER has no exception.

Method GET_ABAP_POS_OF_NAMESPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BODY_MAP Call by reference Type reference (TYPE) AMDP_BODY_SOURCE_MAP_TAB 20130920
2 Importing IM_DDL_STMT Call by reference Type reference (TYPE) STRING 20130920
3 Importing IM_NAMESPACE_OFFS Call by reference Type reference (TYPE) I 20130920
4 Returning RT_ABAP_POS Value transfer Type reference (TYPE) AMDP_POS_INFO 20130920

Method GET_ABAP_POS_OF_NAMESPACE on class CL_AMDP_COMPILER has no exception.

Method GET_COMPILER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PROC_DESCR Call by reference Object reference (TYPE REF TO) AMDP_METH_TAB 20130618
2 Importing IM_PROGNAME Call by reference Type reference (TYPE) SY-REPID 20130722
3 Importing IM_TYPE_DESCR Call by reference Object reference (TYPE REF TO) AMDP_TYPE_TAB 20130618
4 Returning RT_COMP Value transfer Object reference (TYPE REF TO) IF_AMDP_COMPILER 20130618

Method GET_COMPILER on class CL_AMDP_COMPILER has no exception.

Method GET_MESSAGE_KIND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_NAMESPACE_OFFS Call by reference Type reference (TYPE) I 20130920
2 Importing IM_DB_STMT_OFFS Call by reference Type reference (TYPE) I 20130920
3 Importing IM_DDL_STMT Call by reference Type reference (TYPE) STRING 20130920
4 Importing IM_MSG_ID Call by reference Type reference (TYPE) TRMSG_KEY 20130920
5 Returning RT_MSG_KIND Value transfer Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_KIND 20130920

Method GET_MESSAGE_KIND on class CL_AMDP_COMPILER has no exception.

Method GET_SYNTAX_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MSG_ID Call by reference Type reference (TYPE) TRMSG_KEY 20130920
2 Importing IM_MSG_PARAMS Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO_PARAMS 20130920
3 Returning RT_MESSAGE Value transfer Type reference (TYPE) STRING 20130618

Method GET_SYNTAX_MESSAGE on class CL_AMDP_COMPILER has no exception.

Method IS_TABLE_BUFFERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TABLE_NAME Call by reference Type reference (TYPE) STRING 20130816
2 Returning RT_RES Value transfer Type reference (TYPE) ABAP_BOOL 20130816

Method IS_TABLE_BUFFERED on class CL_AMDP_COMPILER has no exception.

Method REPLACE_MESSAGE_FOR_DBLANG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_MSG_INFO Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO 20130920
2 Exporting EX_MSG_ALREADY_RAISED Call by reference Type reference (TYPE) ABAP_BOOL 20130920
3 Importing IM_ABAP_POS Call by reference Type reference (TYPE) AMDP_POS_INFO 20130920
4 Importing IM_MSG Call by reference Type reference (TYPE) STRING 20130920
5 Importing IM_MSG_CODE Call by reference Type reference (TYPE) I 20130920

Method REPLACE_MESSAGE_FOR_DBLANG on class CL_AMDP_COMPILER has no exception.

Method SET_BREAK_ON_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BREAK_ON_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20130729

Method SET_BREAK_ON_ERROR on class CL_AMDP_COMPILER has no exception.

Method TRMSG_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TRMSG_KEY_STR Call by reference Type reference (TYPE) STRING 20130821
2 Returning RT_RES Value transfer Type reference (TYPE) TRMSG_KEY 20130821

Method TRMSG_KEY on class CL_AMDP_COMPILER has no exception.

Method WRITE_LONGTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_MSG_INFO Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO 20130920
2 Importing IM_MSG_KIND Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_KIND 20130920
3 Importing IM_MSG_LTXT Call by reference Type reference (TYPE) TT_ANY_STRING_TAB 20130920
4 Importing IM_MSG_LTXT_IDX Call by reference Type reference (TYPE) I 20130920
5 Importing IM_MSG_PARAMS Call by reference Type reference (TYPE) IF_AMDP_COMPILER=>TY_MSG_INFO_PARAMS 20130920

Method WRITE_LONGTEXT on class CL_AMDP_COMPILER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740