GET_GLOBAL_OBJECT SAP Method searches about a global object in current instance
Below is documentation, parameters and attributes of ABAP Method GET_GLOBAL_OBJECT within SAP class CL_PROXY_UIX_PLGN_BASE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_PROXY_UIX_PLGN_BASE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method GET_GLOBAL_OBJECT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_GLOBAL_OBJECT
.| Name | Type | Data Type | Description | Default Value |
| OBJECT | Importing | TYPE PRX_R3OBJ | Proxy Generation: Object Type in R3 (DTEL, TABL,...) | |
| OBJ_NAME | Importing | TYPE PRX_R3NAME | Proxy Generation: Name of an Object in R/3 | |
| GLOBAL | Returning | TYPE REF TO IF_PXN_GLOBAL_BASE | implements base if |
Exceptions of Method GET_GLOBAL_OBJECT
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_PROXY_UIX_PLGN_BASE.
DATA: lv_GLOBAL TYPE IF_PXN_GLOBAL_BASE,
lv_OBJECT TYPE PRX_R3OBJ,
lv_OBJ_NAME TYPE PRX_R3NAME,
lv_other TYPE c.
CALL METHOD lo_class=>GET_GLOBAL_OBJECT(
EXPORTING
OBJECT = lv_OBJECT
OBJ_NAME = lv_OBJ_NAME
RECEIVING
GLOBAL = lv_GLOBAL )
"Alternate coding for Method Call with returning parameter
lv_GLOBAL = lo_class=>GET_GLOBAL_OBJECT(
EXPORTING
OBJECT = lv_OBJECT
OBJ_NAME = lv_OBJ_NAME ).
Links to Related Class(s)
CL_PROXY...Full list of available SAP object classes
Search for further information about these or an SAP related objects