<?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: Table Maintenance Validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068798#M428290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first we enter the *entries in check table mara ,t001 and then enter in your main table then i hope that it doesn't have a problem.let me know if it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 13:39:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-26T13:39:04Z</dc:date>
    <item>
      <title>Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068797#M428289</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 created a table with a maintenance generator. I have fields MATNR and WERKS for Material number and Plant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have then created two foreign keys to tables MARA and T001W to validate the materials and plants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem comes when I need to create entries with "*" (Indicating all materials or plants) but SAP validates against tables MARA and T001W and doesn't allow me to do this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way for me to allow "*" without being stopped by SAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I made myself clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ernesto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 13:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068797#M428289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068798#M428290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first we enter the *entries in check table mara ,t001 and then enter in your main table then i hope that it doesn't have a problem.let me know if it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 13:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068798#M428290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T13:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068799#M428291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil, thanks for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really don't understand the t001 check table part. Why should I use it as a check table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ernesto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068799#M428291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T14:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068800#M428292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to remove the control in foreign key definition and implement it yourself in table maintenance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest Event 05 (creating a new record)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is a "gap" in analysis. Your table is not relational.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :  in the table you get&lt;/P&gt;&lt;P&gt;MATNR : * WERKS : 'PLT1' and&lt;/P&gt;&lt;P&gt;MATNR 'REF' WERKS '*'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the correct value for 'REF' 'PLT1' ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe WERKS has precedence to MATNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should have a table "WERKS" parameter&lt;/P&gt;&lt;P&gt;and a secondary table "WERKS-MATNR" when MATNR has other parameters?&lt;/P&gt;&lt;P&gt;You can then mix the two table maintenance in a cluster of view giving something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLT1 - default value&lt;/P&gt;&lt;P&gt;PLT2 - default-value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLT1-PART1 - value&lt;/P&gt;&lt;P&gt;PLT2-PART1 - value&lt;/P&gt;&lt;P&gt;PLT2-PART2 - value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using these table, first check WERKS parameters and if found check WERKS-MATNR parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068800#M428292</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-03-26T14:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068801#M428293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not an expert on ABAP, but I think you can't enter a * value in a foreign key unless the * code is indeed in a record of the related table.&lt;/P&gt;&lt;P&gt;If you want to check the relation but you want to allow the * option too may be you should enter a record on the related table with an * at primary key to allow the relation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other option could be to delete the table relation and to manage them manally by code.  &lt;/P&gt;&lt;P&gt;On se54 you can add an event to the maintenance view you have generated (SE54 - Environment - Events.  The proper event code is 05 (Creating new entry), then push Editor icon and make the check by ABAP code if the field has no *.  If the value doesn't exists on related table give a type 'E' message to avoid it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068801#M428293</guid>
      <dc:creator>gastn_jareo</dc:creator>
      <dc:date>2007-03-26T14:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068802#M428294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaston,&lt;/P&gt;&lt;P&gt;I've decided for the se54 approach.&lt;/P&gt;&lt;P&gt;I've done what you said but I have a problem. When I create an entry, if I have a mistake I send a message type E but after correcting the field value, SAP doesn't allow me to continue entering data in the rest of the row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know if the problem is clear enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Ernesto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 19:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068802#M428294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T19:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068803#M428295</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;Please go to the table definition thru SE11 transaction and remove the check table enteries for the fields and activate the table this would help u out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suresh krishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 05:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068803#M428295</guid>
      <dc:creator>former_member15255</dc:creator>
      <dc:date>2007-03-27T05:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068804#M428296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Suresh is right.  Did you delete the table relation on SE11?  If you did please give us a more a detail of what happens when system avoid your record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 12:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068804#M428296</guid>
      <dc:creator>gastn_jareo</dc:creator>
      <dc:date>2007-03-27T12:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068805#M428297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was deleting the relation between tables so when I enter "*" SAP doesn't validate against the tables so the * is a valid value. Now I have another problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must validate what the user enters so I'm using Events (05 when creating new entries) and if the user enters a wrong value, SAP tells me to correct that value and when I do so, I CAN'T continue enterign the rest of the values for that row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables goes like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;MATNR&lt;/P&gt;&lt;P&gt;WERKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;P&gt;Ernesto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 14:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068805#M428297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068806#M428298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to know the exact message SAP gave you.  Could you do it again and copy it to us?  Please, enter on the detail of the error (doble-click on it) and copy it too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other hand, if you enter a wrong value and then you correct it you cant save the line.  What about if you enter a right line from the beginning.  Can you save this line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 14:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-validation/m-p/2068806#M428298</guid>
      <dc:creator>gastn_jareo</dc:creator>
      <dc:date>2007-03-27T14:27:46Z</dc:date>
    </item>
  </channel>
</rss>

