SAP ABAP Class /TDAG/CPCL_PROD_STRU_DATA (CP: Verwaltet die Produktstruktur-Daten)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP (Package) Compliance for products
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /TDAG/CPIF_DATA CP: Interface für Objekte zur Datenverwaltung 20070910
2 Interface implementation (CLASS c. INTERFACES i_ref)  /TDAG/CPIF_STRU_DATA CP: Interface for product structure data 20070910
Properties
Class /TDAG/CPCL_PROD_STRU_DATA  
Short Description CP: Verwaltet die Produktstruktur-Daten    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /TDAG/CP   Compliance for products 
Created 20070910   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ESP1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 ESPRH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 /TDAG/CPIF_DATA CP: Interface für Objekte zur Datenverwaltung 20070910
2 /TDAG/CPIF_STRU_DATA CP: Interface for product structure data 20070910
Friends
Class /TDAG/CPCL_PROD_STRU_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_DEFAULT_DEPTH_LEVEL Constant Protected Type reference (TYPE) /TDAG/CPE_DEPTH_LEVEL '0002' Depth level for the explosion of a composition 20070910
2 MC_EXPAND_DEPTH_LEVEL Constant Protected Type reference (TYPE) /TDAG/CPE_DEPTH_LEVEL '0002' Depth level for the explosion of a composition 20070910
3 MC_GENERAL_VARIANT_ID Constant Protected Type reference (TYPE) /TDAG/CPE_OBJID 'GENERAL' ID for general phantom nodes 20071031
4 MC_INITIAL_DEPTH_LEVEL Constant Protected Type reference (TYPE) /TDAG/CPE_DEPTH_LEVEL '0001' Depth level for the explosion of a composition 20070910
5 MC_PHANTOM_COUNTER_START Constant Protected Type reference (TYPE) TV_NODEKEY '99999999999-' Node key 20070910
6 MC_READ_LEVEL_EXPANDED_COMP Instance attribute Protected Type reference (TYPE) ESESUBID ID der Spezifikations des Wurzelknotens 20071019
7 MC_READ_LEVEL_EXPANDED_SUBTREE Instance attribute Protected Type reference (TYPE) ESESUBID ID der Spezifikations des Wurzelknotens 20070910
8 MC_READ_LEVEL_FULL_SUBTREE Instance attribute Protected Type reference (TYPE) ESESUBID ID der Spezifikations des Wurzelknotens 20070910
9 MC_READ_LEVEL_SINGLE_NODE Instance attribute Protected Type reference (TYPE) ESESUBID ID der Spezifikations des Wurzelknotens 20070910
10 MO_DATA_HANDLER Instance attribute Protected Type reference (TYPE) /TDAG/CPE_HANDLER_REF Reference to data handler object 20070910
11 MS_ADDINFO Instance attribute Protected Type reference (TYPE) RCGADDINF Stichtag und Änderungsnummer zum Lesen der Daten 20070910
12 MTH_EXPANDED_NODES Instance attribute Protected Type reference (TYPE) /TDAG/CPYH_NODEKEY CP: Hashed table of node keys of a tree 20070910
13 MT_MESSAGES Instance attribute Protected Type reference (TYPE) /TDAG/CPY_MESSAGES Error message storage for delayed display 20070910
14 MT_PROD_STRUCT Instance attribute Protected Type reference (TYPE) ESESUBID ID der Spezifikations des Wurzelknotens 20070910
15 M_CHECK_NAME Instance attribute Protected Type reference (TYPE) /TDAG/CPE_CHECK Prüfung 20070910
16 M_FLG_FULL_EXPLOSION Instance attribute Protected Type reference (TYPE) ESEBOOLE Flag that full explosion has taken place 20070910
17 M_NORMVAR Instance attribute Protected Type reference (TYPE) /TDAG/CPE_NORMVAR Normalization variant 20070910
18 M_PHANTOM_NODE_COUNTER Instance attribute Protected Type reference (TYPE) TV_NODEKEY Node key 20070910
19 M_REGLIST Instance attribute Protected Type reference (TYPE) /TDAG/CPE_REGLIST Reglist 20070910
20 M_ROOT_KEY Instance attribute Protected Type reference (TYPE) ESESUBID ID der Spezifikations des Wurzelknotens 20070910
21 M_SCENARIO_ID Instance attribute Protected Type reference (TYPE) /TDAG/CPE_SCENARIOID Die ID des aktuellen Scenarios (Vorschrift/Stoffliste) 20070910
22 M_SPEC_ID Instance attribute Protected Type reference (TYPE) ESESUBID ID der Spezifikations des Wurzelknotens 20070910
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ALTERNATIVE_GROUPS Static method Protected Method Add alternative groups 20070910
2 ADD_COMP_GROUP_PHANTOMS Static method Protected Method Add alternative groups 20080701
3 ADD_GENERIC_PHANTOMS Static method Protected Method Add generic phantom nodes (no validity areas) 20070926
4 ADD_PHANTOM_NODES Static method Protected Method Adds phantom nodes to the product structure 20070910
5 CONSTRUCTOR Instance method Public Constructor Constructor 20070910
6 DELETE_TREE Static method Public Method Löscht einen (Teil-)Baum aus der Produktstruktur 20070910
7 EXPAND_PROD_STRUCT Instance method Protected Method Expand a node withing the product structure data 20070910
8 GET_CHILD_COMPONENTS Static method Public Method Get child components omitting phantom nodes 20110214
9 GET_EXPANDED_SUBTREE Instance method Protected Method Reads a subtree given a root node 20070910
10 GET_ROOT Instance method Public Method 20070910
11 INIT Instance method Public Method 20070910
12 INSERT_GENERIC_PHANTOM Static method Protected Method Inserts a generic phantom node in to the product structure 20071018
13 LOAD_DATA Instance method Protected Method Aufbau der Produktstruktur 20070910
14 MAKE_PROD_STRU_FROM_BOS_TREE Static method Public Method Takes a BOS tree and makes a product structure from it 20070910
15 NODE_IS_EXPANDED Instance method Protected Method Checks whether a node of the structure is expanded 20070910
16 ON_BUFFER_MODIFIED Instance method Protected Event handling method Processes buffer modifications and updates the relevant data 20070910
17 ON_NORMALIZATION_SET Instance method Protected Event handling method Handles change in normalization 20070910
18 READ_NODES Instance method Public Method 20070910
19 RECALCULATE_LEVELS Static method Protected Method Recalculate BOS tree levels after phantom node addition 20070920
20 REMOVE_MULTIPLE_INSTANCES Static method Public Method Löscht Zusammensetzungs-Instanzen, wenn mehrere existieren 20070910
21 REMOVE_SINGLE_PHANTOMS Static method Protected Method Remove single phantom nodes 20070910
22 RESTORE_EXPANDED_NODES Instance method Protected Method Expands nodes given a set of paths to them 20070910
23 STORE_EXPANDED_NODES Instance method Protected Method Returns all currently expanded node paths 20070910
24 SWITCH_TO_FULL_PROD_STRUCT Instance method Protected Method Reads entire BOS tree and creates the product structure 20070910
Events
# Event Type Visibility Description Created on
1 PROD_STRU_MODIFIED Instance Event
(0)
Public
(2)
20070910
Types
Class /TDAG/CPCL_PROD_STRU_DATA has no local type.
Method Signatures

Method ADD_ALTERNATIVE_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_BOS_TREE Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070917
2 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20070917
3 Changing XT_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product structure 20070910
4 Changing X_PHANTOM_NODE_COUNTER Call by reference Type reference (TYPE) TV_NODEKEY Phantom node counter 20070910

Method ADD_ALTERNATIVE_GROUPS on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method ADD_COMP_GROUP_PHANTOMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_BOS_TREE Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20080701
2 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20080701
3 Changing XT_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product structure 20080701
4 Changing X_PHANTOM_NODE_COUNTER Call by reference Type reference (TYPE) TV_NODEKEY Phantom node counter 20080701

Method ADD_COMP_GROUP_PHANTOMS on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method ADD_GENERIC_PHANTOMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_BOS_TREE Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070926
2 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20070926
3 Changing XT_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product structure 20070926
4 Changing X_PHANTOM_NODE_COUNTER Call by reference Type reference (TYPE) TV_NODEKEY Node key 20070926

Method ADD_GENERIC_PHANTOMS on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method ADD_PHANTOM_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_BOS_TREE Call by reference Type reference (TYPE) ESEBOOLE Flag for exporting BOS with phantoms 20070912
2 Importing I_FLG_INCLUDE_SINGLE_PHANTOMS Call by reference Type reference (TYPE) ESEBOOLE ESP1_FALSE Flag to delete single phantom nodes 20070917
3 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20070912
4 Changing XT_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product structure 20070910
5 Changing X_PHANTOM_NODE_COUNTER Call by reference Type reference (TYPE) TV_NODEKEY Phantom node counter 20070910

