SAP ABAP Class CL_GET_ENVIRONMENT_FOR_USE (Get The Environment for the Usage of a Dev. Object)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-PAK (Application Component) Package Tools
⤷
SPAK_OBJECTS (Package) Function modules for Object Types in Packages Interfaces

⤷

⤷

Properties
Class | CL_GET_ENVIRONMENT_FOR_USE | |
Short Description | Get The Environment for the Usage of a Dev. Object | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SPAK_OBJECTS | Function modules for Object Types in Packages Interfaces |
Created | 20130225 | 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_GET_ENVIRONMENT_FOR_USE has no interface implemented.
Friends
Class CL_GET_ENVIRONMENT_FOR_USE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'CLAS' | 20130225 | ||
2 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'DEVC' | 20130812 | ||
3 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGR' | 20130516 | ||
4 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGS' | 20130516 | ||
5 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUGX' | 20130516 | ||
6 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'FUNC' | 20130516 | ||
7 | ![]() |
Constant | Private | Type reference (TYPE) | TROBJTYPE | 'INTF' | 20130225 | ||
8 | ![]() |
Constant | Private | Type reference (TYPE) | PGMID | 'R3TR' | 20130225 | ||
9 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TY_PACKAGE_DATA | 20130225 | |||
10 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TY_PACKAGE_INFO | 20130225 | |||
11 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_FUNC_FUGR_DATA_INT | 20130516 | |||
12 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_PACKAGE_DATA | 20130225 | |||
13 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_PACKAGE_INFO | 20130225 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | 20130812 | |
2 | ![]() |
Static method | Public | Method | 20130225 | |
3 | ![]() |
Static method | Public | Method | 20130301 | |
4 | ![]() |
Static method | Public | Method | 20130226 | |
5 | ![]() |
Static method | Public | Method | 20130516 | |
6 | ![]() |
Static method | Private | Method | 20130225 | |
7 | ![]() |
Static method | Private | Method | 20130225 |
Events
Class CL_GET_ENVIRONMENT_FOR_USE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TT_ENV_FOR_USE | Public | See coding | 20130812 | tt_env_for_use type standard table of ty_env_for_use
with default key
|
||
2 | TT_FUNC_FUGR_DATA | Public | See coding | 20130516 | tt_func_fugr_data type standard table of ty_func_fugr_data
with default key
|
||
3 | TT_FUNC_FUGR_DATA_INT | Private | See coding | 20130516 | tt_func_fugr_data_int type hashed table of ty_func_fugr_data
with unique key func_name
with non-unique sorted key fugr_name components fugr_name
|
||
4 | TT_OBJECTS | Public | See coding | 20130225 | tt_objects type sorted table of ty_object_name
with unique key object_type object_name
subobject_type subobject_name
|
||
5 | TT_PACKAGE_DATA | Private | See coding | 20130225 | tt_package_data type hashed table of ty_package_data
with unique key package_name
|
||
6 | TT_PACKAGE_INFO | Private | See coding | 20130225 | tt_package_info type hashed table of ty_package_info
with unique key client_package_name server_package_name
|
||
7 | TT_TADIR_DATA | Public | See coding | 20130516 | tt_tadir_data type sorted table of ty_tadir_data
with unique key object_type object_name
|
||
8 | TY_ENV_FOR_USE | Public | See coding | 20130812 | begin of ty_env_for_use,
object_type type trobjtype,
object_name type sobj_name,
has_package_error type abap_bool,
package_check_not_possible type abap_bool,
package_name type devclass,
error_severity type errsevrty,
t100_message type symsg,
message_text type string,
end of ty_env_for_use
|
||
9 | TY_FUNC_FUGR_DATA | Public | See coding | 20130516 | begin of ty_func_fugr_data,
func_name type c length 40,
fugr_name type c length 40,
package_name type devclass,
software_component type dlvunit,
no_record_found type abap_bool,
end of ty_func_fugr_data
|
||
10 | TY_OBJECT_NAME | Public | See coding | 20130225 | begin of ty_object_name,
object_type type trobjtype,
object_name type sobj_name,
subobject_type type pak_object_type,
subobject_name type pak_object_sub_key,
package_name type devclass,
superpackage_name type devclass,
first_not_structure_package type devclass,
from_same_package type abap_bool,
from_subpackage type abap_bool,
from_superpackage type abap_bool,
from_external_package type abap_bool,
software_component type dlvunit,
end of ty_object_name
|
||
11 | TY_PACKAGE_DATA | Private | See coding | 20130225 | begin of ty_package_data,
package_name type devclass,
exists type abap_bool,
erroneous type abap_bool,
sw_component type dlvunit,
subpackages type cl_pak_package_queries=>tt_subpackage_info,
superpackages type cl_pak_package_queries=>tt_superpackage_info,
superpackage type devclass,
first_not_structure_package type devclass,
from_same_package type abap_bool,
from_subpackage type abap_bool,
from_superpackage type abap_bool,
from_external_package type abap_bool,
end of ty_package_data
|
||
12 | TY_PACKAGE_INFO | Private | See coding | 20130225 | begin of ty_package_info,
client_package_name type devclass,
server_package_name type devclass,
client_sw_component type dlvunit,
server_sw_component type dlvunit,
superpackage_name type devclass,
first_not_structure_package type devclass,
from_same_package type abap_bool,
from_subpackage type abap_bool,
from_superpackage type abap_bool,
from_external_package type abap_bool,
end of ty_package_info
|
||
13 | TY_TADIR_DATA | Public | See coding | 20130516 | begin of ty_tadir_data,
object_type type trobjtype,
object_name type sobj_name,
devclass type devclass,
end of ty_tadir_data
|
||
14 | TY_WB_OBJECT_TYPE | Public | See coding | 20130812 | ty_wb_object_type type c length 30
|
Method Signatures
Method CHECK_ENV_FOR_USE_IN_PACKAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_ENV_FOR_USE | Call by reference | Type reference (TYPE) | TT_ENV_FOR_USE | 20130812 | |||
2 | ![]() |
IV_CLIENT_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | 20130812 | |||
3 | ![]() |
IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | TY_WB_OBJECT_TYPE | 20130812 | |||
4 | ![]() |
IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | 20130812 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20130812 | ||
2 | ![]() |
20130812 | ||
3 | ![]() |
20130812 |
Method GET_ENV_FOR_CLASS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_OBJECTS | Call by reference | Type reference (TYPE) | TT_OBJECTS | 20130225 | |||
2 | ![]() |
EV_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20130517 | ||
3 | ![]() |
EV_SOFTWARE_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Software Component | 20130517 | ||
4 | ![]() |
IV_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20130225 | ||
5 | ![]() |
IV_INCLUDING_OWN_TYPES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130226 | ||
6 | ![]() |
IV_INCLUDING_SUBTYPES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130227 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20130225 | ||
2 | ![]() |
20130225 |
Method GET_ENV_FOR_FUNCTION_MODULE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_OBJECTS | Call by reference | Type reference (TYPE) | TT_OBJECTS | 20130301 | |||
2 | ![]() |
EV_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20130517 | ||
3 | ![]() |
EV_SOFTWARE_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Software Component | 20130517 | ||
4 | ![]() |
IV_FUNCTION_MODULE_NAME | Call by reference | Type reference (TYPE) | FUNCNAME | 20130301 | |||
5 | ![]() |
IV_INCLUDING_SUBTYPES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130301 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20130301 | ||
2 | ![]() |
20130301 |
Method GET_ENV_FOR_INTERFACE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_OBJECTS | Call by reference | Type reference (TYPE) | TT_OBJECTS | 20130226 | |||
2 | ![]() |
EV_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20130517 | ||
3 | ![]() |
EV_SOFTWARE_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Software Component | 20130517 | ||
4 | ![]() |
IV_INCLUDING_OWN_TYPES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130226 | ||
5 | ![]() |
IV_INCLUDING_SUBTYPES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130227 | ||
6 | ![]() |
IV_INTERFACE_NAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | 20130226 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20130226 | ||
2 | ![]() |
20130226 |
Method GET_FUNCTIONS_OF_FUGR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_FUNC_FUGR_DATA | Call by reference | Type reference (TYPE) | TT_FUNC_FUGR_DATA | 20130516 | |||
2 | ![]() |
IT_FUGR_KEYS | Call by reference | Type reference (TYPE) | TT_TADIR_DATA | 20130516 | |||
3 | ![]() |
IV_FUGR_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | 20130516 |
Method GET_FUNCTIONS_OF_FUGR on class CL_GET_ENVIRONMENT_FOR_USE has no exception.
Method GET_PACKAGE_HIERARCHY_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_CLIENT_SW_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Software Component | 20130517 | ||
2 | ![]() |
EV_FIRST_NOT_STRUCTURE_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | 20130517 | |||
3 | ![]() |
EV_FROM_EXTERNAL_PACKAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130225 | |||
4 | ![]() |
EV_FROM_SAME_PACKAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130225 | |||
5 | ![]() |
EV_FROM_SUBPACKAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130225 | |||
6 | ![]() |
EV_FROM_SUPERPACKAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130225 | |||
7 | ![]() |
EV_SERVER_SW_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Software Component | 20130517 | ||
8 | ![]() |
EV_SUPERPACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | 20130227 | |||
9 | ![]() |
IV_CLIENT_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20130225 | ||
10 | ![]() |
IV_SERVER_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20130225 |
Method GET_PACKAGE_HIERARCHY_INFO on class CL_GET_ENVIRONMENT_FOR_USE has no exception.
Method READ_PACKAGE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_SUBPACKAGES | Call by reference | Type reference (TYPE) | CL_PAK_PACKAGE_QUERIES=>TT_SUBPACKAGE_INFO | 20130225 | |||
2 | ![]() |
ET_SUPERPACKAGES | Call by reference | Type reference (TYPE) | CL_PAK_PACKAGE_QUERIES=>TT_SUPERPACKAGE_INFO | 20130225 | |||
3 | ![]() |
EV_FIRST_NOT_STRUCTURE_PACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | 20130517 | |||
4 | ![]() |
EV_SOFTWARE_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Software Component | 20130517 | ||
5 | ![]() |
EV_SUPERPACKAGE | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20130225 | ||
6 | ![]() |
IV_PACKAGE_NAME | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20130225 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20130225 | ||
2 | ![]() |
20130225 | ||
3 | ![]() |
20130225 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |