<?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: Open SQL Array select, the output table is too small in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-array-select-the-output-table-is-too-small/m-p/7715369#M1579507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant, thankyou!  Didn't notice i'd incorrectly defined my table, thanks for the pointer - and sorry for the stupid question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2011 15:56:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-09T15:56:53Z</dc:date>
    <item>
      <title>Open SQL Array select, the output table is too small</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-array-select-the-output-table-is-too-small/m-p/7715367#M1579505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using a FORM / PERFORM within a SAP creditnote smartform.  I'm using hte BDI of the associated invoice to populate the BDI table as it is on the invoice.  The way this is being done is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_invoice_bdi TABLES GT_INVOICE_BDI&lt;/P&gt;&lt;P&gt;                        USING invoice_bdi_guid.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;FORM get_invoice_bdi TABLES lt_invoice_bdi&lt;/P&gt;&lt;P&gt;                     USING lv_invoice_bdi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * INTO table lt_invoice_bdi&lt;/P&gt;&lt;P&gt;    FROM /1BEA/CRMB_BDI&lt;/P&gt;&lt;P&gt;    WHERE BDI_GUID = lv_invoice_bdi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt;But on running the form, i get the error above on the SELECT line, as it says the database table is 644 bytes, and the internal table is 532 wide.  I've never used the TABLES parameter before in form routines, I was pointed in this direction by a colleague here on SDN, so i'm unsure as to how i specify a 'wider' table.  Can anyone help? - I have already resolved my earlier post as the form compiled without errors, otherwise i would have posted there.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 15:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-array-select-the-output-table-is-too-small/m-p/7715367#M1579505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T15:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Array select, the output table is too small</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-array-select-the-output-table-is-too-small/m-p/7715368#M1579506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GT_INVOICE_BDI has to be declared exactly the same type with /1BEA/CRMB_BDI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : GT_INVOICE_BDI type table of /1BEA/CRMB_BDI .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 15:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-array-select-the-output-table-is-too-small/m-p/7715368#M1579506</guid>
      <dc:creator>huseyindereli</dc:creator>
      <dc:date>2011-03-09T15:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Open SQL Array select, the output table is too small</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-array-select-the-output-table-is-too-small/m-p/7715369#M1579507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant, thankyou!  Didn't notice i'd incorrectly defined my table, thanks for the pointer - and sorry for the stupid question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 15:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-sql-array-select-the-output-table-is-too-small/m-p/7715369#M1579507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T15:56:53Z</dc:date>
    </item>
  </channel>
</rss>

