Hierarchy
⤷ CA-FS-HDS (Application Component) Hierarchical Derivation Service
⤷ HDS_GENERATOR (Package) HDS: Generator
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 | CLIENT | Instance attribute | Private | Type reference (TYPE) | SY-MANDT | Client ID of Current User | 20050311 | ||
2 | CON_BUILDVERSION | Constant | Private | Type reference (TYPE) | HDS_DTE_GEN_BUILDVERSION | 4 | Construction Version for Generated Code | 20050310 | |
3 | CON_PREFIX_HDSGENT | Constant | Private | See coding | '/1SAP1/HDST' | Prefix for Generator | 20050317 | ||
4 | CON_STATE_CONSISTENT | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | 'C' | Generation Status | 20050320 | |
5 | CON_STATE_DEFECTIVE | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | 'E' | Generation Status | 20050320 | |
6 | CON_STATE_INCONSISTENT | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | 'I' | Generation Status | 20050320 | |
7 | CON_STATE_NOT_EXISTING | Constant | Public | Type reference (TYPE) | HDS_DTE_GEN_STATE | '-' | Generation Status | 20050320 | |
8 | REF_CALLBACKS | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface for Back End | 20060526 | ||
9 | REF_CB | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_CALLBACK_BE | Callback Interface for Back End | 20060526 | ||
10 | REF_CB_SOURCE | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_CALLBACK_BE_SOURCE | Callback Interface for Back End | 20060526 | ||
11 | REF_CB_TARGET | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HDS_CALLBACK_BE_TARGET | Callback Interface for Back End | 20060526 | ||
12 | REF_GENPROG_ACCESS | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HDS_GENPROG_ACCESS | Execution of Query in Generator | 20060421 | ||
13 | REF_ROOT | Instance attribute | Private | Type reference (TYPE) | TYP_REF_NODE | Tree Root Node | 20060421 | ||
14 | REF_TREE | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HDS_DERIVATION_TREE | Derivation Tree | 20060421 | ||
15 | SOURCE_DDIC_STRUC | Instance attribute | Private | Type reference (TYPE) | TABNAME | Source Structure | 20050606 | ||
16 | STR_GENCAT | Instance attribute | Private | Type reference (TYPE) | HDS_STR_GEN_CAT | Catalog for Generation | 20050319 | ||
17 | STR_HEADER_ACT | Instance attribute | Private | Type reference (TYPE) | HDS_STR_TREE_ACT | Derivation Tree as Structure | 20050607 | ||
18 | STR_TREE_ID | Instance attribute | Private | Type reference (TYPE) | HDS_STR_TREE_ID | Identification of a Tree | 20050310 | ||
19 | S_CNT_GEN | Static Attribute | Private | Type reference (TYPE) | NUMC4 | Count Parameters | 20050323 | ||
20 | S_ROLE | Static Attribute | Private | Type reference (TYPE) | CCCATEGORY | Client control: Role of client (production, test,...) | 20050606 | ||
21 | TAB_CODE_AMATCH | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Module All Match | 20050317 | ||
22 | TAB_CODE_BMATCH | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Module LOAD | 20050317 | ||
23 | TAB_CODE_CONSTRUCTOR | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Module LOAD | 20050606 | ||
24 | TAB_CODE_FRAME | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Master Program | 20050319 | ||
25 | TAB_CODE_PRIVATE | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Private Section | 20050319 | ||
26 | TAB_CODE_TARGET_GETTER | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Code for Private Section | 20070326 | ||
27 | TAB_CODE_TREE_SKETCH | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_CODE | Sketch Tree | 20050321 | ||
28 | TAB_FIELDS | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_FIELDS | Table of Fields | 20050606 | ||
29 | TAB_FIELDS_CAT | Instance attribute | Private | Type reference (TYPE) | HDS_TAB_GEN_FIELDS | Table of Fields (Cataolg) | 20050606 | ||
30 | TAB_NODE | Instance attribute | Private | Type reference (TYPE) | TYP_TAB_NODE | Nodes in Tree | 20050310 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | APPEND_SUBTREE_TO_NODETAB | Instance method | Private | Method | 20050313 | |
2 | BUILD_CODE_CONSTRUCTOR | Instance method | Private | Method | Generates Code for LOAD Module | 20050606 |
3 | BUILD_CODE_FRAME | Instance method | Private | Method | Generates Code of Framework Program | 20050319 |
4 | BUILD_CODE_NODE | Instance method | Private | Method | Supplies Code for a Node (Recursive) | 20050317 |
5 | BUILD_CODE_PRIVATE | Instance method | Private | Method | Supplies Source Code for TOP Include | 20050319 |
6 | BUILD_CODE_QUERY | Instance method | Private | Method | 20050317 | |
7 | BUILD_CODE_TARGET_GETTER | Instance method | Private | Method | Supplies Source Code for TOP Include | 20070326 |
8 | BUILD_CODE_TREE_SKETCH | Instance method | Private | Method | Generates Sketch of Tree | 20050321 |
9 | BUILD_FIELDTAB | Instance method | Private | Method | Generates Meta Data Data Type | 20050606 |
10 | BUILD_NEW_GENPROG_NAME | Instance method | Private | Method | Supplies Name for a New Program | 20050310 |
11 | CHECK_GENPROG | Instance method | Private | Method | Check Generated Program | 20050318 |
12 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20050606 |
13 | CREATE_ACCESS_TO_GENPROG | Instance method | Public | Method | Supplies Access Object for Queries to Generated Program | 20050321 |
14 | CREATE_GENPROG_ACCESS | Instance method | Private | Method | Supplies Access Object for Queries to Generated Program | 20050321 |
15 | DEQUEUE_GEN | Instance method | Private | Method | Delete Lock | 20050320 |
16 | ENQUEUE_GEN | Instance method | Private | Method | Set Lock for Generation | 20050320 |
17 | GENERATE_PROGRAM | Instance method | Public | Method | Generates Program for Tree | 20050315 |
18 | GET_STATE | Instance method | Public | Method | Supplies Status of Generated Program | 20050310 |
19 | INIT_GENERATION | Instance method | Private | Method | Initializes Generation | 20050606 |
20 | INSERT_CODE | Instance method | Private | Method | Saves Generated Code Function Group with Modules | 20050317 |
21 | LOAD_GENCAT | Instance method | Private | Method | Loads Catalog for Current Tree | 20050318 |
22 | QUASI_CONSTRUCTOR | Instance method | Private | Method | CONSTRUCTOR | 20060526 |
23 | S_CREATE | Static method | Public | Method | Create Instance | 20050308 |
24 | S_GET_GENPROG | Static method | Public | Method | Supplies Program Name for a Tree | 20050421 |
25 | S_GET_GENPROG_STATE | Static method | Public | Method | Determine Status of Generator | 20050607 |
26 | UPDATE_GENCAT | 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 | Changing | C_NODE_NO | Value transfer | Type reference (TYPE) | HDS_DTE_NODE_ORDER_NO | Knotennummer für Reihenfolge | 20050406 | ||
2 | Exporting | E_CHILD_NO | Call by reference | Type reference (TYPE) | HDS_DTE_NODE_ORDER_NO | Knotennummer für Reihenfolge | 20081021 | ||
3 | Importing | I_LEVEL | Value transfer | Type reference (TYPE) | I | Hierarchieebene | 20050321 | ||
4 | Importing | I_PARENT_NO | Value transfer | Type reference (TYPE) | HDS_DTE_NODE_ORDER_NO | Nummer des Vaterknotens | 20050406 | ||
5 | Importing | I_REF_NODE | Call by reference | Type reference (TYPE) | TYP_REF_NODE | Knoten | 20060421 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HDS_GENERATION_FAILURE | 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 | CX_STATIC_CHECK | 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 | CX_STATIC_CHECK | Generierung fehlgeschlagen | 20060314 |
Method BUILD_CODE_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_STR_NODE | Call by reference | Type reference (TYPE) | TYP_STR_NODE | 20050317 | |||
2 | Importing | I_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Typ des Query Bausteins | 20050317 | ||
3 | Returning | R_TAB_CODE | Value transfer | Type reference (TYPE) | HDS_TAB_GEN_CODE | Tabelle aus generiertem Programmcode | 20050317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_STATIC_CHECK | 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 | CX_STATIC_CHECK | 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 | CX_STATIC_CHECK | 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 | CX_STATIC_CHECK | 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 | CX_STATIC_CHECK | Generierung fehlgeschlagen | 20060314 |
Method BUILD_FIELDTAB Signature
Method BUILD_FIELDTAB on class CL_HDS_GENERATOR has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HDS_APPLICATION_ERROR | Generierung fehlgeschlagen | 20050606 |
Method BUILD_NEW_GENPROG_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | CX_HDS_GENERATION_FAILURE | 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 | Importing | I_FLG_NO_GENERATION | Value transfer | Type reference (TYPE) | HDS_DTE_GEN_NO_GENERATION | Kennzeichen: Generierung unterdrücken | 20050322 | ||
2 | Returning | 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 | CX_HDS_FAILURE | Generiertes Programm kann nicht aufgerufen werden | 20060601 | |
2 | CX_HDS_NOT_FOUND | 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 | Returning | 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 | CX_HDS_FAILURE | 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 | CX_HDS_ACCESS_FAILURE | 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 | CX_HDS_FAILURE | Generierung fehlgeschlagen | 20060601 | |
2 | CX_HDS_NOT_FOUND | 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 | Importing | I_FLG_BYPASSING_BUFFER | Value transfer | Type reference (TYPE) | CHAR1 | Datenbankpuffer umgehen | 20050320 | ||
2 | Returning | 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 | CX_HDS_FAILURE | Generierung fehlgeschlagen | 20060601 | |
2 | CX_HDS_NOT_FOUND | 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 | Importing | 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 | Importing | I_APPL_ID | Value transfer | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20060526 | ||
2 | Importing | I_CLIENT | Value transfer | Type reference (TYPE) | SY-MANDT | SY-MANDT | Mandantenkennung des aktuellen Benutzers | 20060526 | |
3 | Importing | I_REF_CALLBACKS | Call by reference | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface für Backend | 20060526 | ||
4 | Importing | I_REF_TREECATG | Value transfer | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | 20070316 | |||
5 | Importing | I_TREE_ID | Value transfer | Type reference (TYPE) | HDS_DTE_TREE_ID | Ableitungsbaum | 20060526 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HDS_APPLICATION_ERROR | 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 | Importing | I_APPL_ID | Call by reference | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20050606 | ||
2 | Importing | I_CLIENT | Call by reference | Type reference (TYPE) | SY-MANDT | SY-MANDT | Mandantenkennung des aktuellen Benutzers | 20050606 | |
3 | Importing | I_REF_CALLBACKS | Call by reference | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface für Backend | 20060526 | ||
4 | Importing | I_REF_TREECATG | Call by reference | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | Type eines Ableitungsbaums | 20070316 | ||
5 | Importing | I_TREE_ID | Call by reference | Type reference (TYPE) | HDS_DTE_TREE_ID | Ableitungsbaum | 20050606 | ||
6 | Returning | R_REF_GENERATOR | Value transfer | Object reference (TYPE REF TO) | CL_HDS_GENERATOR | Codegenerierer HDS | 20060526 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HDS_APPLICATION_ERROR | Fehler in der Anwendung | 20050606 | |
2 | CX_HDS_INITIAL_PARAMETER | 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 | Importing | I_APPL_ID | Call by reference | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20050421 | ||
2 | Importing | I_REF_TREECATG | Call by reference | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | 20070316 | |||
3 | Importing | I_TREE_ID | Call by reference | Type reference (TYPE) | HDS_DTE_TREE_ID | ID des Ableitungsbaums | 20050421 | ||
4 | Returning | 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 | Importing | I_APPL_ID | Call by reference | Type reference (TYPE) | HDS_DTE_APPL_ID | Anwendungsidentifikation | 20050607 | ||
2 | Importing | I_CLIENT | Value transfer | Type reference (TYPE) | SY-MANDT | SY-MANDT | Mandantenkennung des aktuellen Benutzers | 20050607 | |
3 | Importing | I_REF_CALLBACKS | Call by reference | Object reference (TYPE REF TO) | IF_HDS_GET_CALLBACKS_BE | Callback Interface für Backend | 20060526 | ||
4 | Importing | I_REF_TREECATG | Call by reference | Object reference (TYPE REF TO) | CE_HDS_TREE_CATEGORY | Typ des Ableitungsbaums | 20070316 | ||
5 | Importing | I_TREE_ID | Call by reference | Type reference (TYPE) | HDS_DTE_TREE_ID | ID/Name des Ableitungsbaums | 20050607 | ||
6 | Returning | R_GENPROG_STATE | Value transfer | Type reference (TYPE) | HDS_DTE_GEN_STATE | Generierungsstatus | 20050607 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HDS_APPLICATION_ERROR | Fehler in der Anwendung | 20050607 |
Method UPDATE_GENCAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | 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 |