SAP ABAP Interface IF_FDT_QUERY (FDT: Query)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_CORE (Package) BRFplus: Core
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_FDT_QUERY | FDT: Query | 20051024 |
Properties
| Interface | IF_FDT_QUERY | |
| Short Description | FDT: Query |
General Data
| Package | SFDT_CORE | BRFplus: Core |
| Created | 20051024 | SAP |
| Last changed | 20090618 | SAP |
| 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 | IF_FDT_QUERY | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
| 3 | IF_FDT_TYPES | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Interface IF_FDT_QUERY has no interface.
Friends
Interface IF_FDT_QUERY has no friend.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GC_CUSTOMIZING_OBJECT | Constant | Public | Type reference (TYPE) | SYSTEM_OBJECT | ' ' | 20060824 | ||
| 2 | GC_DELOPT_BOTH | Constant | Public | Type reference (TYPE) | DELOPT | '3' | 20060824 | ||
| 3 | GC_DELOPT_DELETED | Constant | Public | Type reference (TYPE) | DELOPT | '1' | 20060824 | ||
| 4 | GC_DELOPT_UNDELETED | Constant | Public | Type reference (TYPE) | DELOPT | '2' | 20060824 | ||
| 5 | GC_FLAGOPT_BOTH | Constant | Public | Type reference (TYPE) | FLAGOPT | '3' | 20080219 | ||
| 6 | GC_FLAGOPT_FALSE | Constant | Public | Type reference (TYPE) | FLAGOPT | '2' | 20080219 | ||
| 7 | GC_FLAGOPT_TRUE | Constant | Public | Type reference (TYPE) | FLAGOPT | '1' | 20080219 | ||
| 8 | GC_MEMOPT_BOTH | Constant | Public | Type reference (TYPE) | MEMOPT | '3' | 20060824 | ||
| 9 | GC_MEMOPT_SAVED | Constant | Public | Type reference (TYPE) | MEMOPT | '2' | 20060824 | ||
| 10 | GC_MEMOPT_UNSAVED | Constant | Public | Type reference (TYPE) | MEMOPT | '1' | 20060824 | ||
| 11 | GC_NAMOPT_BOTH | Constant | Public | Type reference (TYPE) | NAMOPT | '3' | 20060824 | ||
| 12 | GC_NAMOPT_NAMED | Constant | Public | Type reference (TYPE) | NAMOPT | '1' | 20060824 | ||
| 13 | GC_NAMOPT_UNNAMED | Constant | Public | Type reference (TYPE) | NAMOPT | '2' | 20060824 | ||
| 14 | GC_SYSTEM_OBJECT | Constant | Public | Type reference (TYPE) | SYSTEM_OBJECT | 'X' | 20060824 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Published Constants for all available Query fields | 20060824 | |
| 2 | Instance method | Public | Method | Get the IDs for a semantic key | 20051201 | |
| 3 | Instance method | Public | Method | Get the name for an ID | 20051204 | |
| 4 | Instance method | Public | Method | Get the object type for an ID | 20051207 | |
| 5 | Instance method | Public | Method | Dynamic Selection of Data | 20060824 |
Events
Interface IF_FDT_QUERY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | DELOPT | Public | See coding | 20060824 | delopt TYPE c LENGTH 1
|
||
| 2 | FLAGOPT | Public | See coding | 20080219 | flagopt TYPE c LENGTH 1
|
||
| 3 | LCLOPT | Public | See coding | 20070618 | lclopt TYPE c LENGTH 1
|
||
| 4 | MEMOPT | Public | See coding | 20060824 | memopt TYPE c LENGTH 1
|
||
| 5 | NAMOPT | Public | See coding | 20060824 | namopt TYPE c LENGTH 1
|
||
| 6 | SYSTEM_OBJECT | Public | Type reference (TYPE) | FDT_SYSTEM_OBJECT | 20060824 | |
|
| 7 | S_APPLICATION | Public | See coding | ID with applications | 20051025 | BEGIN OF s_application,
id TYPE if_fdt_types=>id,
application_id TYPE if_fdt_types=>id,
END OF s_application
|
|
| 8 | S_DATA_OBJECT_TYPE | Public | See coding | ID with data object type | 20051025 | BEGIN OF s_data_object_type,
id TYPE if_fdt_types=>id,
data_object_type TYPE if_fdt_types=>data_object_type,
END OF s_data_object_type
|
|
| 9 | S_ELEMENT_TYPE | Public | See coding | ID with element type | 20060111 | BEGIN OF s_element_type,
id TYPE if_fdt_types=>id,
element_type TYPE if_fdt_types=>element_type,
END OF s_element_type
|
|
| 10 | S_EXPRESSION_TYPE | Public | See coding | ID with expression type | 20051025 | BEGIN OF s_expression_type,
id TYPE if_fdt_types=>id,
expression_type_id TYPE if_fdt_types=>id,
END OF s_expression_type
|
|
| 11 | S_FIELD_LIST | Public | See coding | 20060824 | BEGIN OF s_field_list,
queryfield TYPE fieldname, "Do not Code on this name
interface TYPE classname, "Use this constant instead
constant TYPE fieldname, "Use this constant instead
type TYPE REF TO cl_abap_elemdescr,
no_db_selection TYPE abap_bool, "Field can not be used for DB selection.
END OF s_field_list
|
||
| 12 | S_FOAE_COND | Public | See coding | 20060824 | BEGIN OF s_foae_cond,
itabfield TYPE fieldname,
queryfield TYPE fieldname,
END OF s_foae_cond
|
||
| 13 | S_NAME | Public | See coding | ID with name | 20051204 | BEGIN OF s_name,
id TYPE if_fdt_types=>id,
name TYPE if_fdt_types=>name,
END OF s_name
|
|
| 14 | S_OBJECT_CATEGORY_SEL | Public | See coding | 20071108 | BEGIN OF s_object_category_sel,
system_objects TYPE fdt_system_object, "Default: TRUE
customizing_objects TYPE fdt_customizing_object, "Default: TRUE
masterdata_objects TYPE fdt_masterdata_object, "Default: FALSE - to be compatible.
END OF s_object_category_sel
|
||
| 15 | S_OBJECT_TYPE | Public | See coding | ID with object type | 20051025 | BEGIN OF s_object_type,
id TYPE if_fdt_types=>id,
object_type TYPE if_fdt_types=>object_type,
END OF s_object_type
|
|
| 16 | S_QUERYFIELD | Public | See coding | 20060824 | BEGIN OF s_queryfield,
queryfield TYPE fieldname,
END OF s_queryfield
|
||
| 17 | S_SELECTION | Public | See coding | 20060824 | BEGIN OF s_selection,
queryfield TYPE fieldname,
sign TYPE ddsign,
option TYPE ddoption,
low TYPE string,
high TYPE string,
END OF s_selection
|
||
| 18 | TH_FIELD_LIST | Public | See coding | 20060824 | th_field_list TYPE HASHED TABLE OF s_field_list
WITH UNIQUE KEY queryfield
|
||
| 19 | TR_DATA_OBJECT_TYPE | Public | See coding | Range of data object types | 20051025 | tr_data_object_type TYPE RANGE OF if_fdt_types=>data_object_type
|
|
| 20 | TR_ELEMENT_TYPE | Public | See coding | Range of element types | 20060111 | tr_element_type TYPE RANGE OF if_fdt_types=>element_type
|
|
| 21 | TR_EXPRESSION_TYPE | Public | See coding | Range of expression types | 20051025 | tr_expression_type TYPE RANGE OF if_fdt_types=>id
|
|
| 22 | TR_ID | Public | See coding | Range of IDs | 20051025 | tr_id TYPE RANGE OF if_fdt_types=>id
|
|
| 23 | TR_NAME | Public | See coding | Range of names | 20051204 | tr_name TYPE RANGE OF if_fdt_types=>name
|
|
| 24 | TR_OBJECT_TYPE | Public | See coding | Range of object types | 20051025 | tr_object_type TYPE RANGE OF if_fdt_types=>object_type
|
|
| 25 | TR_TIMESTAMP | Public | See coding | Range of timestamps | 20051025 | tr_timestamp TYPE RANGE OF timestamp
|
|
| 26 | TR_USER | Public | See coding | Range of users | 20051025 | tr_user TYPE RANGE OF syuname
|
|
| 27 | TS_APPLICATION | Public | See coding | List of IDs with applications | 20051025 | ts_application TYPE SORTED TABLE OF s_application WITH UNIQUE KEY id
|
|
| 28 | TS_DATA_OBJECT_TYPE | Public | See coding | List of IDs with data object types | 20051025 | ts_data_object_type TYPE SORTED TABLE OF s_data_object_type WITH UNIQUE KEY id
|
|
| 29 | TS_ELEMENT_TYPE | Public | See coding | List of IDs with element types | 20060111 | ts_element_type TYPE SORTED TABLE OF s_element_type WITH UNIQUE KEY id
|
|
| 30 | TS_EXPRESSION_TYPE | Public | See coding | List of IDs with expression types | 20051025 | ts_expression_type TYPE SORTED TABLE OF s_expression_type WITH UNIQUE KEY id
|
|
| 31 | TS_FOAE_COND | Public | See coding | 20060824 | ts_foae_cond TYPE SORTED TABLE
OF s_foae_cond
WITH UNIQUE KEY queryfield
|
||
| 32 | TS_NAME | Public | See coding | List of IDs with names | 20051204 | ts_name TYPE SORTED TABLE OF s_name WITH UNIQUE KEY id
|
|
| 33 | TS_OBJECT_TYPE | Public | See coding | List of IDs with object types | 20051025 | ts_object_type TYPE SORTED TABLE OF s_object_type WITH UNIQUE KEY id
|
|
| 34 | TS_QUERYFIELD | Public | See coding | 20060824 | ts_queryfield TYPE SORTED TABLE OF s_queryfield
WITH UNIQUE KEY queryfield
|
||
| 35 | TS_SELECTION | Public | See coding | 20060824 | ts_selection TYPE SORTED TABLE OF s_selection
WITH UNIQUE KEY queryfield sign option low high
|
Method Signatures
Method GET_FIELD_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETH_FIELD_LIST | Call by reference | Type reference (TYPE) | TH_FIELD_LIST | 20060824 |
Method GET_FIELD_LIST on Interface IF_FDT_QUERY has no exception.
Method GET_IDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETS_OBJECT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs | 20051201 | |||
| 2 | IV_DELETED_OPTION | Call by reference | Type reference (TYPE) | DELOPT | GC_DELOPT_UNDELETED | Select Deleted / Undeleted / Both Objects | 20090109 | ||
| 3 | IV_INCL_MEMORY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | ABAP_TRUE: include unsaved changes | 20051207 | ||
| 4 | IV_NAME | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>NAME | Beschreibung | 20051204 | |||
| 5 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>OBJECT_TYPE | Objekttyp | 20051201 |
Method GET_IDS on Interface IF_FDT_QUERY has no exception.
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_APPLICATION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20051204 | |||
| 2 | EV_ID_UNKNOWN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: ID is unknown | 20051204 | |||
| 3 | EV_NAME | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>NAME | Beschreibung | 20051204 | |||
| 4 | EV_UNNAMED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: no semantic key defined | 20051204 | |||
| 5 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20051204 | |||
| 6 | IV_INCL_MEMORY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | ABAP_TRUE: include unsaved changes | 20051207 |
Method GET_NAME on Interface IF_FDT_QUERY has no exception.
Method GET_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ID_UNKNOWN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: ID is unknown | 20051207 | |||
| 2 | EV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>OBJECT_TYPE | Objekttyp | 20051207 | |||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20051207 | |||
| 4 | IV_INCL_MEMORY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | ABAP_TRUE: inlcude unsaved changes | 20051207 |
Method GET_OBJECT_TYPE on Interface IF_FDT_QUERY has no exception.
Method SELECT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETA_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | Selected Data | 20060824 | |||
| 2 | IS_OBJECT_CATEGORY_SEL | Call by reference | Type reference (TYPE) | IF_FDT_QUERY=>S_OBJECT_CATEGORY_SEL | Object categories - Default: Only Customizing and Syst. Obj. | 20071108 | |||
| 3 | ITA_FOAE_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | For Alll Entries: Table with Selection Data | 20070912 | |||
| 4 | ITS_FOAE_COND | Call by reference | Type reference (TYPE) | IF_FDT_QUERY=>TS_FOAE_COND | For Alll Entries: Table with Selection Data | 20070912 | |||
| 5 | ITS_RESULT_FIELD | Call by reference | Type reference (TYPE) | TS_QUERYFIELD | List of Requested Fields in the Result Table | 20060824 | |||
| 6 | ITS_SELECTION | Call by reference | Type reference (TYPE) | TS_SELECTION | List of Selections | 20060824 | |||
| 7 | IV_CROSS_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Select Across All Clients | 20061026 | ||
| 8 | IV_CROSS_VERSION | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Select all Versions (Default: Working Version) | 20060922 | ||
| 9 | IV_DELETED_OPTION | Call by reference | Type reference (TYPE) | DELOPT | GC_DELOPT_UNDELETED | Select Deleted / Undeleted / Both Objects | 20060824 | ||
| 10 | IV_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Language Key for the Current Text Environment | 20060824 | ||
| 11 | IV_MEMORY_OPTION | Call by reference | Type reference (TYPE) | MEMOPT | GC_MEMOPT_SAVED | Select Saved / Unsaved / Both Objects | 20060824 | ||
| 12 | IV_NAMED_OPTION | Call by reference | Type reference (TYPE) | NAMOPT | GC_NAMOPT_NAMED | Select Named / Unamed / Both Objects | 20060824 | ||
| 13 | IV_PACKAGE_SIZE | Call by reference | Type reference (TYPE) | I | 0 | Package Size (Default 0 means: Fetch All Data) | 20060824 | ||
| 14 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Timestamp for Version Selection (Default: Working Version) | 20060824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20060824 |
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 710 |