SAP ABAP Class CL_WER_FIELD_SELECTOR (Select one field from structure)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-MM (Application Component) Material Master
     WER_UI (Package) User Interface
Properties
Class CL_WER_FIELD_SELECTOR  
Short Description Select one field from structure    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WER_UI   User Interface 
Created 20060714   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_WER_CONST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_WER_FIELD_SELECTOR has no interface implemented.
Friends
Class CL_WER_FIELD_SELECTOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CONTAINER Constant Private See coding 'FIELDSEL_CONTAINER' 20061111
2 MR_NODES Instance attribute Private Object reference (TYPE REF TO) CL_SALV_NODES Unique Item field identifier (GUID) 20061112
3 MR_TREE Instance attribute Private Object reference (TYPE REF TO) CL_SALV_TREE Basis Class for Tree Structure 20061112
4 MT_EXCLUDED_FIELDS Instance attribute Private Type reference (TYPE) WER_ITEM_FIELDS_TTY Boolean: true = X and false = SPACE 20061112
5 MT_FIELDS Instance attribute Private Type reference (TYPE) WER_ITEM_FIELDS_TTY Fields not to display 20061112
6 MT_TREE_DATA Instance attribute Private Type reference (TYPE) WER_ITEM_FIELDS_TTY Table type for the database table wer_item_fields. 20061112
7 M_FIELD_ID Instance attribute Private Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20061112
8 M_ITEM Instance attribute Private Type reference (TYPE) WER_ITEM_FIELD_ID All Items fields 20061112
9 M_ROOT_NODE Instance attribute Private Type reference (TYPE) SALV_DE_NODE_KEY Root node Key 20070716
10 M_RULE_ELEMENT_CHANGED Instance attribute Protected Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_TRUE Boolean: true = X and false = SPACE 20070109
11 M_SELECTED_ITEM_FIELD Instance attribute Private Type reference (TYPE) WER_ITEM_FIELD_ID Item field to select 20070109
12 SR_CONTAINER Static Attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area 20061112
13 ST_INST Static Attribute Private Type reference (TYPE) WER_FIELD_SELECTOR_OBJ_TTY Instances table 20060714
14 S_ALLOW_LEAF_SELECTION Static Attribute Private Type reference (TYPE) WER_BOOL Allow leaf selection 20060717
15 S_ALLOW_NODE_SELECTION Static Attribute Private Type reference (TYPE) WER_BOOL Allow node selection (not leaf node ) 20060717
16 S_DISPLAY_FLAG Static Attribute Private Type reference (TYPE) WER_BOOL True: display mode 20060714
17 S_ITEM Static Attribute Private Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20060714
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CHILDREN Instance method Private Method Add children field node 20060714
2 ADD_NODE Instance method Private Method Add one node to tree 20060714
3 ADD_SELECTION Instance method Private Method Add all nodes included in the selected field 20070809
4 CONSTRUCTOR Instance method Public Constructor 20061112
5 DISPLAY_TREE Instance method Private Method Triggers tree display 20060714
6 EXPAND_FIRST_LEVEL Instance method Private Method Expand tree first level 20070716
7 FILL_TREE Instance method Private Method Fill tree with nodes 20060714
8 GET_REFERENCE Static method Private Method returns object reference corresponding to item 20060714
9 GET_SELECTION_FIELD Instance method Private Method Retreives selected field 20060715
10 GET_TABLE_FIELD_COMP_DESCR Instance method Private Method Returns predefined type detail of a table field 20070809
11 HANDLE_COMMAND Static method Public Method handle command 20060715
12 INITIATE_TREE Instance method Private Method Set basic tree settings 20060714
13 LEAVE_TREE Instance method Private Method Leave tree 20060715
14 ON_DOUBLE_CLICK Instance method Private Event handling method Handle double click action 20060714
15 ON_EXPAND Instance method Private Event handling method On expand event 20070809
16 PREPARE_TREE Static method Public Method Prepare tree just before it's displayed 20060714
17 REGISTER_EVENTS Instance method Private Method register to the events 20060714
18 SELECT_ITEM_FIELD Static method Public Method Display item fields in a tree view and allow to select one 20060717
19 SET_ITEM_FIELD_SELECTED Instance method Private Method Set Item field selected 20070109
20 SET_SELECTION Instance method Private Method Set section according to corresponding attributes 20070109
Events
Class CL_WER_FIELD_SELECTOR has no event.
Types
Class CL_WER_FIELD_SELECTOR has no local type.
Method Signatures

Method ADD_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CHILDREN Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY Children item fields 20060714
2 Importing I_PARENT_KEY Call by reference Type reference (TYPE) SALV_DE_NODE_KEY Node Key 20060714

Method ADD_CHILDREN on class CL_WER_FIELD_SELECTOR has no exception.

Method ADD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FIELD Call by reference Type reference (TYPE) WER_ITEM_FIELD_DATA_STY Information about the fields of an item 20060717
2 Importing I_PARENT_KEY Call by reference Type reference (TYPE) SALV_DE_NODE_KEY Parent node Key 20060714
3 Returning R_NODE_KEY Value transfer Type reference (TYPE) SALV_DE_NODE_KEY New node Key 20060714

Method ADD_NODE on class CL_WER_FIELD_SELECTOR has no exception.

Method ADD_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NODE_ID Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20070809
2 Changing XT_FIELDS Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY Table type for the database table wer_item_fields. 20070809

Method ADD_SELECTION on class CL_WER_FIELD_SELECTOR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EXCLUDED_FIELDS Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY 20061112
2 Importing IT_FIELDS Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY 20061112
3 Importing I_ITEM Value transfer Type reference (TYPE) WER_ITEM_FIELD_ID 20061112
4 Importing I_ITEM_FIELD_SELECTED Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID 20070109

