DETERMINE_METRIC_DEF SAP Method Determin metric definition









Below is documentation, parameters and attributes of ABAP Method DETERMINE_METRIC_DEF within SAP class /SOMO/CL_IM_SMSE_HPLSMSE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SOMO/CL_IM_SMSE_HPLSMSE 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 DETERMINE_METRIC_DEF can also be found below:

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


Parameters of Method DETERMINE_METRIC_DEF

.

NameTypeData TypeDescriptionDefault Value
IV_CONTEXT_IDImportingTYPE
/SOMO/MA_D_GUID32
BPMon: GUID32
IV_FLT_VALImportingTYPE
/SOMO/MA_D_BADI_FILTER
Badi fliter for unified job monitoring
IV_JOBTYPEImportingTYPE
/SOMO/JOBMON02-JOBTYPE
Unified job monitoring - job type
IV_MONIDImportingTYPE
/SOMO/JOBMON01-MONID
BPMon: Monitoring ID
IV_SOLMAN_INSTNOImportingTYPE
/SOMO/MA_D_INSTNO
BPMon: Installation number
IV_SOLMAN_SIDImportingTYPE
/SOMO/MA_D_SYSTID
BPMon: System ID
CS_JOBCORECUSTChangingTYPE
/SOMO/MA_S_JOBCORECUST
Unified Job Monitoring - Core customizing structure
CT_LOGChangingTYPE
/SOMO/MA_T_LOG
BPMon: log table
CT_METRICSChangingTYPE
/SOMO/MA_T_METRIC
BPMon: Metric / key figure
CT_METRIC_DEFChangingTYPE
/SOMO/MA_T_METRIC_DEF
Unified job monitoring - metric definition
CV_RETURN_CODEChangingTYPE
SY-SUBRC
Return Value of ABAP Statements



Exceptions of Method DETERMINE_METRIC_DEF

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /SOMO/CL_IM_SMSE_HPLSMSE.
DATA: lv_CS_JOBCORECUST TYPE /SOMO/MA_S_JOBCORECUST,
lv_CT_LOG TYPE /SOMO/MA_T_LOG,
lv_CT_METRICS TYPE /SOMO/MA_T_METRIC,
lv_CT_METRIC_DEF TYPE /SOMO/MA_T_METRIC_DEF,
lv_CV_RETURN_CODE TYPE SY-SUBRC,
lv_IV_CONTEXT_ID TYPE /SOMO/MA_D_GUID32,
lv_IV_FLT_VAL TYPE /SOMO/MA_D_BADI_FILTER,
lv_IV_JOBTYPE TYPE /SOMO/JOBMON02-JOBTYPE,
lv_IV_MONID TYPE /SOMO/JOBMON01-MONID,
lv_IV_SOLMAN_INSTNO TYPE /SOMO/MA_D_INSTNO,
lv_IV_SOLMAN_SID TYPE /SOMO/MA_D_SYSTID,
lv_other TYPE c.

CALL METHOD lo_class=>DETERMINE_METRIC_DEF(
EXPORTING
IV_CONTEXT_ID = lv_IV_CONTEXT_ID
IV_FLT_VAL = lv_IV_FLT_VAL
IV_JOBTYPE = lv_IV_JOBTYPE
IV_MONID = lv_IV_MONID
IV_SOLMAN_INSTNO = lv_IV_SOLMAN_INSTNO
IV_SOLMAN_SID = lv_IV_SOLMAN_SID
CHANGING
CS_JOBCORECUST = lv_CS_JOBCORECUST
CT_LOG = lv_CT_LOG
CT_METRICS = lv_CT_METRICS
CT_METRIC_DEF = lv_CT_METRIC_DEF
CV_RETURN_CODE = lv_CV_RETURN_CODE ).

Links to Related Class(s)

/SOMO/CL...
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!