SAP ABAP Class CL_CRM_WSC_DDIC_STRUC_CREATOR (WSC Target Tree Creator)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI-WST (Application Component) Web Services Tool
⤷
CRM_GENIL_WSC (Package) GenIL Component for Web Service Consumption
⤷
⤷
Properties
| Class | CL_CRM_WSC_DDIC_STRUC_CREATOR | |
| Short Description | WSC Target Tree Creator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CRM_GENIL_WSC | GenIL Component for Web Service Consumption |
| Created | 20071206 | SAP |
| Last change | 20100303 | 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_CRM_WSC_DDIC_STRUC_CREATOR has no interface implemented.
Friends
Class CL_CRM_WSC_DDIC_STRUC_CREATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | DEVCLASS | '/1CRMWSC/WSC_GEN' | Package | 20090331 | ||
| 2 | Constant | Public | Type reference (TYPE) | NAMESPACE | '/1CRMWSC/' | Namespace | 20090331 | ||
| 3 | Constant | Public | Type reference (TYPE) | CRMT_WSC_ACTFLAG | 'A' | WSC Activation Flag | 20071206 | ||
| 4 | Constant | Public | Type reference (TYPE) | CRMT_WSC_ACTFLAG | 'I' | WSC Activation Flag | 20071206 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Activation of generated DDIC-Objects | 20071206 | |
| 2 | Static method | Private | Method | Adds fields to fieldtable for structure | 20071206 | |
| 3 | Static method | Private | Method | Adds Keyfield to fieldtabel for Structure | 20071206 | |
| 4 | Static method | Private | Method | Checks if a DDIC-Name is already used or in activation-list | 20071206 | |
| 5 | Static method | Private | Method | Creates a structure | 20071206 | |
| 6 | Static method | Public | Method | Creates the target tree | 20080114 | |
| 7 | Static method | Private | Method | Creates a table | 20071214 | |
| 8 | Static method | Public | Method | Deletes Structures | 20071206 | |
| 9 | Static method | Private | Method | Generates a Unique DDIC-Object Name | 20071206 | |
| 10 | Static method | Private | Method | Generates all Structures for a tree | 20071206 | |
| 11 | Static method | Public | Method | Get generation namespace | 20071206 | |
| 12 | Static method | Private | Method | Generates all Structures for a tree | 20090508 | |
| 13 | Static method | Public | Method | Creates the target tree | 20090508 | |
| 14 | Static method | Private | Method | Adds fields to fieldtable for structure | 20071212 | |
| 15 | Static method | Private | Method | Write TADIR-Entry | 20071206 |
Events
Class CL_CRM_WSC_DDIC_STRUC_CREATOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LS_DD03P_TAB | Public | Type reference (TYPE) | DD03P | 20071206 | |
|
| 2 | LT_DD03P_TAB | Public | See coding | 20071206 | lt_dd03p_tab TYPE TABLE OF dd03p
|
Method Signatures
Method ACTIVATE_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_GENSTRUC | Call by reference | Type reference (TYPE) | CRMT_WSC_GENSTRUC_TAB | internal table (activation list) | 20071206 | |||
| 2 | IS_TARGET_NODE | Call by reference | Type reference (TYPE) | CRMS_WSC_OBJTREE | Global Unique ID for table | 20071206 | |||
| 3 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | STRUKNAME | UI Object Type | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
Method ADD_FIELD_TO_FIELDTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DD03P_TAB | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | 20071206 | ||||
| 2 | IS_WSC_OBJTREE | Call by reference | Type reference (TYPE) | CRMS_WSC_OBJTREE | BOL Service Data Manager : table of CRMS_BSDM_DFIELD | 20071206 | |||
| 3 | IV_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
Method ADD_KEYFIELD_TO_FIELDTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DD03P_TAB | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | 20071206 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for static office intergration exceptions | 20071207 |
Method CHECK_DDIC_FOR_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STATUS | Call by reference | Type reference (TYPE) | CHAR1 | 20071206 | ||||
| 2 | IV_TYPE_NAME | Call by reference | Type reference (TYPE) | OBJECTNAME | Name of Dictionary Type | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
Method CREATE_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TARGET_NODE | Call by reference | Type reference (TYPE) | CRMS_WSC_OBJTREE | 20071206 | ||||
| 2 | CT_GENSTRUC | Call by reference | Type reference (TYPE) | CRMT_WSC_GENSTRUC_TAB | WSC Table for generated structures | 20071206 | |||
| 3 | IS_KEY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20071206 | |||
| 4 | IT_DD03P_TAB | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | 20071206 | ||||
| 5 | IV_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20090331 | |||
| 6 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | STRUKNAME | Name of a structure | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
Method CREATE_STRUC_FOR_TARGET_TREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TREEMODEL | Call by reference | Type reference (TYPE) | CRMS_WSC_TREEMODEL | Source tree | 20080114 | |||
| 2 | IV_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20090331 | |||
| 3 | IV_NAMESPACE | Call by reference | Type reference (TYPE) | NAMESPACE | Namespace | 20090331 | |||
| 4 | IV_PREFIX | Call by reference | Type reference (TYPE) | CRMT_WSC_PREFIX | Prefix for Component | 20080114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20080114 |
Method CREATE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TARGET_NODE | Call by reference | Type reference (TYPE) | CRMS_WSC_OBJTREE | 20071214 | ||||
| 2 | CT_GENSTRUC | Call by reference | Type reference (TYPE) | CRMT_WSC_GENSTRUC_TAB | WSC Table for generated structures | 20071214 | |||
| 3 | IV_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20090331 | |||
| 4 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | STRUKNAME | Name of a structure | 20071214 | |||
| 5 | IV_TABLENAME | Call by reference | Type reference (TYPE) | STRUKNAME | Name of a structure | 20071214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071214 |
Method DELETE_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_GENSTRUC | Call by reference | Type reference (TYPE) | CRMT_WSC_GENSTRUC_TAB | Error Messages | 20071206 | |||
| 2 | IV_OBJPRX | Call by reference | Type reference (TYPE) | CRMT_WSC_UUID | UUID for CRM Web Service Consumption Tool | 20071206 | |||
| 3 | IV_STRUCNAME | Call by reference | Type reference (TYPE) | STRUKNAME | Single-Character Flag | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
Method GENERATE_DDIC_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_WSC_NODE | Call by reference | Type reference (TYPE) | CRMS_WSC_OBJTREE | Data Type in ABAP Dictionary | 20071206 | |||
| 2 | CT_GENSTRUC | Call by reference | Type reference (TYPE) | CRMT_WSC_GENSTRUC_TAB | WSC Table for generated structures | 20071206 | |||
| 3 | EV_STRUKNAME | Call by reference | Type reference (TYPE) | STRUKNAME | Name of Dictionary Type | 20071206 | |||
| 4 | IV_NAMESPACE | Call by reference | Type reference (TYPE) | NAMESPACE | Namespace | 20090331 | |||
| 5 | IV_PREFIX | Call by reference | Type reference (TYPE) | CRMT_WSC_PREFIX | WSC Prefix for name | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
Method GENERATE_DDIC_STRUCTURES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_GENSTRUC | Call by reference | Type reference (TYPE) | CRMT_WSC_GENSTRUC_TAB | WSC Table for generated structures | 20071206 | |||
| 2 | IO_TREE_NODE | Call by reference | Object reference (TYPE REF TO) | IF_CRM_WSC_DT_TREE_NODE | Source tree | 20071206 | |||
| 3 | IV_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20090331 | |||
| 4 | IV_KEY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20071206 | |||
| 5 | IV_KEY_ROOT_STRUCTURE | Call by reference | Type reference (TYPE) | STRUKNAME | Name of a structure | 20071206 | |||
| 6 | IV_NAMESPACE | Call by reference | Type reference (TYPE) | NAMESPACE | Namespace | 20090331 | |||
| 7 | IV_PREFIX | Call by reference | Type reference (TYPE) | CRMT_WSC_PREFIX | WSC Prefix for name | 20071206 | |||
| 8 | IV_SELECTED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
Method GET_NAMESPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_NAMESPACE | Call by reference | Type reference (TYPE) | NAMESPACE | Namespace | 20071206 |
Method GET_NAMESPACE on class CL_CRM_WSC_DDIC_STRUC_CREATOR has no exception.
Method GET_ROOT_FIELDS_FOR_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_FIELDS | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | Field Table | 20090508 | |||
| 2 | CT_KEYS | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | Field Table | 20090508 | |||
| 3 | IO_TREE_NODE | Call by reference | Object reference (TYPE REF TO) | IF_CRM_WSC_DT_TREE_NODE | Source tree | 20090508 | |||
| 4 | IV_KEY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090508 | |||
| 5 | IV_SELECTED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20090508 |
Method RETURN_ROOT_FIELDS_OF_READ_OUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELDS | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | 20090508 | ||||
| 2 | ET_KEYS | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | 20090508 | ||||
| 3 | IS_TREEMODEL | Call by reference | Type reference (TYPE) | CRMS_WSC_TREEMODEL | Source tree | 20090508 | |||
| 4 | IV_OP_TYPE | Call by reference | Type reference (TYPE) | CRMT_WSC_OP_TYPE | 'R' | Operation Type (e.g. Read, Query) | 20090609 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20090508 |
Method UPDATE_TABNAME_IN_FIELDTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DD03P_TAB | Call by reference | Type reference (TYPE) | LT_DD03P_TAB | 20071212 | ||||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20071212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071212 |
Method WRITE_TADIR_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20090331 | |||
| 2 | IV_OBJECT | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20071206 | |||
| 3 | IV_OBJ_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20071206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Static exception class for web service consumption | 20071206 |
History
| Last changed by/on | SAP | 20100303 |
| SAP Release Created in | 600 |