<?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: Problem in Select Query For Inserting Data In Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670028#M1447748</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;You can use for all entries concept.&lt;/P&gt;&lt;P&gt;check the table entries and debug the coding and check the logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 05:57:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-23T05:57:05Z</dc:date>
    <item>
      <title>Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670021#M1447741</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 am working on a report in which i have to insert the data from tables but i am not able to do it properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link to the code : -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.google.com/View?id=dfxswwff_12cxpxm3c5" target="test_blank"&gt;http://docs.google.com/View?id=dfxswwff_12cxpxm3c5&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:16:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670021#M1447741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670022#M1447742</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;&lt;/P&gt;&lt;P&gt;Can you please explain the problem you are facing with this code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670022#M1447742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670023#M1447743</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;Just try - remove the table from the below syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY  ZTBSUM_PP1 FROM T_ZTH1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670023#M1447743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670024#M1447744</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;Please check whether the structure of the internal table that you are using to update database table is exactly same as the database table or not. The structure of both the tables shld be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rocky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670024#M1447744</guid>
      <dc:creator>Rocky1</dc:creator>
      <dc:date>2010-02-23T05:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670025#M1447745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;any foreign key relationship between te tabls?&lt;/P&gt;&lt;P&gt;check the structure is correct w_zth1 ( and ZTBSUM_PP1 )...&lt;/P&gt;&lt;P&gt;Check sy-subrc after insert command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY  ZTBSUM_PP1 FROM TABLE T_ZTH1. --&amp;gt;No need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670025#M1447745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670026#M1447746</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;Even declare the table you are modifying in the tables declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES ZTBSUM_PP1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Rocky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670026#M1447746</guid>
      <dc:creator>Rocky1</dc:creator>
      <dc:date>2010-02-23T05:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670027#M1447747</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;1. I am facing the probklem that i am trying to get data from the 2 tables i.e. ZTBDTL_PP and ZTBHDR_PP as the the first is for details and 2nd is storing the dates of accounting document... when i am trying to  inner join them,it is  not able to pick up the data from the respective tables and it is showing very less data in the final table i.e.ZTBSUM_PP1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I am not using the code : - MODIFY ZTBSUM_PP1 FROM T_ZTH1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I had checked the structure of db table(ZTBSUM_PP1) and the final internal table (ZTBSUM_PP1)they all are same but still it is not displaying the correct data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670027#M1447747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670028#M1447748</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;You can use for all entries concept.&lt;/P&gt;&lt;P&gt;check the table entries and debug the coding and check the logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670028#M1447748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670029#M1447749</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;&lt;/P&gt;&lt;P&gt;I had checked in the debug mode and the internal table is filling right and when it comes to the inserting it into the db table it is not filling it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i should insert 2 more fields in the database table and see its effect on it.. i will revert back if there is probem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 06:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670029#M1447749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T06:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670030#M1447750</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; Define the internal table as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will take all the fields from your custome table.&lt;/P&gt;&lt;P&gt;You have have missed some fields so insert is not working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Data: t_zth1 type standard table of ZTBSUM_PP1,
	T_TAB1	type standard table of ZTBDTL_PP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 MODIFY  ZTBSUM_PP1 FROM TABLE t_zth1 .
 MODIFY  ZTBDTL_PP FROM TABLE T_TAB1 .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after modify what message are you showing?&lt;/P&gt;&lt;P&gt;Please check SY-SUBRC and then show the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: pravin s. on Feb 23, 2010 7:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 06:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670030#M1447750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T06:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670031#M1447751</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;&lt;/P&gt;&lt;P&gt;I had the solve the problem and the solution is i had two more key fields in the final table i.e. accounting document and the line item and now it is showing the data accurately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all of you for the valueable responses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 06:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670031#M1447751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T06:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select Query For Inserting Data In Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670032#M1447752</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;Please close the tread as 'Answered'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 06:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-query-for-inserting-data-in-table/m-p/6670032#M1447752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T06:21:31Z</dc:date>
    </item>
  </channel>
</rss>

