SAP ABAP Class CL_POWL_QUERY_API (POWL API)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MUS-POW (Application Component) Personal Object Worklist
⤷
GEN_PERSONAL_OBJECT_WORKLIST (Package) generic worklist
⤷
⤷
Properties
| Class | CL_POWL_QUERY_API | |
| Short Description | POWL API | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GEN_PERSONAL_OBJECT_WORKLIST | generic worklist |
| Created | 20061019 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_POWL_QUERY_API has no forward declaration.
Interfaces
Class CL_POWL_QUERY_API has no interface implemented.
Friends
Class CL_POWL_QUERY_API has no friend class.
Attributes
Class CL_POWL_QUERY_API has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Assisgns query to an application/ role or to an user | 20080421 | |
| 2 | Static method | Public | Method | create Admin queries | 20070321 | |
| 3 | Static method | Public | Method | Create an active user query | 20090927 | |
| 4 | Static method | Public | Method | delete query data from database | 20090319 | |
| 5 | Static method | Public | Method | Delete query | 20091029 | |
| 6 | Static method | Public | Method | Delivers the Application ID description | 20100826 | |
| 7 | Static method | Public | Method | Delivers the admin category description for the user | 20100826 | |
| 8 | Static method | Public | Method | Delivers the ID of the Default Query | 20100722 | |
| 9 | Static method | Public | Method | return Query Information for given Application ID | 20070321 | |
| 10 | Static method | Public | Method | return Queries for given Application ID and powl type | 20090927 | |
| 11 | Static method | Public | Method | return Query parameter | 20070321 | |
| 12 | Static method | Public | Method | return Query refresh result for the given Query ID | 20070321 | |
| 13 | Static method | Public | Method | return type information for given Application ID | 20080415 | |
| 14 | Static method | Public | Method | Sets the Default Query ID | 20100722 |
Events
Class CL_POWL_QUERY_API has no event.
Types
Class CL_POWL_QUERY_API has no local type.
Method Signatures
Method ASSIGN_QUERY_TO_APPLICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVE | Call by reference | Type reference (TYPE) | POWL_ACTIVATION_TY | 'X' | Activation | 20080422 | ||
| 2 | I_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20080422 | |||
| 3 | I_CATEGORY | Call by reference | Type reference (TYPE) | POWL_CATEGORY_TY | Category | 20080422 | |||
| 4 | I_CAT_QUERY_SEQ | Call by reference | Type reference (TYPE) | POWL_QUERY_SEQ_TY | sequence number for a query | 20080422 | |||
| 5 | I_CAT_SEQUENCE | Call by reference | Type reference (TYPE) | POWL_CAT_SEQ_TY | sequence number for POWL query category | 20080422 | |||
| 6 | I_MANDT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Client | 20080422 | ||
| 7 | I_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | Query ID | 20080422 | |||
| 8 | I_REQUEST | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20080421 | |||
| 9 | I_ROLE | Call by reference | Type reference (TYPE) | AGR_NAME | Role Name | 20080422 | |||
| 10 | I_TABS_QUERY_SEQ | Call by reference | Type reference (TYPE) | POWL_TAB_SEQ_TY | sequence number for a query tabstrip | 20080422 | |||
| 11 | I_USERNAME | Call by reference | Type reference (TYPE) | XUSER | User name | 20080422 |
Method ASSIGN_QUERY_TO_APPLICATION on class CL_POWL_QUERY_API has no exception.
Method CREATE_ADMIN_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DESCRIPTION | Call by reference | Type reference (TYPE) | POWL_QUERYDESCR_TY | Query description | 20070321 | |||
| 2 | I_PARAMETERS | Call by reference | Type reference (TYPE) | RSPARAMS_TT | rsparams Table | 20070321 | |||
| 3 | I_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | Query ID | 20070321 | |||
| 4 | I_REQUEST | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20070321 | |||
| 5 | I_TYPE | Call by reference | Type reference (TYPE) | POWL_TYPE_TY | POWL type ID | 20070321 |
Method CREATE_ADMIN_QUERY on class CL_POWL_QUERY_API has no exception.
Method CREATE_USER_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTIVATE | Call by reference | Type reference (TYPE) | POWL_XFLAG_TY | 'X' | X-Flag | 20090927 | ||
| 2 | I_ADMIN_QUERY | Call by reference | Type reference (TYPE) | POWL_ADMIN_TY | SPACE | Admin flag | 20090927 | ||
| 3 | I_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20090927 | |||
| 4 | I_CATEGORY | Call by reference | Type reference (TYPE) | POWL_CATEGORY_TY | Category | 20090927 | |||
| 5 | I_CRIT_DEF | Call by reference | Type reference (TYPE) | POWL_SELCRIT_TTY | Selection criteria meta description | 20090927 | |||
| 6 | I_CRIT_PARA | Call by reference | Type reference (TYPE) | RSPARAMS_TT | rsparams Table | 20090927 | |||
| 7 | I_DEFAULT_PARA | Call by reference | Type reference (TYPE) | RSPARAMS_TT | rsparams Table | 20090927 | |||
| 8 | I_DESCRIPTION | Call by reference | Type reference (TYPE) | POWL_QUERYDESCR_TY | Query description | 20090927 | |||
| 9 | I_DYN_DATA | Call by reference | Type reference (TYPE) | POWL_DYN_DATA_TTY | POWL dynamic data table | 20090927 | |||
| 10 | I_EST_TIME | Call by reference | Type reference (TYPE) | POWL_ESTTIME_TY | Estimated execution time | 20090927 | |||
| 11 | I_MASTER_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | Query ID | 20090927 | |||
| 12 | I_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | Query ID | 20090927 | |||
| 13 | I_REFRESH_DATE | Call by reference | Type reference (TYPE) | POWL_REFRESHD_TY | Refresh date | 20090927 | |||
| 14 | I_REFRESH_TIME | Call by reference | Type reference (TYPE) | POWL_REFRESHT_TY | Refresh time | 20090927 | |||
| 15 | I_REFRESH_TYPE | Call by reference | Type reference (TYPE) | POWL_REFRESH_TY | Query Refresh Type | 20090927 | |||
| 16 | I_REFRESH_TZONE | Call by reference | Type reference (TYPE) | POWL_REFRESHZ_TY | Refresh time zone | 20090927 | |||
| 17 | I_RESULTS | Call by reference | Type reference (TYPE) | POWL_CRESULT_STY | cached results | 20090927 | |||
| 18 | I_SYNC_REFRESH | Call by reference | Type reference (TYPE) | POWL_XFLAG_TY | SPACE | X-Flag | 20090927 | ||
| 19 | I_TEMP_QUERY | Call by reference | Type reference (TYPE) | POWL_TEMP_TY | SPACE | Temporary query flag | 20090927 | ||
| 20 | I_TYPE | Call by reference | Type reference (TYPE) | POWL_TYPE_TY | POWL Type ID | 20090927 | |||
| 21 | I_WORKFLOW_RESULT_COUNT | Call by reference | Type reference (TYPE) | POWL_COUNT_TY | entry counter | 20090927 | |||
| 22 | R_NEW_QUERY | Value transfer | Type reference (TYPE) | POWL_QUERY_STY | query definitions | 20090927 |
Method CREATE_USER_QUERY on class CL_POWL_QUERY_API has no exception.
Method DELETE_CACHED_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_STY | query definitions | 20090319 |
Method DELETE_CACHED_RESULTS on class CL_POWL_QUERY_API has no exception.
Method DELETE_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_STY | query definitions | 20091029 |
Method DELETE_QUERY on class CL_POWL_QUERY_API has no exception.
Method GET_APPLID_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20100826 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20100826 |
Method GET_APPLID_DESCRIPTION on class CL_POWL_QUERY_API has no exception.
Method GET_CATEGORY_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20100826 | |||
| 2 | I_CATEGORY_ID | Call by reference | Type reference (TYPE) | POWL_CATEGORY_TY | Category | 20100826 | |||
| 3 | I_USER | Call by reference | Type reference (TYPE) | XUSER | User name | 20100826 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | POWL_CATDESCR_TY | Category description | 20100826 |
Method GET_CATEGORY_DESCRIPTION on class CL_POWL_QUERY_API has no exception.
Method GET_DEFAULT_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | M_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20100728 | |||
| 2 | M_RESULT | Value transfer | Type reference (TYPE) | POWL_QUERY_TY | Query ID | 20100728 | |||
| 3 | M_USER | Call by reference | Type reference (TYPE) | XUSER | User name | 20100728 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error when accessing query on database | 20100722 |
Method GET_QUERIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20070321 | |||
| 2 | I_USER | Call by reference | Type reference (TYPE) | XUSER | User name | 20070321 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | POWL_QUERY_ATTY | query infos | 20070321 |
Method GET_QUERIES on class CL_POWL_QUERY_API has no exception.
Method GET_QUERY_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20090927 | |||
| 2 | I_POWL_TYPE | Call by reference | Type reference (TYPE) | POWL_TYPE_TY | POWL Type ID | 20090927 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | POWL_QUERY_ATTY | POWL Query API | 20090927 |
Method GET_QUERY_INFO on class CL_POWL_QUERY_API has no exception.
Method GET_QUERY_PARAMETERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | query ID | 20070321 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | RSPARAMS_TT | ABAP: General Structure for PARAMETERS and SELECT-OPTIONS | 20070321 |
Method GET_QUERY_PARAMETERS on class CL_POWL_QUERY_API has no exception.
Method GET_REFRESH_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FIELDCAT | Call by reference | Type reference (TYPE) | POWL_FIELDCAT_TTY | Field catalog META description | 20070321 | |||
| 2 | E_MESSAGES | Call by reference | Type reference (TYPE) | POWL_MSG_TTY | Message META description | 20070321 | |||
| 3 | E_REFRESH_DATE | Call by reference | Type reference (TYPE) | POWL_REFRESHD_TY | Refresh date | 20090927 | |||
| 4 | E_REFRESH_TIME | Call by reference | Type reference (TYPE) | POWL_REFRESHT_TY | Refresh time | 20090927 | |||
| 5 | E_REFRESH_TZONE | Call by reference | Type reference (TYPE) | POWL_REFRESHZ_TY | Refresh time zone | 20090927 | |||
| 6 | E_RESULT | Value transfer | Object reference (TYPE REF TO) | DATA | Refresh Result | 20070321 | |||
| 7 | I_DO_REFRESH | Call by reference | Type reference (TYPE) | POWL_XFLAG_TY | X-Flag | 20070321 | |||
| 8 | I_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_ASTY | Query ID | 20070321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error when accessing query on database | 20101126 |
Method GET_VISIBLE_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20080415 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | LANG | Language ID | 20080415 | |||
| 3 | I_USERNAME | Call by reference | Type reference (TYPE) | XUSER | User name | 20080415 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | POWL_TYPE_TTY | Type definitions | 20080415 |
Method GET_VISIBLE_TYPES on class CL_POWL_QUERY_API has no exception.
Method SET_DEFAULT_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | M_APPLID | Call by reference | Type reference (TYPE) | POWL_APPLID_TY | Application ID | 20100728 | |||
| 2 | M_QUERY | Call by reference | Type reference (TYPE) | POWL_QUERY_TY | Query ID | 20100728 | |||
| 3 | M_USER | Call by reference | Type reference (TYPE) | XUSER | User name | 20100728 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error when accessing query on database | 20100728 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |