SAP ABAP Class CL_CACS_GENERATOR_REPLACEMENT (Auxiliary Class: Replaces Package Name With Application Name)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
ICM (Application Component) Incentive and Commission Management (ICM)
⤷
CACSGR (Package) ICM: Generation
⤷
⤷
Properties
| Class | CL_CACS_GENERATOR_REPLACEMENT | |
| Short Description | Auxiliary Class: Replaces Package Name With Application Name | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CACSGR | ICM: Generation |
| Created | 20060817 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CACS_GENERATOR_REPLACEMENT has no interface implemented.
Friends
Class CL_CACS_GENERATOR_REPLACEMENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | STRING | '"* no generating' | Escape: Do Not Generate Lines | 20060817 | ||
| 2 | Instance attribute | Protected | Type reference (TYPE) | STRING | '"* no instance' | Escape: No Replacement of Instance | 20060817 | ||
| 3 | Constant | Protected | Type reference (TYPE) | MTY_REPLACEMENT_TYPE | 'I' | Replacement Type: Pattern/Instance | 20060817 | ||
| 4 | Constant | Protected | Type reference (TYPE) | MTY_REPLACEMENT_TYPE | 'P' | Replacement Type: Pattern | 20060817 | ||
| 5 | Constant | Protected | Type reference (TYPE) | MTY_REPLACEMENT_TYPE | 'S' | Replacement Type: String Replacement | 20060817 | ||
| 6 | Instance attribute | Protected | Type reference (TYPE) | MTY_TT_REPLACEMENT | Replacement Instructions | 20060817 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20060817 | |
| 2 | Static method | Public | Method | 20060817 | ||
| 3 | Static method | Public | Method | Generates Instance Based on Model Name | 20060817 | |
| 4 | Instance method | Public | Method | 20060817 |
Events
Class CL_CACS_GENERATOR_REPLACEMENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | MTY_REPLACEMENT_TYPE | Protected | See coding | 20060817 | |
||
| 2 | MTY_S_REPLACEMENT | Protected | See coding | 20060817 | |
||
| 3 | MTY_TT_REPLACEMENT | Protected | See coding | 20060817 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_MOD_INSTANCE | Call by reference | Type reference (TYPE) | CACSINSTNR | Modell: Instanznummer | 20060817 | |||
| 2 | ID_MOD_PACKAGE | Call by reference | Type reference (TYPE) | CACSAPPL | Modell: Paketname | 20060817 | |||
| 3 | ID_NEW_APPLICATION | Call by reference | Type reference (TYPE) | CACSAPPL | Anwendungsobjekt: Anwendung | 20060817 | |||
| 4 | ID_NEW_INSTANCE | Call by reference | Type reference (TYPE) | CACSINSTNR | Anwendungsobjekt: Instanznummer | 20060817 |
Method CONSTRUCTOR on class CL_CACS_GENERATOR_REPLACEMENT has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_MOD_INSTANCE | Call by reference | Type reference (TYPE) | CACSINSTNR | Modell: Instanznummer | 20060817 | |||
| 2 | ID_MOD_PACKAGE | Call by reference | Type reference (TYPE) | CACSAPPL | Modell: Paketname | 20060817 | |||
| 3 | ID_NEW_APPLICATION | Call by reference | Type reference (TYPE) | CACSAPPL | Anwendungsobjekt: Anwendung | 20060817 | |||
| 4 | ID_NEW_INSTANCE | Call by reference | Type reference (TYPE) | CACSINSTNR | Anwendungsobjekt: Instanznummer | 20060817 | |||
| 5 | RO_REPLACEMENT | Value transfer | Object reference (TYPE REF TO) | CL_CACS_GENERATOR_REPLACEMENT | Hilfsklasse: Erstzen der Paket- durch Anwendungsnamen | 20060817 |
Method CREATE on class CL_CACS_GENERATOR_REPLACEMENT has no exception.
Method CREATE_BY_MODNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_MOD_OBJNAME | Call by reference | Type reference (TYPE) | ANY | Modellname | 20060817 | |||
| 2 | ID_NEW_OBJNAME | Call by reference | Type reference (TYPE) | ANY | Objektname (anwendungsabhängig) | 20060817 | |||
| 3 | ID_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Objekttyp | 20060817 | |||
| 4 | RO_REPLACEMENT | Value transfer | Object reference (TYPE REF TO) | CL_CACS_GENERATOR_REPLACEMENT | Hilfsklasse: Erstzen der Paket- durch Anwendungsnamen | 20060817 |
Method CREATE_BY_MODNAME on class CL_CACS_GENERATOR_REPLACEMENT has no exception.
Method REPLACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_DATA | Call by reference | Type reference (TYPE) | ANY | 20060817 | ||||
| 2 | CT_DATA | Call by reference | Type reference (TYPE) | TABLE | 20060817 | ||||
| 3 | IB_REPLACE_INSTANCE | Call by reference | Type reference (TYPE) | BOOLEAN_FLG | ABAP_TRUE | Boolsche Variable (X=true, space=false) | 20060817 | ||
| 4 | IB_REPLACE_IN_STRING | Call by reference | Type reference (TYPE) | BOOLEAN_FLG | ABAP_TRUE | Boolsche Variable (X=true, space=false) | 20060817 | ||
| 5 | IB_REPLACE_PATTERN | Call by reference | Type reference (TYPE) | BOOLEAN_FLG | ABAP_TRUE | Boolsche Variable (X=true, space=false) | 20060817 |
Method REPLACE on class CL_CACS_GENERATOR_REPLACEMENT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |