Quantcast
Channel: SCN : Popular Discussions - SAP PowerDesigner
Viewing all 1779 articles
Browse latest View live

PowerDesigner is slow with many objects

$
0
0

Hello,

 

are there any options to speed up PowerDesigner?

I have a big PDM with more than 600 tables (with references, sequences) and growing.

 

My Workstation is a Lenovo T420 with 8GB RAM and CPU is Intel Core i5-2450M 2,5GHz.

 

best regards


Create baseline version option in PowerDesigner

$
0
0

Hi,

I'm new to this discussion forum and hope this is the right place to ask my PowerDesigner question. Thanks in advance.

 

I have PowerDesigner 16.5 SP03 PL03 installed and facing some issue while checking the models into the repository. The output says "The check in of the document has been cancelled". There were suggestions to clean out the 'check model' errors before checking in or use 'Create baseline version' while checking in the model. The first suggestion didn't work for me and I was trying to check off 'Create baseline version' option but it is grayed out for me even though I have full permission and the model that I'm trying to check in is owned by me.

 

I was hoping someone in this forum can shed some light on this issue... Thanks again... Jae

PowerDesigner 15 - Generated XML model from OOM - How to avoid to loose lists ?

$
0
0

Hi ,

 

Here's the context : I've got a OOM with an 1 -> * association between two classes.

 

When I use CTRL+G to generate C# code (with a C# current object langage), I obtain the right coded objects.

In the properties of the association, I can see that the container type of the "class B object" is "System.Collections.Generic.List"

=> OK

 

If I change the current object langage with a "XML - Schema", then I DON'T obtain the right coded objects by using CTRL+G from the XML model (XSM) to generate XSD code.

In the properties of the association, I can see that the container type of the "class B object" is empty and disable

=> Do you know why ?

 

Shouldn't I obtain a xsd:list tag in my XSD file ?

How to avoid to loose lists by using a "XML - Schema" current object langage ?

 

Regards,

Cyrille

PD 16.5 SP4 ODBC Error

$
0
0

Hi,

 

Using PD 16.5 SP4 and getting the following error when we check in a PDM containing stored procedures.

ODBC error:

ODBC driver for Oracle

ORA-12899: value too large for column "PMTEXT"."TDAT" (actual: 2002, maximum: 2000)

SQLSTATE = NA000

 

Donna

Disabling replication of a particular Extended Attribute?

$
0
0


Hello everyone,

 

do you know the way how to enable/disable replication of a particular Extended Attribute?

 

For a generic (not Extended) Attribute, like e.g. Code, it works with:

 

repl_object.SourceReplication.SetAttributeReplicated "Code", FALSE, FALSE

 

But how to do that for an Extended Attribute? The following obviously does not work:

 

repl_object.SourceReplication.SetAttributeReplicated "Ext_Attr_Name", FALSE, FALSE

 

The syntax repl_object.GetExtendedAttribute will either not work since it returns the value of the Extended Attribute, not this Extended Attribute itself...

 

Thanks in advance for any hint!

 

Best regards,

Jacek

Composite keys : Problem when Generate CDM to LDM

$
0
0

Hi,

 

PowerDesigner 16.5.4.1 (4535) SP04 PL01 - 64 bits

 

A)I have includedwith this ticketa conceptual modelas an example. After download the file remove " SAP.mcd.txt"

B) In this model we have five entities and the primary keysof the following entities are composite keys :

  • "Inscription activité",
  • "Activité club",
  • "Membre club".


Note: The customer can't set upsimplekeys for these entities.


Model CDM.png


C)When generatingthe logical model for "Inscription activité" entity we need to get this composite key :

  • "No_inscription_activité",
  • "No_membre",
  • "Numéro_activité",
  • "Code_club"

 


D) As you can see PowerDesigneradd attribute "Act_Code_club." for the composite key of"Inscriptionactivité" entity.This attributeis a foreign keyfromthe entity"Activité_club."

MLD.png


E)Giventhat the attribute"Act_Code_club" is the same information asthe attribute "Code_club.". We clickon the relationship name"reserve"andwe changethe childattribute "Act_Code_Club" for "Code_club."


Before.png


We click on"Ok".


After.png

Thecomposite key displayed is now correct.

MLD2.png


Note: Act => Are the three (3)first characters of thename of thetable ("Activité_club". The prefix is added to Code_club when the key is migrated.Giving "Act_Code_club".



F)We return tothe conceptual modeland we add for the entity"Person", theattribute"Sexe" char (1).We updatethe existing logical modelgeneratedpreviouslywhile we have checked Preserve modifications.


Person1.png

G)All isadequate


IA1.png


H)We return tothe conceptual modeland we add for the entity"Person", theattribute"Initial" char (5).We update the existing logical modelgeneratedpreviously while we have checked Preserve modifications.


Person2.png


I) As you can see PowerDesigneradd the attribute"Act_Code_club" in the composite keyof "Inscriptionactivité" entity.


IA2.png

Conclusion: Ifwe update two times a logical modelPowerDesigner flaw our work.

Do you havean ideato fixthis problem?

 

Computed Read/Write Extended Attribute - how to set the value from the Form?

$
0
0

Hello everyone,


seems to be a simple case but does not work in my environment:


1. In an LDM, I set up an Extended Attribute for an Entity Attribute as Computed: Read/Write (Get+Set methods)

2. I want to compute it conditionally, i.e. if (some_condition=TRUE) then Extended Attribute should get some computed value X else it should simply get the value put manually on the Entity Attribute Form

3. Conditional computing works, but unfortunately I am not able to update it manually - I tried all the possible combinations of implementing Get and Set methods, but with no success. It seems I am not able to get the value from the Form and set it to this Computed Read/Write Extended Attribute, is it feasible at all? Putting aside the conditional computing, simple getter and setter for a Computed Read/Write Extended Attribute should in my opinion look like this, shouldn't it?

 

Function %Get%(obj)
  %Get% = obj.GetExtendedAttribute("ExtAttr")
End Function

 

Sub %Set%(obj, value)
   obj.SetExtendedAttribute "ExtAttr", value
End Sub

 

Thanks in advance and best regards,

Jacek

Repository on DB2/zOS

$
0
0

Hello,

 

is there anybody out there who has installed the PowerDesigner repository on a DB2/zOS V10? We did so and are facing some bigger issues like timeouts and deadlocks and the performance does not seem to be that good.

Maybe someone who has also installed the repository on a DB2/zOS could share his experience we me and maybe also the configuration of the DB2?

 

Best regards,

 

Simon


PowerDesigner 16.5 SP05 has been released

What is your Troubleshooting Process?

$
0
0

PowerDesigner crashes.  Where do you look first to diagnose the issue?

 

Or, there is a repository insert error, and the model is not checked in.  The error message says something like

unique constraint (schema.PMTEXT_TXID) violated.  How do you find the object that is in violation in order to fix it?  Is there a model of the repository that may show relationships among tables in order to point to a path to repair?  Or a script to check the model check in and provide a more robust description of the problem?

 

How do you troubleshoot PowerDesigner issues?

 

Thank you for taking the time to respond.

SySam Feature Names

$
0
0

In the sysam_ug.pdf, last revised June 2012, the following paragraph appears on page 71.

 

For information on the feature name used by each product and its optional features, see the

SySAM information on the Sybase Web site at http://www.sybase.com/sysam.

 

This link is dead; does anyone know where I can find this information?

 

Thank you

 

+1 point

Listing of tables in a diagram

$
0
0

How do I get a .CSV of tables in a particular diagram ?

 

In Erwin, diagram names were expandable within the Model Explorer (Object Browser in PD). And you could then see tables only in that diagram.

 

In the List report Wizard, I could not see a way to know which property to put a filter on. The context sensitive help does not exist for various Filter fields to know what they mean.

 

Basically if there was a Graphical Selection option for the List Report, just like for the Report Wizard, it would have helped, but I don't see the Graphical selection when doing list reports.

Unable to Print from PowerDesigner 16 Evaluation

$
0
0

Hello,

 

I'm currently evaluating modelling softwares for my Company (Renelco SA).

I have installed a trial version of PowerDesigner 16 on MS Windows 8.1

 

Since PowerDesigner seems to run correctly, there is a big problem when it comes to print a diagram

(on a physical printer as well as using PDF Creator).

 

Most of the attempts to print something end with a crash of PowerDesigner with the well known message

 

                                      "Pdshell16.exe has stop working". (see screenshot)

 

What's the problem with PrintOut functionnality.