Method ADD_PHANTOM_NODES on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class /TDAG/CPCL_PROD_STRU_DATA has no parameter.
Method CONSTRUCTOR on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method DELETE_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Der Schlüssel des Wurzelkn. des zu löschenden (Teil-)Baumes 20070910
2 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP Die Produktstruktur 20070910

Method DELETE_TREE on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method EXPAND_PROD_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY Call by reference Type reference (TYPE) TV_NODEKEY Node key 20070910

Method EXPAND_PROD_STRUCT on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method GET_CHILD_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHILD_COMPONENTS Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA 20110214
2 Importing IT_COMPOSITION Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA 20110214
3 Importing IV_PARENT_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Tree Control: Node Key 20110214

Method GET_CHILD_COMPONENTS on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method GET_EXPANDED_SUBTREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Subtree 20070910
2 Importing I_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Root node of subtree 20070910

Method GET_EXPANDED_SUBTREE on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method GET_ROOT Signature

Method GET_ROOT on class /TDAG/CPCL_PROD_STRU_DATA has no parameter.
Method GET_ROOT on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method INIT Signature

Method INIT on class /TDAG/CPCL_PROD_STRU_DATA has no parameter.
Method INIT on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method INSERT_GENERIC_PHANTOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITH_CHECK_RESULTS Call by reference Type reference (TYPE) /TDAG/CPYH_CHECKRESULTS Check results of normal nodes underneath the phantom node 20071018
2 Importing IT_INDEX Call by reference Type reference (TYPE) /TDAG/CPY_INTS Index table that refers to nodes that still must be updated 20071018
3 Importing I_FLG_BOS_TREE Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20071018
4 Importing I_INDEX Call by reference Type reference (TYPE) SYTABIX Index at which the phantom node is inserted 20071018
5 Importing I_ORD Call by reference Type reference (TYPE) I Position of phantom node in composition (ord field) 20071018
6 Importing I_PARENT_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Node key of phantom node's parent 20071018
7 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20071018
8 Changing XT_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product structure 20071018
9 Changing X_PHANTOM_NODE_COUNTER Call by reference Type reference (TYPE) TV_NODEKEY Node key of phantom node 20071018

Method INSERT_GENERIC_PHANTOM on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method LOAD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Table for (error) messages 20080125
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Indicator if errors occurred 20080125
3 Importing I_FLG_CLEAR_BUFFER Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Indicator if the buffer must be reset before initialization 20071022

