<?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 Insert Problem in Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273282#M782495</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 situation like the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to populate an Internal Table with a few values from Standard Tables, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr, ersda and ernam from MARA &lt;/P&gt;&lt;P&gt;maktx from MAKT&lt;/P&gt;&lt;P&gt;ebeln, bstyp and bsart from EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a single internal table with different field names as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, the fieldnames of the Standard table are different from the fieldnames of the Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I populate data? Urgent!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 07:52:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T07:52:37Z</dc:date>
    <item>
      <title>Insert Problem in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273282#M782495</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 situation like the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to populate an Internal Table with a few values from Standard Tables, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr, ersda and ernam from MARA &lt;/P&gt;&lt;P&gt;maktx from MAKT&lt;/P&gt;&lt;P&gt;ebeln, bstyp and bsart from EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a single internal table with different field names as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, the fieldnames of the Standard table are different from the fieldnames of the Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I populate data? Urgent!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 07:52:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273282#M782495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T07:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Problem in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273283#M782496</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;the length and type of internal table fields should match with stanard tables fields,then only u can write them in where condition.....plz check the same...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 07:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273283#M782496</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-01-11T07:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Problem in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273284#M782497</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;Declare 3 internal tables as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_MARA with fields MATNR, ERSDA, ERNAM&lt;/P&gt;&lt;P&gt;IT_MAKT with fields MATNR, MAKTX&lt;/P&gt;&lt;P&gt;IT_EKKO with fields EBELN, MATNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have MATNR as the common field in all the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Required data from MARA, MAKT, EKKO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at EKKO table.&lt;/P&gt;&lt;P&gt; Read entry from MARA Internal table where MATNR = WA_EKKO-MATNR.&lt;/P&gt;&lt;P&gt; If entry exist move data to final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Read Entry from MAKT internal table where MATNR = WA_EKKO-MATNR.&lt;/P&gt;&lt;P&gt; If entry exist move data to final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Append Final Internal table&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;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 07:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273284#M782497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T07:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Problem in Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273285#M782498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2008 04:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-problem-in-internal-table/m-p/3273285#M782498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-14T04:07:18Z</dc:date>
    </item>
  </channel>
</rss>

