APPL_LOG_CREATE SAP Method DSD: Create Default Application Log









Below is documentation, parameters and attributes of ABAP Method APPL_LOG_CREATE within SAP class /DSD/SL_CL_ASL_TOOLS. 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 /DSD/SL_CL_ASL_TOOLS 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 directly

The following technical details of method APPL_LOG_CREATE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method APPL_LOG_CREATE

.

NameTypeData TypeDescriptionDefault Value
IV_DEFAULTLOGImportingTYPE
BOOLEAN
Boolean Variable (X=true, -=false, space=unknown)
IV_DETLEVELImportingTYPE
BALLEVEL
Application Log: Level of Detail
IV_OBJECTImportingTYPE
BALOBJ_D
Application Log: Object Name (Application Code)
IV_SUBOBJECTImportingTYPE
BALSUBOBJ
Application Log: Subobject
IV_LOG_HANDLEReturningTYPE
BALLOGHNDL
Application Log: Log Handle



Exceptions of Method APPL_LOG_CREATE

This method does not have any exceptions

Example ABAP coding


DATA: lv_IV_DEFAULTLOG TYPE BOOLEAN,
lv_IV_DETLEVEL TYPE BALLEVEL,
lv_IV_LOG_HANDLE TYPE BALLOGHNDL,
lv_IV_OBJECT TYPE BALOBJ_D,
lv_IV_SUBOBJECT TYPE BALSUBOBJ,
lv_other TYPE c.

CALL METHOD /DSD/SL_CL_ASL_TOOLS=>APPL_LOG_CREATE(
EXPORTING
IV_DEFAULTLOG = lv_IV_DEFAULTLOG
IV_DETLEVEL = lv_IV_DETLEVEL
IV_OBJECT = lv_IV_OBJECT
IV_SUBOBJECT = lv_IV_SUBOBJECT
RECEIVING
IV_LOG_HANDLE = lv_IV_LOG_HANDLE )



"Alternate coding for Method Call with returning parameter
lv_IV_LOG_HANDLE = /DSD/SL_CL_ASL_TOOLS=>APPL_LOG_CREATE(
EXPORTING
IV_DEFAULTLOG = lv_IV_DEFAULTLOG
IV_DETLEVEL = lv_IV_DETLEVEL
IV_OBJECT = lv_IV_OBJECT
IV_SUBOBJECT = lv_IV_SUBOBJECT ).

Links to Related Class(s)

/DSD/SL_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!