<?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: temporary table problems in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913288#M1330148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'll try some of these ideas &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2009 10:24:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-30T10:24:17Z</dc:date>
    <item>
      <title>temporary table problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913283#M1330143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared a temporary table in my top as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF gt_sales_t2,&lt;/P&gt;&lt;P&gt;      invoiceid TYPE xixi_deid,&lt;/P&gt;&lt;P&gt;      productid TYPE xixi_deid,&lt;/P&gt;&lt;P&gt;      customerid TYPE xixi_deid,&lt;/P&gt;&lt;P&gt;      quantity TYPE xixi_dequantity,&lt;/P&gt;&lt;P&gt;      error TYPE xfeld,&lt;/P&gt;&lt;P&gt;      chflg TYPE xfeld,&lt;/P&gt;&lt;P&gt;      mark TYPE xfeld,&lt;/P&gt;&lt;P&gt;      empty TYPE xfeld,&lt;/P&gt;&lt;P&gt;      END OF gt_sales_t2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: gt_sales_t TYPE STANDARD TABLE OF gt_sales_t2,&lt;/P&gt;&lt;P&gt;      gs_sales_t TYPE gt_sales_t2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is all well and good.&lt;/P&gt;&lt;P&gt;The problem is in the SAVE form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a declaration for my PERFORM SAVE in my usercommand, as can be seen below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM SAVE using gs_sales_t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FORM SAVE I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SAVE using gs_sales_t TYPE gt_sales_t2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this is not being accepted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PERFORM or CALL FUNCTION "POPUP_MSGSAVE300", the actual parameter "GT_SALES_T" is incompatible with the formal parameter "GT_SALES_T".		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 14:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913283#M1330143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T14:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: temporary table problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913284#M1330144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to define your subroutine parameter as TABLE, not USING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 14:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913284#M1330144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T14:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: temporary table problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913285#M1330145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are changing the table gs_sales_t. in the form routine, then use CHANGING than USING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the form routing declare like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM SAVE using gs_sales_t LIKE gs_sales_t.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sourav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 16:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913285#M1330145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T16:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: temporary table problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913286#M1330146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM SAVE tables gs_sales_t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form save tables gs_sales_t structure gs_sales_t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endfor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 16:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913286#M1330146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T16:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: temporary table problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913287#M1330147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I believe there is problem here: Are you passing table or structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The code you have written in Form and Perform is with reference to the structure. But the error message refer to the Internal Table??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Could you verify that you are passing and referring to the table or structure? One more side note, SInce this is a global internal table its not mandatory to pass it to the routine. Its available in the routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Kazmi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Abd-Al-Aleem on Jul 29, 2009 6:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 16:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913287#M1330147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T16:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: temporary table problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913288#M1330148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'll try some of these ideas &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 10:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-table-problems/m-p/5913288#M1330148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-30T10:24:17Z</dc:date>
    </item>
  </channel>
</rss>

