CHECK_AND_UPDATE_DATE SAP Method Check and Update Date (from/to)
Below is documentation, parameters and attributes of ABAP Method CHECK_AND_UPDATE_DATE within SAP class /DSD/SL_CL_MO_SELECT_SEARCH. 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 /DSD/SL_CL_MO_SELECT_SEARCH 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 CHECK_AND_UPDATE_DATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_AND_UPDATE_DATE
.| Name | Type | Data Type | Description | Default Value |
| I_VALUE_FROM | Importing | TYPE SDYDO_VALUE | From Date | |
| I_VALUE_TO | Importing | TYPE SDYDO_VALUE | To Date | |
| ES_MSG | Exporting | TYPE BAPIRET2 | Error message | |
| E_DATE_FROM_EXT | Exporting | TYPE SDYDO_VALUE | From Date (External Format) | |
| E_DATE_TO_EXT | Exporting | TYPE SDYDO_VALUE | To Date (External Format) |
Exceptions of Method CHECK_AND_UPDATE_DATE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /DSD/SL_CL_MO_SELECT_SEARCH.
DATA: lv_ES_MSG TYPE BAPIRET2,
lv_E_DATE_FROM_EXT TYPE SDYDO_VALUE,
lv_E_DATE_TO_EXT TYPE SDYDO_VALUE,
lv_I_VALUE_FROM TYPE SDYDO_VALUE,
lv_I_VALUE_TO TYPE SDYDO_VALUE,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_AND_UPDATE_DATE(
EXPORTING
I_VALUE_FROM = lv_I_VALUE_FROM
I_VALUE_TO = lv_I_VALUE_TO
IMPORTING
ES_MSG = lv_ES_MSG
E_DATE_FROM_EXT = lv_E_DATE_FROM_EXT
E_DATE_TO_EXT = lv_E_DATE_TO_EXT ).
Links to Related Class(s)
/DSD/SL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects