CHECK_CONDITON_USAGE SAP Method Checks usage of Conditions in Additional. Sel.. Attributes









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

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


Parameters of Method CHECK_CONDITON_USAGE

.

NameTypeData TypeDescriptionDefault Value
IT_CONDITIONImportingTYPE
/SCMTMS/CL_PRF_WHERE_USED_REG=>TT_CONDITION
Condition IDs to be checked
IV_GENERIC_MESSAGEImportingTYPE
BOOLE_D
Throw only one generic message per profile instance
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IT_CONDITIONImportingTYPE
/SCMTMS/CL_PROFILE_V_WHERE_USE=>TT_CONDITION
Condition IDs to be checked
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
CT_FAILED_KEYChangingTYPE
/BOBF/T_FRW_KEY
Node Assignment to Error Flag



Exceptions of Method CHECK_CONDITON_USAGE

This method does not have any exceptions

Example ABAP coding


DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_CT_FAILED_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_CONDITION TYPE /SCMTMS/CL_PRF_WHERE_USED_REG=>TT_CONDITION,
lv_IV_GENERIC_MESSAGE TYPE BOOLE_D,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IT_CONDITION TYPE /SCMTMS/CL_PROFILE_V_WHERE_USE=>TT_CONDITION,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COND_HELPER=>CHECK_CONDITON_USAGE(
EXPORTING
IT_CONDITION = lv_IT_CONDITION
IV_GENERIC_MESSAGE = lv_IV_GENERIC_MESSAGE
IV_NODE_KEY = lv_IV_NODE_KEY
IT_CONDITION = lv_IT_CONDITION
CHANGING
CO_MESSAGE = lv_CO_MESSAGE
CT_FAILED_KEY = lv_CT_FAILED_KEY ).

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!