SAP ABAP Class /TDAG/CPCL_COMP_DATA (CP: Verwaltet die Daten einer Zusammensetzung)
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 20050201
2 Interface implementation (CLASS c. INTERFACES i_ref)  /TDAG/CPIF_DATA_EVENTS CP: Events related to data changes 20060126
3 Interface implementation (CLASS c. INTERFACES i_ref)  /TDAG/CPIF_PROP_DATA CP: Interface für Eigenschafts-Daten 20060126
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /TDAG/CPCL_SUBST_LST_DATA CP: Verwaltet die Daten einer Stoffauflistung 20060228
Properties
Class /TDAG/CPCL_COMP_DATA  
Short Description CP: Verwaltet die Daten einer Zusammensetzung    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /TDAG/CP   Compliance for products 
Created 20050201   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 ESPAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 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 20050201
2 /TDAG/CPIF_DATA_EVENTS CP: Events related to data changes 20060126
3 /TDAG/CPIF_PROP_DATA CP: Interface für Eigenschafts-Daten 20060126
Friends
Class /TDAG/CPCL_COMP_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_DATA_HANDLER Instance attribute Protected Type reference (TYPE) /TDAG/CPE_HANDLER_REF Reference to data handler object 20090417
2 MS_ADDINFO Instance attribute Protected Type reference (TYPE) RCGADDINF 20050201
3 MTS_COMPOSITION Instance attribute Protected Type reference (TYPE) /TDAG/CPYS_COMPIOTAB Tabelle für die Komponenten mit zuätzlichen Informationen 20070315
4 MT_API_HEAD Instance attribute Protected Type reference (TYPE) ESPRH_APIRH_TAB_TYPE API-Tabelle für den Spezifikationskopf 20050201
5 MT_API_PROP Instance attribute Protected Type reference (TYPE) ESPRH_APIVA_TAB_TYPE API-Tabelle für die Instanz der Zusammensetzung 20050201
6 MT_API_PROP_HEAD Instance attribute Protected Type reference (TYPE) ESPRH_APIVH_TAB_TYPE API-Tabelle für den Eigenschaftskopf 20050224
7 MT_API_PROP_USAGE Instance attribute Protected Type reference (TYPE) ESPRH_APIDU_TAB_TYPE API-Tabelle für die Verwendung 20050201
8 MT_USAGES Instance attribute Protected Type reference (TYPE) /TDAG/CPY_TCG98 20050304
9 M_ACTIVITIES Instance attribute Protected Type reference (TYPE) /TDAG/CPE_ACTIVITIES 20050201
10 M_COMPCAT Instance attribute Protected Type reference (TYPE) ESECOMPCAT Component Type 20070103
11 M_FLG_MODIFIABLE Instance attribute Protected Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Daten geändert werden können 20050201
12 M_NEXT_ROW_NO Instance attribute Protected Type reference (TYPE) /TDAG/CPE_ROWNUMBER Als nächstes zu vergebende eindeutige Nummer für einen Daten 20050225
13 M_PROPERTY Instance attribute Protected Type reference (TYPE) ESEESTCAT Bewertungsart, aus der die Daten gelesen werden sollen 20050201
14 M_USAGE_PROFILE Instance attribute Protected Type reference (TYPE) ESEUSEPROF Verwendung, mit der die Daten gelesen werden sollen 20050304
Methods
# Method Level Visibility Method type Description Created on
1 ADD_COMPONENTS Instance method Public Method 20050201
2 BUILD_ENTRY_FROM_BOSCOMP Instance method Private Method Initializes a new Component Entry from BOS Explosion 20120530
3 DELETE_COMPONENTS Instance method Public Method 20050201
4 GET_COMPONENT Instance method Public Method 20050912
5 GET_COMPONENTS Instance method Public Method 20050201
6 GET_COMPOSITION_FROM_BOSEXPL Instance method Private Method Reads BOS Explosion Composition 20120529
7 GET_COMPOSITION_FROM_DB Instance method Private Method Reads the composition from the database 20120529
8 GET_COMPOSITION_INSTANCE Instance method Private Method Returns the existing composition instance or inital 20120530
9 GET_PLANTS Instance method Public Method 20050201
10 IDENTLIST_GET Instance method Public Method 20060302
11 INIT Instance method Public Method 20050830
12 INIT_DATA Instance method Public Method 20050217
13 INIT_DATA_FINALLY Instance method Private Method Finally initializes from BOS Explosion and DB 20120530
14 IS_BOS_NORMALIZED Instance method Private Method Checks the BOS Explosion for an active normalization 20120529
15 IS_MODIFIABLE Instance method Public Method 20050201
16 IS_NORMALIZATION_EFFECTIVE Instance method Private Method Current Normalization has impact on determined composition 20120530
17 MODIFY_COMPONENTS Instance method Public Method 20050201
18 SET_LOGISTIC_DATA Instance method Private Method Updates Component Entry with Material and Supplier Details 20120530
19 TRANSLATE_AMOUNT Instance method Private Method Updates the entry for one specific component 20120530
Events
Class /TDAG/CPCL_COMP_DATA has no event.
Types
Class /TDAG/CPCL_COMP_DATA has no local type.
Method Signatures

