CHECK_AND_UPDATE SAP Method Check and Update the Data Record
Below is documentation, parameters and attributes of ABAP Method CHECK_AND_UPDATE within SAP class /DSD/SL_CL_MO_TOUR_HEADER. 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_TOUR_HEADER 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 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_AND_UPDATE
.| Name | Type | Data Type | Description | Default Value |
| I_CARRIER | Importing | TYPE SDYDO_VALUE | Fwd. Agent | |
| I_CODRIVER | Importing | TYPE SDYDO_VALUE | Co-Driver | |
| I_DRIVER | Importing | TYPE SDYDO_VALUE | Driver | |
| I_TRAILER | Importing | TYPE SDYDO_VALUE | Trailer | |
| I_VEHICLE | Importing | TYPE SDYDO_VALUE | Vehicle | |
| ES_DATA | Exporting | TYPE /DSD/HH_RAHD_S | Data Record, Complete | |
| ET_MSG | Exporting | TYPE BAPIRET2_T | Error messages |
Exceptions of Method CHECK_AND_UPDATE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /DSD/SL_CL_MO_TOUR_HEADER.
DATA: lv_ES_DATA TYPE /DSD/HH_RAHD_S,
lv_ET_MSG TYPE BAPIRET2_T,
lv_I_CARRIER TYPE SDYDO_VALUE,
lv_I_CODRIVER TYPE SDYDO_VALUE,
lv_I_DRIVER TYPE SDYDO_VALUE,
lv_I_TRAILER TYPE SDYDO_VALUE,
lv_I_VEHICLE TYPE SDYDO_VALUE,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_AND_UPDATE(
EXPORTING
I_CARRIER = lv_I_CARRIER
I_CODRIVER = lv_I_CODRIVER
I_DRIVER = lv_I_DRIVER
I_TRAILER = lv_I_TRAILER
I_VEHICLE = lv_I_VEHICLE
IMPORTING
ES_DATA = lv_ES_DATA
ET_MSG = lv_ET_MSG ).
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