GET_INSTANCE SAP Method Get application log handler
Below is documentation, parameters and attributes of ABAP Method GET_INSTANCE within SAP class /GSINS/CL_BR_APPLOG. 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 /GSINS/CL_BR_APPLOG into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method GET_INSTANCE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_INSTANCE
.| Name | Type | Data Type | Description | Default Value |
| IV_EXTNUMBER | Importing | TYPE BALNREXT | Application Log: External ID | |
| IV_LOGNUMBER | Importing | TYPE BALOGNR | Application log: log number | |
| IV_OBJECT | Importing | TYPE BALOBJ_D | Application Log: Object Name (Application Code) | |
| IV_SAVE_TO_DB | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_SUBOBJECT | Importing | TYPE BALSUBOBJ | Application Log: Subobject | |
| IV_TABNAME | Importing | TYPE TABNAME | Table Name | |
| RO_LOG | Returning | TYPE REF TO /GSINS/CL_BR_APPLOG | Application log |
Exceptions of Method GET_INSTANCE
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_EXTNUMBER TYPE BALNREXT,
lv_IV_LOGNUMBER TYPE BALOGNR,
lv_IV_OBJECT TYPE BALOBJ_D,
lv_IV_SAVE_TO_DB TYPE BOOLE_D,
lv_IV_SUBOBJECT TYPE BALSUBOBJ,
lv_IV_TABNAME TYPE TABNAME,
lv_RO_LOG TYPE /GSINS/CL_BR_APPLOG,
lv_other TYPE c.
CALL METHOD /GSINS/CL_BR_APPLOG=>GET_INSTANCE(
EXPORTING
IV_EXTNUMBER = lv_IV_EXTNUMBER
IV_LOGNUMBER = lv_IV_LOGNUMBER
IV_OBJECT = lv_IV_OBJECT
IV_SAVE_TO_DB = lv_IV_SAVE_TO_DB
IV_SUBOBJECT = lv_IV_SUBOBJECT
IV_TABNAME = lv_IV_TABNAME
RECEIVING
RO_LOG = lv_RO_LOG )
"Alternate coding for Method Call with returning parameter
lv_RO_LOG = /GSINS/CL_BR_APPLOG=>GET_INSTANCE(
EXPORTING
IV_EXTNUMBER = lv_IV_EXTNUMBER
IV_LOGNUMBER = lv_IV_LOGNUMBER
IV_OBJECT = lv_IV_OBJECT
IV_SAVE_TO_DB = lv_IV_SAVE_TO_DB
IV_SUBOBJECT = lv_IV_SUBOBJECT
IV_TABNAME = lv_IV_TABNAME ).
Links to Related Class(s)
/GSINS/C...Full list of available SAP object classes
Search for further information about these or an SAP related objects