<?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: Internal table fields. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797267#M653048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do not want to code explicitely in the program, create a view with these tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2007 06:27:13 GMT</pubDate>
    <dc:creator>ashwin_bhat</dc:creator>
    <dc:date>2007-09-12T06:27:13Z</dc:date>
    <item>
      <title>Internal table fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797266#M653047</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;I want to take the fields from tables vbak ,kna1, vbkd, zspers and display its fields into 1 single output without using inner join . If U know help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The required fields are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     erdat LIKE vbak-erdat,                 " Date on Which Record Was Created&lt;/P&gt;&lt;P&gt;       ernam LIKE vbak-ernam,                 " Name of Person who Created the Object&lt;/P&gt;&lt;P&gt;       auart LIKE vbak-auart,                " Sales Document Type&lt;/P&gt;&lt;P&gt;       kunnr LIKE vbak-kunnr,                " Sold-to party&lt;/P&gt;&lt;P&gt;       ps_psp_pnr LIKE vbak-ps_psp_pnr,     " Work Breakdown Structure Element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&gt;&lt;P&gt;KDGRP LIKE vbkd-KDGRP,                " Customer group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZSSIDC LIKE zspers-ZSSIDC ,           " Salesman ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PSTLZ LIKE kna1-PSTLZ ,               " Postal Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 06:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797266#M653047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T06:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797267#M653048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do not want to code explicitely in the program, create a view with these tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 06:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797267#M653048</guid>
      <dc:creator>ashwin_bhat</dc:creator>
      <dc:date>2007-09-12T06:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797268#M653049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using SELECT FOR ALL ENTRIES....its a better alternative to inner join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 06:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797268#M653049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T06:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797269#M653050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vinoth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can fetch data from the tables VBAK ,LNA1,VBKD,ZSPERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by using the for all entries .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get the entries from VBAK based on your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not it_VBAK[] is initial.&lt;/P&gt;&lt;P&gt;select * from vbkd into table it_vbkd for all entries in it_vbak&lt;/P&gt;&lt;P&gt;where vbeln = it_vbak-vbeln.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the same logic for KNA1 table aslo and get the data.&lt;/P&gt;&lt;P&gt;The relation between VBAK &amp;amp; KNA1 is the customer number.&lt;/P&gt;&lt;P&gt;in the same way check the relation for your custom table ZSEPRS and get the data.&lt;/P&gt;&lt;P&gt;loop the it_vbak and use the read statement and move the data from it_vbkd, from kna1 table &amp;amp; ZSPERS into it_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your final table is it_vbak modify it_vbap else append the data into your new final table.&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 06:35:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797269#M653050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T06:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797270#M653051</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;check this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_kunnr like kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~erdat &lt;/P&gt;&lt;P&gt;          a~ernam &lt;/P&gt;&lt;P&gt;          a~auart &lt;/P&gt;&lt;P&gt;          a~kunnr &lt;/P&gt;&lt;P&gt;          a~ps_psp_pnr &lt;/P&gt;&lt;P&gt;                    b~kdgrp&lt;/P&gt;&lt;P&gt;                      c~zssidc      &lt;/P&gt;&lt;P&gt;                            d~pstlz &lt;/P&gt;&lt;P&gt;                                into table itab&lt;/P&gt;&lt;P&gt;                                    from vbak as a &lt;/P&gt;&lt;P&gt;                                         inner join vdkd as b on a&lt;SUB&gt;kunnr = b&lt;/SUB&gt;kunnr&lt;/P&gt;&lt;P&gt;                                         inner join zspers as c on b&lt;SUB&gt;kunnr = c&lt;/SUB&gt;kunnr&lt;/P&gt;&lt;P&gt;                                         inner join kna1 as d on c&lt;SUB&gt;kunnr =d&lt;/SUB&gt;kunnr&lt;/P&gt;&lt;P&gt;           where a~kunnr in s_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above join st&lt;/P&gt;&lt;P&gt; iused kunnr as common field in all tables and u canchange according to our wish and i taken a s_kunnr as a select option..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; REWARD ALL USEFUL ANSWERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH REGARDS,&lt;/P&gt;&lt;P&gt;SURESH ALURI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 06:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-fields/m-p/2797270#M653051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T06:49:36Z</dc:date>
    </item>
  </channel>
</rss>

