PROC_CONDITIONS SAP Method Process conditions for given BO Instances
Below is documentation, parameters and attributes of ABAP Method PROC_CONDITIONS within SAP class /SCMTMS/CL_COND_OL. 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_OL 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 PROC_CONDITIONS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method PROC_CONDITIONS
.| Name | Type | Data Type | Description | Default Value |
| IO_CONTEXT | Importing | TYPE REF TO OBJECT | Reference to context data which can be used in Data Acc Cl | |
| IT_BOINST_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Key Table of Start Node for condition processing, entry node | |
| IT_COND_ID | Importing | TYPE /SCMTMS/T_CONDITION_ID | Table of condition IDs | |
| IT_COND_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Table of condition GUIDs, alternative to IT_COND_ID | |
| IV_COND_ID | Importing | TYPE /SCMTMS/CONDITION_ID | Name of Condition | |
| IV_DO_NOT_RETURN_NO_HITS | Importing | TYPE ABAP_BOOL | Do not return conditions with no result | |
| IV_RETURN_VALUE_NO_HIT | Importing | TYPE CHAR128 | Value that should be reutned in case of not hit in condition | |
| ET_BOKEY_COND_RESULT | Exporting | TYPE /SCMTMS/T_BOID_COND_RESULT | BOID, Condition and result | |
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object |
Exceptions of Method PROC_CONDITIONS
/SCMTMS/CX_COND_PROCESSING - COndition Processing exceptionExample ABAP coding
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_ET_BOKEY_COND_RESULT TYPE /SCMTMS/T_BOID_COND_RESULT,
lv_IO_CONTEXT TYPE OBJECT,
lv_IT_BOINST_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_COND_ID TYPE /SCMTMS/T_CONDITION_ID,
lv_IT_COND_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_COND_ID TYPE /SCMTMS/CONDITION_ID,
lv_IV_DO_NOT_RETURN_NO_HITS TYPE ABAP_BOOL,
lv_IV_RETURN_VALUE_NO_HIT TYPE CHAR128,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COND_OL=>PROC_CONDITIONS(
EXPORTING
IO_CONTEXT = lv_IO_CONTEXT
IT_BOINST_KEY = lv_IT_BOINST_KEY
IT_COND_ID = lv_IT_COND_ID
IT_COND_KEY = lv_IT_COND_KEY
IV_COND_ID = lv_IV_COND_ID
IV_DO_NOT_RETURN_NO_HITS = lv_IV_DO_NOT_RETURN_NO_HITS
IV_RETURN_VALUE_NO_HIT = lv_IV_RETURN_VALUE_NO_HIT
IMPORTING
ET_BOKEY_COND_RESULT = lv_ET_BOKEY_COND_RESULT
CHANGING
CO_MESSAGE = lv_CO_MESSAGE ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects