<?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 how to retrive data for different data types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806680#M915598</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 want retrive data 2 tables using forall entries. and tables are EQUI and AUSP.&lt;/P&gt;&lt;P&gt;EQUI table primary key is EQUNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here EQUNR is equal to AUSP table OBJEK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is here EQUNR and OBJEK have different data  type length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to retrive data using for all entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 16:52:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-19T16:52:04Z</dc:date>
    <item>
      <title>how to retrive data for different data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806680#M915598</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 want retrive data 2 tables using forall entries. and tables are EQUI and AUSP.&lt;/P&gt;&lt;P&gt;EQUI table primary key is EQUNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here EQUNR is equal to AUSP table OBJEK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is here EQUNR and OBJEK have different data  type length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to retrive data using for all entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 16:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806680#M915598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T16:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrive data for different data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806681#M915599</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;It is having same or not.  the data type is same char but the length only the difference&lt;/P&gt;&lt;P&gt;I think it won't be a problem,  If you are sure both are having same data, you use for all entries.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 16:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806681#M915599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T16:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrive data for different data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806682#M915600</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;try like this.&lt;/P&gt;&lt;P&gt;It is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab1 type STANDARD TABLE OF equi,&lt;/P&gt;&lt;P&gt;       itab2 type STANDARD TABLE OF ausp,&lt;/P&gt;&lt;P&gt;       wa_itab1 type equi.&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;data : v_objek type ausp-objek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab3 occurs 0,&lt;/P&gt;&lt;P&gt;        objek type ausp-objek,&lt;/P&gt;&lt;P&gt;       end of itab3.&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;   select * from equi into table itab1 up to 100 rows.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1 into wa_itab1.&lt;/P&gt;&lt;P&gt; v_objek = wa_itab1-equnr.&lt;/P&gt;&lt;P&gt;append v_objek to itab3.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ausp into table itab2 for all entries in itab3 where &lt;/P&gt;&lt;P&gt;objek = itab3-objek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 17:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806682#M915600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T17:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrive data for different data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806683#M915601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;   Thanks for your Quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is having same data. EQUNR and OBJNR are Char type only. But lenght different.EQUNR-18, OBJEK-50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am retriving data first EQUNR values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next using forall entries i'm retriving data OBJEK &lt;/P&gt;&lt;P&gt;How to retrive  ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 17:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806683#M915601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T17:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrive data for different data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806684#M915602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are retrieving only some field from the database table into ans internal table, you might have declared the fields in the internal table. In the data declaration define both the fields as Char 50&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 17:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806684#M915602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T17:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrive data for different data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806685#M915603</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 tried this method, but i didn't get output.&lt;/P&gt;&lt;P&gt;Please can u tell me is there any other process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 18:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806685#M915603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T18:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrive data for different data types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806686#M915604</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;what is your porblem I could't get you want code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see Eg:  using for all entries.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have already created 2 internal tables. using with that tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; step1:     select * from &amp;lt;DB tablename&amp;gt;&lt;/P&gt;&lt;P&gt;                           into table &amp;lt;Internal table Name&amp;gt;&lt;/P&gt;&lt;P&gt;                           where &amp;lt;field&amp;gt; = &amp;lt;condtion&amp;gt;&lt;/P&gt;&lt;P&gt;                 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step2:   select * from &amp;lt;DB tablename&amp;gt;&lt;/P&gt;&lt;P&gt;                        into table &amp;lt;Internal table Name&amp;gt;&lt;/P&gt;&lt;P&gt;                        for all entriesn in &amp;lt;1st internal table&amp;gt;&lt;/P&gt;&lt;P&gt;                        where &amp;lt;field&amp;gt; = &amp;lt;1st internaltable-field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       select * from mara&lt;/P&gt;&lt;P&gt;                   into table it_mara&lt;/P&gt;&lt;P&gt;                    were matnr = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        select * from makt&lt;/P&gt;&lt;P&gt;                    into table it_makt&lt;/P&gt;&lt;P&gt;                     for all entries in it_mara&lt;/P&gt;&lt;P&gt;                     where matnr = it_mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 19:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-retrive-data-for-different-data-types/m-p/3806686#M915604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T19:13:44Z</dc:date>
    </item>
  </channel>
</rss>

