<?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: Syncing 3 tables and fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syncing-3-tables-and-fields/m-p/2300022#M502571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could get matnr from marc itself.  if no other field is required from mara, you could acheive this using marc and maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from marc into corresponding fields of table t_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not t_marc[] is initial.&lt;/P&gt;&lt;P&gt;select matnr from mara into table t_mara for all entries in t_marc where&lt;/P&gt;&lt;P&gt; matnr = t_marc-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr maktx from makt into table t_makt for all entries in t_mara where&lt;/P&gt;&lt;P&gt; matnr = t_mara-matnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_marc.&lt;/P&gt;&lt;P&gt;read table t_matnr with key matnr = t_marc-matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move t_mara-field to t_marc-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 19:56:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-15T19:56:13Z</dc:date>
    <item>
      <title>Syncing 3 tables and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syncing-3-tables-and-fields/m-p/2300020#M502569</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 requirement where i need to display several fields from marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the material number (MARA-MATNR) and the description (MAKT-MAKTX) also have to be shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i sync all 3 tables and populate the correct data? I know that they are all connected by MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to filter any data. All data from MARC should should show up, but with those fields filled &lt;/P&gt;&lt;P&gt;in as well, in reference to there specific record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 19:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syncing-3-tables-and-fields/m-p/2300020#M502569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T19:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing 3 tables and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syncing-3-tables-and-fields/m-p/2300021#M502570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either you can use join on the  three tables.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;Select all MATNR from MARA.&lt;/P&gt;&lt;P&gt;SELECT all MAKTX from MAKT for all entries in MARA.&lt;/P&gt;&lt;P&gt;SELECT fields from MARC for all entries in MARC..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 19:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syncing-3-tables-and-fields/m-p/2300021#M502570</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-05-15T19:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing 3 tables and fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syncing-3-tables-and-fields/m-p/2300022#M502571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could get matnr from marc itself.  if no other field is required from mara, you could acheive this using marc and maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from marc into corresponding fields of table t_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not t_marc[] is initial.&lt;/P&gt;&lt;P&gt;select matnr from mara into table t_mara for all entries in t_marc where&lt;/P&gt;&lt;P&gt; matnr = t_marc-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr maktx from makt into table t_makt for all entries in t_mara where&lt;/P&gt;&lt;P&gt; matnr = t_mara-matnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_marc.&lt;/P&gt;&lt;P&gt;read table t_matnr with key matnr = t_marc-matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move t_mara-field to t_marc-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 19:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syncing-3-tables-and-fields/m-p/2300022#M502571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T19:56:13Z</dc:date>
    </item>
  </channel>
</rss>

