SAP ABAP Class CL_COND_TAB_SEL (Methods for Selection from Condition Tables)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷ SD-MD-CM (Application Component) Conditions
⤷ COND_SRV (Package) Service Tools for Condition Technique
⤷ SD-MD-CM (Application Component) Conditions
⤷ COND_SRV (Package) Service Tools for Condition Technique
Properties
Class | CL_COND_TAB_SEL | |
Short Description | Methods for Selection from Condition Tables | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | P | SAP Standard Production Program |
Category | 0 | |
Package | COND_SRV | Service Tools for Condition Technique |
Created | 20060120 | 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_TAB_SEL | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_COND_TAB_SEL has no interface implemented.
Friends
Class CL_COND_TAB_SEL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | COND_USAGE_TOOL | Static Attribute | Private | Object reference (TYPE REF TO) | CL_COND_USAGE_TOOLS | Utility for Condition Usage | 20060208 | ||
2 | CO_IS_GROUPFIELD | Constant | Private | Type reference (TYPE) | COND_SELFIELD-GROUPFLAG | 'X' | Group Field for Condition Fields | 20061208 | |
3 | CO_IS_MANDATORY | Constant | Private | Type reference (TYPE) | COND_SELFIELD-IS_MANDATORY | 'X' | Required field flag | 20061208 | |
4 | CO_IS_NOT_GROUPFIELD | Constant | Private | Type reference (TYPE) | COND_SELFIELD-GROUPFLAG | ' ' | Group Field for Condition Fields | 20061208 | |
5 | CO_IS_NOT_MANDATORY | Constant | Private | Type reference (TYPE) | COND_SELFIELD-IS_MANDATORY | ' ' | Required field flag | 20061208 | |
6 | CO_SIGN_EXCL | Constant | Private | Type reference (TYPE) | COND_SELFIELD-SIGN | 'E' | Include/Exclude Criterion | 20061208 | |
7 | CO_SIGN_INCL | Constant | Private | Type reference (TYPE) | COND_SELFIELD-SIGN | 'I' | Include/Exclude Criterion | 20061208 | |
8 | DATE_MODE_EFFECTIVE | Constant | Private | Type reference (TYPE) | TY_DATE_SEL_MODE | 'E' | Selection Using Key Date (Valid On) | 20060502 | |
9 | DATE_MODE_INTERVAL | Constant | Private | Type reference (TYPE) | TY_DATE_SEL_MODE | 'I' | Selection Using Time Interval (Valid From/Valid To) | 20060502 | |
10 | DATE_MODE_NOSEL | Constant | Private | Type reference (TYPE) | TY_DATE_SEL_MODE | ' ' | Do Not Use Validity Date for Selection | 20060502 | |
11 | DATE_MODE_STRICT | Constant | Private | Type reference (TYPE) | TY_DATE_SEL_MODE | 'S' | Selection Using Time Interval (Strict) | 20060503 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | AGGREGATE_TABLE_FIELDS | Static method | Public | Method | Merge Fields of Condition Tables in a Field List | 20060123 |
2 | CHECK_AUTHORITY | Static method | Public | Method | Authorization Check (Restriction on Cond. Records if Nec.) | 20070413 |
3 | GET_DAT_FIELDS | Static method | Public | Method | Determine (Variable) Data Fields of Condition Tables | 20060207 |
4 | GET_KEY_FIELDS | Static method | Public | Method | Determine (Variable) Key Fields of Condition Tables | 20060120 |
5 | GET_POSSIBLE_TABLES | Static method | Private | Method | Gets Possible Condition Tables Using Access Customizing | 20060606 |
6 | GET_TABLES_FOR_FIELDS | Static method | Public | Method | Determines Condition Table for List of Selection Fields | 20060120 |
7 | GET_TABLE_USES | Static method | Public | Method | Determine Usage of Tables | 20060120 |
8 | GET_USAGE_TOOL | Static method | Private | Method | Instantiates the Usage Tool | 20060222 |
9 | GET_WHERE_CLAUSES | Static method | Public | Method | Generates Where Conditions for Selection Options | 20060120 |
10 | SELECT_FOR_SELOPT | Static method | Public | Method | Selection of Condition Records (with Selection Options) | 20060120 |
11 | SELECT_FOR_WHERE | Static method | Public | Method | Selection of Condition Records (with Where Conditions) | 20060120 |
12 | SUPPLEMENT_DATAPART | Static method | Public | Method | Read Data Component (Usage-Specific) | 20060413 |
13 | _CONDTAB_SELECTION | Static method | Private | Method | cSelection from Condition Table | 20060120 |
Events
Class CL_COND_TAB_SEL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | COND_RNGS_T | Public | See coding | Table of Ranges for Condition Key Fields | 20060120 | cond_rngs_t TYPE SORTED TABLE OF cond_rngs
WITH NON-UNIQUE KEY kotabnr
|
|
2 | COND_TABFIELDS | Public | See coding | Structure for Fields of Condition Table | 20060223 | BEGIN OF cond_tabfields,
kvewe TYPE kvewe,
kotabnr TYPE kotabnr,
tabfields TYPE cond_field_t, "Table
END OF cond_tabfields
|
|
3 | COND_TABFIELDS_T | Public | See coding | Table of Fields for Condition Tables | 20060223 | cond_tabfields_t TYPE SORTED TABLE OF cond_tabfields
WITH UNIQUE KEY kvewe kotabnr
|
|
4 | COND_TABLE_USE | Public | See coding | Usage Information for Condition Tables | 20060120 | BEGIN OF cond_table_use,
kvewe TYPE kvewe,
kotabnr TYPE kotabnr,
kappl TYPE kappl,
kozgf TYPE kozgf,
kschl TYPE kschl,
END OF cond_table_use
|
|
5 | COND_TABLE_USE_T | Public | See coding | Table of Usages of Condition Tables | 20060120 | cond_table_use_t TYPE STANDARD TABLE OF cond_table_use
WITH NON-UNIQUE DEFAULT KEY
|
|
6 | COND_TABS_T | Public | See coding | Table with Condition Tables | 20060120 | cond_tabs_t TYPE SORTED TABLE OF cond_tabs
WITH UNIQUE KEY kvewe kotabnr
|
|
7 | COND_WHERE | Public | See coding | Where Condition for a Condition Table | 20060120 | BEGIN OF cond_where,
kotabnr TYPE kotabnr,
where_clause TYPE stringval,
END OF cond_where
|
|
8 | COND_WHERE_T | Public | See coding | Table with Where-Conditions | 20060120 | cond_where_t TYPE SORTED TABLE OF cond_where
WITH UNIQUE KEY kotabnr
|
Method Signatures
Method AGGREGATE_TABLE_FIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | COND_FIELDS | Call by reference | Type reference (TYPE) | COND_FIELD_T | Tabelle mit Konditionsfeldern | 20060123 | ||
2 | Importing | COND_TABLES_FIELDS | Call by reference | Type reference (TYPE) | COND_TABFIELDS_T | Tabelle mit Feldern zu Konditionstabellen | 20060123 |
Method AGGREGATE_TABLE_FIELDS on class CL_COND_TAB_SEL has no exception.
Method CHECK_AUTHORITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ACTIVITY | Call by reference | Type reference (TYPE) | CHAR2 | '03' | Aktivität für Berechtigungsprüfung | 20070413 | |
2 | Exporting | CHECK_MESSAGES | Call by reference | Type reference (TYPE) | ENH_CHK_MESS_IT | Tabelle mit Fehlermeldungen von der Berechtigungsprüfung | 20070416 | ||
3 | Exporting | CHECK_PASSED | Call by reference | Type reference (TYPE) | BOOLEAN | Berechtigungsprüfung erfolgreich? | 20070416 | ||
4 | Changing | COND_RECORDS | Call by reference | Type reference (TYPE) | CONDTAB_DATASOURCE_T | Tabellentyp für Datenquellen zu Konditionstabellen | 20070413 | ||
5 | Importing | COND_USAGE | Call by reference | Type reference (TYPE) | KVEWE | Verwendung der Konditionstabelle | 20070413 | ||
6 | Exporting | RECORDS_REMOVED | Call by reference | Type reference (TYPE) | SYDBCNT | Anzahl entfernter Konditionssätze | 20070413 |
Method CHECK_AUTHORITY on class CL_COND_TAB_SEL has no exception.
Method GET_DAT_FIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COND_TABLES | Call by reference | Type reference (TYPE) | COND_TABS_T | Tabelle mit Konditionstabellen | 20060207 | ||
2 | Exporting | COND_TABLES_FIELDS | Call by reference | Type reference (TYPE) | COND_TABFIELDS_T | Tabelle mit Feldern zu Konditionstabellen | 20060207 | ||
3 | Exporting | DATPOS | Call by reference | Type reference (TYPE) | TABFDPOS | Position der variablen Datenfelder (laut Musterstruktur) | 20060921 | ||
4 | Importing | INCLUDE_FIXED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | feste Datenfelder mit einbeziehen? | 20060912 |
Method GET_DAT_FIELDS on class CL_COND_TAB_SEL has no exception.
Method GET_KEY_FIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COND_TABLES | Call by reference | Type reference (TYPE) | COND_TABS_T | Tabelle mit Konditionstabellen | 20060120 | ||
2 | Exporting | COND_TABLES_FIELDS | Call by reference | Type reference (TYPE) | COND_TABFIELDS_T | Tabelle mit Feldern zu Konditionstabellen | 20060120 | ||
3 | Importing | INCLUDE_FIXED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | feste Schlüsselfelder mit einbeziehen? | 20060912 | |
4 | Exporting | KEYPOS | Call by reference | Type reference (TYPE) | TABFDPOS | Position der variablen Schlüsselfelder (laut Musterstruktur) | 20060921 |
Method GET_KEY_FIELDS on class CL_COND_TAB_SEL has no exception.
Method GET_POSSIBLE_TABLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | APPLICATION | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-APPLICATION | Applikation | 20060606 | ||
2 | Importing | COND_TYPE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_TYPE | Konditionsart | 20060606 | ||
3 | Importing | COND_USAGE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_USAGE | Verwendung der Konditionstabelle | 20060606 | ||
4 | Exporting | TABLE_KEYS | Call by reference | Type reference (TYPE) | TY_COND_TAB_KEYS | Schlüssel der möglichen Tabellen | 20060606 |
Method GET_POSSIBLE_TABLES on class CL_COND_TAB_SEL has no exception.
Method GET_TABLES_FOR_FIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | APPLICATION | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-APPLICATION | Applikation | 20060120 | ||
2 | Exporting | COND_TABLES | Call by reference | Type reference (TYPE) | COND_TABS_T | Tabelle mit Konditionstabellen | 20060120 | ||
3 | Importing | COND_TYPE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_TYPE | Konditionsart | 20060120 | ||
4 | Importing | COND_USAGE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_USAGE | Verwendung der Konditionstabelle | 20060120 | ||
5 | Importing | ONLY_WITH_VALID_DATE | Call by reference | Type reference (TYPE) | BOOLEAN | Nur Tabellen mit/ohne Gültigkeitszeitraum? | 20060120 | ||
6 | Importing | SELFIELDS | Call by reference | Type reference (TYPE) | COND_SELFIELD_T | Tabelle mit Selektionsfeldern | 20060124 | ||
7 | Importing | SPRAS | Call by reference | Type reference (TYPE) | SPRAS | Sprachenschlüssel | 20060120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_SELFIELDS | Eingangsparameter fehlerhaft | 20060208 |
Method GET_TABLE_USES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COND_TABLES | Call by reference | Type reference (TYPE) | COND_TABS_T | Tabelle mit Konditionstabellen | 20060120 | ||
2 | Exporting | COND_TABLE_USES | Call by reference | Type reference (TYPE) | CL_COND_TAB_SEL=>COND_TABLE_USE_T | Tabelle mit Verwendungen von Konditionstabellen | 20060120 |
Method GET_TABLE_USES on class CL_COND_TAB_SEL has no exception.
Method GET_USAGE_TOOL 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 | Verwendung der Konditionstabelle | 20060222 | ||
2 | Returning | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_COND_USAGE_TOOLS | Hilfsmittel für Felder der Verwendung | 20060222 |
Method GET_USAGE_TOOL on class CL_COND_TAB_SEL has no exception.
Method GET_WHERE_CLAUSES 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) | COND_ENVIRONMENT-COND_USAGE | Verwendung der Konditionstabelle | 20060120 | ||
2 | Importing | SELECTIONS | Call by reference | Type reference (TYPE) | CL_COND_TAB_SEL=>COND_RNGS_T | Tabelle mit Ranges | 20060120 | ||
3 | Exporting | WHERE_CLAUSES | Call by reference | Type reference (TYPE) | CL_COND_TAB_SEL=>COND_WHERE_T | Tabelle mit Where-Bedingungen | 20060120 |
Method GET_WHERE_CLAUSES on class CL_COND_TAB_SEL has no exception.
Method SELECT_FOR_SELOPT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | APPLICATION | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-APPLICATION | Applikation | 20060120 | ||
2 | Exporting | COND_RECORDS | Call by reference | Type reference (TYPE) | CONDTAB_DATASOURCE_T | Tabellentyp für Datenquellen zu Konditionstabellen | 20060120 | ||
3 | Importing | COND_TYPE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_TYPE | Konditionsart | 20060120 | ||
4 | Importing | COND_USAGE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_USAGE | Verwendung der Konditionstabelle | 20060120 | ||
5 | Exporting | NUMBER_OF_RECORDS | Call by reference | Type reference (TYPE) | SYDBCNT | Bearbeitete Datenbanktabellenzeilen | 20060203 | ||
6 | Importing | SELECTIONS | Call by reference | Type reference (TYPE) | COND_RNGS_T | Tabelle mit Ranges | 20060120 | ||
7 | Importing | USE_STRICT_DATE_SELECTION | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | strikte Datumsselektion benutzen? | 20060503 | |
8 | Importing | VALID_FROM | Call by reference | Type reference (TYPE) | KODATAB | Gültigkeitsbeginn des Konditionssatzes | 20060120 | ||
9 | Importing | VALID_ON | Call by reference | Type reference (TYPE) | DATAM | Datum gültig am | 20060120 | ||
10 | Importing | VALID_TO | Call by reference | Type reference (TYPE) | KODATBI | Gültigkeitsende des Konditionssatzes | 20060120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_SELECTION_FOUND | keine Selektionskriterien übergeben | 20060120 | |
2 | SELECTION_ERROR | Fehler beim Lesen von der Datenbank | 20060120 | |
3 | TOO_MANY_SELECTOPTIONS | zu viele Select-Options (max. 10) | 20060120 |
Method SELECT_FOR_WHERE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | APPLICATION | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-APPLICATION | Applikation | 20060120 | ||
2 | Exporting | COND_RECORDS | Call by reference | Type reference (TYPE) | CONDTAB_DATASOURCE_T | Tabellentyp für Datenquellen zu Konditionstabellen | 20060120 | ||
3 | Importing | COND_TYPE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_TYPE | Konditionsart | 20060120 | ||
4 | Importing | COND_USAGE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_USAGE | Verwendung der Konditionstabelle | 20060120 | ||
5 | Exporting | NUMBER_OF_RECORDS | Call by reference | Type reference (TYPE) | SYDBCNT | Bearbeitete Datenbanktabellenzeilen | 20060203 | ||
6 | Importing | USE_STRICT_DATE_SELECTION | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | strikte Datumsselektion benutzen? | 20060503 | |
7 | Importing | VALID_FROM | Call by reference | Type reference (TYPE) | KODATAB | Gültigkeitsbeginn des Konditionssatzes | 20060120 | ||
8 | Importing | VALID_ON | Call by reference | Type reference (TYPE) | DATAM | Datum gültig am | 20060120 | ||
9 | Importing | VALID_TO | Call by reference | Type reference (TYPE) | KODATBI | Gültigkeitsende des Konditionssatzes | 20060120 | ||
10 | Importing | WHERE_CLAUSES | Call by reference | Type reference (TYPE) | CL_COND_TAB_SEL=>COND_WHERE_T | Tabelle mit Where-Bedingungen | 20060120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_WHERE_FOUND | Keine Where-Bedingung(en) angegeben | 20060120 | |
2 | SELECTION_ERROR | Fehler beim Lesen der Konditionstabelle | 20060120 |
Method SUPPLEMENT_DATAPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COND_RECORDS | Call by reference | Type reference (TYPE) | CONDTAB_DATASOURCE_T | Tabellentyp für Datenquellen zu Konditionstabellen | 20060413 | ||
2 | Importing | COND_USAGE | Call by reference | Type reference (TYPE) | COND_ENVIRONMENT-COND_USAGE | Verwendung der Konditionstabelle | 20060413 | ||
3 | Exporting | DATAPART | Call by reference | Object reference (TYPE REF TO) | DATA | Datentabelle (nach KNUMH sortiert!) | 20060413 |
Method SUPPLEMENT_DATAPART on class CL_COND_TAB_SEL has no exception.
Method _CONDTAB_SELECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | DATASOURCE | Value transfer | Type reference (TYPE) | CONDTAB_DATASOURCE | Datenquellen für Konditionstabellen | 20060120 | ||
2 | Importing | DATE_SELECTION | Call by reference | Type reference (TYPE) | TY_DATE_SEL | für Selektion nach Gültigkeitszeitraum | 20060502 | ||
3 | Importing | KAPPL | Call by reference | Type reference (TYPE) | KAPPL | Applikation | 20060120 | ||
4 | Importing | KOTABNR | Call by reference | Type reference (TYPE) | KOTABNR | Konditionstabelle | 20060120 | ||
5 | Importing | KSCHL | Call by reference | Type reference (TYPE) | KSCHL | Konditionsart | 20060120 | ||
6 | Importing | KVEWE | Call by reference | Type reference (TYPE) | KVEWE | Verwendung der Konditionstabelle | 20060120 | ||
7 | Exporting | NUMBER_OF_RECORDS | Call by reference | Type reference (TYPE) | SYDBCNT | Bearbeitete Datenbanktabellenzeilen | 20060203 | ||
8 | Importing | SELECTION_TABLES | Call by reference | Type reference (TYPE) | TY_SEL_TABS_T | Tabelle mit Referenzen auf Selektionstabellen | 20060120 | ||
9 | Importing | WHERE | Call by reference | Type reference (TYPE) | STRING | komplette Where-Bedingung für eine Konditionstabelle | 20060120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CREATE_DATA_ERROR | Fehler beim dynamischen Erzeugen einer internen Tabelle | 20060120 | |
2 | SQL_ERROR | Fehler beim Lesen von der Datenbank | 20060120 | |
3 | TABLE_NOT_EXISTING | Konditionstabelle nicht vorhanden | 20060120 | |
4 | TOO_MANY_SELECTIONS | zu viele SELECTIONS übergeben | 20060120 |
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 700 |