IS_USAGE_CODE_COMPATIBLE SAP Method Is Usage Code Compatible
Below is documentation, parameters and attributes of ABAP Method IS_USAGE_CODE_COMPATIBLE within SAP class /SCMTMS/CL_TCM_BOPF_BASE. 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_TCM_BOPF_BASE 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 IS_USAGE_CODE_COMPATIBLE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method IS_USAGE_CODE_COMPATIBLE
.| Name | Type | Data Type | Description | Default Value |
| IV_UC_REFERRED_OBJ | Importing | TYPE /SCMTMS/TRCHARG_USAGE_CODE | Transportation Charges Usage Code | |
| IV_UC_REFERRING_OBJ | Importing | TYPE /SCMTMS/TRCHARG_USAGE_CODE | Transportation Charges Usage Code | |
| RV_ANSWER | Returning | TYPE ABAP_BOOL |
Exceptions of Method IS_USAGE_CODE_COMPATIBLE
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_UC_REFERRED_OBJ TYPE /SCMTMS/TRCHARG_USAGE_CODE,
lv_IV_UC_REFERRING_OBJ TYPE /SCMTMS/TRCHARG_USAGE_CODE,
lv_RV_ANSWER TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_TCM_BOPF_BASE=>IS_USAGE_CODE_COMPATIBLE(
EXPORTING
IV_UC_REFERRED_OBJ = lv_IV_UC_REFERRED_OBJ
IV_UC_REFERRING_OBJ = lv_IV_UC_REFERRING_OBJ
RECEIVING
RV_ANSWER = lv_RV_ANSWER )
"Alternate coding for Method Call with returning parameter
lv_RV_ANSWER = /SCMTMS/CL_TCM_BOPF_BASE=>IS_USAGE_CODE_COMPATIBLE(
EXPORTING
IV_UC_REFERRED_OBJ = lv_IV_UC_REFERRED_OBJ
IV_UC_REFERRING_OBJ = lv_IV_UC_REFERRING_OBJ ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects