Skip to content

/AWS1/CL_ATHNAMEDQUERY

A query, where QueryString contains the SQL statements that make up the query.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/ATHNAMESTRING /AWS1/ATHNAMESTRING

The query name.

iv_database TYPE /AWS1/ATHDATABASESTRING /AWS1/ATHDATABASESTRING

The database to which the query belongs.

iv_querystring TYPE /AWS1/ATHQUERYSTRING /AWS1/ATHQUERYSTRING

The SQL statements that make up the query.

Optional arguments:

iv_description TYPE /AWS1/ATHDESCRIPTIONSTRING /AWS1/ATHDESCRIPTIONSTRING

The query description.

iv_namedqueryid TYPE /AWS1/ATHNAMEDQUERYID /AWS1/ATHNAMEDQUERYID

The unique identifier of the query.

iv_workgroup TYPE /AWS1/ATHWORKGROUPNAME /AWS1/ATHWORKGROUPNAME

The name of the workgroup that contains the named query.


Queryable Attributes

Name

The query name.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Description

The query description.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

Database

The database to which the query belongs.

Accessible with the following methods

Method Description
GET_DATABASE() Getter for DATABASE, with configurable default
ASK_DATABASE() Getter for DATABASE w/ exceptions if field has no value
HAS_DATABASE() Determine if DATABASE has a value

QueryString

The SQL statements that make up the query.

Accessible with the following methods

Method Description
GET_QUERYSTRING() Getter for QUERYSTRING, with configurable default
ASK_QUERYSTRING() Getter for QUERYSTRING w/ exceptions if field has no value
HAS_QUERYSTRING() Determine if QUERYSTRING has a value

NamedQueryId

The unique identifier of the query.

Accessible with the following methods

Method Description
GET_NAMEDQUERYID() Getter for NAMEDQUERYID, with configurable default
ASK_NAMEDQUERYID() Getter for NAMEDQUERYID w/ exceptions if field has no value
HAS_NAMEDQUERYID() Determine if NAMEDQUERYID has a value

WorkGroup

The name of the workgroup that contains the named query.

Accessible with the following methods

Method Description
GET_WORKGROUP() Getter for WORKGROUP, with configurable default
ASK_WORKGROUP() Getter for WORKGROUP w/ exceptions if field has no value
HAS_WORKGROUP() Determine if WORKGROUP has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_NAMEDQUERYLIST

TYPES TT_NAMEDQUERYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_ATHNAMEDQUERY WITH DEFAULT KEY
.