on 04-12-2018 6:38 AM
Hi
Has anyone written a script to import an excel worksheet as a data item within power designer - using extended attributes. Am trying to do so but no idea where to even start.
Hi, thanks for the suggestion - I can do the manual import without an issue - but I need to automate the process in the longer term, hence the attempt at creating a script that I can call which would do the exact same thing as what one would do manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want your script to re-import an existing Excel Import in a model, it could call the Import method on the Excel Import object.
If you have a standard set of Data Items that you want to include in multiple models, you could use a script to run a Model merge, using the Merge method on the model object.
There aren't any Excel import scripts in the samples supplied by SAP, but take a look at this thread: -
https://answers.sap.com/questions/417299/mapping-vb-script-error-object-required-0x800a01a8.html
You don't need to write a script, the standard Excel import extension will import Data items, including extended attributes. Take a look at this video -
https://www.youtube.com/watch?v=JoAkFVrWKzE
It's a few years old, but still relevant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The video shows you how to import into a new model. To import Data Items into an existing model, start the wizard in a slightly different way:
You can also read about the Excel import wizard in the PowerDesigner Help:
Core Features Guide > Modeling with PowerDesigner > Objects > Importing Objects from Excel Files
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.