Method CONSTRUCTOR on class CL_WER_FIELD_SELECTOR has no exception.

Method DISPLAY_TREE Signature

Method DISPLAY_TREE on class CL_WER_FIELD_SELECTOR has no parameter.
Method DISPLAY_TREE on class CL_WER_FIELD_SELECTOR has no exception.

Method EXPAND_FIRST_LEVEL Signature

Method EXPAND_FIRST_LEVEL on class CL_WER_FIELD_SELECTOR has no parameter.
Method EXPAND_FIRST_LEVEL on class CL_WER_FIELD_SELECTOR has no exception.

Method FILL_TREE Signature

Method FILL_TREE on class CL_WER_FIELD_SELECTOR has no parameter.
Method FILL_TREE on class CL_WER_FIELD_SELECTOR has no exception.

Method GET_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EXCLUDED_FIELDS Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY Fields not to display 20060717
2 Importing IT_FIELDS Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY All item fields 20060717
3 Importing I_ITEM Call by reference Type reference (TYPE) WER_ITEM_ID Unique work item identifier (GUID) 20060714
4 Importing I_ITEM_FIELD_SELECTED Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20070109
5 Returning RR_REF Value transfer Object reference (TYPE REF TO) CL_WER_FIELD_SELECTOR Select one field from structure 20060714

Method GET_REFERENCE on class CL_WER_FIELD_SELECTOR has no exception.

Method GET_SELECTION_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_FIELD_ID Value transfer Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20060715

Method GET_SELECTION_FIELD on class CL_WER_FIELD_SELECTOR has no exception.

Method GET_TABLE_FIELD_COMP_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA_TYPE Call by reference Type reference (TYPE) DATATYPE_D Data Type in ABAP Dictionary 20070809
2 Exporting E_DECIMAL Call by reference Type reference (TYPE) DECIMALS Number of Decimal Places 20070809
3 Exporting E_DESCRIPTION Call by reference Type reference (TYPE) AS4TEXT Short Description of Repository Objects 20070809
4 Exporting E_LENGTH Call by reference Type reference (TYPE) DDLENG Length (No. of Characters) 20070809
5 Importing I_FIELD Call by reference Type reference (TYPE) FIELDNAME Field Name 20070809
6 Importing I_TABLE Call by reference Type reference (TYPE) CSEQUENCE 20070809
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20070809
2 CX_WER_DATA_NOT_FOUND Value does not exist 20070809

Method HANDLE_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_FIELD_SEL Call by reference Object reference (TYPE REF TO) CL_WER_FIELD_SELECTOR Select one field from structure 20060715
2 Importing I_OK_CODE Call by reference Type reference (TYPE) SYUCOMM Function code that PAI triggered 20060715

Method HANDLE_COMMAND on class CL_WER_FIELD_SELECTOR has no exception.

Method INITIATE_TREE Signature

Method INITIATE_TREE on class CL_WER_FIELD_SELECTOR has no parameter.
Method INITIATE_TREE on class CL_WER_FIELD_SELECTOR has no exception.

Method LEAVE_TREE Signature

Method LEAVE_TREE on class CL_WER_FIELD_SELECTOR has no parameter.
Method LEAVE_TREE on class CL_WER_FIELD_SELECTOR has no exception.

Method ON_DOUBLE_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20061112

Method ON_DOUBLE_CLICK on class CL_WER_FIELD_SELECTOR has no exception.

Method ON_EXPAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20070809

Method ON_EXPAND on class CL_WER_FIELD_SELECTOR has no exception.

Method PREPARE_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_FIELD_SEL Call by reference Object reference (TYPE REF TO) CL_WER_FIELD_SELECTOR Select one field from structure 20060715

Method PREPARE_TREE on class CL_WER_FIELD_SELECTOR has no exception.

Method REGISTER_EVENTS Signature

Method REGISTER_EVENTS on class CL_WER_FIELD_SELECTOR has no parameter.
Method REGISTER_EVENTS on class CL_WER_FIELD_SELECTOR has no exception.

Method SELECT_ITEM_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EXCLUDED_FIELDS Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY Fields not to display 20060717
2 Importing IT_FIELDS Call by reference Type reference (TYPE) WER_ITEM_FIELDS_TTY All item fields 20060717
3 Importing I_ALLOW_LEAF_SELECTION Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_TRUE Possible to select leaf fields 20060717
4 Importing I_ALLOW_NODE_SELECTION Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_TRUE Possible to select node fields (not leaf) 20060717
5 Importing I_DISPLAY_FLAG Call by reference Type reference (TYPE) WER_BOOL CL_WER_CONST=>C_FALSE True: display mode. False: edit mode 20060717
6 Importing I_ITEM Call by reference Type reference (TYPE) WER_ITEM_ID Unique work item identifier (GUID) 20060717
7 Importing I_ITEM_FIELD_SELECTED Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID Item field to select 20070109
8 Returning R_ITEM_FIELD_ID Value transfer Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20060717

Method SELECT_ITEM_FIELD on class CL_WER_FIELD_SELECTOR has no exception.

Method SET_ITEM_FIELD_SELECTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SELECTED_ITEM_FIELD Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20070109

Method SET_ITEM_FIELD_SELECTED on class CL_WER_FIELD_SELECTOR has no exception.

Method SET_SELECTION Signature

Method SET_SELECTION on class CL_WER_FIELD_SELECTOR has no parameter.
Method SET_SELECTION on class CL_WER_FIELD_SELECTOR has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700