Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TZON_GET_OFFSET

Former Member
0 Likes
875

Hi,

The function module TZON_GET_OFFSET is throwing a short dump when the input date is 20111030 and time 020305 and timezone is AUSVIC.

Moreover the job scheduled for RSCONN01 is having a message

Job started

Step 001 started (program RSCONN01, variant SAP&CONNECTINT, user ID ABCD)

Start send process SENDMAIL on server upmysap1 in client 000.

Starting send process locally: Package 1; number: 1

ABAP/4 processor: RAISE_EXCEPTION

Job cancelled

2 REPLIES 2
Read only

Former Member
0 Likes
710

Hi,

It might have a CONVERSION ERROR.

Check the format of the data being passed, it must be compatible. Date should be in DD.MM.YYYY format.

Regards,

Vivek

Read only

koolspy_ultimate
Active Contributor
0 Likes
710

Hi sailija,

Please check the input paramaters once


CALL FUNCTION 'TZON_GET_OFFSET' "
  EXPORTING
    if_timezone =               " timezone      Time Zone
    if_local_date =             " dats          Field of Type DATS
    if_local_time =             " tims          Field of type TIMS
  IMPORTING
    ef_utcdiff =                " tznutcdiff    Difference of time zone from UTC (w/o Summer time)
    ef_utcsign =                " tznutcsign    Difference of time zone from UTC (w/o Summer time)
    ef_is_in_dst =              " xflag
  EXCEPTIONS
    CONVERSION_ERROR = 1        "               Error During Translation
    .  "  TZON_GET_OFFSET

Regards,

koolspy.