Quantcast
Channel: SCN : Discussion List - SAP PowerDesigner
Viewing all 739 articles
Browse latest View live

Manipulating LDM relationships from VBScript

$
0
0

Does anyone have any VBScript examples of how to manipulate relationships in an LDM?  Specifically, I want to be able to:

 

  1. change parent identifiers from PK to AK
  2. select a different child attribute for a given parent attribute

 

Thanks!


how do I import indicies with excelimport.xem???

$
0
0

Hi all,

i have the following exceltable:

 

IndexnumberIndexnameFieldAufsteigend
1TBAW0666TESTTAB.IXAW066601TESTTABPKX
2TBAW0666TESTTAB.IXAW066602TESTTABTBAW0666TESTTAB.PKX
2TBAW0666TESTTAB.IXAW066602TESTTABTBAW0666TESTTAB.FELD2X
2TBAW0666TESTTAB.IXAW066602TESTTABTBAW0666TESTTAB.FELD3X
2TBAW0666TESTTAB.IXAW066602TESTTABTBAW0666TESTTAB.GUELTIG_AB
3TBAW0666TESTTAB.IXAW066603TESTTABFELD1X
3TBAW0666TESTTAB.IXAW066603TESTTABGUELTIG_ABX

 

 

And the following importdefinition:

Table Indexdefinitionen=Table.Index.IndexColumn: Indexnumber=Comment, Indexname=<Parent>, Field=Column, Aufsteigend=Ascending

 

 

 

The 3 indexes are created, but not the indexcolumns, i tried both versions of fieldnames with tablename and without, i also switched on and of the option "create object if not exists", but no results, do i try to bind the field to the wrong object/collection within Table.IndexColumn?

 

Thanks for any advice

VB Script: add attribute to Identifier

$
0
0

How can I add an attribute to an identifier in VB script?  I've tried the following code:

 

attrib1.Identifier = identifier1

 

However, this replaces any other identifiers that the attribute belongs to.  Ie: if originally attrib1 belonged to identifier2 and identifier3, after running the above, it will now only belong to identifier1. 

[PowerDesigner Portal 16.1] - Deploy as Weblogic Cluster Server

$
0
0

Greetings,

 

Is it possible to deploy PowerDesigner Portal 16.1 in a Weblogic cluster server? If so, do we have to install a webdispatcher between the users and the weblogic server in order to dispatch the load between the nodes?

 

Looking forward to receive some feedback.

 

Thanks in advance,

 

Best regards,

 

MS

PD 16.1 Selection isn't recognized

$
0
0

Hello,

 

I'm using the PowerDesigner 16.1 for a while and today the dialog "Database"=>"Apply Model Changes to Database" doesn't recognize my selection.

The Result is a change scupt for the complete model.

Can you give me any advice for solving this problem?

 

thanks in advance.

Unspecified error in VB Script regarding identifier

$
0
0

I have a VB script that attempts to get an attribute of an identifier in a PdLDM model.  The code is similar to the following:

 

dim identifier

set identifier = entity.FindChildByName(identifier_name, PdLDM.cls_Identifier)

dim attribute

set attribute = identifier.GetAttribute(attribute_name)

 

The method GetAttribute() keeps resulting "Unspecified error (0x80004005) At line ##, character #.  Does anyone have experience with this?  Thanks.

columns projection from database inputs in DataJoin in script

$
0
0

Hi all,

 

I have a problem generating a data mouvement model using script (no problem manually). 

 

Here's an example (I show only the part where I have a problem):

data join sample.JPG

Here's the join:

Join.JPG

 

In this example, I have no problem to create transformation processes, control flows, data connections, database definitions, associate database inputs, associated data flows, join(s) and to link the final table but only fields from the first table (xtr_Shipping address in this case) are present in Data Structure Column list, no fields from xtr_client.

 

DataStructureColumn.JPG

 

Steps followed are:

- create a datatransformaiontask and all steps (joins, transformation, ...)

- associate db output and dataflow

- associate all db input and all data flows

- create join

 

I'm searching why I don't have projection of fields from xtr_client.  Have you an idea ?

 

Kr,

Thierry

Apply Model changes and Extended attributes.

$
0
0

Hi All,

 

I have been struggling with PowerDesigner for a couple of days and could use some help.

 

Here is the scenario:

 

