<?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 Re: Storing/retrieving binary data in/from a database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810538#M1126000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I was also contemplating a bit before replying...now let's stop before somebody locks this thread... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2008 10:36:56 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2008-12-04T10:36:56Z</dc:date>
    <item>
      <title>Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810531#M1125993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've defined my table as:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MANDT	        MANDT	                        CLNT	3
/BIC/GLPLANT	/BIC/OIGLPLANT	                CHAR	4
/BIC/GLMATPLNT	/BIC/OIGLMATPLNT	        CHAR	18
HEXVALUE	SXIVERI_BINARY	RAWSTRING	0&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've defined my structure in my program, and read from my table&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF ls_in_data,
        /bic/glplant   TYPE /bic/oiglplant,
        /bic/glmatplnt TYPE	/bic/oiglmatplnt,
        hexvalue       TYPE xstring,
      END OF ls_in_data.
...
* Populating ls_in_data
...
SELECT SINGLE * INTO ls_in_data FROM z_mytable...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; and I get the messages:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The types for the database table and work area (or internal table) "LS_IN_DATA" are not compatible.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as my program goes, the hexvalue MUST be xstring.  What type should I use in my database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 16:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810531#M1125993</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-12-03T16:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810532#M1125994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure it's not because MANDT is missing in LS_IN_DATA? RAWSTRING (DDIC) corresponds to XSTRING (ABAP), as far as I know.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 16:39:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810532#M1125994</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-12-03T16:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810533#M1125995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The client is missing from the definition in the program... Are you sure it is not necessary?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 16:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810533#M1125995</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-12-03T16:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810534#M1125996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try into corresponding fields of; if Client is the issue in the definition, it shoul dtake care of that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * INTO corresponding fields of ls_in_data FROM z_mytable...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 16:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810534#M1125996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T16:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810535#M1125997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; The client is missing from the definition in the program... Are you sure it is not necessary?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I'm sure!  I should use client specified otherwise...  I'm 100% sure.   Wouldn't I?  ...  oh dear.  It does make sense.  Oh well, I'm allowed one dumb question a year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Dec 3, 2008 7:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 18:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810535#M1125997</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-12-03T18:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810536#M1125998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I'm allowed one dumb question a year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even two or three...as long as I keep beating ec by ten seconds... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 10:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810536#M1125998</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-12-04T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810537#M1125999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &amp;gt; I'm allowed one dumb question a year.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Even two or three...as long as I keep beating ec by ten seconds... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was waiting and waiting and waiting sending my reply, because I did not believe that Matt overlooked it... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 10:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810537#M1125999</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-12-04T10:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810538#M1126000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I was also contemplating a bit before replying...now let's stop before somebody locks this thread... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 10:36:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810538#M1126000</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-12-04T10:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810539#M1126001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was one of those occasions where I'd started with one logic, then switched to another.  And then just couldn't spot the error.   It was the end of a long day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 12:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810539#M1126001</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-12-04T12:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Storing/retrieving binary data in/from a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810540#M1126002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; It was one of those occasions where I'd started with one logic, then switched to another.  And then just couldn't spot the error.   It was the end of a long day...&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join the club &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 12:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-retrieving-binary-data-in-from-a-database-table/m-p/4810540#M1126002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T12:47:35Z</dc:date>
    </item>
  </channel>
</rss>