Method LOAD_DATA on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method MAKE_PROD_STRU_FROM_BOS_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20070912
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Error messages 20070910
3 Exporting ET_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product structure 20070910
4 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070910
5 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESEBOOLE Truth Value 20070910
6 Importing IS_ADDINFO Call by reference Type reference (TYPE) RCGADDINF EHS: Additional information for function module calls 20070910
7 Importing IT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20070910
8 Importing I_CHECK_NAME Call by reference Type reference (TYPE) /TDAG/CPE_CHECK Check 20070910
9 Importing I_FLG_INCLUDE_SINGLE_PHANTOMS Call by reference Type reference (TYPE) ESEBOOLE ESP1_FALSE Flag to delete single phantom nodes 20070917
10 Importing I_REGLIST Call by reference Type reference (TYPE) /TDAG/CPE_REGLIST Regularized or customer list 20070910
11 Changing X_PHANTOM_NODE_COUNTER Call by reference Type reference (TYPE) TV_NODEKEY '99999999999-' Node key 20070910
12 Changing X_ROOT_KEY Call by reference Type reference (TYPE) TV_NODEKEY Node key 20070910

Method MAKE_PROD_STRU_FROM_BOS_TREE on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method NODE_IS_EXPANDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Node key 20070910
2 Returning R_FLG_EXPANDED Value transfer Type reference (TYPE) ESEBOOLE Expanded flag 20070910

Method NODE_IS_EXPANDED on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method ON_BUFFER_MODIFIED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PO_DATA Value transfer Attribute reference (LIKE) 20070910
2 Importing PO_SENDER Value transfer Attribute reference (LIKE) 20070910

Method ON_BUFFER_MODIFIED on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method ON_NORMALIZATION_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_NORMVAR Call by reference Attribute reference (LIKE) 20070910

Method ON_NORMALIZATION_SET on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method READ_NODES Signature

Method READ_NODES on class /TDAG/CPCL_PROD_STRU_DATA has no parameter.
Method READ_NODES on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method RECALCULATE_LEVELS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NODES Call by reference Type reference (TYPE) TREEV_NKS Node keys 20070920
2 Importing I_LEVEL Call by reference Type reference (TYPE) /TDAG/CPE_LEVEL Level 20070920
3 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20070920

Method RECALCULATE_LEVELS on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method REMOVE_MULTIPLE_INSTANCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_IMERROR Fehler- und andere Meldungen 20070910
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Fehler aufgetreten sind 20070910
3 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Warnungen aufgetreten sind 20070910
4 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP Die Produktstruktur 20070910

Method REMOVE_MULTIPLE_INSTANCES on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method REMOVE_SINGLE_PHANTOMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_BOS_TREE Call by reference Type reference (TYPE) ESEBOOLE Flag for exporting BOS with phantoms 20090714
2 Changing XT_BOS_TREE Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP CP: BOS explosion 20090714
3 Changing XT_PROD_STRUCT Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product structure 20070910

Method REMOVE_SINGLE_PHANTOMS on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method RESTORE_EXPANDED_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EXPNODE_PATH Call by reference Type reference (TYPE) /TDAG/CPY_EXPNODE_PATH CP: Table of paths to expanded nodes 20070910

Method RESTORE_EXPANDED_NODES on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method STORE_EXPANDED_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXPNODE_PATH Call by reference Type reference (TYPE) /TDAG/CPY_EXPNODE_PATH CP: Table of paths to expanded nodes 20070910
2 Importing I_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Key of root node of subtree 20070910

Method STORE_EXPANDED_NODES on class /TDAG/CPCL_PROD_STRU_DATA has no exception.

Method SWITCH_TO_FULL_PROD_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NEW_ROOT Call by reference Type reference (TYPE) TV_NODEKEY Node key 20070910

Method SWITCH_TO_FULL_PROD_STRUCT on class /TDAG/CPCL_PROD_STRU_DATA has no exception.
Event Signatures

Event PROD_STRU_MODIFIED Signature
Event PROD_STRU_MODIFIED on class /TDAG/CPCL_PROD_STRU_DATA has no parameter.
History
Last changed by/on SAP  20141109 
SAP Release Created in 222_46C