I have added an extended attribute to the model profile in a dbms reference file. It is a binary field used to control control whether additional text is wrapped around the ddl statements.  I can see this in the model properties tab, and it works great when I'm generating a database from the model.

 

When I go to use the "apply model changes to database" functionality, PD see's my extended attribute but it always returns "FALSE" for certain commands.  For instance in the "drop" command PD always returns false for the extended attribute, but the "create" command works correctly.

 

Help!

 

Thanks

 

Tim


Source to Target Mapping Report

$
0
0

Is anyone aware of a way to generate a typical "Source to Target Mapping" report from a data movement model?

 

I am looking for something like this:

 

Source Table     Source Column     Source Datatype     Transformation     Target Table     Target Column     Target Datatype

------------------     --------------------     -----------------------     --------------------     -----------------     --------------------     ----------------------

Employee          EMP_NO               VARCHAR(10)        pass-thru              D_EMP             E_NO                    VARCHAR(10)

 

I don't see anything out of the box that comes close to this.  It seems to support listing the contents of each object, but no way to represent the logical flow of columns represented inside a DMM.

Impact and Lineage Analysis setup for a dwh

$
0
0

Hello,

 

My department is responsible for reporting on risk on various levels (portfolio's, industries, countries).

For this we collect on daily/weekly/monthly basis

  1. data (csv) on outstanding amounts  for all loans/facilities from all our offices,
  2. data (xml) on customer data, incl risk rating
  3. data (xml) on reference data, like countries, statusses, risk-levels, etc.
  4. market data (fx, interests, equity listing info)
  5. country risk data (csv)

 

As an info architect I'm responsible for maintaining datamodels around these data.

For a more efficient overview in case of issues we also like to achieve the Impact and Lineage possibilities.

I already made 5 conceptual models for each of these representing there initiatial loaded formats,plus one

for the datawarehouse where all is collected and cleansed, linking to the entities in the 5  loaded-file models.

So far so good.

I could continue making some new models for an extended datawarehouse and finally for the datamarts. Point is

that this collection of cdm's finally will not help me achieve the following:

  • I want to move to LDM to help my  clients (analysts) find back their FK-columns (and to enable me to
    add additional info on those relationships) and to introduce extra columns for keying and history mechanism.
  • I want to insert the processes  that glue these models together (merely as stepping stones to  documentation outside PD)
  • I want to be able to do a any  impact and Lineage Analysis

 

I stumbled upon a video demo on an airline ticket example which made it sound rather simple.But I am currently stuck with the

following questions:

  1. The data from source 1 (above) are the “real ones”, that can be cleansed, mapped into other ones and referenced to a description via the other sources (2-5) that represent master data around it. But if I draw a FK column to the  referenced entity I loose my info referencing the column back to a column in source 1 . If  I stick to the column as delivered, I can not express cases of mapping (data is changed to a internal bankwide
    code), nor that the code refers to a category of reference data ( we  probably like to drill down into in the reporting and data mart
    models). ? So in my lineage I like to be able to see e.g. A local  product code as delivered by the client in its loans-file >
    mapped to an internal product code stemming from a file mapping the clients local code to the bankwide used product code, > and
    referencing a list of products+descriptions used in yet another  file. So the lineage should forck back three ways  for the dataitem
    in this example. How should I tackle this case? Ideally I want to  solve this puzzle (for me) only using a project containing a set of
    LDM glued together by PDM. Please let me know if I have to use Data Movement Models instead to achieve this, but for what I read about these  they look too much intend for setting up ETL, which is again to much  detail.
  2. I only want to use PDM as a glue,  I rather do not want to have to put up a whole list of input items  and output items to it. Is there a way? Or does the Mapping Editor already cick in here?
  3. The lineage should help me find  out escpecially the lineage for data-items appearing in the final models (datamarts/reports). Any solution to Q1&2 that does not  fullfill this lineage requuirement, is finally not usefull I'm  afraid.

 

If people have some answers for me or
can point me in the right direction for additional info, would be
great! Thanks a lot in advance.

 

Wim de Groot

Partitions

$
0
0

Hi !

 

I have a question about partitions :  How to put two values in the "Ending At" for partitioning tables, every time i put tow values, when i close the window, powerD keep juste the first value !

 

Ty

Delete button behaviour in an ER diagram

$
0
0

Is there a preference setting somewhere, where I can ask PD to default the Delete button to delete the symbol, instead of the object ?

 

I don't like the "destructive" default that Sybase choose to go with it, which is to delete the object. It should have the reverse as the normal action would be that you want to add and remove things from a diagram. Deleting the object from the entire model would be the next step that you want to take sometimes.

reverse engineering with oracle database

$
0
0

excessive delay in the process of reverse engineering with oracle database

Implement a Database Automatically

$
0
0

Goal:

Create a OLTP and OLAP database, in SQL server 2012 ,automatically based on the database model you have created in Powerdesigner.

 

Problem:

Possible to do it? If yes, how do you do it?

Problem with Alter Script generation

$
0
0

I recently upgraded from Powerdesigner 16.0 to 16.5 and since then the generation of alter scripts for the latest changes to the data model are not running correctly.  A change to a "code" table that is referenced by many other tables fails (MS SQL Server 2008) because of the existence of a Foreign Key reference.  The tool use to generate these scripts correctly, i.e. they dropped all foreign key references and then altered the table and then recreated the foreign keys.  Not sure what has happened after the upgrade.  Does anyone else know what might have changed. 

 

I hope I have the correct forum, this is my first post under SAP (use to use Sybase often enough but the tool hasn't given me any trouble in a very long time).  I'll probably open a support case Monday, as this issue has only been noticed for the first time this last week but is a serious issue.  Still hoping it might be something simple that others already know.

 

thanks,

 

James K.


Using PowerDesignerViewer (POWERAMCOnsultation 16.5)

$
0
0

We have created  a repositery on PowerAMC 16.5, connecting the database is ok.

All are in version 16.5.0.3983 (Viewer and PowerAMC).

 

We can'use the viewer because of the message:

"The repository does not contain all the required

definitions. It cannot be used with this version of the

Viewer."

 

What is wrong ?

 

 

Regards.

Christel Charabouska

GIE SV

Extended collection values not in replicates

$
0
0

I have a bunch of extensions defining extended objects and metadata for many existing objects in my metamodel. In my EA I have a model that includes an information base for objects that are reused all over the place  - things like "networks" or 'servers", etc.

 

In order to make the creation of the Information Base a worthwhile exercise, I need to either include replicas or shortcuts in other models where I want to reuse these objects. Shortcuts are a bit of an issue as we are using Reports quite a bit and I am having issues getting at metadata when I use shortcuts. Replicas seem to be a better approach. Problem is that when I replicate, for objects where I have extended metadata that is an extended collection, the values do not show up in the replicate. Things that are defined as extended attributes make it over just fine it seems.

 

Am I missing something? Is there something I can do for this (making a copy works but that would seem to defeat the purpose of having a shareable Information Base)?

 

Thanks in advance for any advice.

 

Bruce

getting select statement from a mapping

$
0
0

Hello,

 

I have multiple valid mappings defined in a model.  Using vbscript I want to get the select statement but when I use map.selectsttement, I get an empty string.

 

Is there a solution to get the associated statement ?

 

Kr,

Thierry

Problem with extended attributes

$
0
0

Hello,

 

I'm currently working on an extended model for EAM model (technology diagram).  My goal is to build a view of a SAP BI 4.0 CMS to provide an architecture visual map.  Everything is working fine accessing all needed elements (reports, universes, ...) but I have a strange behavior using extended attributes.

 

Here's how it was done in PowerDesigner:

1. At the model level, few extended attributes and a form is defined to capture CMS connection parameters

2. I defined extended objects for a generic "BO Document" with specific stereotypes RichClient and Webi Document (to be extended later)

3. I defined also several extended objects for universes, connection, report instance

4. A specific script has been developped to connect and capture elements from the CMS

 

Problem description:

When capturing BO Document information, I use "SetExtendedAttribute" to save values but, in some cases, nothing is saved in the extended attribute.

Here's part of the script (decomposed for the demonstration):

script.JPG

 

and here's the result:

result.JPG

I really don't understand why I don't have the value in the extended attribute ?

 

Can you help ?

 

Kr,

Thierry

PowerDesigner : reverse of IBM Banking Data Warehouse (BDW)

$
0
0

Hi,

 

Is it possible to make a reverse engineering of an IBM Banking Data Warehouse (BDW) with PowerDesigner  v.15.3 ?  How can I do it?  Does someone have experience with this (type of) reverse ?

 

Thank you !

 

JDD

Viewing all 739 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>