<?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: mainteinace view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592859#M266540</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;U've have defined in wrong way the foreign key:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have two table T1 and T1T where T1T contains the description for T1, if ID is the field key, when u insert the foreing key for field ID in T1T you have specified the foreing key is for text table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO the T1T table should have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT   foreign key T000-MANDT&lt;/P&gt;&lt;P&gt;SPRAS   foreign key T005-SPRAS&lt;/P&gt;&lt;P&gt;ID      foreign key T1-ID for TEXT TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you define the foreign key for field ID you have to set the option &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Key fields of a text table&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2006 13:42:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-05T13:42:19Z</dc:date>
    <item>
      <title>mainteinace view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592855#M266536</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 2 Z tables, one containing ids (key: id) and the second one containing the descripition in several languages for those ids (key: id, spras).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easy way to create a manteinance view for both tables at the same time or do we have to create a Z program with table control...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 08:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592855#M266536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T08:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: mainteinace view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592856#M266537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- A) Create a Maintenance View for those two tables by SE11;&lt;/P&gt;&lt;P&gt;- B) Generate for that view the maitenance program for trx SM30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 08:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592856#M266537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T08:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: mainteinace view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592857#M266538</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 problems with the maintenance view, it does not let me create new entries unless the id is already in the foreign key table. How can I solve this?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 11:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592857#M266538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T11:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: mainteinace view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592858#M266539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Your second table that holds the description is definately a text table. In this case you would only need to generate a maintenance view for the key table (Z table 1), the generated maintenance dialog would let you maintain the ID and Description from a single view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;To use the functions offered by a text table, create Z table 2 in the ABAP Dictionary with the same key as Z table 1 and an extra field with type SPRAS. Define the text fields as non-key fields in this table. Then define a text foreign key from this text table to Z table 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 13:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592858#M266539</guid>
      <dc:creator>former_member378318</dc:creator>
      <dc:date>2006-10-05T13:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: mainteinace view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592859#M266540</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;U've have defined in wrong way the foreign key:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have two table T1 and T1T where T1T contains the description for T1, if ID is the field key, when u insert the foreing key for field ID in T1T you have specified the foreing key is for text table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO the T1T table should have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT   foreign key T000-MANDT&lt;/P&gt;&lt;P&gt;SPRAS   foreign key T005-SPRAS&lt;/P&gt;&lt;P&gt;ID      foreign key T1-ID for TEXT TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you define the foreign key for field ID you have to set the option &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Key fields of a text table&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 13:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mainteinace-view/m-p/1592859#M266540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T13:42:19Z</dc:date>
    </item>
  </channel>
</rss>

