SAP ABAP Class CL_COND_DATACONTAINER (Conditions: Generic Data Container)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-MD-CM (Application Component) Conditions
     COND_SRV (Package) Service Tools for Condition Technique
Properties
Class CL_COND_DATACONTAINER  
Short Description Conditions: Generic Data Container    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package COND_SRV   Service Tools for Condition Technique 
Created 20060621   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_COND_DATACONTAINER has no forward declaration.
Interfaces
Class CL_COND_DATACONTAINER has no interface implemented.
Friends
Class CL_COND_DATACONTAINER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ROOT Constant Public Type reference (TYPE) COND_DATAOBJECT_NAME 'ROOT' Name of the Data Object 20060627
2 MT_DATAOBJECTS Instance attribute Private Type reference (TYPE) TTY_DATAOBJECT_MASTER Management Table for Data Objects 20060621
3 MT_INSTANCE_CACHE Static Attribute Private Type reference (TYPE) TTY_INSTANCE_CACHE Cache with Container Instances 20060628
4 MT_USAGE_META_CACHE Static Attribute Private Type reference (TYPE) TTY_USAGE_META_CACHE Cache with Meta Data for Usages 20060628
5 M_AUTOMATIC_NUMBER_CHANGE Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Instance Does Number Change Automatically 20061120
6 M_USAGE Instance attribute Private Type reference (TYPE) KVEWE Usage of the Condition Table 20061118
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DATAOBJECT Instance method Public Method Adds a Data Object 20060621
2 CHANGE_RECORD_NUMBER Instance method Public Method Reassigns KNUMH in all data objects 20061114
3 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20060621
4 CREATE_BY_USAGE Static method Public Method Factory: Generates Data Container for a Usage 20060621
5 ENABLE_AUTOMATIC_NUMBER_CHANGE Instance method Public Method Number change should be automatic 20061120
6 GET_ALL_DATA_REF Instance method Public Method Returns data references for all objects 20060628
7 GET_CONTAINER_STRUCTURE Instance method Public Method Returns the structure of the container (or of the objects) 20060628
8 GET_DATA Instance method Public Method Gets Data from a Data Object 20060621
9 GET_DATAOBJECT Instance method Public Method Returns Data Object 20060621
10 GET_DATA_REF Instance method Public Method Like GET_DATA but for each data reference 20060623
11 GET_INSTANCE Static method Public Method *Internal* Returns Instance (from cache, if necessary) 20060628
12 GET_SUBORDINATED_DATAOBJECTS Instance method Public Method Returns Lower-Level Data Objects 20060621
13 GET_SUPERORDINATED_DATAOBJECT Instance method Public Method Returns Superior Data Object 20060621
14 IS_DATAOBJECT_MANDATORY Instance method Public Method Is the data object mandatory? 20061017
15 IS_DATAOBJECT_MULTIPLE Instance method Public Method Is the data object multiple? 20061017
16 REMOVE_DATAOBJECT Instance method Public Method Removes a Data Object 20060621
17 RESET_DATAOBJECT Instance method Public Method Reset Data Object (Remove All Data) 20060622
18 SET_DATA Instance method Public Method Fills Data in a Data Object 20060621
19 SET_DATA_REF Instance method Public Method Like SET_DATA but for each data reference 20060623
Events
Class CL_COND_DATACONTAINER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 STY_CONTAINERSTRUCTURE Public See coding Placement of Data Object in Container 20060628 BEGIN OF sty_containerstructure, object_level TYPE i, object_name TYPE cond_dataobject_name, parent_object TYPE cond_dataobject_name, is_mandatory TYPE abap_bool, is_multiple TYPE abap_bool, END OF sty_containerstructure
2 STY_DATAOBJECT Public Object reference (TYPE REF TO) IF_COND_DATAOBJECT Reference to Generic Data Object 20060621
3 STY_NAMEDATAREF Public See coding Structure: Name Table Reference 20060626 BEGIN OF sty_namedataref, name TYPE cond_dataobject_name, tabref TYPE REF TO data, END OF sty_namedataref
4 TTY_CONTAINERSTRUCTURE Public See coding Structure of Container 20060628 tty_containerstructure TYPE STANDARD TABLE OF sty_containerstructure WITH KEY object_level
5 TTY_DATAOBJECT Public See coding Table with References to Generic Data Objects 20060621 tty_dataobject TYPE STANDARD TABLE OF sty_dataobject
6 TTY_NAMEDATAREF Public See coding Table with Name Table Reference Pairs 20060626 tty_namedataref TYPE STANDARD TABLE OF sty_namedataref WITH KEY name
Method Signatures

