FILL_APPLOG_CONTEXT SAP Method Fill application log context structure









Below is documentation, parameters and attributes of ABAP Method FILL_APPLOG_CONTEXT within SAP class /SCMTMS/CL_APPLOG_HELPER. 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 /SCMTMS/CL_APPLOG_HELPER 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 FILL_APPLOG_CONTEXT can also be found below:

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


Parameters of Method FILL_APPLOG_CONTEXT

.

NameTypeData TypeDescriptionDefault Value
IV_EXTNOImportingTYPE
BALNREXT
Application Log: External ID
IV_MSG_IDImportingTYPE
SXMSMGUID
XI: Message ID
IV_OBJECTImportingTYPE
BALOBJ_D
Application log: Object name (Application code)
IV_SUBOBJECTImportingTYPE
BALSUBOBJ
Application Log: Subobject
IV_WEB_URIImportingTYPE
/SCMTMS/CPX_WEB_URI
Proxy Data Element (generated)
IV_HEADER_CONTEXT_GUIDImportingTYPE
RAW16
Instance guid for context value
EV_TABNAMEExportingTYPE
BAL_S_CONT-TABNAME
Application Log: Context: DDIC structure name
EV_VALUEExportingTYPE
BAL_S_CONT-VALUE
Application Log: Context data



Exceptions of Method FILL_APPLOG_CONTEXT

This method does not have any exceptions

Example ABAP coding


DATA: lv_EV_TABNAME TYPE BAL_S_CONT-TABNAME,
lv_EV_VALUE TYPE BAL_S_CONT-VALUE,
lv_IV_EXTNO TYPE BALNREXT,
lv_IV_MSG_ID TYPE SXMSMGUID,
lv_IV_OBJECT TYPE BALOBJ_D,
lv_IV_SUBOBJECT TYPE BALSUBOBJ,
lv_IV_WEB_URI TYPE /SCMTMS/CPX_WEB_URI,
lv_IV_HEADER_CONTEXT_GUID TYPE RAW16,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_APPLOG_HELPER=>FILL_APPLOG_CONTEXT(
EXPORTING
IV_EXTNO = lv_IV_EXTNO
IV_MSG_ID = lv_IV_MSG_ID
IV_OBJECT = lv_IV_OBJECT
IV_SUBOBJECT = lv_IV_SUBOBJECT
IV_WEB_URI = lv_IV_WEB_URI
IV_HEADER_CONTEXT_GUID = lv_IV_HEADER_CONTEXT_GUID
IMPORTING
EV_TABNAME = lv_EV_TABNAME
EV_VALUE = lv_EV_VALUE ).

Links to Related Class(s)

/SCMTMS/...
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!