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

.

NameTypeData TypeDescriptionDefault Value
I_VALUE_FROMImportingTYPE
SDYDO_VALUE
From Date
I_VALUE_TOImportingTYPE
SDYDO_VALUE
To Date
ES_MSGExportingTYPE
BAPIRET2
Error message
E_DATE_FROM_EXTExportingTYPE
SDYDO_VALUE
From Date (External Format)
E_DATE_TO_EXTExportingTYPE
SDYDO_VALUE
To Date (External Format)



Exceptions of Method CHECK_AND_UPDATE_DATE

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!