Method ADD_COMPONENTS 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 Fehler- und andere Meldungen 20050201
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Fehler aufgetreten sind 20050201
3 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Warnungen aufgetreten sind 20050201
4 Changing XT_COMPONENTS Call by reference Type reference (TYPE) /TDAG/CPY_COMPIOTAB Die neu anzulegenden Komponenten 20050201
# Exception Resumable Description Created on
1 ADD_FAILED Die Komponenten konnten nicht angelegt werden 20050224
2 NOT_MODIFIABLE Die Zusammensetzung ist nicht änderbar 20050201

Method BUILD_ENTRY_FROM_BOSCOMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_COMPONENT Value transfer Type reference (TYPE) /TDAG/CPS_COMPIOSTR Component Entry 20120530
2 Importing IS_BOS_COMP Call by reference Type reference (TYPE) /TDAG/CPS_BOS_COMP BOS Explosion Entry 20120530
3 Importing I_RECN_PARENT Call by reference Type reference (TYPE) ESERECN Technical ID of parent 20120530

Method BUILD_ENTRY_FROM_BOSCOMP on class /TDAG/CPCL_COMP_DATA has no exception.

Method DELETE_COMPONENTS 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 Fehler- und andere Meldungen 20050201
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Fehler aufgetreten sind 20050201
3 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Warnungen aufgetreten sind 20050201
4 Changing XT_COMPONENTS Call by reference Type reference (TYPE) /TDAG/CPY_COMPIOTAB Die zu löschenden Komponenten 20050201
# Exception Resumable Description Created on
1 DELETE_FAILED Die Komponenten konnten nicht gelöscht werden 20050224
2 NOT_MODIFIABLE Die Zusammensetzung ist nicht änderbar 20050201

Method GET_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_COMPONENT Call by reference Type reference (TYPE) /TDAG/CPS_COMPIOSTR Die Komponenete der Zusammensetzung 20050912
2 Importing I_ACTN Call by reference Type reference (TYPE) ESEACTN Die ACTN der zu lesenden Komponente in ESTVP 20070315
3 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Die RECN der zu lesenden Komponente in ESTVP 20050912
4 Importing I_SPEC_ID Call by reference Type reference (TYPE) ESESUBID Die Spezifikations-ID der zu lesenden Komponente 20050912
5 Importing I_SPEC_RECN Call by reference Type reference (TYPE) ESERECN Die RECN der zu lesenden Komponente in ESTRH 20050912
# Exception Resumable Description Created on
1 NO_OBJECT_SPECIFIED Es wurde kein Objekt angegeben, dessen Daten zu lesen sind 20050912

Method GET_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COMPONENTS Call by reference Type reference (TYPE) /TDAG/CPY_COMPIOTAB Die Komponenten der Zusammensetzung 20050201
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Fehler- und andere Meldungen 20050201
3 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Fehler aufgetreten sind 20050201
4 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Warnungen aufgetreten sind 20050201
5 Importing I_FLG_ACCUMULATED Call by reference Type reference (TYPE) ESP1_BOOLEAN ESP1_FALSE Kennzeichen, ob Komponenten zusammengefasst werden sollen 20050201
# Exception Resumable Description Created on
1 ACCUMULATION_FAILED Komponenten konnten nicht zusammengefasst werden 20050201

Method GET_COMPOSITION_FROM_BOSEXPL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BOS_COMP Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP BOS Explosion Composition 20120529
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN An Error Occured 20120529
3 Importing IT_COMPOSITION Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Source Composition 20120529
4 Importing I_BOSCOMP_LEVEL Call by reference Type reference (TYPE) /TDAG/CPS_PSTRDATA-LEVEL Level in Product Structure 20120529
5 Changing XT_MESSAGE Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Message Table 20120529

Method GET_COMPOSITION_FROM_BOSEXPL on class /TDAG/CPCL_COMP_DATA has no exception.

Method GET_COMPOSITION_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_API_HEAD Call by reference Type reference (TYPE) ESPRH_APIRH_TAB_TYPE SpecAPI: Headers 20120530
2 Exporting ET_API_PROP Call by reference Type reference (TYPE) ESPRH_APIVA_TAB_TYPE SpecAPI: Composition Instances 20120530
3 Exporting ET_API_PROP_HEAD Call by reference Type reference (TYPE) ESPRH_APIVH_TAB_TYPE SpecAPI: Composition Headers 20120530
4 Exporting ET_COMPOSITION Call by reference Type reference (TYPE) ESPRH_APIVP_TAB_TYPE Composition 20120529
5 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN An error occured 20120529
6 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN A warning occured 20120529
7 Importing IS_ADDINFO Call by reference Type reference (TYPE) RCGADDINF SpecAPI: Validity Date 20120530
8 Importing I_COMPTYPE Call by reference Type reference (TYPE) ESEESTCAT Composition Type 20120530
9 Importing I_SCENARIO Call by reference Type reference (TYPE) ESPAP_SCENARIO_TYPE EHS Scenario 20120529
10 Importing I_SUBID Call by reference Type reference (TYPE) ESESUBID Composition Root Node 20120529
11 Changing XT_MESSAGE Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Message Table 20120529
# Exception Resumable Description Created on
1 READ_FAILED Reading has been aborted 20120529

Method GET_COMPOSITION_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HANDLED_INSTANCE Call by reference Type reference (TYPE) ESPRH_APIVA_WA_TYPE Effective Composition Instance 20120530
2 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN A Warning occured 20120530
3 Importing IS_ADDINFO Call by reference Type reference (TYPE) RCGADDINF SpecAPI: Validity Date 20120530
4 Importing IS_PARENT Call by reference Type reference (TYPE) /TDAG/CPS_PSTRDATA Parent Node in Product Structure 20120530
5 Changing XT_API_PROP Call by reference Type reference (TYPE) ESPRH_APIVA_TAB_TYPE SpecAPI: Composition Instances 20120530
6 Changing XT_COMPOSITION Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA All Compositions 20120530
7 Changing XT_MESSAGE Call by reference Type reference (TYPE) /TDAG/CPY_MESSAGES Message Table 20120530
# Exception Resumable Description Created on
1 READ_FAILED XT_COMPOSITION is inconsistent 20120530

Method GET_PLANTS 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 Fehler- und andere Meldungen 20050201
2 Exporting ET_PLANTS Call by reference Type reference (TYPE) /TDAG/CPY_PLANTS Die Liste der Werke, für die die Zusammensetzung gültig ist 20050201
3 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Fehler aufgetreten sind 20050201
4 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Warnungen aufgetreten sind 20050201

Method GET_PLANTS on class /TDAG/CPCL_COMP_DATA has no exception.

Method IDENTLIST_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IDLID Call by reference Type reference (TYPE) ESEIDLID Identifikationsanzeige 20060302
2 Importing I_ESTCAT Call by reference Type reference (TYPE) ESEESTCAT Bewertungsart 20060302
# Exception Resumable Description Created on
1 NOT_FOUND Spezifkationsart nicht gefunden 20060302

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DATA_HANDLER Call by reference Type reference (TYPE) /TDAG/CPE_HANDLER_REF Reference to data handler object 20090416
2 Importing IS_ADDINFO Call by reference Type reference (TYPE) RCGADDINF Stichtag und Änderungsnummer 20050830
3 Importing I_ACTIVITIES Call by reference Type reference (TYPE) /TDAG/CPE_ACTIVITIES Angabe, ob Daten zum Anzeigen oder zum Ändern gelesen werden 20050830
4 Importing I_PROPERTY Call by reference Type reference (TYPE) ESEESTCAT Bewertungsart, aus der die Zusammensetzung gel. werden soll 20050830
5 Importing I_USAGE_PROFILE Call by reference Type reference (TYPE) ESEUSEPROF Verwendung, mit der die Zusammensetzung gelesen werden soll 20050830
# Exception Resumable Description Created on
1 INIT_FAILED Die Zusammensetzung konnte nicht gelesen werden 20050830

Method INIT_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 Fehler- und andere Meldungen 20050217
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Fehler aufgetreten sind 20050217
3 Exporting E_FLG_MODIFIABLE Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob die Zusammensetzung modifiziert werden kann 20050217
4 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Warnungen aufgetreten sind 20050217
5 Importing IT_COMPOSITION Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Teilbaum der Produktstruktur mit der zu lesenden Zusammens. 20050217
# Exception Resumable Description Created on
1 READ_FAILED Die Zusammensetzung konnte nicht gelesen werden 20050217

Method INIT_DATA_FINALLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HANDLED_INSTANCE Call by reference Type reference (TYPE) ESPRH_APIVA_WA_TYPE Current Composition Instance 20120530
2 Importing IT_API_COMP Call by reference Type reference (TYPE) ESPRH_APIVP_TAB_TYPE Composition from DB 20120530
3 Importing IT_BOS_COMP Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP BOS Explosion 20120530
4 Importing I_FLG_NORMALIZED Call by reference Type reference (TYPE) ESP1_BOOLEAN Take Normalization into Account 20120530
5 Importing I_PARENT_RECN Call by reference Type reference (TYPE) ESERECN ID of Parent 20120530
6 Changing XT_PRODUCT_STRUCTURE Call by reference Type reference (TYPE) /TDAG/CPY_PSTRDATA Product Structure 20120530

Method INIT_DATA_FINALLY on class /TDAG/CPCL_COMP_DATA has no exception.

Method IS_BOS_NORMALIZED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_FLG_NORMALIZED Value transfer Type reference (TYPE) ESP1_BOOLEAN BOS Explosion is normalized 20120529

Method IS_BOS_NORMALIZED on class /TDAG/CPCL_COMP_DATA has no exception.

Method IS_MODIFIABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_FLG_MODIFIABLE Value transfer Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob die Zusammensetzung modifiziert werden kann 20050201

Method IS_MODIFIABLE on class /TDAG/CPCL_COMP_DATA has no exception.

Method IS_NORMALIZATION_EFFECTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_FLG_DATA_NORMALIZED Value transfer Type reference (TYPE) ESP1_BOOLEAN Normalization Impacts Composition 20120530
2 Importing IS_HANDLED_INSTANCE Call by reference Type reference (TYPE) ESPRH_APIVA_WA_TYPE Current Composition Instance 20120530
3 Importing IT_BOS_COMP Call by reference Type reference (TYPE) /TDAG/CPY_BOS_COMP BOS Explosion 20120530
4 Importing IT_COMPOSITION Call by reference Type reference (TYPE) ESPRH_APIVP_TAB_TYPE Non-Normalized Composition 20120530

Method IS_NORMALIZATION_EFFECTIVE on class /TDAG/CPCL_COMP_DATA has no exception.

Method MODIFY_COMPONENTS 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 Fehler- und andere Meldungen 20050201
2 Exporting E_FLG_ERROR Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Fehler aufgetreten sind 20050201
3 Exporting E_FLG_WARNING Call by reference Type reference (TYPE) ESP1_BOOLEAN Kennzeichen, ob Warnungen aufgetreten sind 20050201
4 Changing XT_COMPONENTS Call by reference Type reference (TYPE) /TDAG/CPY_COMPIOTAB Die zu ändernden Komponenten 20050201
# Exception Resumable Description Created on
1 MODIFY_FAILED Die Komponenten konnten nicht geändert werden 20050224
2 NOT_MODIFIABLE Die Zusammensetzung ist nicht änderbar 20050201

Method SET_LOGISTIC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOGISTIC_DATA Call by reference Type reference (TYPE) /TDAG/CPS_PSTRDATA Logistic Details 20120530
2 Changing XS_COMPONENT Call by reference Type reference (TYPE) /TDAG/CPS_COMPIOSTR Component Entry 20120530

Method SET_LOGISTIC_DATA on class /TDAG/CPCL_COMP_DATA has no exception.

Method TRANSLATE_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing XS_COMPONENT Call by reference Type reference (TYPE) /TDAG/CPS_COMPIOSTR Component Entry 20120530

Method TRANSLATE_AMOUNT on class /TDAG/CPCL_COMP_DATA has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 0207B0406C