05-06-2010 10:21 AM
Hi All,
We have a Inbound ABAP proxy which recieves data from XI.
We use a date field in that which is defined as DATS datatype.
When we trigger the interface from XI with date in format YYYYMMDD, we are getting an exception.
when the date is sent in format YYYY-MM-DD, the interface is run successfuly.
when we test the interface in SPROXY transaction the date is displayed in YYYY-MM-DD format.
does it have anything to do with the defenition of the date format in XI?
I want to know whether DATS format in XI is different from ABAP?
should the date that is sent from XI be in YYYY-MM-DD format all the time.
Kindly suggest a solution for the date problem when it is passed from XI to ABAP proxy
05-06-2010 10:45 PM
05-07-2010 8:50 AM
Hi Uday,
Check the pattern used in XI/PI for the date definition.
If it's set to:
pattern="[0-9]-[0-9]-[0-9]"
Then it will enforce the pattern. You could try changing the pattern in XI to exclude the hyphen then you have a normal DATS format.
Regards, Trevor