SAP ABAP Class /SAPCND/CL_DB_MASS_SELECT (Mass Selection of Condition Records)
Hierarchy
☛
SAP_AP (Software Component) SAP Application Platform
⤷
AP-PRC-CON (Application Component) Condition Technique
⤷
/SAPCND/ARCHIVING (Package) Archiving for Condition Technique
⤷
⤷
Properties
| Class | /SAPCND/CL_DB_MASS_SELECT | |
| Short Description | Mass Selection of Condition Records | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | /SAPCND/ARCH | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | /SAPCND/ARCHIVING | Archiving for Condition Technique |
| Created | 20040119 | SAP |
| Last change | 20050219 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /SAPCND/CL_DB_MASS_SELECT has no interface implemented.
Friends
Class /SAPCND/CL_DB_MASS_SELECT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | XFELD | ' ' | Cursor Is Closed | 20040121 | ||
| 2 | Constant | Private | Type reference (TYPE) | XFELD | 'X' | Cursor Is Open | 20040121 | ||
| 3 | Constant | Private | Type reference (TYPE) | XFELD | '*' | No More Records for this Cursor | 20040128 | ||
| 4 | Static Attribute | Private | Type reference (TYPE) | TS_CURSOR_DATA | Data for Cursor | 20040121 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | TS_WORKING_SETS | Working Sets for Application (Names and References) | 20040121 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | /SAPCND/T_ATTRIB_VALUE_INT | Cache for Attribute Value Pairs | 20040121 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | /SAPCND/T_CONDTAB_READ_RECORDS | Table with Statistics on Read Condition Records | 20040204 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | /SAPCND/T_CONDTAB_OBJECT_NAMES | Cache for Condition Tables with Their Additional Data | 20040121 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | /SAPCND/T681H_T | Residence Times (for Archiving) | 20040123 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | /SAPCND/BOOLEAN | Only Select Deleted Records? | 20040121 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | /SAPCND/BOOLEAN | Consider Residence Times? | 20040121 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Public: Read Condition Records as Fixed Working Set | 20040121 | |
| 2 | Static method | Public | Method | Public: Only Read Data from Condition Table | 20040123 | |
| 3 | Static method | Public | Method | Public: Complete Condition Records | 20040123 | |
| 4 | Static method | Private | Method | Save Transferred Attributes and Tables | 20040121 | |
| 5 | Static method | Public | Method | Public: End Reading | 20040119 | |
| 6 | Static method | Public | Method | Public: Prepare to Read | 20040119 | |
| 7 | Static method | Private | Method | Close Current Cursor | 20040121 | |
| 8 | Static method | Private | Method | Read Data via Cursor of Condition Table in Flat Working Set | 20040121 | |
| 9 | Static method | Private | Method | Open Cursor for the Next Table | 20040122 |
Events
Class /SAPCND/CL_DB_MASS_SELECT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_CURSOR_DATA | Private | See coding | Cursor for a Condition Table | 20040119 | BEGIN OF ts_cursor_data,
key TYPE /sapcnd/condtab,
cursor TYPE cursor,
state TYPE xfeld,
counter TYPE sydbcnt,
ix_condtab TYPE sytabix,
END OF ts_cursor_data
|
|
| 2 | TS_NAME_REF | Private | See coding | Internal: Name-Data Reference Pair | 20040119 | BEGIN OF ts_name_ref,
name TYPE ddobjname,
ref TYPE REF TO data,
END OF ts_name_ref
|
|
| 3 | TS_WORKING_SETS | Private | See coding | Working Sets for Application (Names and References) | 20040119 | BEGIN OF ts_working_sets,
item_deep TYPE ts_name_ref,
ttyp_deep TYPE ts_name_ref,
item_shallow TYPE ts_name_ref,
ttyp_shallow TYPE ts_name_ref,
END OF ts_working_sets
|
Method Signatures
Method COLLECT_DATA_AS_FWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WORKING_SET_F | Call by reference | Type reference (TYPE) | /SAPCND/WORKING_SET_F_T | gelesene Konditionssätze als fixes WS | 20040121 | |||
| 2 | E_NUM_SELECTED_RECORDS | Call by reference | Type reference (TYPE) | I | Anzahl gelesener Sätze | 20040121 | |||
| 3 | E_SELECTION_RESULT | Call by reference | Type reference (TYPE) | SYSUBRC | Ergebnis der Selektion | 20040121 | |||
| 4 | I_PACKSIZE | Call by reference | Type reference (TYPE) | SYTFILL | 50 | Anzahl zu lesender Sätze (Paketgröße) | 20040121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Aufbau der Where-Bedingung für die Selektion | 20040121 | ||
| 2 | Fehler bei der Konvertierung | 20040121 | ||
| 3 | Fehler bei der Bestimmung des Tabellennamens | 20040121 | ||
| 4 | kein gültiger Datenbank-Cursor | 20040121 | ||
| 5 | Fehler beim Öffnen des Datenbank-Cursors | 20040121 |
Method COLLECT_RAW_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WORKING_SET_SHALLOW | Call by reference | Type reference (TYPE) | STANDARD TABLE | gelesene Konditionssätze als flaches WS | 20040123 | |||
| 2 | E_CONDTAB | Call by reference | Type reference (TYPE) | /SAPCND/CONDTAB | ID der gelesenen Tabelle | 20040123 | |||
| 3 | E_NUM_SELECTED_RECORDS | Call by reference | Type reference (TYPE) | I | Anzahl gelesener Sätze | 20040123 | |||
| 4 | E_SELECTION_RESULT | Call by reference | Type reference (TYPE) | SYSUBRC | Ergebnis der Selektion | 20040123 | |||
| 5 | I_PACKSIZE | Call by reference | Type reference (TYPE) | SYTFILL | 50 | Anzahl zu lesender Sätze (Paketgröße) | 20040123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Aufbau der Where-Bedingung für die Selektion | 20040123 | ||
| 2 | Fehler bei der Bestimmung des Tabellennamens | 20040123 | ||
| 3 | kein gültiger Datenbank-Cursor | 20040123 | ||
| 4 | Fehler beim Öffnen des Datenbank-Cursors | 20040123 |
Method COMPLETE_RAW_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WORKING_SET_F | Call by reference | Type reference (TYPE) | /SAPCND/WORKING_SET_F_T | Konditionssätze als fixes WS | 20040123 | |||
| 2 | IT_WORKING_SET_SHALLOW | Call by reference | Type reference (TYPE) | STANDARD TABLE | Konditionssätze als flaches WS | 20040123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Konvertierung | 20040123 | ||
| 2 | Fehler beim Lesen der Staffeln | 20040128 | ||
| 3 | Fehler beim Lesen der Supplements | 20040128 |
Method FILL_CACHE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ATTRIB_INCL_EXCL_INT | Call by reference | Type reference (TYPE) | /SAPCND/T_ATTRIB_INCL_EXCL | Einschluss- und Ausschlussliste für Attribute | 20040121 | |||
| 2 | IT_ATTRIB_VALUE_INT | Call by reference | Type reference (TYPE) | /SAPCND/T_ATTRIB_VALUE_INT | Attribut-Wert-Paar in interner Darstellung | 20040121 | |||
| 3 | I_APPLICATION | Call by reference | Type reference (TYPE) | /SAPCND/APPLICATION | Applikation im Sinne der Konditionstechnik | 20040123 | |||
| 4 | I_GROUPNAME | Call by reference | Type reference (TYPE) | /SAPCND/MAINT_GROUP | Konditionspflegegruppe | 20040121 |
Method FILL_CACHE on class /SAPCND/CL_DB_MASS_SELECT has no exception.
Method FINISH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_READ_RECORDS | Call by reference | Type reference (TYPE) | /SAPCND/T_CONDTAB_READ_RECORDS | Tabelle mit Statistik über gelesene Konditionssätze | 20040204 | |||
| 2 | E_RESULT | Call by reference | Type reference (TYPE) | SYSUBRC | Rückgabewert | 20040119 |
Method FINISH on class /SAPCND/CL_DB_MASS_SELECT has no exception.
Method PREPARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ATTRIB_INCL_EXCL_INT | Call by reference | Type reference (TYPE) | /SAPCND/T_ATTRIB_INCL_EXCL | Einschluss- und Ausschlussliste für Attribute | 20040119 | |||
| 2 | IT_ATTRIB_VALUE_INT | Call by reference | Type reference (TYPE) | /SAPCND/T_ATTRIB_VALUE_INT | Attribut-Wert-Paar in interner Darstellung | 20040119 | |||
| 3 | I_APPLICATION | Call by reference | Type reference (TYPE) | /SAPCND/APPLICATION | Applikation im Sinne der Konditionstechnik | 20040119 | |||
| 4 | I_GROUPNAME | Call by reference | Type reference (TYPE) | /SAPCND/MAINT_GROUP | Konditionspflegegruppe | 20040119 | |||
| 5 | I_SELECT_BY_DELETION_INDICATOR | Call by reference | Type reference (TYPE) | /SAPCND/SEL_BY_REL_STATUS | ' ' | Löschvermerk berücksichtigen? | 20040119 | ||
| 6 | I_SELECT_BY_RETENTION_PERIOD | Call by reference | Type reference (TYPE) | /SAPCND/SEL_BY_RES_TIME | ' ' | Residenzzeit berücksichtigen? | 20040119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Aufbau der Where-Bedingung für die Selektion | 20040119 | ||
| 2 | Fehler bei der Erzeugung interner Daten | 20040119 | ||
| 3 | Fehler bei der Bestimmung des Tabellennamens | 20040119 | ||
| 4 | Keine Konditionstabellen zu den angegebenen Attributen | 20040119 | ||
| 5 | 20050124 | |||
| 6 | Fehler beim Öffnen des Datenbank-Cursors | 20040119 |
Method _CLOSE_CURSOR Signature
Method _CLOSE_CURSOR on class /SAPCND/CL_DB_MASS_SELECT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Schließen des Cursors | 20040121 | ||
| 2 | Kein Cursor zum Schließen da! | 20040121 |
Method _FETCH_FROM_CURSOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_COND_RECORDS | Call by reference | Type reference (TYPE) | STANDARD TABLE | Konditionssätze als flaches WS | 20040121 | |||
| 2 | E_NUM_SELECTED_RECORDS | Call by reference | Type reference (TYPE) | I | Anzahl gelesene Sätze | 20040121 | |||
| 3 | E_SELECTION_RESULT | Call by reference | Type reference (TYPE) | SYSUBRC | Ergebnis des Lesens (Returncode) | 20040121 | |||
| 4 | I_PACKSIZE | Call by reference | Type reference (TYPE) | SYTFILL | 100 | Anzahl zu lesender Sätze | 20040121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen über Cursor | 20040121 | ||
| 2 | Kein Cursor zum Lesen da! | 20040121 |
Method _OPEN_NEXT_CURSOR Signature
Method _OPEN_NEXT_CURSOR on class /SAPCND/CL_DB_MASS_SELECT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Aufbau der Where-Bedingung für die Selektion | 20040122 | ||
| 2 | Fehler bei der Bestimmung des Tabellennamens | 20040122 | ||
| 3 | 20050124 | |||
| 4 | Es existiert keine weitere Konditionstabelle | 20040122 | ||
| 5 | Fehler beim Öffnen des Datenbank-Cursors | 20040122 |
History
| Last changed by/on | SAP | 20050219 |
| SAP Release Created in | 401 |