<?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: Create Foreign Key with Function module RPY_FOREIGN_KEY_INSERT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028860#M416159</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 tried it too but unfortunately it is not working for me either. I am not sure why! In principle and theory it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table gets activated though!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 23:56:22 GMT</pubDate>
    <dc:creator>sudhindra_chandrashekar</dc:creator>
    <dc:date>2007-03-08T23:56:22Z</dc:date>
    <item>
      <title>Create Foreign Key with Function module RPY_FOREIGN_KEY_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028857#M416156</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 to create a foreign key through an ABAP program (not through DDIC functionalities!) on a SAP NetWeaver 2004s system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already found the Function module RPY_FOREIGN_KEY_INSERT but it doesn't work. It runs without any errors but the foreign key is not generated, even when call the Function module DDIF_TABL_ACTIVATE after RPY_FOREIGN_KEY_INSERT to avtivate the table again ( i also tried it with a COMMIT WORK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone worked successfully with this Function module and can tell me how it works (e.g. how the parameters of the tables FORKEY_FIELDS and FORKEY_INF have to be set)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help,&lt;/P&gt;&lt;P&gt; Jessica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 18:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028857#M416156</guid>
      <dc:creator>former_member741166</dc:creator>
      <dc:date>2007-03-05T18:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create Foreign Key with Function module RPY_FOREIGN_KEY_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028858#M416157</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;The best approach to this issue is to use the function module "RPY_FOREIGN_KEY_READ". First construct the table the way you want through the DDIC tools and then test this function module and you will get a clear idea of the values you need to pass in the interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sudhi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sudhi&lt;/P&gt;&lt;P&gt;        Sudhindra Chandrashekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 00:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028858#M416157</guid>
      <dc:creator>sudhindra_chandrashekar</dc:creator>
      <dc:date>2007-03-06T00:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Foreign Key with Function module RPY_FOREIGN_KEY_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028859#M416158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer! I just created a table with a foreign key through DDIC and read the information with "RPY_FOREIGN_KEY_READ". Then I deleted the foreign key and  called the function module "RPY_FOREIGN_KEY_INSERT" with the identical values which have been readout before but the foreign key was not created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Jessica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:41:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028859#M416158</guid>
      <dc:creator>former_member741166</dc:creator>
      <dc:date>2007-03-06T08:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Foreign Key with Function module RPY_FOREIGN_KEY_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028860#M416159</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 tried it too but unfortunately it is not working for me either. I am not sure why! In principle and theory it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table gets activated though!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 23:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028860#M416159</guid>
      <dc:creator>sudhindra_chandrashekar</dc:creator>
      <dc:date>2007-03-08T23:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create Foreign Key with Function module RPY_FOREIGN_KEY_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028861#M416160</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;&amp;gt;&amp;gt;In principle and theory it should work.&amp;lt;&amp;lt; &lt;/P&gt;&lt;P&gt;That's true &lt;STRONG&gt;g&lt;/STRONG&gt;. But nice to hear that I am not the only one with this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jessica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 09:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-foreign-key-with-function-module-rpy-foreign-key-insert/m-p/2028861#M416160</guid>
      <dc:creator>former_member741166</dc:creator>
      <dc:date>2007-03-12T09:58:49Z</dc:date>
    </item>
  </channel>
</rss>

