SAP ABAP Class CL_PAK_PACKAGE_QUERIES (Queries for Package Metadata)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-PAK (Application Component) Package Tools
⤷
SPAK_API_BASE (Package) API for packages, interfaces and access objects

⤷

⤷

Properties
Class | CL_PAK_PACKAGE_QUERIES | |
Short Description | Queries for Package Metadata | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SPAK_API_BASE | API for packages, interfaces and access objects |
Created | 20090326 | SAP |
Last change | 20140121 | 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 CL_PAK_PACKAGE_QUERIES has no interface implemented.
Friends
Class CL_PAK_PACKAGE_QUERIES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | See coding | 20100525 | ||||
2 | ![]() |
Constant | Private | See coding | '*' | 20100706 | |||
3 | ![]() |
Constant | Private | Type reference (TYPE) | DLVUNIT | 'LOCAL' | 20110804 | ||
4 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'DEVC' | 20100706 | ||
5 | ![]() |
Constant | Private | See coding | 'CP' | 20100706 | |||
6 | ![]() |
Constant | Private | Type reference (TYPE) | PGMID | 'R3TR' | Program ID in Requests and Tasks | 20100517 | |
7 | ![]() |
Constant | Private | See coding | 'I' | 20100706 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Constructor | Class Constructor | 20100626 |
2 | ![]() |
Static method | Public | Method | Get all Subpackages of a single Package | 20100517 |
3 | ![]() |
Static method | Public | Method | Get the TADIR Keys of Objects assigned to a single Package | 20100706 |
4 | ![]() |
Static method | Public | Method | Get the direct Subpackages of a single Package | 20100708 |
5 | ![]() |
Static method | Public | Method | Get Attributes and Descriptions for many packages | 20090326 |
6 | ![]() |
Static method | Public | Method | 20120313 | |
7 | ![]() |
Static method | Public | Method | Get Attributes and Descriptions for a single Package | 20090326 |
8 | ![]() |
Static method | Public | Method | 20120603 | |
9 | ![]() |
Static method | Public | Method | Get the Package Hierarchy Root Package for a single Package | 20100701 |
10 | ![]() |
Static method | Public | Method | Gets all subpackages of a single package | 20110819 |
11 | ![]() |
Static method | Public | Method | Get all Superpackages of a single Package | 20100701 |
Events
Class CL_PAK_PACKAGE_QUERIES has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TT_RANGE_OBJECT_TYPE | Public | See coding | 20100706 | tt_range_object_type type range of trobjtype
|
||
2 | TT_SUBPACKAGE_DETAIL_INFO | Public | See coding | 20100701 | tt_subpackage_detail_info type sorted table of ty_subpackage_detail_info
with non-unique key superpackage
with unique sorted key package components
package
|
||
3 | TT_SUBPACKAGE_DETAIL_INT | Private | See coding | 20100701 | tt_subpackage_detail_int TYPE HASHED TABLE OF ty_subpackage_detail_info
WITH UNIQUE KEY package
|
||
4 | TT_SUBPACKAGE_INFO | Public | See coding | 20100701 | tt_subpackage_info type sorted table of ty_subpackage_info
with non-unique key superpackage
with unique sorted key package components
package
|
||
5 | TT_SUBPACKAGE_INT | Private | See coding | 20100701 | tt_subpackage_int TYPE HASHED TABLE OF ty_subpackage_info
WITH UNIQUE KEY package
|
||
6 | TT_SUPERPACKAGE_DETAIL_INFO | Public | See coding | 20100701 | tt_superpackage_detail_info type sorted table of ty_superpackage_detail_info
with unique key superpackage
with unique sorted key package components
package
|
||
7 | TT_SUPERPACKAGE_INFO | Public | See coding | 20100701 | tt_superpackage_info type sorted table of ty_superpackage_info
with unique key superpackage
with unique sorted key package components
package
|
||
8 | TT_TADIR_DATA | Public | See coding | 20100706 | tt_tadir_data type standard table of ty_tadir_data
|
||
9 | TT_TADIR_HASHED | Private | See coding | 20100706 | tt_tadir_hashed TYPE HASHED TABLE OF tadir
WITH UNIQUE KEY object obj_name
|
||
10 | TT_TADIR_KEYS | Public | See coding | 20100706 | tt_tadir_keys type standard table of ty_tadir_key
|
||
11 | TY_PACKAGE | Public | See coding | 20120313 | begin of ty_package,
package type devclass,
superpackage type devclass,
package_software_component type dlvunit,
package_responsible type syuname,
end of ty_package
|
||
12 | TY_PACKAGE_LIST | Public | See coding | 20120313 | ty_package_list type sorted table of ty_package
with unique key superpackage package
with unique sorted key package
components package
|
||
13 | TY_PACKAGE_TYPE | Public | Type reference (TYPE) | MAINPACK | 20100525 |
|
|
14 | TY_RANGE_OBJECT_TYPE | Public | See coding | 20100706 | ty_range_object_type type line of tt_range_object_type
|
||
15 | TY_SUBPACKAGE_DETAIL_INFO | Public | See coding | 20100517 | begin of ty_subpackage_detail_info,
package type devclass,
superpackage type devclass,
transport_layer type devlayer,
software_component type dlvunit,
package_encapsulated type boole_d,
original_system type srcsystem,
original_language type langu,
package_type type ty_package_type,
superpackage_type type ty_package_type,
end of ty_subpackage_detail_info
|
||
16 | TY_SUBPACKAGE_INFO | Public | See coding | 20100517 | begin of ty_subpackage_info,
package type devclass,
package_type type ty_package_type,
superpackage type devclass,
superpackage_type type ty_package_type,
end of ty_subpackage_info
|
||
17 | TY_SUB_PACKAGE | Public | See coding | 20110819 | begin of ty_sub_package,
package type devclass,
package_type type ty_package_type,
sub_package type devclass,
sub_package_type type ty_package_type,
end of ty_sub_package
|
||
18 | TY_SUB_PACKAGE_LIST | Public | See coding | 20110819 | ty_sub_package_list type sorted table of ty_sub_package
with unique key package sub_package
with non-unique sorted key sub_package
components sub_package
|
||
19 | TY_SUPERPACKAGE_DETAIL_INFO | Public | See coding | 20100701 | begin of ty_superpackage_detail_info,
superpackage type devclass,
package type devclass,
transport_layer type devlayer,
software_component type dlvunit,
package_encapsulated type boole_d,
original_system type srcsystem,
original_language type langu,
package_type type ty_package_type,
superpackage_type type ty_package_type,
package_is_first_not_strupack type abap_bool,
end of ty_superpackage_detail_info
|
||
20 | TY_SUPERPACKAGE_INFO | Public | See coding | 20100701 | begin of ty_superpackage_info,
package type devclass,
package_type type ty_package_type,
package_is_first_not_strupack type abap_bool,
superpackage type devclass,
superpackage_type type ty_package_type,
end of ty_superpackage_info
|
||
21 | TY_TADIR_DATA | Public | See coding | 20100706 | begin of ty_tadir_data,
object_type type trobjtype,
object_name type sobj_name,
author type c length 12,
source_system type sysysid,
package type devclass,
original_language type spras,
end of ty_tadir_data
|
||
22 | TY_TADIR_KEY | Public | See coding | 20100706 | begin of ty_tadir_key,
object_type type trobjtype,
object_name type sobj_name,
end of ty_tadir_key
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_PAK_PACKAGE_QUERIES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PAK_PACKAGE_QUERIES has no exception.
Method GET_ALL_SUBPACKAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SUBPACKAGES | Call by reference | Type reference (TYPE) | TT_SUBPACKAGE_INFO | Retrieved Subpackages (Basic Information) | 20100517 | ||
2 | ![]() |
ET_SUBPACKAGES_WITH_DETAILS | Call by reference | Type reference (TYPE) | TT_SUBPACKAGE_DETAIL_INFO | Retrieved Subpackages (Detailed Information) | 20100517 | ||
3 | ![]() |
IM_ALSO_LOCAL_PACKAGES | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Retrieve also LOCAL Packages (may have no TADIR Record) | 20110804 | |
4 | ![]() |
IM_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package for which Subpackages are to be retrieved | 20100517 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Specified Package has an invalid Superpackage | 20100529 | |
2 | ![]() |
No Output Parameter requested | 20100517 | |
3 | ![]() |
No Package as Input specified | 20100517 | |
4 | ![]() |
Specified Package does not exist | 20100517 | |
5 | ![]() |
Specified Package has no TADIR Record | 20100525 | |
6 | ![]() |
Specified Package has no TDEVC Record | 20100525 |
Method GET_DEV_OBJECT_TADIR_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_TADIR_DATA | Call by reference | Type reference (TYPE) | TT_TADIR_DATA | Retrieved TADIR Keys plus additional TADIR Attributes | 20100706 | ||
2 | ![]() |
ET_TADIR_KEYS | Call by reference | Type reference (TYPE) | TT_TADIR_KEYS | Retrieved TADIR Keys | 20100706 | ||
3 | ![]() |
IM_ALSO_LOCAL_PACKAGES | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Retrieve also LOCAL Packages (have no TADIR Record) | 20110804 | |
4 | ![]() |
IM_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package for which assigned TADIR Keys are to be retrieved | 20100706 | ||
5 | ![]() |
IM_RANGE_EXCLUDE_OBJECT_TYPES | Call by reference | Type reference (TYPE) | TT_RANGE_OBJECT_TYPE | Object Types for which TADIR Keys are NOT(!) to be retrieved | 20100706 | ||
6 | ![]() |
IM_RANGE_INCLUDE_OBJECT_TYPES | Call by reference | Type reference (TYPE) | TT_RANGE_OBJECT_TYPE | Object Types for which TADIR Keys are to be retrieved | 20100706 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
No Output Parameter requested | 20100706 | |
2 | ![]() |
No Package as Input specified | 20100706 | |
3 | ![]() |
Specified Package does not exist | 20100706 | |
4 | ![]() |
Specified Package has no TADIR Record | 20100706 | |
5 | ![]() |
Specified Package has no TDEVC Record | 20100706 |
Method GET_DIRECT_SUBPACKAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SUBPACKAGES | Call by reference | Type reference (TYPE) | TT_SUBPACKAGE_INFO | Retrieved direct Subpackages (Basic Information) | 20100708 | ||
2 | ![]() |
ET_SUBPACKAGES_WITH_DETAILS | Call by reference | Type reference (TYPE) | TT_SUBPACKAGE_DETAIL_INFO | Retrieved direct Subpackages (Detailed Information) | 20100708 | ||
3 | ![]() |
IM_ALSO_LOCAL_PACKAGES | Call by reference | Type reference (TYPE) | BOOLE_D | ABAP_FALSE | Retrieve also LOCAL Packages (may have no TADIR Record) | 20110804 | |
4 | ![]() |
IM_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package for which direct Subpackages are to be retrieved | 20100708 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Specified Package has an invalid Superpackage | 20100708 | |
2 | ![]() |
No Output Parameter requested | 20100708 | |
3 | ![]() |
No Package as Input specified | 20100708 | |
4 | ![]() |
Specified Package does not exist | 20100708 | |
5 | ![]() |
Specified Package has no TADIR Record | 20100708 | |
6 | ![]() |
Specified Package has no TDEVC Record | 20100708 |
Method GET_MULTI_PACKAGE_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_ACH_COMPONENTS | Call by reference | Type reference (TYPE) | PAK_PACKAGE_ACH_COMPONENT_LIST | ACH Component Data of the specified Packages | 20090326 | ||
2 | ![]() |
EX_ALL_ATTRIBUTES | Call by reference | Type reference (TYPE) | PAK_PACKAGE_ATTRIBUTES_LIST | Retrieved Package Attributes | 20090326 | ||
3 | ![]() |
EX_CPROJECT_INFO | Call by reference | Type reference (TYPE) | PAK_PACKAGE_CPROJECT_INFO_LIST | cProjects Data of the specified Packages | 20090326 | ||
4 | ![]() |
EX_NOT_EXISTING_PACKAGES | Call by reference | Type reference (TYPE) | PAK_PACKAGE_NAME_LIST | Not Existing Packages specified as Inpit Data | 20090326 | ||
5 | ![]() |
EX_SOFTWARE_COMPONENTS | Call by reference | Type reference (TYPE) | PAK_PACKAGE_SW_COMPONENT_LIST | Software Component of the specified Packages | 20090326 | ||
6 | ![]() |
EX_TADIR_ATTRIBUTES | Call by reference | Type reference (TYPE) | PAK_PACKAGE_TADIR_INFO_LIST | Retrieved TADIR Attributes of the specified Packages | 20090326 | ||
7 | ![]() |
IM_LANGUAGE | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key for Descriptions to be retrieved | 20090326 | |
8 | ![]() |
IM_OPTIONS | Call by reference | Type reference (TYPE) | PAK_PACKAGE_ATTRIBUTES_INPUT | Options for Data Retrieval | 20090326 | ||
9 | ![]() |
IM_PACKAGES | Call by reference | Type reference (TYPE) | PAK_PACKAGE_NAME_LIST | Packages for which Attributes are to be retrieved | 20090326 | ||
10 | ![]() |
IM_SELECT_PACKAGE_SIZE | Call by reference | Type reference (TYPE) | I | 50 | Optional Data Retrieval Package Size | 20090326 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
No Output Parameter requested | 20090326 | |
2 | ![]() |
No Packages match the specified Input Data | 20090326 | |
3 | ![]() |
No Package as Input specified | 20090326 |
Method GET_PACKAGES_OF_SINGLE_USER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_PACKAGES | Call by reference | Type reference (TYPE) | TY_PACKAGE_LIST | 20120313 | |||
2 | ![]() |
IM_GET_ONLY_LOCAL_PACKAGES | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120313 | |||
3 | ![]() |
IM_USER_NAME | Call by reference | Type reference (TYPE) | SYUNAME | 20120313 |
Method GET_PACKAGES_OF_SINGLE_USER on class CL_PAK_PACKAGE_QUERIES has no exception.
Method GET_PACKAGE_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_ACH_COMPONENT | Call by reference | Type reference (TYPE) | PAK_PACKAGE_ACH_COMPONENT | ACH Component Data of the specified Package | 20090326 | ||
2 | ![]() |
EX_ALL_ATTRIBUTES | Call by reference | Type reference (TYPE) | PAK_PACKAGE_ATTRIBUTES_ITEM | Retrieved Package Attributes | 20090326 | ||
3 | ![]() |
EX_CPROJECT_INFO | Call by reference | Type reference (TYPE) | PAK_PACKAGE_CPROJECT_INFO | cProjects Data of the specified Package | 20090326 | ||
4 | ![]() |
EX_SOFTWARE_COMPONENT | Call by reference | Type reference (TYPE) | PAK_PACKAGE_SW_COMPONENT_INFO | Software Component of the specified Package | 20090326 | ||
5 | ![]() |
EX_TADIR_ATTRIBUTES | Call by reference | Type reference (TYPE) | PAK_PACKAGE_TADIR_INFO | Retrieved TADIR Attributes of the specified Package | 20090326 | ||
6 | ![]() |
IM_LANGUAGE | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Language Key for Descriptions to be retrieved | 20090326 | |
7 | ![]() |
IM_OPTIONS | Call by reference | Type reference (TYPE) | PAK_PACKAGE_ATTRIBUTES_INPUT | Options for Data Retrieval | 20090326 | ||
8 | ![]() |
IM_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package for which Attributes are to be retrieved | 20090326 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
An Error occurred | 20090326 | |
2 | ![]() |
No Output Parameter requested | 20090326 | |
3 | ![]() |
No Package as Input specified | 20090326 | |
4 | ![]() |
The specified Package does not exist | 20090326 |
Method GET_PACKAGE_HIERARCHY_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_CLIENT_PACKAGE_HIERARCHY | Call by reference | Type reference (TYPE) | TT_SUPERPACKAGE_INFO | 20120603 | |||
2 | ![]() |
ET_SERVER_PACKAGE_HIERARCHY | Call by reference | Type reference (TYPE) | TT_SUPERPACKAGE_INFO | 20120603 | |||
3 | ![]() |
EV_COMMON_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20120603 | ||
4 | ![]() |
IV_CLIENT_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | 20120603 | |||
5 | ![]() |
IV_SERVER_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | 20120603 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20120603 | ||
2 | ![]() |
20120603 | ||
3 | ![]() |
Neither Server Package nor Client Package specified | 20120603 | |
4 | ![]() |
20120603 | ||
5 | ![]() |
20120603 |
Method GET_ROOT_PACKAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ROOT_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package Hierarchy Root Package for the specified Package | 20100701 | ||
2 | ![]() |
IM_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package for Package Hierarchy Root Package Retrieval | 20100701 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Specified Package has an invalid Superpackage | 20100701 | |
2 | ![]() |
No Output Parameter requested | 20100701 | |
3 | ![]() |
No Package as Input specified | 20100701 | |
4 | ![]() |
Specified Package does not exist | 20100701 | |
5 | ![]() |
Specified Package has no TADIR Record | 20100701 | |
6 | ![]() |
Specified Package has no TDEVC Record | 20100701 | |
7 | ![]() |
The Package Hierarchy is erroneous | 20130215 |
Method GET_SUB_TREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_SUB_PACKAGES | Call by reference | Type reference (TYPE) | TY_SUB_PACKAGE_LIST | All Subpackages of the specified Package | 20110819 | ||
2 | ![]() |
IM_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package for which Subpackages are to be retrieved | 20110819 |
Method GET_SUB_TREE on class CL_PAK_PACKAGE_QUERIES has no exception.
Method GET_SUPERPACKAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SUPERPACKAGES | Call by reference | Type reference (TYPE) | TT_SUPERPACKAGE_INFO | Retrieved Superpackages (Basic Information) | 20100701 | ||
2 | ![]() |
ET_SUPERPACKAGES_WITH_DETAILS | Call by reference | Type reference (TYPE) | TT_SUPERPACKAGE_DETAIL_INFO | Retrieved Superpackages (Detailed Information) | 20100701 | ||
3 | ![]() |
EV_FIRST_NOT_STRUCTURE_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20120603 | ||
4 | ![]() |
IM_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package for which Superpackages are to be retrieved | 20100701 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Specified Package has an invalid Superpackage | 20100701 | |
2 | ![]() |
No Output Parameter requested | 20100701 | |
3 | ![]() |
No Package as Input specified | 20100701 | |
4 | ![]() |
Specified Package does not exist | 20100701 | |
5 | ![]() |
Specified Package has no TADIR Record | 20100701 | |
6 | ![]() |
Specified Package has no TDEVC Record | 20100701 | |
7 | ![]() |
The Package Hierarchy is erroneous | 20120603 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |