on 11-06-2008 8:23 PM
Hi,
I am trying to call a server proxy on a BI system. The proxy has a date field which is of type "DATE" in the yyyyMMdd format. I am passing a date in the same yyyyMMdd format yet its failing with the following error:
<SAP:P4>XML Bytepos.: 227 XML Path: ns1:_-BIC_-CQZSEGMEN00002000(1)DATA(1)item(1)DATETO(4) Error Text: Value 20070930 is not a valid date in accord with the XML format for ABAP Kernel ErrorId: CONVT_NO_DATE</SAP:P4>
<SAP:Stack>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS22FCAA3CC1E05CEACE7B XML Bytepos.: 227 XML Path: ns1:_-BIC_-CQZSEGMEN00002000(1)DATA(1)item(1)DATETO(4) Error Text: Value 20070930 is not a valid date in accord with the XML format for ABAP Kernel ErrorId: CONVT_NO_DATE)) An error occurred when deserializing in the simple transformation program /1SAI/TXS22FCAA3CC1E05CEACE7B Value 20070930 is not a valid date in accord with the XML format for ABAP</SAP:Stack>
Can someone please help me with this?
An ABAP Proxy requests the date in this format: 2007-09-30
The same is for RFC XML. But IDoc XML wants date without hyphen.
You can use the date function: DateTrans to add the hyphen.
Hope that helps
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you try sending without parsing the date...
Regards,
Sukarna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.