SAP ABAP Class CL_SPAK_PACKAGE_CHECK (Package Check without SLIN)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-PAK (Application Component) Package Tools
⤷
SPAK_API (Package) Package API
⤷
⤷
Properties
| Class | CL_SPAK_PACKAGE_CHECK | |
| Short Description | Package Check without SLIN | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SPAK_API | Package API |
| Created | 20111105 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SPAK_PACKAGE_CHECK has no interface implemented.
Friends
Class CL_SPAK_PACKAGE_CHECK has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | See coding | 'CP' | 20120320 | ||||
| 2 | Constant | Public | See coding | 'EHPE' | 20120402 | ||||
| 3 | Constant | Public | See coding | 'EHPI' | 20120627 | ||||
| 4 | Constant | Public | See coding | 'EHPW' | 20120402 | ||||
| 5 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'E' | 20120402 | |||
| 6 | Constant | Public | See coding | 'GWEX' | 20130214 | ||||
| 7 | Constant | Public | See coding | 'HOME' | 20120401 | ||||
| 8 | Constant | Public | See coding | 'USEI' | 20120623 | ||||
| 9 | Constant | Public | See coding | 'PINF' | 20120419 | ||||
| 10 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'I' | 20120627 | |||
| 11 | Constant | Private | See coding | 'IP' | 20120320 | ||||
| 12 | Constant | Private | Type reference (TYPE) | SYMSGID | 'PAK' | 20120318 | |||
| 13 | Constant | Public | See coding | 'USEM' | 20120328 | ||||
| 14 | Constant | Public | See coding | 'NEXO' | 20120401 | ||||
| 15 | Constant | Public | See coding | 'NEXP' | 20120401 | ||||
| 16 | Constant | Public | See coding | 'SPNV' | 20120328 | ||||
| 17 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'AUTH' | 20120822 | |||
| 18 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'CLAS' | 20120320 | |||
| 19 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'DEVC' | 20120322 | |||
| 20 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGR' | 20120320 | |||
| 21 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGS' | 20120320 | |||
| 22 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGX' | 20120320 | |||
| 23 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUNC' | 20111111 | |||
| 24 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'INTF' | 20120320 | |||
| 25 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'LDBA' | 20120320 | |||
| 26 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'PINF' | 20120324 | |||
| 27 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'STRU' | 20111111 | |||
| 28 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'SUSO' | 20120822 | |||
| 29 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'TABL' | 20111111 | |||
| 30 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'TYPE' | 20120320 | |||
| 31 | Constant | Private | Type reference (TYPE) | TROBJTYPE | 'WDYN' | 20120320 | |||
| 32 | Constant | Public | See coding | 'ERRO' | 20120402 | ||||
| 33 | Constant | Public | See coding | 'INFO' | 20120415 | ||||
| 34 | Constant | Public | See coding | 'WARN' | 20120402 | ||||
| 35 | Constant | Private | Type reference (TYPE) | PGMID | 'R3TR' | 20111105 | |||
| 36 | Constant | Public | See coding | 'CYCL' | 20130612 | ||||
| 37 | Constant | Private | Type reference (TYPE) | CHAR5 | 'SAPDB' | 20120320 | |||
| 38 | Constant | Private | See coding | 'SAPL' | 20120320 | ||||
| 39 | Constant | Private | Type reference (TYPE) | CHAR6 | '/SAPDB' | 20120320 | |||
| 40 | Constant | Private | See coding | '/SAPL' | 20120320 | ||||
| 41 | Constant | Private | See coding | '%_C' | 20120320 | ||||
| 42 | Constant | Public | See coding | 'NVIS' | 20120328 | ||||
| 43 | Constant | Private | See coding | '/' | 20120320 | ||||
| 44 | Constant | Private | Type reference (TYPE) | SYSYSID | 'SAP' | 20130626 | |||
| 45 | Constant | Private | Type reference (TYPE) | PAKPARAVAL | 'R3ENTERPRISE' | 20111111 | |||
| 46 | Constant | Private | Type reference (TYPE) | PAKPARAVAL | 'RESTRICTED' | 20111111 | |||
| 47 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'W' | 20120402 | |||
| 48 | Static Attribute | Private | Type reference (TYPE) | TT_PACKAGE_EXISTS | 20120322 |
Methods
Events
Class CL_SPAK_PACKAGE_CHECK has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_OBJECT_POSITIONS | Public | Type reference (TYPE) | CL_SPAK_OBJECT_ENVIRONMENT=>TT_OBJECT_POSITIONS | 20120316 | |
|
| 2 | TT_PACKAGE_CHECK_RESULT | Public | See coding | 20111109 | tt_package_check_result type sorted table of ty_package_check_result
with unique key object_type object_name subobject_type subobject_name
with non-unique sorted key subobject_key
components subobject_type subobject_name
|
||
| 3 | TT_PACKAGE_EXISTS | Private | See coding | 20120322 | tt_package_exists type hashed table of ty_package_exists
with unique key package_name
|
||
| 4 | TT_PINF_CYCLE_CHECK_RESULT | Public | See coding | 20130524 | tt_pinf_cycle_check_result type sorted table of ty_pinf_cycle_check_result
with non-unique key erroneous_package_interface
|
||
| 5 | TT_PINF_TO_IGNORE | Public | See coding | 20130529 | tt_pinf_to_ignore type sorted table of ty_pinf_to_ignore
with unique key package_interface_name package_interface_to_ignore
|
||
| 6 | TT_USAGE_LOG_DATA | Public | See coding | 20111109 | tt_usage_log_data type sorted table of ty_usage_log_data
with unique key object_type object_name subobject_type subobject_name
with non-unique sorted key subobject_key
components subobject_type subobject_name
|
||
| 7 | TT_WB_PACKAGE_CHECK_RESULT | Public | See coding | 20120408 | tt_wb_package_check_result type standard table of ty_wb_package_check_result
with default key
|
||
| 8 | TY_PACKAGE_CHECK_RESULT | Public | See coding | 20111109 | begin of ty_package_check_result,
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,
has_package_error type abap_bool,
package_error_severity type errsevrty,
deprecation_severity type errsevrty,
has_ehp_package_error type abap_bool,
ehp_check_error_severity type c length 4,
t100_message type symsg,
message_text type string,
additional_message_text type string,
ehp_t100_message type symsg,
ehp_message_text type string,
object_position_tab type tt_object_positions,
package_error_reason type c length 4,
package_error_reason_descr type string,
ehp_package_error_reason type c length 4,
ehp_package_error_reason_descr type string,
end of ty_package_check_result
|
||
| 9 | TY_PACKAGE_EXISTS | Private | See coding | 20120322 | begin of ty_package_exists,
package_name type devclass,
package_exists type abap_bool,
tdevc_exists type abap_bool,
tadir_exists type abap_bool,
end of ty_package_exists
|
||
| 10 | TY_PINF_CYCLE_CHECK_RESULT | Public | See coding | 20130524 | begin of ty_pinf_cycle_check_result,
erroneous_package_interface type scomifnam,
contained_in_package_interface type scomifnam,
message_type type symsgty,
message_text type string,
pinf_path type standard table of scomifnam with default key,
pinf_path_text type string,
end of ty_pinf_cycle_check_result
|
||
| 11 | TY_PINF_TO_IGNORE | Public | See coding | 20130529 | begin of ty_pinf_to_ignore,
package_interface_name type scomifnam,
package_interface_to_ignore type scomifnam,
end of ty_pinf_to_ignore
|
||
| 12 | TY_USAGE_LOG_DATA | Public | See coding | 20111109 | begin of ty_usage_log_data,
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,
has_package_error type abap_bool,
package_error_severity type errsevrty,
deprecation_severity type errsevrty,
has_ehp_package_error type abap_bool,
ehp_check_error_severity type c length 4,
end of ty_usage_log_data
|
||
| 13 | TY_WB_PACKAGE_CHECK_RESULT | Public | See coding | 20120408 | begin of ty_wb_package_check_result, " A 1:1-copy of this structure exists in cl_wb_ditor, cl_oo_class_editor, cl_oo_class_builder, cl_sedi_checkable_helper.
object_type type trobjtype, " When something is changed at field level, these copies must be adapted as well.
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,
dynpro_number type sydynnr,
field_name type c length 100,
end of ty_wb_package_check_result
|
Method Signatures
Method CHECK_DDIC_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_CHECKLIST | Call by reference | Object reference (TYPE REF TO) | CL_WB_CHECKLIST | 20120323 | ||||
| 2 | ER_CHECKLIST_STATE | Call by reference | Object reference (TYPE REF TO) | CL_WB_CHECKLIST_STATE | 20120323 | ||||
| 3 | ET_MESSAGES | Call by reference | Type reference (TYPE) | TT_PACKAGE_CHECK_RESULT | 20120323 | ||||
| 4 | EV_PACKAGE_CHECK_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120822 | ||||
| 5 | IV_CLEAR_BUFFER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120326 | |||
| 6 | IV_DDIC_UI_CALL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20120412 | |||
| 7 | IV_NEWEST_VERSION | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120323 | ||||
| 8 | IV_NO_PROGRESS_INDICATOR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120323 | |||
| 9 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | 20120323 | ||||
| 10 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | 20120323 |
Method CHECK_DDIC_OBJECT on class CL_SPAK_PACKAGE_CHECK has no exception.
Method CHECK_PACKAGE_INTERFACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | TT_PACKAGE_CHECK_RESULT | 20120324 | ||||
| 2 | EV_PACKAGE_CHECK_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120822 | ||||
| 3 | IV_NO_PROGRESS_INDICATOR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120324 | |||
| 4 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | 20120324 |
Method CHECK_PACKAGE_INTERFACE on class CL_SPAK_PACKAGE_CHECK has no exception.
Method CHECK_PINF_FOR_CYCLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHECK_MESSAGES | Call by reference | Type reference (TYPE) | TT_PINF_CYCLE_CHECK_RESULT | 20130524 | ||||
| 2 | ET_MESSAGES | Call by reference | Type reference (TYPE) | TT_PACKAGE_CHECK_RESULT | 20130523 | ||||
| 3 | ET_PINFS_TO_IGNORE | Call by reference | Type reference (TYPE) | TT_PINF_TO_IGNORE | 20130524 | ||||
| 4 | EV_CONTAINS_CYCLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130529 | ||||
| 5 | IT_NEW_CONTENT_TO_CHECK | Call by reference | Type reference (TYPE) | SCOMPIFNAM | List of Package Interfaces | 20130605 | |||
| 6 | IV_PACKAGE_INTERFACE_NAME | Call by reference | Type reference (TYPE) | SCOMIFNAM | 20130529 | ||||
| 7 | IV_RESOLVE_PINFS_TO_IGNORE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130530 |
Method CHECK_PINF_FOR_CYCLE on class CL_SPAK_PACKAGE_CHECK has no exception.
Method CHECK_PROGRAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | TT_PACKAGE_CHECK_RESULT | 20111109 | ||||
| 2 | ET_WB_MESSAGES | Call by reference | Type reference (TYPE) | TT_WB_PACKAGE_CHECK_RESULT | 20120408 | ||||
| 3 | EV_MAIN_PROGRAM_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120323 | |||
| 4 | EV_PACKAGE_CHECK_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120822 | ||||
| 5 | IT_SUBSTITUTIONS | Call by reference | Type reference (TYPE) | SREPTAB | Table Type for SYNTAX-CHECK REPLACING | 20120926 | |||
| 6 | IV_CLEAR_BUFFER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120322 | |||
| 7 | IV_DEFAULT_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20120317 | |||
| 8 | IV_IGNORE_SYNTAX_ERRORS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20111109 | |||
| 9 | IV_NO_PROGRESS_INDICATOR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120322 | |||
| 10 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20111111 | |||
| 11 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20111111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Package Check without SLIN | 20111105 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SPAK_PACKAGE_CHECK has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SPAK_PACKAGE_CHECK has no exception.
Method GET_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120320 | |||
| 2 | EV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20120320 | |||
| 3 | IV_MAIN_PROGRAM_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120320 |
Method GET_OBJECT_TYPE on class CL_SPAK_PACKAGE_CHECK has no exception.
Method _CHECK_PACKAGE_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SERVER_OBJECTS | Call by reference | Type reference (TYPE) | PAKCHEKTB2 | Table of server objects for package check | 20120322 |
Method _CHECK_PACKAGE_EXISTENCE on class CL_SPAK_PACKAGE_CHECK has no exception.
Method _CHECK_SINGLE_PACKAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MESSAGE | Call by reference | Type reference (TYPE) | PAKCHEKLN2 | Server Object and Check Result for Package Check | 20120322 | |||
| 2 | CS_PACKAGE_CHECK_MESSAGE_TEXT | Call by reference | Type reference (TYPE) | STRING | 20120322 | ||||
| 3 | EV_PACKAGE_DOES_NOT_EXIST | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120324 |
Method _CHECK_SINGLE_PACKAGE on class CL_SPAK_PACKAGE_CHECK has no exception.
Method _CONVERT_MESSAGE_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MESSAGE | Call by reference | Type reference (TYPE) | PAKCHEKLN2 | Structure of message variables | 20111111 | |||
| 2 | CS_PACKAGE_CHECK_MESSAGE | Call by reference | Type reference (TYPE) | TY_PACKAGE_CHECK_RESULT | 20120318 | ||||
| 3 | IV_CLIENT_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120415 | |||
| 4 | IV_CLIENT_OBJECT_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20120419 | |||
| 5 | IV_CLIENT_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20120415 |
Method _CONVERT_MESSAGE_ID on class CL_SPAK_PACKAGE_CHECK has no exception.
Method _DO_THE_PROGRAM_PACKAGE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_SERVER_OBJECTS | Call by reference | Type reference (TYPE) | PAKCHEKTB2 | Table of server objects for package check | 20120415 | |||
| 2 | ES_ERROR_MESSAGE | Call by reference | Type reference (TYPE) | SYMSG | Structure of message variables | 20120814 | |||
| 3 | EV_ERROR_MESSAGE_TEXT | Call by reference | Type reference (TYPE) | STRING | 20120814 | ||||
| 4 | EV_PACKAGE_CHECK_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120822 | ||||
| 5 | EV_RETURN_CODE | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20120814 | |||
| 6 | IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_SPAK_OBJECT_ENVIRONMENT | Get the Development Objects used in a Source Code Object | 20120415 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Package Check without SLIN | 20120814 |
Method _GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | TT_PACKAGE_CHECK_RESULT | 20111109 | ||||
| 2 | IT_PACKAGE_CHECK_RESULT | Call by reference | Type reference (TYPE) | PAKCHEKTB2 | Table of server objects for package check | 20111109 | |||
| 3 | IT_SERVER_OBJECTS | Call by reference | Type reference (TYPE) | CL_SPAK_OBJECT_ENVIRONMENT=>TT_SERVER_OBJECT_DATA | 20111109 | ||||
| 4 | IV_CLIENT_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20120415 | |||
| 5 | IV_CLIENT_OBJECT_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20120419 | |||
| 6 | IV_CLIENT_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Object Type | 20120415 | |||
| 7 | IV_DEFAULT_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20120317 |
Method _GET_MESSAGES on class CL_SPAK_PACKAGE_CHECK has no exception.
Method _GET_MESSAGE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MESSAGE_TEXT | Call by reference | Type reference (TYPE) | STRING | 20111111 | ||||
| 2 | IS_MESSAGE | Call by reference | Type reference (TYPE) | SYMSG | 20111111 |
Method _GET_MESSAGE_TEXT on class CL_SPAK_PACKAGE_CHECK has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 732 |