SAP ABAP Class CL_COND_USAGE_TOOLS (Utility for Fields of Usage)
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_USAGE_TOOLS  
Short Description Utility for Fields of Usage    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package COND_SRV   Service Tools for Condition Technique 
Created 20060208   SAP 
Last change 20100310   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)
2 CL_COND_USAGE_TOOLS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_COND_FIELDGROUPS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_COND_USAGE_TOOLS has no interface implemented.
Friends
Class CL_COND_USAGE_TOOLS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 COND_USAGE Instance attribute Public Type reference (TYPE) KVEWE Usage of the Condition Table 20060222
2 MAX_CACHESIZE Constant Private Type reference (TYPE) I 5 20060210
3 MS_T681V Instance attribute Private Type reference (TYPE) T681V Usage Information 20060921
4 MT_DD04V Instance attribute Private Type reference (TYPE) COM_SE_TT_DD04V Table Type for DD04V (Data Elements) 20060213
5 MT_DD05M Instance attribute Private Type reference (TYPE) DD05MTTYP Table Type for DD05M (Foreign Key) 20060306
6 MT_NAMETAB Instance attribute Private Type reference (TYPE) DD_X031L_TABLE Nametab Information for DIKOM 20060208
7 MT_TEMPLATE_FIELDS Instance attribute Private Type reference (TYPE) SEFELDPLUS_TTY Fields of Usage Sample Structure 20060921
8 OBJECT_CACHE Static Attribute Private Type reference (TYPE) OBJECT_CACHE_TTY Cache Table 20060208
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20060208
2 CONV_EXIT_INPUT_BY_DATA Instance method Public Method Call of Conversion Exit (to Internal Format) 20060208
3 CONV_EXIT_INPUT_BY_FIELD Instance method Public Method Call of Conversion Exit for Field Name (to Internal Format) 20060208
4 CONV_EXIT_OUTPUT_BY_FIELD Instance method Public Method Call of Conversion Exit for Field Name (to Display Format) 20060208
5 CREATE Static method Public Method Object Generation for Usage 20060208
6 CREATE_SELTABLE_FOR_FIELD Instance method Public Method Generates Selection Table for a Field 20060208
7 CREATE_TABLE_FOR_FIELDS Instance method Public Method Generates Table for a Set of Fields 20060208
8 GET_ATTRIBUTE_BY_FIELD Instance method Private Method Determine Attribute (ROLLNAME, CONVEXIT...) Using Field Name 20060208
9 GET_CASESENSITIVITY Instance method Public Method Reads Truth Value, Whether Field Supports Lower Case 20060929
10 GET_DATAELEMENT Instance method Private Method Reads Data Element from Dictionary (Buffered!) 20060213
11 GET_FIXED_DATAFIELDS Instance method Public Method Returns Fixed Data Fields (KNUMH...) 20060912
12 GET_FIXED_KEYFIELDS Instance method Public Method Returns Fixed Key Fields ( (KSCHL, KAPPL...) 20060912
13 GET_FOREIGN_KEY Instance method Private Method Reads Foreign Key from Dictionary (Buffered!) 20060306
14 GET_INITIAL_VALUE_FOR_FIELD Instance method Public Method Gets Type-Related Initial Value as String 20060208
15 GET_MEMORYID_FOR_FIELD Instance method Public Method Determination of Set/Get Parameters for a Field 20060717
16 GET_OUTPUTLENGTH_FOR_FIELD Instance method Public Method Determination of Output Length 20060208
17 GET_RELATIVES_FOR_FIELD Instance method Public Method Determination of "Related" Field for a Field 20060208
18 GET_SEARCHHELP_FOR_FIELD Instance method Public Method Determination of Search Help 20060208
19 GET_TEXTS_FOR_FIELD Instance method Public Method Determination of Texts 20060208
20 GET_TYPE_FOR_FIELD Instance method Public Method Determination of Data Type (Data Element) 20060208
21 GET_VARIABLE_DATAPOS Instance method Public Method Returns Item of Variable Data Fields 20060921
22 GET_VARIABLE_KEYPOS Instance method Public Method Returns Item of Variable Key Fields 20060921
23 IS_CASESENSITIVE Instance method Private Method Checks Whether the Field Allows Lower Case Letters 20060929
24 IS_KEYFIELD Instance method Private Method Checks Whether the Field is in the Key 20060912
Events
Class CL_COND_USAGE_TOOLS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 OBJECT_CACHE_STY Private See coding Cache Structure 20060208 BEGIN OF object_cache_sty, kvewe TYPE kvewe, object TYPE REF TO cl_cond_usage_tools, creation_time TYPE timestamp, END OF object_cache_sty
2 OBJECT_CACHE_TTY Private See coding Cache Table 20060208 object_cache_tty TYPE standard TABLE OF object_cache_sty WITH KEY kvewe
3 SEFELD_TTY Public See coding Table with Fast Entry Fields (Field Names) 20060912 sefeld_tty TYPE STANDARD TABLE OF sefeld
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing USAGE Call by reference Type reference (TYPE) KVEWE Verwendung der Konditionstabelle 20060208
# Exception Resumable Description Created on
1 INVALID_USAGE Ungültige Verwendung 20060208

Method CONV_EXIT_INPUT_BY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INPUT Call by reference Type reference (TYPE) ANY 20060208
2 Exporting OUTPUT Call by reference Type reference (TYPE) ANY 20060208
3 Exporting OUTPUT_REF Call by reference Object reference (TYPE REF TO) DATA 20060208

Method CONV_EXIT_INPUT_BY_DATA on class CL_COND_USAGE_TOOLS has no exception.

Method CONV_EXIT_INPUT_BY_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Importing INPUT Call by reference Type reference (TYPE) ANY 20060208
3 Exporting OUTPUT Call by reference Type reference (TYPE) ANY 20060208
4 Exporting OUTPUT_REF Call by reference Object reference (TYPE REF TO) DATA 20060208

Method CONV_EXIT_INPUT_BY_FIELD on class CL_COND_USAGE_TOOLS has no exception.

Method CONV_EXIT_OUTPUT_BY_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Importing INPUT Call by reference Type reference (TYPE) ANY 20060208
3 Exporting OUTPUT Call by reference Type reference (TYPE) ANY 20060208

Method CONV_EXIT_OUTPUT_BY_FIELD on class CL_COND_USAGE_TOOLS has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning OBJECT Value transfer Object reference (TYPE REF TO) CL_COND_USAGE_TOOLS Objektinstanz 20060208
2 Importing USAGE Call by reference Type reference (TYPE) KVEWE Verwendung der Konditionstabelle 20060208
# Exception Resumable Description Created on
1 COULD_NOT_CREATE Instanziierung fehlgeschlagen 20060208

Method CREATE_SELTABLE_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Returning SELTABLE Value transfer Object reference (TYPE REF TO) DATA 20060208
# Exception Resumable Description Created on
1 FIELD_UNKNOWN Feld ist unbekannt 20060208

Method CREATE_TABLE_FOR_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAMES Call by reference Type reference (TYPE) COND_FIELD_T Tabelle mit Konditionsfeldern 20060208
2 Returning TABLE Value transfer Object reference (TYPE REF TO) DATA 20060208
# Exception Resumable Description Created on
1 COULD_NOT_CREATE Tabelle konnte nicht angelegt werden 20060208
2 FOUND_UNKNOWN_FIELD Feld ist unbekannt 20060208

Method GET_ATTRIBUTE_BY_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTRIBUTE_NAME Call by reference Type reference (TYPE) STRING 20060208
2 Exporting ATTRIBUTE_VALUE Call by reference Type reference (TYPE) ANY 20060208
3 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD 20060208
# Exception Resumable Description Created on
1 INVALID_ATTRIBUTE Das Attribut ist ungültig 20060208
2 UNKNOWN_FIELDNAME Das Feld ist unbekannt 20060208

Method GET_CASESENSITIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060929
2 Returning IS_CASESENSITIVE Value transfer Type reference (TYPE) ABAP_BOOL 20060929
# Exception Resumable Description Created on
1 UNKNOWN_FIELD Feld ist unbekannt 20060929

Method GET_DATAELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DD04V Call by reference Type reference (TYPE) DD04V Generierte Tabelle zum View DD04V 20060213
2 Importing ROLLNAME Call by reference Type reference (TYPE) ROLLNAME Datenelement (semantische Domäne) 20060213
# Exception Resumable Description Created on
1 UNKNOWN_TYPE Datentyp unbekannt 20060213

Method GET_FIXED_DATAFIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SEFELD Call by reference Type reference (TYPE) SEFELD_TTY Tabelle mit Schnellerfassungsfeldern (Feldnamen) 20060912
2 Importing I_EXCLUDE_USUAL_FIELDS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Die üblichen Verdächtigen weglassen? 20060913

Method GET_FIXED_DATAFIELDS on class CL_COND_USAGE_TOOLS has no exception.

Method GET_FIXED_KEYFIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SEFELD Call by reference Type reference (TYPE) SEFELD_TTY Tabelle mit Schnellerfassungsfeldern (Feldnamen) 20060912
2 Importing I_EXCLUDE_USUAL_FIELDS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Die üblichen Verdächtigen weglassen? 20060913

Method GET_FIXED_KEYFIELDS on class CL_COND_USAGE_TOOLS has no exception.

Method GET_FOREIGN_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DD05M_TAB Call by reference Type reference (TYPE) DD05MTTYP Tabellentyp zu DD05M 20060306
2 Importing FIELDNAME Call by reference Type reference (TYPE) CSEQUENCE Name des Feldes 20060306
# Exception Resumable Description Created on
1 UNKNOWN_FIELDNAME unbekanter Feldname 20060306

Method GET_INITIAL_VALUE_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Exporting INITIAL_VALUE Call by reference Type reference (TYPE) STRING 20060208

Method GET_INITIAL_VALUE_FOR_FIELD on class CL_COND_USAGE_TOOLS has no exception.

Method GET_MEMORYID_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060717
2 Exporting MEMORYID Call by reference Type reference (TYPE) MEMORYID Set-/Get-Paramter-Id 20060717
# Exception Resumable Description Created on
1 ERROR Fehler bei der Ermittlung 20060717

Method GET_OUTPUTLENGTH_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Exporting OUTPUTLENGTH Call by reference Type reference (TYPE) OUTPUTLEN Ausgabelänge 20060208
# Exception Resumable Description Created on
1 ERROR Fehler bei der Längenermittlung 20060208

Method GET_RELATIVES_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) KFDNA Name des Konditionsfeldes 20060214
2 Importing ONLY_FIELDS Call by reference Type reference (TYPE) ABAP_BOOL nur Felder ermitteln 20060306
3 Exporting RELATIVES Call by reference Type reference (TYPE) IF_COND_FIELDGROUPS=>COND_RELATIVES Verwandte Felder 20060216
# Exception Resumable Description Created on
1 ERROR Fehler bei der Ermittlung (Feld unbekannt?) 20060208