I only encounter this problem in this case and, when it happens, the only action I can perform is to click

on the Close button, thus exiting from the app.

 

As I can see when googling, it seems to be a recurrent problem (PdShellXX.exe crash).

 

Since the goal of modelling tools is to supply documents that are generally shared with other people,

I find this kind of problem very inconvenient.

 

Thanks in advance for your support

 

Best Regards.

RTF Report Formatting

$
0
0

When I generate an RTF report without a presentation template (i.e. select "<None>"), the formatting defined in the report is applied to the output.  But, if I assign a presentation template to the report, it seems as if none of the formatting defined in the report is used.

 

Is this the expected behavior or is there something I'm missing?

 

I'd like to be able to use a presentation template to control the overall layout of the report and to define styles for high-level items like headings and the table of contents.  But I'd prefer to have the format of lower-level items (e.g. "List of Table Columns") to be based on the report definition (at least for those items whose formatting has been changed from the default)

 

Is this possible?

 

I'm using PowerDesigner 15.3 and MS Word 2010

newsequentialid() default value

$
0
0

My DBMS is SQL Server 2012 and I would like to add newsequentialid() to the default values list for a column. I tried clicking on the "create" button next to the drop down and was able to create the value. It shows up in the list and as the default value in the column listing but it isn't showing up in the SQL preview. If I choose newid() it shows up fine. I did not add newid() it was already there. What am I doing wrong? I'm using PD 16.5

 

Thanks,

Mark


How to customize generated FK name to include FK columns?

$
0
0

I'm new in PowerDesigner and still learning it. I know I can customize the generated FK name from below:

http://i.imgur.com/KOd5o68.png

However, I don't know how customize it to include the FK columns in it.

For example, let's say I have a table:

 

create table test

(

id int primary key,

fk1 int,

fk2 int

)

 

and I have FK on fk1 and fk2 columns. The name I want is FK_test_fk1_fk2 (fixed string FK plus table name plus all FK column names). How can I change the ConstName Value to make all this happen?

Thanks.

[Urgent] - Change "tmp_" prefix used while generating alter script

$
0
0

Hi All,

 

While generating Alter script, if "Backup Tables" option is selected, then PD renames existing table with "tmp_".

How can we change it to sth. else and also make it uppercase?

 

Using DBMS is DB2 for z/OS v10.

Using PD v16.5 SP04 PL04.

 

Thanks in advance.

 

Regards

Mehmet

How to create child entity in Powerdesigner?

$
0
0

Hi All,

 


I recently started using Power designer 16.5.

 

I did not understand how to create a child entity in conceptual diagram.

 

For example:
I have an Employee entity and a Children entity.
Using PowerDesigner I created two entities Employee and Children in conceptual diagram. Now I'm not able to change Children entity into a child entity.

 


In properties of Children entity, I see <none> for attribute "Parent entity" and also does not give me any option beside it.

 

Can you please help me to create a child entity in conceptual diagram?

 

KR, vami.

PowerDesigner 16.5 Reporting

$
0
0

Hello,

 

I have questions regarding PowerDesigner Reporting.

 

1) Is there anyway I can generate a 'Dashboard' like reporting out of the box using my desktop client installation?  For example, generating a pie chart for overall cost of applications.

 

2) When generating a 'List' report, how can I also extract the list of associated object?  For example, in each 'Applications' I have 'Sites'.  I want to be able to extract that 'Sites' information associated to my applications.  Is there a way to do that?

 

3) Is there a way for me to mass export the artifacts object with all its associated information (metadata) under a Model to a CSV / Excel so that I can do my own reporting and analysis (if question 1 is not possible out of the box).

 

4) Even better, is there a way for me to connect my reporting tool to the PowerDesigner database, and extract data directly?

 

Thanks in advance!

JR

PowerDesigner 16.5 Time Dependent Model

$
0
0

Hello,

 

I have another question regarding time-dependent modeling.

 

Is there a way in PowerDesigner to have time dependent model, i.e.: being able to see architecture iterations from the past to present and future?

 

What about for the artifact metadata?  For example: I have a Cost attribute in my application.  I want to be able to show that current cost is this much, but after architecture change, our future cost will be estimated at that much.  One way I see is to add additional Cost attribute.  Any other better way?

 

Thanks in advance.

JR

Viewing all 1779 articles
Browse latest View live


Latest Images

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