SET_ALL_KEYS_TO_FAILED SAP Method Moves all source keys to failed key table
Below is documentation, parameters and attributes of ABAP Method SET_ALL_KEYS_TO_FAILED within SAP class /SCMTMS/CL_COPY_CONTROL. 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 /SCMTMS/CL_COPY_CONTROL 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 SET_ALL_KEYS_TO_FAILED can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_ALL_KEYS_TO_FAILED
.| Name | Type | Data Type | Description | Default Value |
| IT_SRC_TRG_KEY | Importing | TYPE /BOBF/T_FRW_KEY_LINK | Source target key link table | |
| CT_FAILED_KEY | Changing | TYPE /BOBF/T_FRW_KEY | Failed key table |
Exceptions of Method SET_ALL_KEYS_TO_FAILED
This method does not have any exceptionsExample 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: lv_CT_FAILED_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_SRC_TRG_KEY TYPE /BOBF/T_FRW_KEY_LINK,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COPY_CONTROL=>SET_ALL_KEYS_TO_FAILED(
EXPORTING
IT_SRC_TRG_KEY = lv_IT_SRC_TRG_KEY
CHANGING
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