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

PowerDesigner 16.5: generation PDM or Update Model from PDM and shortcuts

$
0
0

There are two models: Core model and Trag model. Trag model get some objects from Core model as shortcuts. When I use Apply model changes to Database or Update model from Database Powerdesigner use shortcuts not as objects that were linked by these shortcuts (see screenshot).

It means that when I try to update my model from Database Powerdesigner does not match object in Database with appropriate object (that is a shortcut) in a model.

In this case using shortcut feature is useless for me because I cannot update objects that exists in a model as a shortcut to database or make similar update from database to model.

I believe that I do something wrong. Please give me an advice how to say to Powerdesigner to use object that is referenced by the shortcut instead of shortcut? By the way, the replica is working properly. Shortcuts in the same model also work as well. Problem only with shortcuts between different models.


PowerDesigner Error: You cannot get exclusive access to a model document

$
0
0

I just updated a physical model from the database and was able to save it in the workspace. But when I tried to check it into the repository, I kept getting the error message: You cannot get exclusive access to the document 'my PDM name'. And the warning message says my model file was openned in read-only mode. Does any one have ideas what is causing this and how to fix it? Any help will be appreciated.

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

Model SAP BW DSO in PowerDesigner

$
0
0

Hi,

 

just a quick question: what's the best approach to model a SAP BW DSO in PowerDesigner?

 

Just wondering, which diagram would fit best, which database type (in case I decide to go with PDM) to pick ...

 

Any thoughts. I don't see a "native" integratioin of SAP BW DSOs in PD.

 

This is only for documentation purposes...no code generation required

 

Regards,

Rafal

Next release of PowerDesigner?

$
0
0

Hi gurus,

Do you know where I can find documentation on timing for next release of PowerDesigner and end of maintenance for PowerDesigner 16.5 sp03?

 

So far, all I've been able to find is a SAP document from 2013 that indicates end of mainstream maintenance for PowerDesigner 16.5 in February 2015.   Is that still the current plan? What release succeeds 16.5 and when will it be available?

 

Thanks in advance your help!

Ann

PowerDesigner 16.5 Postgresql 9.2.4 Reverse-engineering Error

$
0
0

I am trying to reverse-engineer a Postgresql schema, version 9.2.,4 that was created from a PowerDesigner 16.5 data model.  The process is unable to extract any of the columns or keys for any of the tables.

 

Unable to list the columns.

SQLSTATE = 22003

Bad value for type short: t

 

Alternate keys have the same problem:

Unable to list the alternate keys

SQLSTATE = 22003

Bad value for type short: t

VB Script - how do you check if an attribute in an entity has no domain assigned?

$
0
0

I am trying to see how many attributes have domains assigned to it.

 

My vb script throws an error the moment it runs into an attribute that has no domain assigned.  Is there any way to check if a domain is assigned or not without getting an exception from the script?

 

thank you

Direct access : no more than one user can connect at a time

$
0
0

Hi,

 

When you use the direct access, the date source ODBC use the id and password of the dba account for the db and it suppose to be that way.

 

But If one user use direct access and an another one try direct access too, he have the error window "Sybase ODBC Driver Sql Anywhere: the limit of connection to the data base is reach".

 

I did check the connection to the bd on the server and if it reach more than 5 connection (3 for some system on the server and 2 for the one direct acces), no one else can do a direct access after that. It only when the first user disconnect than another one can connect and so on.

 

I did search and lean about Sql Anywhere ( I don't know anything about Sql Anywhere) and no luck yet. For what I have found on the net, the problem do exist but I found nothing related to the powerdesigner context.

 

It must be a simple option somewhere....

 

Thank

 

Bernard


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.

How to get rtf formatted text to Word by vbscript?

$
0
0

Hello,

 

I`m trying to export rtf formatted text from Descriptions and Annotations of PowerDesigner objects into MS Word document by vbscript. I cannot use Reports, that is not an option. The only way how to do this I`ve discovered so far, is to get the the plain text of the Description together with RTF tags (but not interpreted), write it to a new file and save it with the rtf extension. Then open this rtf file with MS Word (that will interpret rtf tags) and copy&paste this text alredy formatted text to the final MS Word document.

 

And I have to repeat this for each Description and Annotation that needs to be exported. This solution is definitely not nice, but the only one I`ve discovered so far. Any other advice how to do this more efficiently will be appreciated.

 

 

Thank you,

Ondrej Divis

Traceability Link 'Traceability Link' (Traceability Link): Both link extremities should be defined

$
0
0

Hi,

 

I need some help with Traceability Links. I'm getting following error message when checking in the model into the repository:

 

  Traceability Link 'Business Process Model 'Corporate Funding Back Office'' (Business Process Model 'Corporate Funding Back Office'): Both link extremities should be defined

The check in of the document has been cancelled.

 

I don't undestand the error message, since everything looks OK:

 

1. Outgoing Traceability Link

link1.GIF

 

2. Incomming Traceability Link

link2.GIF

And this is how it looks like in the Impact Analysis:

link3.GIF

 

This is the procedure I'm using to create the Traceability Links:

 

Sub CreateOTL(linkSource, linkTarget)
   Dim otl, otl_exists, new_otl
   otl_exists = FALSE
  
   For Each otl In linkSource.OutgoingTraceabilityLinks
      If (otl.SourceObject = linkSource) Then
         If (otl.LinkedObject.isShortcut()) Then
            If Not (otl.LinkedObject.TargetObject Is Nothing) Then
               If (otl.LinkedObject.TargetObject = linkTarget) Then
                  otl_exists = TRUE
               End If
            End If
         Else
            If (otl.LinkedObject = linkTarget) Then
               otl_exists = TRUE
            End If
         End If
      End If
      If (otl_exists) Then
         Exit For
      End If
   Next

   If Not (otl_exists) Then
      Set new_otl = linkSource.Model.CreateObject(cls_ExtendedDependency)
      new_otl.LinkType = "Created automatically by Sync Script"
      linkSource.OutgoingTraceabilityLinks.Add(new_otl)
      linkTarget.IncomingTraceabilityLinks.Add(new_otl)
     
      Print "INFO", "OutputTraceabilityLink >>> " + linkSource + " (from " + linkSource.Model + ") --> " + linkTarget + " (from " + linkTarget.Model + ") <<< created"
   Else
      Print "DEBUG", "OutputTraceabilityLink >>> " + linkSource + " (from " + linkSource.Model + ") --> " + linkTarget + " (from " + linkTarget.Model + ") <<< already exists"
   End If
End Sub

 

What am I doing wrong? The links looks OK, the only problem is the Chech-In

 

 

Any ideas?

Changing value of attribute Replicating of object Sub-Replication

$
0
0

Hi,

 

today I've go ta new error when checking models into the repository:

 

Some errors occur during the update of the repository model.

Unexpected error while executing the following action:

Changing value of attribute Replicating of object Sub-Replication

The check in of the document has been cancelled.

 

Google doesn't provide even a single hit when searching for "Changing value of attribute Replicating of object Sub-Replication"

 

Any ideas what can cause this error ... and maybe how to get more detailed information about this error?

 

Regards,

Rafal

Zeros padding

$
0
0

Hi there,

PowerDesigner Help tells '-n' format switch 'extracts the last n characters. Blanks or zeros are added to the right to fill the width and justify the output to the left'.

I need to left-zeros-pad the variable REFRNO. But for now I can only blanks pad with this syntax: %-2.2:REFRNO%

Do you know where and what is the switch to force zeros padding instead of blanks padding?  The help is not clear about that.

Many thanks,
Daniel

Can we create FK relationship in LDM using VB Script?

$
0
0

hi

can we create a FK relationship using a VB script in a logical model? I am working on a large model and some of the entities have 5-10 attributes which should have been marked as FKs to a specific entity?

 

the attributes in the child entity are already existing on the FK relationship is missing.

 

thank you

Barker notation - displaying symbols in entities

$
0
0

Hi,

 

I've just joined the SAP Community Network - apologies if this PowerDesigner question has already been posted (and answered).

 

I'm trying to build a Logical Data Model using Barker notation, but I'm having some problems with my display preferences. I want the symbols to indicate the PK (#), mandatory attributes (*) and optional attributes (o) to appear on the left-hand side of the entity, then the attribute names and finally their data types and lengths. When I create the entity, this is fine but the moment I go right-click > Format > Content to specify other preferences (usually data types), these symbols move to the right-hand side of the entity.

 

For example, if the 'Mandatory' box is ticked, a capital M appears on the entity - this is just superfluous and adds clutter in my opinion, so I wouldn't tick it, but playing with this (or any other) setting seems to affect the display of the #, * and o symbols.

 

The only way I've found so far is to cancel and undo my changes, and even this doesn't always work. Would appreciate any feedback as to where I'm going wrong.

 

Thanks,

Antony


PowerDesigner 16.5 repository on Oracle

$
0
0

Hello,

 

what are the recommendations for best PowerDesigner repository performance on Oracle 11g DB? The PD environment is quite small, little tens of models, 10 - 15 users. Anyway, I`d like to get maximal possible performance. What are your best practices for optimal run of PD repository on Oracle?

 

What are the recommended steps to do on the DB side (for DB admins) to keep the database healthy and in optimal condition for PD repository purposes?

 

What are the steps that could be done on the PowerDesigner side (besides using PD proxy)?

 

Thank you,

Ondrej

Reverse engineer from XSD file, how make the models hierarchic?

$
0
0

Hi, I have used the "Reverse engineer->XML Definition" and this way imported XSD files (defining ISO messages) into PowerDesigner 16.5 (DataArchitect license).

 

Then I used "Tools->Generate Physical Data Model" followed by "Tools -> Generate Conceptual Data Model".

 

The resulting CDM seems ok but is organised visually in a way where you even can't guess the hieracic structure of the message defined by the XSD.

 

The XSD has a hierarchic structure and I have tried to e.g. import the XSD to Eclipse with the hyperModel plugin and the result is a very nice hierarchic UML diagram exactly mirroring the XSD structure. I mean, the XSD structure in e.g. XMLSpy and the hyperModel diagram generated in Eclipse is readable because you see the hierarchic structure, but the structure displayed default in PowerDesigner is spaghetti-like, impossible to see any top-down structure for a reasonable complex XSD. Generally I would like to see the "bigger" objects on top and then a top-down structure where you clearly see the hierarchy of gradually smaller parts/objects, resembling the hierchy you may see when looking at a XSD in e.g. XMLSpy in the schema/design view....

 

Anyone who knows if it is possible to (automatically) get a better model structure, maybe by using some view settings? I have not found any setting for how to change the organisation of the model so far.

 

Regards,

Peder

Power Designer Question

$
0
0

While Checking In a data model into the repository the task fails with the following error messages

Example

 

Relationship Symbol'describes'(DESCRIBES): Invalid link symbol extremity

 

See attached document for more details.

 

Any help is really appreciated.

 

Thanks

Hassan Yousry

Language > Update Model from Solution Manager menu missing

$
0
0

Hi,

 

can someone help me out pls.

 

I'm trying to prepare a BPM process to export to Solution Manager.

 

In the help I can find:

 

  • Select Language > Apply Model Changes to Solution Manager to open the wizard, and click Next on the Welcome page. The wizard checks your model for consistency and displays any errors which may                    compromise the generation.
  • Enter your Solution Manager host name and port number, along                    with your user name and password, and click Next. PowerDesigner automatically creates a default connection                    in the Connection name list, and you can manage this and                    other Solution Manager connections with the tools to the right of the                    list.

 

But I'm missing this menu. Do I have to install an additional AddIn to my PD?

 

Is this this one?

 

Thanks,

Rafal

 

 

addin.JPG

How to disable linking between entity attributes

$
0
0

Hi,

I'm currently designing a db model in power designer. I have added attributes with the same name to different entities (e.g. attribute product_uuid as key). Now I decided to rename the attribute in one entity to "business_entity_uuid". Curiously this also changed the name of the other attribute. They seem to be linked to each other or reference to the same attribute. Is there a possibility to disable this referencing to ensure that renaming in one entity doesn't cause changes in another entity?

Regards,

Marc

Viewing all 1779 articles
Browse latest View live


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