SAP ABAP Class CL_LTR_CODE_GENERATOR (Code generator)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-EUR (Application Component) European Monetary Union: Euro
     LTR_DELIM (Package) SAP LT: Delimitation Engine for LT Repository
Properties
Class CL_LTR_CODE_GENERATOR  
Short Description Code generator    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package LTR_DELIM   SAP LT: Delimitation Engine for LT Repository 
Created 20110303   SAP 
Last change 20141030    
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 SEDI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_LTR_CODE_GENERATOR has no interface implemented.
Friends
Class CL_LTR_CODE_GENERATOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_COMMENT Constant Private Type reference (TYPE) CHAR01 '*' Comment sign 20110303
2 GC_CONTROL_EDIT_BEGIN Constant Private Type reference (TYPE) CHAR72 '§EDIT_BEGIN§' Start of editable section 20110303
3 GC_CONTROL_EDIT_END Constant Private Type reference (TYPE) CHAR72 '§EDIT_END§' End of editable section 20110303
4 GC_TAG_CLOSE Constant Private Type reference (TYPE) CHAR72 '@' Tag opener 20110303
5 GC_TAG_COMPLEX Constant Private Type reference (TYPE) CHAR72 '@$' Tag is complex 20110303
6 GC_TAG_OPEN Constant Private Type reference (TYPE) CHAR72 '@' Tag opener 20110303
7 GC_TAG_SIMPLE Constant Private Type reference (TYPE) CHAR72 '@' Tag is complex 20110303
8 GC_TAG_TEMPLATE_BEGIN Constant Private Type reference (TYPE) CHAR72 '@TEMPL@' Tag Template begin 20110303
9 GC_TAG_TEMPLATE_END Constant Private Type reference (TYPE) CHAR72 '@TEMPL_END@' Tag Template end 20110303
10 GR_USER Instance attribute Private Object reference (TYPE REF TO) IF_LTR_ROUTINE_GENERATOR Routine Generator 20110303
11 GT_TEMPLATE Instance attribute Private Type reference (TYPE) TT_TEMPLATE Coding templates 20110303
12 GV_NO_EDIT_FLAG Instance attribute Private Type reference (TYPE) ABAP_BOOL 'X' No Edit Flag 20110303
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110303
2 LINE_ADD Instance method Public Method Add static code line 20110303
3 LINE_INDEX_BUILD Static method Public Method Build line index 20110303
4 TAG_SEARCH Instance method Private Method Search string for tag 20110303
5 TEMPLATE_APPLY Instance method Public Method Apply template 20110303
Events
Class CL_LTR_CODE_GENERATOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CODE72 Private See coding 20110309
2 TS_TEMPLATE Private See coding 20110309
3 TT_CODE72 Private See coding 20110309
4 TT_TEMPLATE Private See coding 20110309
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_USER Call by reference Object reference (TYPE REF TO) IF_LTR_ROUTINE_GENERATOR Routine Generator 20110303
2 Importing IV_TEMPLATE_INCLUDE Call by reference Type reference (TYPE) PROGNAME ABAP program name 20110303

Method CONSTRUCTOR on class CL_LTR_CODE_GENERATOR has no exception.

Method LINE_ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CODE Call by reference Type reference (TYPE) LTR_T_RTN_L Routine code line (sorted) 20110303
2 Importing IV_CODE Call by reference Type reference (TYPE) ANY Coding Line 20110303
3 Changing IV_NO_EDIT_FLAG Call by reference Type reference (TYPE) ABAP_BOOL No Edit Flag 20110303

Method LINE_ADD on class CL_LTR_CODE_GENERATOR has no exception.

Method LINE_INDEX_BUILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LINE_INDEX Call by reference Type reference (TYPE) SEDI_LINDEX LIne index 20110303
2 Importing IT_CODE72 Call by reference Type reference (TYPE) SEDI_SOURCE Source Code 20110303

Method LINE_INDEX_BUILD on class CL_LTR_CODE_GENERATOR has no exception.

Method TAG_SEARCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NAME Call by reference Type reference (TYPE) CHAR72 Name of found tag 20110303
2 Importing IV_CODE Call by reference Type reference (TYPE) CHAR72 Coding Line 20110303
3 Importing IV_TAG Call by reference Type reference (TYPE) CHAR72 Tag 20110303
# Exception Resumable Description Created on
1 NOT_FOUND Tag was not found 20110303

Method TEMPLATE_APPLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CODE Call by reference Type reference (TYPE) LTR_T_RTN_L Routine code line (sorted) 20110303
2 Importing IT_PARAMETER Call by reference Type reference (TYPE) LTR_T_CODE_GEN_PARAM_H Code generation parameter 20110303
3 Importing IV_TEMPLATE Call by reference Type reference (TYPE) CHAR72 Template 20110303

Method TEMPLATE_APPLY on class CL_LTR_CODE_GENERATOR has no exception.
History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_620