SAP ABAP Class CL_PAK_PACKAGE_CHECK_QUERIES (Package Check Queries)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-PAK (Application Component) Package Tools
⤷
SPAK_API (Package) Package API
⤷
⤷
Properties
| Class | CL_PAK_PACKAGE_CHECK_QUERIES | |
| Short Description | Package Check Queries | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SPAK_API | Package API |
| Created | 20120514 | SAP |
| Last change | 20130531 | 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_CHECK_QUERIES has no interface implemented.
Friends
Class CL_PAK_PACKAGE_CHECK_QUERIES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'E' | 20120822 | |||
| 2 | Constant | Private | Type reference (TYPE) | PAKPARAKEY | 'GLOBAL_SWITCH' | 20120514 | |||
| 3 | Constant | Private | Type reference (TYPE) | SYMSGID | 'PAK' | 20120822 | |||
| 4 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'AUTH' | 20120822 | |||
| 5 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'CLAS' | 20120718 | |||
| 6 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'DEVC' | 20120514 | |||
| 7 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'DOMA' | 20120718 | |||
| 8 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'DTEL' | 20120718 | |||
| 9 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'ENQU' | 20120718 | |||
| 10 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGR' | 20120514 | |||
| 11 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGS' | 20120718 | |||
| 12 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGX' | 20120718 | |||
| 13 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUNC' | 20120514 | |||
| 14 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'INTF' | 20120718 | |||
| 15 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'LDBA' | 20120718 | |||
| 16 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'PINF' | 20120718 | |||
| 17 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'PROG' | 20120718 | |||
| 18 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'REPS' | 20120718 | |||
| 19 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'SHLP' | 20120718 | |||
| 20 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'SQLT' | 20120718 | |||
| 21 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'SQSC' | 20120906 | |||
| 22 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'STRU' | 20120718 | |||
| 23 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'SUSO' | 20120822 | |||
| 24 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'TABL' | 20120718 | |||
| 25 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'TTYP' | 20120718 | |||
| 26 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'TYPE' | 20120718 | |||
| 27 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'VIEW' | 20120718 | |||
| 28 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'WDYN' | 20120718 | |||
| 29 | Constant | Private | Type reference (TYPE) | PGMID | 'R3TR' | 20120514 | |||
| 30 | Constant | Private | Type reference (TYPE) | PAKPARAVAL | 'R3ENTERPRISE' | 20120514 | |||
| 31 | Constant | Private | Type reference (TYPE) | PAKPARAVAL | 'RESTRICTED' | 20120514 | |||
| 32 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20120514 | ||||
| 33 | Static Attribute | Private | Type reference (TYPE) | PAKPARAVAL | 20120514 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check, if single object can be used w/o a package error | 20120514 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120514 | |
| 3 | Static method | Public | Method | Execute the package check for a couple of dev. objects | 20120718 | |
| 4 | Static method | Public | Method | Execute the package check for all objects of given packages | 20120822 | |
| 5 | Static method | Private | Method | 20120514 | ||
| 6 | Static method | Private | Method | 20120514 | ||
| 7 | Static method | Private | Method | 20120514 | ||
| 8 | Static method | Private | Method | 20120514 | ||
| 9 | Static method | Private | Method | 20120718 |
Events
Class CL_PAK_PACKAGE_CHECK_QUERIES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_OBJECT_KEYS | Public | See coding | 20120718 | tt_object_keys type standard table of ty_object_key
|
||
| 2 | TT_PACKAGE_CHECK_MESSAGES | Public | See coding | 20120718 | tt_package_check_messages type standard table of ty_package_check_message
with default key
|
||
| 3 | TT_PACKAGE_CHECK_RESULT | Public | See coding | 20120718 | tt_package_check_result type sorted table of ty_package_check_result
with unique key object_type object_name
|
||
| 4 | TT_PACKAGE_NAMES | Public | See coding | 20120822 | tt_package_names type standard table of devclass
|
||
| 5 | TT_PACKAGE_NAMES_INPUT | Public | See coding | 20120826 | tt_package_names_input type standard table of ty_package_name_input
with default key
|
||
| 6 | TT_PACKAGE_RESULT | Public | See coding | 20120822 | tt_package_result type sorted table of ty_package_result
with unique key package_name
|
||
| 7 | TY_OBJECT_KEY | Public | See coding | 20120718 | begin of ty_object_key,
object_type type trobjtype,
object_name type sobj_name,
end of ty_object_key
|
||
| 8 | TY_PACKAGE_CHECK_MESSAGE | Public | See coding | 20120718 | begin of ty_package_check_message,
object_type type trobjtype,
object_name type sobj_name,
subobject_type type pak_object_type,
subobject_name type c length 80,
package_name type devclass,
is_package_error type abap_bool,
is_ehp_comp_check_error type abap_bool,
t100_message type symsg,
message_text type string,
additional_message_text type string,
error_severity type errsevrty,
deprecation_severity type errsevrty,
include_name type progname,
row_number type i,
column_number type i,
end of ty_package_check_message
|
||
| 9 | TY_PACKAGE_CHECK_RESULT | Public | See coding | 20120718 | begin of ty_package_check_result,
object_type type trobjtype,
object_name type sobj_name,
package_name type devclass,
object_does_not_exist type abap_bool,
package_check_not_possible type abap_bool,
package_check_ok type abap_bool,
number_abap_package_errors type i,
number_ehp_comp_check_errors type i,
messages type tt_package_check_messages,
end of ty_package_check_result
|
||
| 10 | TY_PACKAGE_NAME_INPUT | Public | See coding | 20120826 | begin of ty_package_name_input,
package_name type devclass,
including_subpackages type abap_bool,
end of ty_package_name_input
|
||
| 11 | TY_PACKAGE_RESULT | Public | See coding | 20120822 | begin of ty_package_result,
package_name type devclass,
object_does_not_exist type abap_bool,
package_check_not_possible type abap_bool,
all_package_checks_ok type abap_bool,
objects_with_abap_package_errs type i,
objects_with_ehp_comp_errors type i,
number_abap_package_errors type i,
number_ehp_comp_check_errors type i,
end of ty_package_result
|
||
| 12 | TY_TADIR_DATA | Private | See coding | 20120514 | begin of ty_tadir_data,
object_type type trobjtype,
object_name type sobj_name,
package_name type devclass,
end of ty_tadir_data
|
Method Signatures
Method CHECK_USE_OF_SINGLE_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PACKAGE_ERROR_MESSAGE | Call by reference | Type reference (TYPE) | SYMSG | Structure of message variables | 20120514 | |||
| 2 | EV_PACKAGE_CHECK_IS_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120514 | ||||
| 3 | IV_CLIENT_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Development Element ID | 20120514 | |||
| 4 | IV_CLIENT_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Development Element ID | 20120514 | |||
| 5 | IV_SERVER_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120514 | |||
| 6 | IV_SERVER_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20120514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120514 | |||
| 2 | 20120514 | |||
| 3 | 20120514 | |||
| 4 | 20120514 | |||
| 5 | 20120514 | |||
| 6 | 20120514 | |||
| 7 | 20120514 | |||
| 8 | 20120514 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_PAK_PACKAGE_CHECK_QUERIES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PAK_PACKAGE_CHECK_QUERIES has no exception.
Method PACKAGE_CHECK_FOR_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PACKAGE_CHECK_RESULT | Call by reference | Type reference (TYPE) | TT_PACKAGE_CHECK_RESULT | 20120718 | ||||
| 2 | EV_ALL_PACKAGE_CHECKS_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120822 | ||||
| 3 | IT_OBJECT_KEYS | Call by reference | Type reference (TYPE) | TT_OBJECT_KEYS | 20120718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120718 | |||
| 2 | 20120718 | |||
| 3 | 20120718 |
Method PACKAGE_CHECK_FOR_PACKAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OVERALL_RESULT_INFO | Call by reference | Type reference (TYPE) | TT_PACKAGE_RESULT | 20120822 | ||||
| 2 | ET_PACKAGE_CHECK_RESULT | Call by reference | Type reference (TYPE) | TT_PACKAGE_CHECK_RESULT | 20120822 | ||||
| 3 | IT_PACKAGE_NAMES | Call by reference | Type reference (TYPE) | TT_PACKAGE_NAMES_INPUT | 20120822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120822 | |||
| 2 | 20120822 | |||
| 3 | 20120822 |
Method _CHECK_CUSTOMIZING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_NO_PACKAGE_CHECK | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120514 |
Method _CHECK_CUSTOMIZING on class CL_PAK_PACKAGE_CHECK_QUERIES has no exception.
Method _CHECK_OBJECT_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_OBJECT_KEY | Call by reference | Type reference (TYPE) | PAK_OBJECT_KEY | Object key | 20120514 | |||
| 2 | ES_TADIR | Call by reference | Type reference (TYPE) | TY_TADIR_DATA | 20120514 | ||||
| 3 | EV_IS_MAIN_OBJECT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120514 | ||||
| 4 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120514 | |||
| 5 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20120514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120514 | |||
| 2 | 20120514 | |||
| 3 | 20120514 |
Method _CHECK_PACKAGE_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PACKAGE_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120514 | ||||
| 2 | IV_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20120514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120514 |
Method _CHECK_SINGLE_OBJ_ACCESSIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PACKAGE_ERROR_MESSAGE | Call by reference | Type reference (TYPE) | SYMSG | Structure of message variables | 20120514 | |||
| 2 | EV_OBJECT_IS_ACCESSIBLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120514 | ||||
| 3 | IV_CLIENT_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120514 | |||
| 4 | IV_CLIENT_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20120514 | |||
| 5 | IV_SERVER_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120514 | |||
| 6 | IV_SERVER_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20120514 |
Method _CHECK_SINGLE_OBJ_ACCESSIBLE on class CL_PAK_PACKAGE_CHECK_QUERIES has no exception.
Method _PACKAGE_CHECK_SINGLE_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PACKAGE_CHECK_RESULT | Call by reference | Type reference (TYPE) | TY_PACKAGE_CHECK_RESULT | 20120718 |
Method _PACKAGE_CHECK_SINGLE_OBJECT on class CL_PAK_PACKAGE_CHECK_QUERIES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |