Skip to Content
0
Former Member
Feb 25, 2009 at 07:25 PM

TIMEZONEINDEPENDENT_DateTime fails validation check

39 Views

Hi,

I am facing the following problem. I imported the Enterprise Service "ServiceExecutionOrderERPCreateRequestConfirmation_In" from ESR. One of the mandatory fields is RequestedExecutionPeriod-StartDateTime of type TIMEZONEINDEPENDENT_DateTime. This type has to follow the pattern

[[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}[0-9]{2}:[0-9]{2}[0-9]{2}:[0-9]{2}[0-9]{2}(.[0-9]*)?]

as stated in the error message. But why is my value '2009-02-25T09:00:00.000' not compatible to this type? I tried almost everything. This error message was created while testing with the following mapping function:

dateTime('2009-02-25T09:00:00.000')

. The standard

current-dateTime()

function from NW BPM doesn't work either.

Prozess 'Pool 0' unterbrochenjava.lang.IllegalArgumentException: Value '2009-02-25T09:00:00.000' of type http://sap.com/xi/EA-APPL/SE/Global##TIMEZONEINDEPENDENT_DateTime fails validation check: pattern=[[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}[0-9]{2}:[0-9]{2}[0-9]{2}:[0-9]{2}[0-9]{2}(.[0-9]*)?] 
at com.sap.sdo.impl.types.builtin.TypeLogic$FacetCheck.check(TypeLogic.java:358) 
at com.sap.sdo.impl.types.builtin.TypeLogic.checkFacets(TypeLogic.java:528) 
at com.sap.sdo.impl.types.builtin.TypeLogic.convertFromJavaClass(TypeLogic.java:296) 
at com.sap.sdo.impl.objects.strategy.AbstractDataStrategy.convert(AbstractDataStrategy.java:687) 
at com.sap.sdo.impl.objects.strategy.PropertyChangeContext.convertObject(PropertyChangeContext.java:308) 
at com.sap.sdo.impl.objects.strategy.PropertyChangeContext.checkAndNormalizeDataTypeObject(PropertyChangeContext.java:302) 
at com.sap.sdo.impl.objects.strategy.PropertyChangeContext.checkAndNormalizeValue(PropertyChangeContext.java:211) 
at com.sap.sdo.impl.objects.strategy
.....

I hope anyone has a clue!

Thanks,

Mane