TS_DEL_HIST SAP Method TDL: Delete Time Series History
Below is documentation, parameters and attributes of ABAP Method TS_DEL_HIST within SAP class /SCMB/IF_TDL_TIMESERIES. 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 /SCMB/IF_TDL_TIMESERIES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method TS_DEL_HIST can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method TS_DEL_HIST
.| Name | Type | Data Type | Description | Default Value |
| IS_CTRL | Importing | TYPE /SCMB/TDL_TS_HIST_DEL_CTRL | TDL: Control Structure for Deletion of Time Series | |
| IT_LOC_TZONE | Importing | TYPE /SCMB/TDL_LOC_TZONE_TAB | TDL: Location Time Zone Table | |
| IT_MATIDLOCID | Importing | TYPE /SCMB/TSDM_MATIDLOCID_TAB | TDL: Location Products to Be Deleted | |
| IT_PERIOD | Importing | TYPE /SCMB/TDL_TS_HDELRANGE_TAB | TDL: Time Series Period Structure | |
| IT_SELECTION | Importing | TYPE /SCMB/TDL_PRMVAL_SEL_TAB | TDL: Parameter Selection Table | |
| IT_SEM_KEYFS | Importing | TYPE /SCMB/TDL_TS_SEM_TAB | TDL: Indicators to Be Deleted | |
| IV_CLEANUPFLG | Importing | TYPE CHAR1 | Single-Character Flag | |
| CT_RETURN | Changing | TYPE BAPIRETTAB | Table with BAPI Return Information | |
| CV_MSGTY | Changing | TYPE MSGTY | Message Type |
Exceptions of Method TS_DEL_HIST
/SCMB/CX_TDL_DAO - TDL: Error in the Data Access ClassesExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_TDL_TIMESERIES.
DATA: lv_CT_RETURN TYPE BAPIRETTAB,
lv_CV_MSGTY TYPE MSGTY,
lv_IS_CTRL TYPE /SCMB/TDL_TS_HIST_DEL_CTRL,
lv_IT_LOC_TZONE TYPE /SCMB/TDL_LOC_TZONE_TAB,
lv_IT_MATIDLOCID TYPE /SCMB/TSDM_MATIDLOCID_TAB,
lv_IT_PERIOD TYPE /SCMB/TDL_TS_HDELRANGE_TAB,
lv_IT_SELECTION TYPE /SCMB/TDL_PRMVAL_SEL_TAB,
lv_IT_SEM_KEYFS TYPE /SCMB/TDL_TS_SEM_TAB,
lv_IV_CLEANUPFLG TYPE CHAR1,
lv_other TYPE c.
CALL METHOD lo_class=>TS_DEL_HIST(
EXPORTING
IS_CTRL = lv_IS_CTRL
IT_LOC_TZONE = lv_IT_LOC_TZONE
IT_MATIDLOCID = lv_IT_MATIDLOCID
IT_PERIOD = lv_IT_PERIOD
IT_SELECTION = lv_IT_SELECTION
IT_SEM_KEYFS = lv_IT_SEM_KEYFS
IV_CLEANUPFLG = lv_IV_CLEANUPFLG
CHANGING
CT_RETURN = lv_CT_RETURN
CV_MSGTY = lv_CV_MSGTY ).
Links to Related Class(s)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects