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 ABAP 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 GC_DEFAULT_DEVCLASS Constant Public Type reference (TYPE) DEVCLASS '/1CRMWSC/WSC_GEN' Package 20090331
2 GC_DEFAULT_NAMESPACE Constant Public Type reference (TYPE) NAMESPACE '/1CRMWSC/' Namespace 20090331
3 GC_GENSTATUS_A Constant Public Type reference (TYPE) CRMT_WSC_ACTFLAG 'A' WSC Activation Flag 20071206
4 GC_GENSTATUS_I Constant Public Type reference (TYPE) CRMT_WSC_ACTFLAG 'I' WSC Activation Flag 20071206
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE_STRUCTURE Static method Private Method Activation of generated DDIC-Objects 20071206
2 ADD_FIELD_TO_FIELDTABLE Static method Private Method Adds fields to fieldtable for structure 20071206
3 ADD_KEYFIELD_TO_FIELDTABLE Static method Private Method Adds Keyfield to fieldtabel for Structure 20071206
4 CHECK_DDIC_FOR_STRUCTURE Static method Private Method Checks if a DDIC-Name is already used or in activation-list 20071206
5 CREATE_STRUCTURE Static method Private Method Creates a structure 20071206
6 CREATE_STRUC_FOR_TARGET_TREE Static method Public Method Creates the target tree 20080114
7 CREATE_TABLE Static method Private Method Creates a table 20071214
8 DELETE_STRUCTURE Static method Public Method Deletes Structures 20071206
9 GENERATE_DDIC_NAME Static method Private Method Generates a Unique DDIC-Object Name 20071206
10 GENERATE_DDIC_STRUCTURES Static method Private Method Generates all Structures for a tree 20071206
11 GET_NAMESPACE Static method Public Method Get generation namespace 20071206
12 GET_ROOT_FIELDS_FOR_READ Static method Private Method Generates all Structures for a tree 20090508
13 RETURN_ROOT_FIELDS_OF_READ_OUT Static method Public Method Creates the target tree 20090508
14 UPDATE_TABNAME_IN_FIELDTABLE Static method Private Method Adds fields to fieldtable for structure 20071212
15 WRITE_TADIR_ENTRY 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 Changing CT_GENSTRUC Call by reference Type reference (TYPE) CRMT_WSC_GENSTRUC_TAB internal table (activation list) 20071206
2 Importing IS_TARGET_NODE Call by reference Type reference (TYPE) CRMS_WSC_OBJTREE Global Unique ID for table 20071206
3 Importing IV_STRUCNAME Call by reference Type reference (TYPE) STRUKNAME UI Object Type 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Changing CT_DD03P_TAB Call by reference Type reference (TYPE) LT_DD03P_TAB 20071206
2 Importing IS_WSC_OBJTREE Call by reference Type reference (TYPE) CRMS_WSC_OBJTREE BOL Service Data Manager : table of CRMS_BSDM_DFIELD 20071206
3 Importing IV_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Changing CT_DD03P_TAB Call by reference Type reference (TYPE) LT_DD03P_TAB 20071206
2 Importing IV_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Exporting EV_STATUS Call by reference Type reference (TYPE) CHAR1 20071206
2 Importing IV_TYPE_NAME Call by reference Type reference (TYPE) OBJECTNAME Name of Dictionary Type 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Changing CS_TARGET_NODE Call by reference Type reference (TYPE) CRMS_WSC_OBJTREE 20071206
2 Changing CT_GENSTRUC Call by reference Type reference (TYPE) CRMT_WSC_GENSTRUC_TAB WSC Table for generated structures 20071206
3 Importing IS_KEY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20071206
4 Importing IT_DD03P_TAB Call by reference Type reference (TYPE) LT_DD03P_TAB 20071206
5 Importing IV_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Package 20090331
6 Importing IV_STRUCNAME Call by reference Type reference (TYPE) STRUKNAME Name of a structure 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Importing IS_TREEMODEL Call by reference Type reference (TYPE) CRMS_WSC_TREEMODEL Source tree 20080114
2 Importing IV_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Package 20090331
3 Importing IV_NAMESPACE Call by reference Type reference (TYPE) NAMESPACE Namespace 20090331
4 Importing IV_PREFIX Call by reference Type reference (TYPE) CRMT_WSC_PREFIX Prefix for Component 20080114
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Changing CS_TARGET_NODE Call by reference Type reference (TYPE) CRMS_WSC_OBJTREE 20071214
2 Changing CT_GENSTRUC Call by reference Type reference (TYPE) CRMT_WSC_GENSTRUC_TAB WSC Table for generated structures 20071214
3 Importing IV_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Package 20090331
4 Importing IV_STRUCNAME Call by reference Type reference (TYPE) STRUKNAME Name of a structure 20071214
5 Importing IV_TABLENAME Call by reference Type reference (TYPE) STRUKNAME Name of a structure 20071214
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Changing CT_GENSTRUC Call by reference Type reference (TYPE) CRMT_WSC_GENSTRUC_TAB Error Messages 20071206
2 Importing IV_OBJPRX Call by reference Type reference (TYPE) CRMT_WSC_UUID UUID for CRM Web Service Consumption Tool 20071206
3 Importing IV_STRUCNAME Call by reference Type reference (TYPE) STRUKNAME Single-Character Flag 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Importing CS_WSC_NODE Call by reference Type reference (TYPE) CRMS_WSC_OBJTREE Data Type in ABAP Dictionary 20071206
2 Changing CT_GENSTRUC Call by reference Type reference (TYPE) CRMT_WSC_GENSTRUC_TAB WSC Table for generated structures 20071206
3 Exporting EV_STRUKNAME Call by reference Type reference (TYPE) STRUKNAME Name of Dictionary Type 20071206
4 Importing IV_NAMESPACE Call by reference Type reference (TYPE) NAMESPACE Namespace 20090331
5 Importing IV_PREFIX Call by reference Type reference (TYPE) CRMT_WSC_PREFIX WSC Prefix for name 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Changing CT_GENSTRUC Call by reference Type reference (TYPE) CRMT_WSC_GENSTRUC_TAB WSC Table for generated structures 20071206
2 Importing IO_TREE_NODE Call by reference Object reference (TYPE REF TO) IF_CRM_WSC_DT_TREE_NODE Source tree 20071206
3 Importing IV_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Package 20090331
4 Importing IV_KEY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20071206
5 Importing IV_KEY_ROOT_STRUCTURE Call by reference Type reference (TYPE) STRUKNAME Name of a structure 20071206
6 Importing IV_NAMESPACE Call by reference Type reference (TYPE) NAMESPACE Namespace 20090331
7 Importing IV_PREFIX Call by reference Type reference (TYPE) CRMT_WSC_PREFIX WSC Prefix for name 20071206
8 Importing IV_SELECTED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Exporting 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 Changing CT_FIELDS Call by reference Type reference (TYPE) LT_DD03P_TAB Field Table 20090508
2 Changing CT_KEYS Call by reference Type reference (TYPE) LT_DD03P_TAB Field Table 20090508
3 Importing IO_TREE_NODE Call by reference Object reference (TYPE REF TO) IF_CRM_WSC_DT_TREE_NODE Source tree 20090508
4 Importing IV_KEY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090508
5 Importing IV_SELECTED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090508
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Exporting ET_FIELDS Call by reference Type reference (TYPE) LT_DD03P_TAB 20090508
2 Exporting ET_KEYS Call by reference Type reference (TYPE) LT_DD03P_TAB 20090508
3 Importing IS_TREEMODEL Call by reference Type reference (TYPE) CRMS_WSC_TREEMODEL Source tree 20090508
4 Importing 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 CX_CRM_WSC_FAULT 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 Changing CT_DD03P_TAB Call by reference Type reference (TYPE) LT_DD03P_TAB 20071212
2 Importing IV_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20071212
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT 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 Importing IV_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Package 20090331
2 Importing IV_OBJECT Call by reference Type reference (TYPE) TROBJTYPE Object Type 20071206
3 Importing IV_OBJ_NAME Call by reference Type reference (TYPE) SOBJ_NAME Object Name in Object Directory 20071206
# Exception Resumable Description Created on
1 CX_CRM_WSC_FAULT Static exception class for web service consumption 20071206
History
Last changed by/on SAP  20100303 
SAP Release Created in 600