Method ADD_DATAOBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DATAOBJECT Value transfer Object reference (TYPE REF TO) IF_COND_DATAOBJECT Referenz auf das Datenobjekt 20060621
2 Importing I_DATAOBJECT_DESCR Call by reference Type reference (TYPE) COND_DATAOBJECT_DESCR Struktur für Metadaten, die ein Datenobjekt beschreiben 20060621
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method CHANGE_RECORD_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning COUNT Value transfer Type reference (TYPE) I Anzahl der geänderten Sätze 20061118
2 Importing I_NEW_NUMBER Call by reference Type reference (TYPE) VKON_NUMBER_CHANGE-NEW_NUMBER Nummer Konditionssatz 20061114
3 Importing I_OLD_NUMBER Call by reference Type reference (TYPE) VKON_NUMBER_CHANGE-OLD_NUMBER Nummer Konditionssatz 20061114
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20061114

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATAOBJECT_DESCR Call by reference Type reference (TYPE) COND_DATAOBJECT_DESCR_T Tabelle mit Metadaten, die ein Datenobjekt beschreiben 20060621
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method CREATE_BY_USAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COND_USAGE Call by reference Type reference (TYPE) KVEWE Konditionsverwendung 20060621
2 Returning DATACONTAINER Value transfer Object reference (TYPE REF TO) CL_COND_DATACONTAINER Konditionen: generischer Datencontainer 20060621
# Exception Resumable Description Created on
1 BADI_NOT_IMPLEMENTED Das Verwendungs-BAdI wurde nicht implementiert 20060703
2 COULD_NOT_CREATE Fehler bei der Instanzerzeugung 20061006

Method ENABLE_AUTOMATIC_NUMBER_CHANGE Signature

Method ENABLE_AUTOMATIC_NUMBER_CHANGE on class CL_COND_DATACONTAINER has no parameter.
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER 20070625

Method GET_ALL_DATA_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NAMEDATAREF Call by reference Type reference (TYPE) TTY_NAMEDATAREF Tabelle mit Name-Tabellenreferenz-Paaren 20060628
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20061006

Method GET_CONTAINER_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONTAINERSTRUCTURE Call by reference Type reference (TYPE) TTY_CONTAINERSTRUCTURE Struktur des Containers 20060628
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20061006

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) INDEX TABLE Tabelle mit Daten 20060621
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060621
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method GET_DATAOBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DATAOBJECT Value transfer Object reference (TYPE REF TO) IF_COND_DATAOBJECT Referenz auf das Datenobjekt 20060621
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060621
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method GET_DATA_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATAREF Call by reference Object reference (TYPE REF TO) DATA Referenz auf Tabelle mit Daten 20060623
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060623
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATAOBJECT_DESCR Call by reference Type reference (TYPE) COND_DATAOBJECT_DESCR_T Tabelle mit Metadaten, die ein Datenobjekt beschreiben 20060628
2 Importing I_CACHE_ALLOWED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Instanzen aus Cache zulassen? 20060628
3 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_COND_DATACONTAINER Konditionen: generischer Datencontainer 20060628
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method GET_SUBORDINATED_DATAOBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATAOBJECTS Call by reference Type reference (TYPE) TTY_DATAOBJECT Tabelle mit Referenzen auf die untergeordneten Datenobjekte 20060621
2 Exporting ET_DATAOBJECT_NAMES Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME_T Tabelle mit Namen der Datenobjekte 20060628
3 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060621
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method GET_SUPERORDINATED_DATAOBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DATAOBJECT Value transfer Object reference (TYPE REF TO) IF_COND_DATAOBJECT Referenz auf übergeordnetes Datenobjekt 20060621
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060621
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method IS_DATAOBJECT_MANDATORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_MANDATORY Value transfer Type reference (TYPE) ABAP_BOOL Datenobjekt ist obligatorisch 20061017
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20061017
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20061017

Method IS_DATAOBJECT_MULTIPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_MULTIPLE Value transfer Type reference (TYPE) ABAP_BOOL Datenobjekt ist mehrfach 20061017
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20061017
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20061017

Method REMOVE_DATAOBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060621
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method RESET_DATAOBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060622
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method SET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE Tabelle mit Daten 20060621
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060621
3 Importing I_OVERWRITE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE alte Daten entfernen? 20060627
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703

Method SET_DATA_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATAREF Call by reference Object reference (TYPE REF TO) DATA Referenz auf Tabelle mit Daten 20060623
2 Importing I_NAME Call by reference Type reference (TYPE) COND_DATAOBJECT_NAME Name des Datenobjektes 20060623
3 Importing I_OVERWRITE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE alte Daten entfernen? 20060627
# Exception Resumable Description Created on
1 CX_COND_DATACONTAINER Ausnahmeklasse für Datencontainer 20060703
History
Last changed by/on SAP  20100310 
SAP Release Created in 700