GET_COND_SETTINGS SAP Method Get the data for the conditions
Below is documentation, parameters and attributes of ABAP Method GET_COND_SETTINGS 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 GET_COND_SETTINGS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_COND_SETTINGS
.| Name | Type | Data Type | Description | Default Value |
| IT_BOINST_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Key Table of Start Node for condition processing, entry node | |
| IT_COND_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Key Table | |
| IV_DO_NOT_RETURN_NO_HITS | Importing | TYPE ABAP_BOOL | Return also entries if there is no hit in the condition | |
| ET_CONDKEY_BRF | Exporting | TYPE /BOBF/T_FRW_KEY | Conditions keys for BRFplus based conditions | |
| ET_CONDKEY_DIRECT | Exporting | TYPE /BOBF/T_FRW_KEY | Conditions keys with direct return of data | |
| ET_COND_DO_BO_LINK | Exporting | TYPE /SCMTMS/T_COND_DO_DATA_K | Link between the Data Objects and the BO | |
| ET_COND_ROOT | Exporting | TYPE /SCMTMS/T_CONDITION_HEADER_K | BO Condition Root Node (condition Header) | |
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| CT_BOKEY_COND_RESULT | Changing | TYPE /SCMTMS/T_BOID_COND_RESULT | BOID, Condition and result |
Exceptions of Method GET_COND_SETTINGS
This method does not have any exceptionsExample ABAP coding
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_CT_BOKEY_COND_RESULT TYPE /SCMTMS/T_BOID_COND_RESULT,
lv_ET_CONDKEY_BRF TYPE /BOBF/T_FRW_KEY,
lv_ET_CONDKEY_DIRECT TYPE /BOBF/T_FRW_KEY,
lv_ET_COND_DO_BO_LINK TYPE /SCMTMS/T_COND_DO_DATA_K,
lv_ET_COND_ROOT TYPE /SCMTMS/T_CONDITION_HEADER_K,
lv_IT_BOINST_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_COND_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_DO_NOT_RETURN_NO_HITS TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COND_OL=>GET_COND_SETTINGS(
EXPORTING
IT_BOINST_KEY = lv_IT_BOINST_KEY
IT_COND_KEY = lv_IT_COND_KEY
IV_DO_NOT_RETURN_NO_HITS = lv_IV_DO_NOT_RETURN_NO_HITS
IMPORTING
ET_CONDKEY_BRF = lv_ET_CONDKEY_BRF
ET_CONDKEY_DIRECT = lv_ET_CONDKEY_DIRECT
ET_COND_DO_BO_LINK = lv_ET_COND_DO_BO_LINK
ET_COND_ROOT = lv_ET_COND_ROOT
CHANGING
CO_MESSAGE = lv_CO_MESSAGE
CT_BOKEY_COND_RESULT = lv_CT_BOKEY_COND_RESULT ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects