SAP Knowledge Base Article - Preview

2396680 - Cannot convert String into DATE/TIME

Symptom

Using SAP .NET Connector(NCo) 3.0 in custom program so as to retrieve value of field with data type DATS/TIMS from ABAP system.
When the value of data type DATS is non-numeric value like "xyz", program fails throwing exception "Cannot convert String into DATE".
When the value of data type TIMS is larger than 240000 (or equivalent value 24:00:00) program fails throwing exception "cannot convert String into TIME".
Using SAP .NET Connector 2.0, same program runs fine.


Read more...

Environment

SAP .NET Connector 3.0

Product

SAP Composition Environment all versions ; SAP NetWeaver all versions

Keywords

.net program , KBA , BC-MID-CON-NCO , SAP .Net Connector , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.