<?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>Question Re: powerdesigner - customization of database object using macro or vbscript. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaa-p/11876301#M4458063</link>
    <description>&lt;P&gt;In a script, use the CreateReplica function to replicate a table; then you should be able to rename the replica table. If you need to edit more than just the table name, you may need to access the replication rules, and I'm not sure where they are in the object model&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2019 09:08:48 GMT</pubDate>
    <dc:creator>GeorgeMcGeachie</dc:creator>
    <dc:date>2019-06-07T09:08:48Z</dc:date>
    <item>
      <title>powerdesigner - customization of database object using macro or vbscript.</title>
      <link>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaq-p/11876300</link>
      <description>&lt;P&gt;How can I parameterize a new database object in powerdesigner in order to replicate tables and rename them as work tables.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 20:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaq-p/11876300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-06T20:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: powerdesigner - customization of database object using macro or vbscript.</title>
      <link>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaa-p/11876301#M4458063</link>
      <description>&lt;P&gt;In a script, use the CreateReplica function to replicate a table; then you should be able to rename the replica table. If you need to edit more than just the table name, you may need to access the replication rules, and I'm not sure where they are in the object model&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 09:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaa-p/11876301#M4458063</guid>
      <dc:creator>GeorgeMcGeachie</dc:creator>
      <dc:date>2019-06-07T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: powerdesigner - customization of database object using macro or vbscript.</title>
      <link>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaa-p/11876302#M4458064</link>
      <description>&lt;P&gt;If you replicate table into the same package as source table (it could be root level of the model as well), its Name and Code properties are automatically de-replicated, which means that you can modify the Name of replicated table instantly.&lt;/P&gt;&lt;P&gt;If you replicate tables between two different packages (with different Namespaces) or between two diffrent models, Name and Code are replicated/synchronized by default. To de-replicate certain properties you have to open the properties of replicated table and go to Version Info tab. You can open the replication properties from there. And choose which attributes, collections and/or sub-replication you need to keep in sync and which you don`t.&lt;/P&gt;&lt;P&gt;Ondrej&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 11:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaa-p/11876302#M4458064</guid>
      <dc:creator>Ondrej_Divis</dc:creator>
      <dc:date>2019-06-10T11:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: powerdesigner - customization of database object using macro or vbscript.</title>
      <link>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaa-p/11876303#M4458065</link>
      <description>&lt;P&gt;One more thing. If you need to dereplicate certain attributes (e.g. Name, Code or anything else) by script, you need to use its attribute SourceReplication to get to the replication properties and the modify the string property called Attributes. See my example below, which dereplicates table name. Name of the replicated table in my example is "XXX".&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;For each t in Activemodel.Tables
  If t.Name = "XXX" then
    output t.SourceReplication.Attributes
    t.SourceReplication.Attributes = Replace(t.SourceReplication.Attributes, "Name" + vbLf, vbLf)
    output t.SourceReplication.Attributes
  End if
Next&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ondrej&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 08:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/powerdesigner-customization-of-database-object-using-macro-or-vbscript/qaa-p/11876303#M4458065</guid>
      <dc:creator>Ondrej_Divis</dc:creator>
      <dc:date>2019-06-11T08:38:34Z</dc:date>
    </item>
  </channel>
</rss>

