<?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: foreign key check holds while updating table through program? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839726#M1684066</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;If you assign any domain level values for fields or maintining forign key relation works in selection screen or table maintanance ,,,,,,in program your manually appending some other values,it means automatically update to table,,,,,,,that time you need check explicitly this data exist in CHECK TABLE,,,,if needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help revert back,,,,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2012 10:10:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-05-28T10:10:59Z</dc:date>
    <item>
      <title>foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839725#M1684065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know if foriegn key check works when we update a z table from program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My check table has values for field FV1 : AD,BD,CD .... say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used this field FV1 into foreign table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when im updating the foreign key table and suppose i use value ED,FG. which is not there in check table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify foreign key table from workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to updata data in foreign key with ED, FG ......&amp;nbsp; kind even though it is not present in Check table.&lt;/P&gt;&lt;P&gt;I have checked forign key relations ship everthing is fine and active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this is correct ? .......&amp;nbsp; how the foreign check should work then ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 09:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839725#M1684065</guid>
      <dc:creator>former_member242512</dc:creator>
      <dc:date>2012-05-28T09:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839726#M1684066</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;If you assign any domain level values for fields or maintining forign key relation works in selection screen or table maintanance ,,,,,,in program your manually appending some other values,it means automatically update to table,,,,,,,that time you need check explicitly this data exist in CHECK TABLE,,,,if needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help revert back,,,,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 10:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839726#M1684066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-28T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839727#M1684067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ujjwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's correct. When a check table is defined for a field, validation happens when you try making entry for that field via SM30 (table maintenance generator) and a value help is provided as well.&lt;/P&gt;&lt;P&gt;But when you try updating the field with ABAP commands, by default the same check does not take place.&lt;/P&gt;&lt;P&gt;To do that, you could provide value help (F4) to your fields and add validation checks in selection-screen events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 10:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839727#M1684067</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2012-05-28T10:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839728#M1684068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So does this means automatically updating table through modify insert statements ...... will not implicit check and they will update the Z table with any data .........&amp;nbsp; even check table data is different ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 10:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839728#M1684068</guid>
      <dc:creator>former_member242512</dc:creator>
      <dc:date>2012-05-28T10:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839729#M1684069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. You will have to write coding for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 10:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839729#M1684069</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2012-05-28T10:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839730#M1684070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Silly question ...... explicit check i believe selecting data from check table and then go on inserting data while checking it from check table ..... if not in check table theb that data should not be uploaded.?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 06:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839730#M1684070</guid>
      <dc:creator>former_member242512</dc:creator>
      <dc:date>2012-05-29T06:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839731#M1684071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ujjwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;True. I am assuming you have developed a report and what I meant was you could provide F4 help on that field and let user select the appropriate value. You can use standard FMs like F4IF_INT_TABLE_VALUE_REQUEST to provide value help. All the values in check table can be provided in F4 help. You may do a where-used list for this FM and it would be clear to you.&lt;/P&gt;&lt;P&gt;Once user selects the value, you can validate the value as he may type the value instead of selecting from F4. For validation you have to use selection-screen events e.g. AT SELECTION SCREEN ON....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you just want valid data to be entered then what you said is sufficient with proper message for rejected records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 07:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839731#M1684071</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2012-05-29T07:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839732#M1684072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please let me know if you are using any selection-screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 07:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839732#M1684072</guid>
      <dc:creator>kumud</dc:creator>
      <dc:date>2012-05-29T07:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839733#M1684073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-status-levels"&gt;&lt;IMG alt="Not Active Contributor" class="jiveImage" src="https://community.sap.com/777/plugins/points/resources/images/not-active-contributor.gif" title="Not Active Contributor" /&gt; &lt;/SPAN&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://answers.sap.com/people/lingaraj.desai" id="jive-4136147134873758532905"&gt;lingaraj desai&lt;/A&gt; and &lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://answers.sap.com/people/kumud.singh" id="jive-2752737134874259987905"&gt;Kumud Singh&lt;/A&gt;&lt;/STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 09:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839733#M1684073</guid>
      <dc:creator>former_member242512</dc:creator>
      <dc:date>2012-05-29T09:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: foreign key check holds while updating table through program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839734#M1684074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ujjwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for asking this question. I haven't noticed this till now and it is really a good Thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to Kumud singh and Lingaraj&amp;nbsp; (though i have not asked the question).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Praveenkumar T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 13:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-check-holds-while-updating-table-through-program/m-p/8839734#M1684074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-29T13:54:47Z</dc:date>
    </item>
  </channel>
</rss>

