<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic .Net connector throws RfcTypeConversionException: cannot convert Byte[] into BCD[7:2] in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/net-connector-throws-rfctypeconversionexception-cannot-convert-byte-into/m-p/497803#M17095</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;we are using the .Net Sap connector to call BAPIs from our .Net application.&lt;/P&gt;
  &lt;P&gt;We used .Net Connetor 2.x in the past without issues.&lt;/P&gt;
  &lt;P&gt;We now switched to .Net Connector 3.x (64bit, v 3.0.19) and we now see the following issue with one of the BAPIs:&lt;/P&gt;
  &lt;P&gt;When we call Invoke() for one specific Z-BAPI, then this calls fails and the .Net Connector throws the following exception:&lt;/P&gt;
  &lt;P&gt;SAP.Middleware.Connector.RfcTypeConversionException with message text &lt;BR /&gt;"FIELD ZZBZHLGNET of STRUCTURE ZMODUS_VZZBEPP (SETTER): cannot convert Byte[] into BCD[7:2]"&lt;/P&gt;
  &lt;P&gt;This issue occurs only for one BAPI - all the others can be called successfully.&lt;/P&gt;
  &lt;P&gt;Can you please help?&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2017 14:24:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-12-13T14:24:39Z</dc:date>
    <item>
      <title>.Net connector throws RfcTypeConversionException: cannot convert Byte[] into BCD[7:2]</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/net-connector-throws-rfctypeconversionexception-cannot-convert-byte-into/m-p/497803#M17095</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;we are using the .Net Sap connector to call BAPIs from our .Net application.&lt;/P&gt;
  &lt;P&gt;We used .Net Connetor 2.x in the past without issues.&lt;/P&gt;
  &lt;P&gt;We now switched to .Net Connector 3.x (64bit, v 3.0.19) and we now see the following issue with one of the BAPIs:&lt;/P&gt;
  &lt;P&gt;When we call Invoke() for one specific Z-BAPI, then this calls fails and the .Net Connector throws the following exception:&lt;/P&gt;
  &lt;P&gt;SAP.Middleware.Connector.RfcTypeConversionException with message text &lt;BR /&gt;"FIELD ZZBZHLGNET of STRUCTURE ZMODUS_VZZBEPP (SETTER): cannot convert Byte[] into BCD[7:2]"&lt;/P&gt;
  &lt;P&gt;This issue occurs only for one BAPI - all the others can be called successfully.&lt;/P&gt;
  &lt;P&gt;Can you please help?&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 14:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/net-connector-throws-rfctypeconversionexception-cannot-convert-byte-into/m-p/497803#M17095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-12-13T14:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: .Net connector throws RfcTypeConversionException: cannot convert Byte[] into BCD[7:2]</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/net-connector-throws-rfctypeconversionexception-cannot-convert-byte-into/m-p/497804#M17096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;The fact this is happening for only one Bapi means that the problem is with the Bapi and not the connector, in my opinion. &lt;/P&gt;
  &lt;P&gt;Change the type you are passing to the Bapi that corresponds to the field ZZBZHLGNET of structure ZMODUS_VZZBEPP and ask your ABAP guy (if you aren't him) to see that the Bapi is similar to other working ones (RFC-able etc.) and to see what he can do with that structure. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 19:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/net-connector-throws-rfctypeconversionexception-cannot-convert-byte-into/m-p/497804#M17096</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2017-12-13T19:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: .Net connector throws RfcTypeConversionException: cannot convert Byte[] into BCD[7:2]</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/net-connector-throws-rfctypeconversionexception-cannot-convert-byte-into/m-p/497805#M17097</link>
      <description>&lt;P&gt;and "cannot convert Byte[] into BCD[7:2]" says all... (BCD = number of type P in ABAP)&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 21:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/net-connector-throws-rfctypeconversionexception-cannot-convert-byte-into/m-p/497805#M17097</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-12-13T21:31:36Z</dc:date>
    </item>
  </channel>
</rss>

