<?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 regarding internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359254#M521716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i want to show out put as matnr menge(quantity) and costing lotsize(losgr).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have menge and matnr in mseg table and losgr in marc table...how i can display these three in my final internal table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2007 03:52:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-19T03:52:56Z</dc:date>
    <item>
      <title>regarding internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359254#M521716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i want to show out put as matnr menge(quantity) and costing lotsize(losgr).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have menge and matnr in mseg table and losgr in marc table...how i can display these three in my final internal table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 03:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359254#M521716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T03:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: regarding internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359255#M521717</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;first create an internal table with the final structure and writing the select query with inner join you can be able to display all those fields in ur internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Ashu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 04:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359255#M521717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T04:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: regarding internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359256#M521718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Use Inner Join u ll get the answer.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;MENGE A&lt;/SUB&gt;MATNR B~LOSGR INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;FROM MSEG AS A INNER JOIN MARC AS B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;&amp;lt;common field in MSEG &amp;amp; MARC&amp;gt; = b&lt;/SUB&gt;&amp;lt;common field in MSEG &amp;amp; MARC&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 04:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359256#M521718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T04:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: regarding internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359257#M521719</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;      Write a Query like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       select matnr werks lgort lotsize from marc inti table it_marc where &amp;lt;Give All Cond.&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select mblnr zeite matnr menge from mseg inti table it_mseg for all entries in it_marc where matnr = it_marc-matnr and &amp;lt;give all cond&amp;gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for duplicate here because matnr is not a key in mseg table. debug it and see it will be correct..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward All Helpfull Answers...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 04:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359257#M521719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T04:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: regarding internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359258#M521720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use for all entries... suppose you have got the value from mseg table in imseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now&lt;/P&gt;&lt;P&gt;declare imarc int table with matnr and losgr.&lt;/P&gt;&lt;P&gt;select matnr losgr into table imarc from marc for all entries in imseg where matnr = imseg-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now ..&lt;/P&gt;&lt;P&gt;declare ifinal for all the data you need.&lt;/P&gt;&lt;P&gt;loop at imseg.&lt;/P&gt;&lt;P&gt;move-corresponding imseg to ifinal.&lt;/P&gt;&lt;P&gt;read table imarc with key matnr = imseg-matnr.&lt;/P&gt;&lt;P&gt;ifinal-losgr = imarc-losgr.&lt;/P&gt;&lt;P&gt;&amp;lt;or you can use write dtatement to show the data here&amp;gt;&lt;/P&gt;&lt;P&gt;append ifinal.&lt;/P&gt;&lt;P&gt;clear ifinal.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 04:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-tables/m-p/2359258#M521720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T04:08:14Z</dc:date>
    </item>
  </channel>
</rss>

