<?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: Problem in Foreign key creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-foreign-key-creation/m-p/4777808#M1119503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I am confused with your requirement.&lt;/P&gt;&lt;P&gt;Lets understand why we have conversion exit ..&lt;/P&gt;&lt;P&gt;Conversion Exit 1&lt;/P&gt;&lt;P&gt;   Ex:  Input -- 'EN'  Conversion exit would change it to 'E' and store in DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion Exit 2&lt;/P&gt;&lt;P&gt;   Ex:  Input -- 'EL'  Conversion exit would change it to 'E' and store in DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so 2 conversion exit perform 2 separate task...Right !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now lets assume that your zfield uses conversion exit 2 and t002 uses conversion exit 1.If you create a foreign key to zfield to spras of t002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input - 'EL' conversion exit will convert it to 'E' and it refers to 'E' of T002 ( but 'E' in t002 is actually 'EN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isnt this wrong ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i did not confuse you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2008 14:00:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-30T14:00:16Z</dc:date>
    <item>
      <title>Problem in Foreign key creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-foreign-key-creation/m-p/4777807#M1119502</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 create a foreign key in a ztable which points to the SPRAS field of table T002.Now this requires that the domain of this custom field should be the same as SPRAS. But domain SPRAS has got a conversion exit.For my case, I need to have different conversion exit for the customer field.&lt;/P&gt;&lt;P&gt;So can you please suggest how I can achieve both the things:-&lt;/P&gt;&lt;P&gt;1.Creating a PK-FK relatioship with the table field T002-SPRAS&lt;/P&gt;&lt;P&gt;2. Create a conversion-exit at the domain level of the custom field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Samrat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 10:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-foreign-key-creation/m-p/4777807#M1119502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T10:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Foreign key creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-foreign-key-creation/m-p/4777808#M1119503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I am confused with your requirement.&lt;/P&gt;&lt;P&gt;Lets understand why we have conversion exit ..&lt;/P&gt;&lt;P&gt;Conversion Exit 1&lt;/P&gt;&lt;P&gt;   Ex:  Input -- 'EN'  Conversion exit would change it to 'E' and store in DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion Exit 2&lt;/P&gt;&lt;P&gt;   Ex:  Input -- 'EL'  Conversion exit would change it to 'E' and store in DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so 2 conversion exit perform 2 separate task...Right !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now lets assume that your zfield uses conversion exit 2 and t002 uses conversion exit 1.If you create a foreign key to zfield to spras of t002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input - 'EL' conversion exit will convert it to 'E' and it refers to 'E' of T002 ( but 'E' in t002 is actually 'EN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isnt this wrong ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i did not confuse you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 14:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-foreign-key-creation/m-p/4777808#M1119503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T14:00:16Z</dc:date>
    </item>
  </channel>
</rss>

