MAP_LOCAL_DATE_TIME_IN SAP Method Map LOCAL DateTime to ABAP fields Date & Time or Timestamp
Below is documentation, parameters and attributes of ABAP Method MAP_LOCAL_DATE_TIME_IN within SAP class CL_BS_SOA_CONVERT_DATE_TIME. 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 CL_BS_SOA_CONVERT_DATE_TIME 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 MAP_LOCAL_DATE_TIME_IN can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MAP_LOCAL_DATE_TIME_IN
.| Name | Type | Data Type | Description | Default Value |
| IV_LOCAL_DATETIME | Importing | TYPE CSEQUENCE | LOCAL DateTime: YYYY-MM-DDThh:mm:ss(.sss)? | |
| IV_SENDER_TIMEZONE | Importing | TYPE TIMEZONE | Time zone of the sender | |
| IV_TIMEZONE | Importing | TYPE TIMEZONE | Time zone of the receiver | |
| EV_DATE | Exporting | TYPE DATS | Date with respect to time zone of the receiver | |
| EV_TIME | Exporting | TYPE UZEIT | Time with respect to time zone of the receiver | |
| EV_TIMESTAMP | Exporting | TYPE TIMESTAMPL | Timestamp with respect to time zone of the receiver |
Exceptions of Method MAP_LOCAL_DATE_TIME_IN
CX_BS_SOA_EXCEPTION - Error message occurredExample ABAP coding
DATA: lv_EV_DATE TYPE DATS,
lv_EV_TIME TYPE UZEIT,
lv_EV_TIMESTAMP TYPE TIMESTAMPL,
lv_IV_LOCAL_DATETIME TYPE CSEQUENCE,
lv_IV_SENDER_TIMEZONE TYPE TIMEZONE,
lv_IV_TIMEZONE TYPE TIMEZONE,
lv_other TYPE c.
CALL METHOD CL_BS_SOA_CONVERT_DATE_TIME=>MAP_LOCAL_DATE_TIME_IN(
EXPORTING
IV_LOCAL_DATETIME = lv_IV_LOCAL_DATETIME
IV_SENDER_TIMEZONE = lv_IV_SENDER_TIMEZONE
IV_TIMEZONE = lv_IV_TIMEZONE
IMPORTING
EV_DATE = lv_EV_DATE
EV_TIME = lv_EV_TIME
EV_TIMESTAMP = lv_EV_TIMESTAMP ).
Links to Related Class(s)
CL_BS_SO...Full list of available SAP object classes
Search for further information about these or an SAP related objects