Method GET_SEARCHHELP_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Exporting SEARCHHELP Call by reference Type reference (TYPE) SHLPNAME Name einer Suchhilfe 20060208
# Exception Resumable Description Created on
1 NOT_FOUND es konnte keine Suchhilfe ermittelt werden 20060208

Method GET_TEXTS_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Exporting REPTEXT Call by reference Type reference (TYPE) DFIES-REPTEXT Überschrift 20060208
3 Exporting SCRTEXT_L Call by reference Type reference (TYPE) DFIES-SCRTEXT_L Feldbezeichner lang 20060208
4 Exporting SCRTEXT_M Call by reference Type reference (TYPE) DFIES-SCRTEXT_M Feldbezeichner mittel 20060208
5 Exporting SCRTEXT_S Call by reference Type reference (TYPE) DFIES-SCRTEXT_S Feldbezeichner kurz 20060208
# Exception Resumable Description Created on
1 UNKNOWN_FIELD Feld ist unbekannt 20060208

Method GET_TYPE_FOR_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) SEFELD Schnellerfassungsfeld (interner Feldname) 20060208
2 Exporting TYPENAME Call by reference Type reference (TYPE) ROLLNAME Datenelement (semantische Domäne) 20060208
# Exception Resumable Description Created on
1 ERROR Fehler bei der Typermittlung 20060208

Method GET_VARIABLE_DATAPOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TABPOS Value transfer Type reference (TYPE) TABFDPOS Position des Feldes in der Tabelle 20060921

Method GET_VARIABLE_DATAPOS on class CL_COND_USAGE_TOOLS has no exception.

Method GET_VARIABLE_KEYPOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TABPOS Value transfer Type reference (TYPE) TABFDPOS Position des Feldes in der Tabelle 20060921

Method GET_VARIABLE_KEYPOS on class CL_COND_USAGE_TOOLS has no exception.

Method IS_CASESENSITIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FLAG1 Call by reference Type reference (TYPE) FDFLAG1 Flag 1 der Länge 1 Byte für Feldeigenschaften 20060929
2 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL Resultat 20060929

Method IS_CASESENSITIVE on class CL_COND_USAGE_TOOLS has no exception.

Method IS_KEYFIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FLAG1 Call by reference Type reference (TYPE) FDFLAG1 Flag 1 der Länge 1 Byte für Feldeigenschaften 20060912
2 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL Resultat 20060912

Method IS_KEYFIELD on class CL_COND_USAGE_TOOLS has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700