SAP ABAP Class CL_AXT_CODE_GENERATOR (Abstract basis class for code generators)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷ CA-GTF-EEW (Application Component) Easy Enhancement Workbench
⤷ AXT_GENERATION_FRAMEWORK (Package) Extensibility Generation Framework
⤷ CA-GTF-EEW (Application Component) Easy Enhancement Workbench
⤷ AXT_GENERATION_FRAMEWORK (Package) Extensibility Generation Framework
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_AXT_ELEMENT | General generation element | 20080910 |
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_AXT_CLASS | Class generation element | 20080911 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_AXT_FUNCTION_MODULE | Function module generator | 20080915 |
3 | Inheritance (c INHERITING FROM c_ref) | CL_AXT_INTERFACE | Class generation element | 20090511 |
4 | Inheritance (c INHERITING FROM c_ref) | CL_AXT_PAGE | Page generation element | 20080930 |
5 | Inheritance (c INHERITING FROM c_ref) | CL_AXT_UI_CONFIGURATION | Configuration generator | 20090427 |
Properties
Class | CL_AXT_CODE_GENERATOR | |
Short Description | Abstract basis class for code generators | |
Super Class | CL_AXT_ELEMENT | General generation element |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | AXT_GENERATION_FRAMEWORK | Extensibility Generation Framework |
Created | 20080910 | SAP |
Last change | 20110908 | 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 | CL_ABAP_STRUCTDESCR | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | CL_CMP_COMPOSER | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_AXT_CODE_GENERATOR has no interface implemented.
Friends
Class CL_AXT_CODE_GENERATOR has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_PARAM_PARAM_NAME | Constant | Public | Type reference (TYPE) | AXT_PARAMETER | 'PARAM_NAME' | Parameter fieldname | 20080925 | |
2 | GC_PARAM_PARAM_TYPE | Constant | Public | Type reference (TYPE) | AXT_PARAMETER | 'PARAM_TYPE' | Parameter fieldname | 20080925 | |
3 | GC_PARAM_TEMPLATE | Constant | Public | Type reference (TYPE) | AXT_PARAMETER | 'TEMPLATE' | Parameter fieldname | 20080925 | |
4 | GC_PARAM_TEMPLATE_NAME | Constant | Public | Type reference (TYPE) | AXT_PARAMETER | 'TEMPLATE_NAME' | Parameter | 20090401 | |
5 | GC_PARAM_TEMPLATE_VERSION | Constant | Public | Type reference (TYPE) | AXT_PARAMETER | 'TEMPLATE_VERSION' | Parameter | 20081015 | |
6 | MC_TYPE_CHANGING | Constant | Protected | Type reference (TYPE) | SEOPARDECL | '2' | Parameter Declaration Level (User View) | 20080911 | |
7 | MC_TYPE_EXPORTING | Constant | Protected | Type reference (TYPE) | SEOPARDECL | '1' | Parameter Declaration Level (User View) | 20080911 | |
8 | MC_TYPE_IMPORTING | Constant | Protected | Type reference (TYPE) | SEOPARDECL | '0' | Parameter Declaration Level (User View) | 20080911 | |
9 | MC_TYPE_RETURNING | Constant | Protected | Type reference (TYPE) | SEOPARDECL | '3' | Parameter Declaration Level (User View) | 20080911 | |
10 | MC_TYPE_TABLES | Constant | Protected | Type reference (TYPE) | SEOPARDECL | '4' | Parameter Declaration Level (User View) | 20080911 | |
11 | MC_TYPING_LIKE | Constant | Protected | Type reference (TYPE) | SEOTYPTYPE | '0' | Typing | 20080911 | |
12 | MC_TYPING_TYPE | Constant | Protected | Type reference (TYPE) | SEOTYPTYPE | '1' | Typing | 20080911 | |
13 | MC_TYPING_TYPE_REF_TO | Constant | Protected | Type reference (TYPE) | SEOTYPTYPE | '3' | Typing | 20080911 | |
14 | MC_TYPING_TYPE_STRUCTURE | Constant | Protected | Type reference (TYPE) | SEOTYPTYPE | '9' | Special typing for tables in FM | 20101209 | |
15 | MT_CODE_CONTEXT | Instance attribute | Protected | Type reference (TYPE) | AXTT_CODE_CONTEXT | Code generator context | 20080910 | ||
16 | MT_TEMPLATE_VERSION | Instance attribute | Private | Type reference (TYPE) | AXTT_TMPL_VERSION | Table Type of AXTS_TMPL_VERSION | 20090331 | ||
17 | MV_TEMPLATE | Instance attribute | Protected | Type reference (TYPE) | PROGNAME | Parameter Value | 20080910 | ||
18 | MV_TEMPLATE_VERSION | Instance attribute | Private | Type reference (TYPE) | AXT_PARAMVALUE | Code template version | 20081015 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_CONTEXT_PARAM | Instance method | Public | Method | 20080911 | |
2 | ADD_TEMPLATE | Instance method | Public | Method | 20090331 | |
3 | CHECK_MANDATORY_PARAMETERS | Static method | Private | Method | 20081015 | |
4 | CHECK_TYPE | Instance method | Private | Method | 20080925 | |
5 | CREATE_CODE_GENERATOR | Static method | Protected | Method | 20081015 | |
6 | DESERIALIZE_PARAM | Instance method | Private | Method | 20080925 | |
7 | DETERMINE_TEMPLATE_VERSION | Instance method | Protected | Method | Determine the version of the template | 20081216 |
8 | GENERATE_CODE | Instance method | Protected | Method | Generate source code from template | 20080910 |
9 | GET_CONTEXT_PARAMS | Instance method | Public | Method | 20080926 | |
10 | GET_TEMPLATE_NAME | Instance method | Public | Method | 20080930 | |
11 | GET_TEMPLATE_VERSION | Instance method | Public | Method | 20081015 | |
12 | MOVE_SOURCE_TO_72_CHAR | Instance method | Private | Method | 20080930 | |
13 | SERIALIZE_PARAM | Instance method | Private | Method | 20080925 |
Events
Class CL_AXT_CODE_GENERATOR has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | LTY_ATTRIBUTES | Protected | See coding | 20080926 | BEGIN OF lty_attributes,
name TYPE c LENGTH 30,
type TYPE rollname,
value TYPE axt_paramvalue,
END OF lty_attributes
|
||
2 | LTY_CODE_SLOTS | Protected | See coding | 20090325 | BEGIN OF lty_code_slots,
name TYPE axt_name,
include TYPE progname,
END OF lty_code_slots
|
||
3 | LTY_PARAMETERS | Protected | See coding | 20080911 | BEGIN OF lty_parameters,
type TYPE seopardecl,
name TYPE c LENGTH 30,
typing TYPE seotyptype,
data_type TYPE rollname,
END OF lty_parameters
|
||
4 | LTY_T_ATTRIBUTES | Protected | See coding | 20080926 | lty_t_attributes TYPE STANDARD TABLE OF lty_attributes
WITH NON-UNIQUE KEY name
|
||
5 | LTY_T_CODE_SLOTS | Protected | See coding | 20090325 | lty_t_code_slots TYPE STANDARD TABLE OF lty_code_slots
WITH NON-UNIQUE KEY name
|
||
6 | LTY_T_PARAMETERS | Protected | See coding | 20080911 | lty_t_parameters TYPE STANDARD TABLE OF lty_parameters
WITH NON-UNIQUE KEY name
|
Method Signatures
Method ADD_CONTEXT_PARAM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_NAME | Call by reference | Type reference (TYPE) | AXT_PARAMETER | Parameter | 20080911 | ||
2 | Importing | IV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20080911 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_AXT_DATA_ALREADY_EXISTS | Data already exists error | 20080911 | |
2 | CX_AXT_DATA_INVALID | Data invalid error | 20080925 |
Method ADD_TEMPLATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20090331 | |||
2 | Importing | IV_TEMPLATE | Call by reference | Type reference (TYPE) | PROGNAME | 20090331 | |||
3 | Importing | IV_VERSION | Call by reference | Type reference (TYPE) | AXT_PARAMVALUE | Parameter Value | 20090401 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_AXT_DATA_ALREADY_EXISTS | Data already exists error | 20090401 | |
2 | CX_AXT_DATA_INVALID | Data invalid error | 20090401 |
Method CHECK_MANDATORY_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TEMPLATE | Call by reference | Type reference (TYPE) | PROGNAME | 20081015 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_AXT_DATA_INVALID | Data invalid error | 20081015 |
Method CHECK_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080925 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_AXT_DATA_INVALID | Data invalid error | 20080925 |
Method CREATE_CODE_GENERATOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CLASS | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20081015 | ||
2 | Importing | IV_ELEMENT_TYPE | Call by reference | Type reference (TYPE) | AXT_OBJECT_TYPE | Object Type | 20081015 | ||
3 | Importing | IV_ID | Call by reference | Type reference (TYPE) | AXT_GUID | GUID | 20081015 | ||
4 | Importing | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | AXT_NAME | Name | 20081015 | ||
5 | Importing | IV_TEMPLATE_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20081015 | |||
6 | Importing | IV_TEMPLATE_VERSION | Call by reference | Type reference (TYPE) | AXT_TEMPLATE_VERSION | Code template version | 20081015 | ||
7 | Returning | RR_ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_AXT_ELEMENT | General generation element | 20081015 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_AXT_DATA_INVALID | Data invalid error | 20081015 |
Method DESERIALIZE_PARAM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CV_DATA | Call by reference | Type reference (TYPE) | ANY | 20080925 | |||
2 | Importing | IR_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080925 | ||
3 | Importing | IT_DETAILS | Call by reference | Type reference (TYPE) | AXTT_CAT_OBJ_DTL | Object details | 20080925 | ||
4 | Importing | IT_TEXTS | Call by reference | Type reference (TYPE) | AXTT_CAT_OBJ_TEXT | Object texts | 20080925 | ||
5 | Importing | IV_COMP_NAME | Call by reference | Type reference (TYPE) | STRING | 20080925 | |||
6 | Importing | IV_ORDER | Call by reference | Type reference (TYPE) | AXT_ORDER | List Order | 20080925 | ||
7 | Importing | IV_PARENT | Call by reference | Type reference (TYPE) | AXT_SEQUENCE | Sequence Number for Element | 20080925 |
Method DESERIALIZE_PARAM on class CL_AXT_CODE_GENERATOR has no exception.
Method DETERMINE_TEMPLATE_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TEMPLATE | Call by reference | Type reference (TYPE) | PROGNAME | 20090401 | |||
2 | Returning | RV_VERSION | Value transfer | Type reference (TYPE) | AXT_PARAMVALUE | Parameter Value | 20081216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_AXT_DATA_NOT_FOUND | Data not found error | 20090414 |
Method GENERATE_CODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_ATTRIBUTES | Call by reference | Type reference (TYPE) | LTY_T_ATTRIBUTES | Attribute changes | 20080911 | ||
2 | Exporting | ET_CODE | Call by reference | Type reference (TYPE) | CL_CMP_COMPOSER=>TAB_CODE | Generated code | 20080911 | ||
3 | Exporting | ET_PARAMETERS | Call by reference | Type reference (TYPE) | LTY_T_PARAMETERS | Parameter adjustments | 20080911 | ||
4 | Exporting | EV_INHERITANCE | Call by reference | Type reference (TYPE) | SEOCLSNAME | New superclass | 20081008 | ||
5 | Importing | IT_CODE_SLOTS | Call by reference | Type reference (TYPE) | LTY_T_CODE_SLOTS | 20090325 | |||
6 | Importing | IT_TEMPLATE_CODE | Call by reference | Type reference (TYPE) | CL_CMP_COMPOSER=>TAB_CODE | Template code | 20080910 | ||
7 | Importing | IV_BREAK_TO_72_CHAR | Call by reference | Type reference (TYPE) | AXT_BOOLEAN | Boolean | 20080930 | ||
8 | Importing | IV_DECOMMENT | Call by reference | Type reference (TYPE) | AXT_BOOLEAN | Boolean | 20080930 | ||
9 | Importing | IV_PRETTY_PRINTER | Call by reference | Type reference (TYPE) | AXT_BOOLEAN | Boolean | 20090128 | ||
10 | Importing | IV_TEMPLATE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20080922 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_AXT_OPERATION_FAILED | Operation error | 20080910 |
Method GET_CONTEXT_PARAMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_PARAMS | Call by reference | Type reference (TYPE) | AXTT_CODE_CONTEXT | Code generator context | 20080926 |
Method GET_CONTEXT_PARAMS on class CL_AXT_CODE_GENERATOR has no exception.
Method GET_TEMPLATE_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_TEMPLATE_NAME | Value transfer | Type reference (TYPE) | PROGNAME | 20080930 |
Method GET_TEMPLATE_NAME on class CL_AXT_CODE_GENERATOR has no exception.
Method GET_TEMPLATE_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_TEMPLATE_VERSION | Value transfer | Type reference (TYPE) | AXT_TEMPLATE_VERSION | Code template version | 20081015 |
Method GET_TEMPLATE_VERSION on class CL_AXT_CODE_GENERATOR has no exception.
Method MOVE_SOURCE_TO_72_CHAR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_SOURCE | Call by reference | Type reference (TYPE) | CL_CMP_COMPOSER=>TAB_CODE | 20080930 |
Method MOVE_SOURCE_TO_72_CHAR on class CL_AXT_CODE_GENERATOR has no exception.
Method SERIALIZE_PARAM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_DETAILS | Call by reference | Type reference (TYPE) | AXTT_CAT_OBJ_DTL | Object details | 20080925 | ||
2 | Changing | CT_TEXTS | Call by reference | Type reference (TYPE) | AXTT_CAT_OBJ_TEXT | Object texts | 20080925 | ||
3 | Changing | CV_DETAIL_ID | Call by reference | Type reference (TYPE) | AXT_SEQUENCE | Sequence Number for Element | 20080925 | ||
4 | Importing | IR_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080925 | ||
5 | Importing | IV_COMP_NAME | Call by reference | Type reference (TYPE) | STRING | 20080925 | |||
6 | Importing | IV_DATA | Call by reference | Type reference (TYPE) | ANY | 20080925 | |||
7 | Importing | IV_ORDER | Call by reference | Type reference (TYPE) | AXT_ORDER | List Order | 20080925 | ||
8 | Importing | IV_PARENT | Call by reference | Type reference (TYPE) | AXT_SEQUENCE | Sequence Number for Element | 20080925 |
Method SERIALIZE_PARAM on class CL_AXT_CODE_GENERATOR has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 701 |