Hierarchy
⤷
⤷
Properties
| Class | CL_HDS_GENERATOR | |
| Short Description | Program Generator HDS | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | HDS_GENERATOR | HDS: Generator |
| Created | 20050307 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HDS_GENERATOR has no forward declaration.
Interfaces
Class CL_HDS_GENERATOR has no interface implemented.
Friends
Class CL_HDS_GENERATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | SY-MANDT | Client ID of Current User | 20050311 | |||
| 2 | Constant | Private | Type reference (TYPE) | HDS_DTE_GEN_BUILDVERSION | 4 | Construction Version for Generated Code | 20050310 | ||
| 3 | Constant | Private | See coding | '/1SAP1/HDST' | Prefix for Generator | 20050317 | |||
| 4 | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | 'C' | Generation Status | 20050320 | ||
| 5 | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | 'E' | Generation Status | 20050320 | ||
| 6 | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | 'I' | Generation Status | 20050320 | ||
| 7 | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | '-' | Generation Status | 20050320 | ||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface for Back End | 20060526 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_CALLBACK_BE | Callback Interface for Back End | 20060526 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_CALLBACK_BE_SOURCE | Callback Interface for Back End | 20060526 | |||
| 11 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_CALLBACK_BE_TARGET | Callback Interface for Back End | 20060526 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HDS_GENPROG_ACCESS | Execution of Query in Generator | 20060421 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | TYP_REF_NODE | Tree Root Node | 20060421 | |||
| 14 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HDS_DERIVATION_TREE | Derivation Tree | 20060421 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TABNAME | Source Structure | 20050606 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | HDS_STR_GEN_CAT | Catalog for Generation | 20050319 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | HDS_STR_TREE_ACT | Derivation Tree as Structure | 20050607 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | HDS_STR_TREE_ID | Identification of a Tree | 20050310 | |||
| 19 | Static Attribute | Private | Type reference (TYPE) | NUMC4 | Count Parameters | 20050323 | |||
| 20 | Static Attribute | Private | Type reference (TYPE) | CCCATEGORY | Client control: Role of client (production, test,...) | 20050606 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Module All Match | 20050317 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Module LOAD | 20050317 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Module LOAD | 20050606 | |||
| 24 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Master Program | 20050319 | |||
| 25 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Private Section | 20050319 | |||
| 26 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Private Section | 20070326 | |||
| 27 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Sketch Tree | 20050321 | |||
| 28 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_FIELDS | Table of Fields | 20050606 | |||
| 29 | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_FIELDS | Table of Fields (Cataolg) | 20050606 | |||
| 30 | Instance attribute | Private | Type reference (TYPE) | TYP_TAB_NODE | Nodes in Tree | 20050310 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20050313 | ||
| 2 | Instance method | Private | Method | Generates Code for LOAD Module | 20050606 | |
| 3 | Instance method | Private | Method | Generates Code of Framework Program | 20050319 | |
| 4 | Instance method | Private | Method | Supplies Code for a Node (Recursive) | 20050317 | |
| 5 | Instance method | Private | Method | Supplies Source Code for TOP Include | 20050319 | |
| 6 | Instance method | Private | Method | 20050317 | ||
| 7 | Instance method | Private | Method | Supplies Source Code for TOP Include | 20070326 | |
| 8 | Instance method | Private | Method | Generates Sketch of Tree | 20050321 | |
| 9 | Instance method | Private | Method | Generates Meta Data Data Type | 20050606 | |
| 10 | Instance method | Private | Method | Supplies Name for a New Program | 20050310 | |
| 11 | Instance method | Private | Method | Check Generated Program | 20050318 | |
| 12 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20050606 | |
| 13 | Instance method | Public | Method | Supplies Access Object for Queries to Generated Program | 20050321 | |
| 14 | Instance method | Private | Method | Supplies Access Object for Queries to Generated Program | 20050321 | |
| 15 | Instance method | Private | Method | Delete Lock | 20050320 | |
| 16 | Instance method | Private | Method | Set Lock for Generation | 20050320 | |
| 17 | Instance method | Public | Method | Generates Program for Tree | 20050315 | |
| 18 | Instance method | Public | Method | Supplies Status of Generated Program | 20050310 | |
| 19 | Instance method | Private | Method | Initializes Generation | 20050606 | |
| 20 | Instance method | Private | Method | Saves Generated Code Function Group with Modules | 20050317 | |
| 21 | Instance method | Private | Method | Loads Catalog for Current Tree | 20050318 | |
| 22 | Instance method | Private | Method | CONSTRUCTOR | 20060526 | |
| 23 | Static method | Public | Method | Create Instance | 20050308 | |
| 24 | Static method | Public | Method | Supplies Program Name for a Tree | 20050421 | |
| 25 | Static method | Public | Method | Determine Status of Generator | 20050607 | |
| 26 | Instance method | Private | Method | Update Catalog After Generation | 20050318 |
Events
Class CL_HDS_GENERATOR has no event.
Types
Class CL_HDS_GENERATOR has no local type.
Method Signatures
Method APPEND_SUBTREE_TO_NODETAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_NODE_NO | Value transfer | Type reference (TYPE) | HDS_DTE_NODE_ORDER_NO | Knotennummer für Reihenfolge | 20050406 | |||
| 2 | E_CHILD_NO | Call by reference | Type reference (TYPE) | HDS_DTE_NODE_ORDER_NO | Knotennummer für Reihenfolge | 20081021 | |||
| 3 | I_LEVEL | Value transfer | Type reference (TYPE) | I | Hierarchieebene | 20050321 | |||
| 4 | I_PARENT_NO | Value transfer | Type reference (TYPE) | HDS_DTE_NODE_ORDER_NO | Nummer des Vaterknotens | 20050406 | |||
| 5 | I_REF_NODE | Call by reference | Type reference (TYPE) | TYP_REF_NODE | Knoten | 20060421 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20050313 |
Method BUILD_CODE_CONSTRUCTOR Signature
Method BUILD_CODE_CONSTRUCTOR on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060314 |
Method BUILD_CODE_FRAME Signature
Method BUILD_CODE_FRAME on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060314 |
Method BUILD_CODE_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STR_NODE | Call by reference | Type reference (TYPE) | TYP_STR_NODE | 20050317 | ||||
| 2 | I_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Typ des Query Bausteins | 20050317 | |||
| 3 | R_TAB_CODE | Value transfer | Type reference (TYPE) | HDS_TAB_GEN_CODE | Tabelle aus generiertem Programmcode | 20050317 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060314 |
Method BUILD_CODE_PRIVATE Signature
Method BUILD_CODE_PRIVATE on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060314 |
Method BUILD_CODE_QUERY Signature
Method BUILD_CODE_QUERY on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060314 |
Method BUILD_CODE_TARGET_GETTER Signature
Method BUILD_CODE_TARGET_GETTER on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20070326 |
Method BUILD_CODE_TREE_SKETCH Signature
Method BUILD_CODE_TREE_SKETCH on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060314 |
Method BUILD_FIELDTAB Signature
Method BUILD_FIELDTAB on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20050606 |
Method BUILD_NEW_GENPROG_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_PROG | Value transfer | Type reference (TYPE) | PROGNAME | ABAP-Programmname | 20050319 |
Method BUILD_NEW_GENPROG_NAME on class CL_HDS_GENERATOR has no exception.
Method CHECK_GENPROG Signature
Method CHECK_GENPROG on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20050318 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_HDS_GENERATOR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HDS_GENERATOR has no exception.
Method CREATE_ACCESS_TO_GENPROG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FLG_NO_GENERATION | Value transfer | Type reference (TYPE) | HDS_DTE_GEN_NO_GENERATION | Kennzeichen: Generierung unterdrücken | 20050322 | |||
| 2 | R_REF_GENPROG_ACCESS | Value transfer | Object reference (TYPE REF TO) | CL_HDS_GENPROG_ACCESS | Ausführung der Queries im Generat | 20060427 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generiertes Programm kann nicht aufgerufen werden | 20060601 | ||
| 2 | Angefordertes Objekt/Ressource konnte nicht gefunden werden | 20050606 |
Method CREATE_GENPROG_ACCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_REF_GENPROG_ACCESS | Value transfer | Object reference (TYPE REF TO) | CL_HDS_GENPROG_ACCESS | Ausführung der Queries im Generat | 20060421 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generiertes Programm kann nicht aufgerufen werden | 20060601 |
Method DEQUEUE_GEN Signature
Method DEQUEUE_GEN on class CL_HDS_GENERATOR has no parameter.
Method DEQUEUE_GEN on class CL_HDS_GENERATOR has no exception.
Method ENQUEUE_GEN Signature
Method ENQUEUE_GEN on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zugriffsfehler aufgrund von Systemeinstellungen | 20050320 |
Method GENERATE_PROGRAM Signature
Method GENERATE_PROGRAM on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060601 | ||
| 2 | Angefordertes Objekt/Ressource konnte nicht gefunden werden | 20050606 |
Method GET_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FLG_BYPASSING_BUFFER | Value transfer | Type reference (TYPE) | CHAR1 | Datenbankpuffer umgehen | 20050320 | |||
| 2 | R_STATE | Value transfer | Type reference (TYPE) | HDS_DTE_GEN_STATE | Generierungsstatus | 20050320 |
Method GET_STATE on class CL_HDS_GENERATOR has no exception.
Method INIT_GENERATION Signature
Method INIT_GENERATION on class CL_HDS_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20060601 | ||
| 2 | Angefordertes Objekt/Ressource konnte nicht gefunden werden | 20050606 |
Method INSERT_CODE Signature
Method INSERT_CODE on class CL_HDS_GENERATOR has no parameter.
Method INSERT_CODE on class CL_HDS_GENERATOR has no exception.
Method LOAD_GENCAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FLG_BYPASSING_BUFFER | Value transfer | Type reference (TYPE) | CHAR1 | Puffer umgehen | 20050320 |
Method LOAD_GENCAT on class CL_HDS_GENERATOR has no exception.
Method QUASI_CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPL_ID | Value transfer | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20060526 | |||
| 2 | I_CLIENT | Value transfer | Type reference (TYPE) | SY-MANDT | SY-MANDT | Mandantenkennung des aktuellen Benutzers | 20060526 | ||
| 3 | I_REF_CALLBACKS | Call by reference | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface für Backend | 20060526 | |||
| 4 | I_REF_TREECATG | Value transfer | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | 20070316 | ||||
| 5 | I_TREE_ID | Value transfer | Type reference (TYPE) | HDS_DTE_TREE_ID | Ableitungsbaum | 20060526 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Anbindung der Anwendung | 20060526 |
Method S_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPL_ID | Call by reference | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20050606 | |||
| 2 | I_CLIENT | Call by reference | Type reference (TYPE) | SY-MANDT | SY-MANDT | Mandantenkennung des aktuellen Benutzers | 20050606 | ||
| 3 | I_REF_CALLBACKS | Call by reference | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface für Backend | 20060526 | |||
| 4 | I_REF_TREECATG | Call by reference | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | Type eines Ableitungsbaums | 20070316 | |||
| 5 | I_TREE_ID | Call by reference | Type reference (TYPE) | HDS_DTE_TREE_ID | Ableitungsbaum | 20050606 | |||
| 6 | R_REF_GENERATOR | Value transfer | Object reference (TYPE REF TO) | CL_HDS_GENERATOR | Codegenerierer HDS | 20060526 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in der Anwendung | 20050606 | ||
| 2 | Methodenparameter wurde nur initial versorgt | 20050308 |
Method S_GET_GENPROG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPL_ID | Call by reference | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20050421 | |||
| 2 | I_REF_TREECATG | Call by reference | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | 20070316 | ||||
| 3 | I_TREE_ID | Call by reference | Type reference (TYPE) | HDS_DTE_TREE_ID | ID des Ableitungsbaums | 20050421 | |||
| 4 | R_GENPROG | Value transfer | Type reference (TYPE) | PROGNAME | ABAP-Programmname | 20050421 |
Method S_GET_GENPROG on class CL_HDS_GENERATOR has no exception.
Method S_GET_GENPROG_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPL_ID | Call by reference | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20050607 | |||
| 2 | I_CLIENT | Value transfer | Type reference (TYPE) | SY-MANDT | SY-MANDT | Mandantenkennung des aktuellen Benutzers | 20050607 | ||
| 3 | I_REF_CALLBACKS | Call by reference | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface für Backend | 20060526 | |||
| 4 | I_REF_TREECATG | Call by reference | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | Typ des Ableitungsbaums | 20070316 | |||
| 5 | I_TREE_ID | Call by reference | Type reference (TYPE) | HDS_DTE_TREE_ID | ID/Name des Ableitungsbaums | 20050607 | |||
| 6 | R_GENPROG_STATE | Value transfer | Type reference (TYPE) | HDS_DTE_GEN_STATE | Generierungsstatus | 20050607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in der Anwendung | 20050607 |
Method UPDATE_GENCAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STATE | Value transfer | Type reference (TYPE) | HDS_DTE_GEN_STATE | Generierungsstatus | 20050320 |
Method UPDATE_GENCAT on class CL_HDS_GENERATOR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 40 |