How to use the transformation file
Hello there!
This message is to ask a question that maybe it could be familiar to you. I want to load data using a .txt file and a transformation file using the import package. Suppose that the structure of my txt file is:
Entity,Category,Time,Account1,Account2,Account3
Ent1,Actual,2010.JAN,289.23,32.43,123.34
Ent1,Actual,2010.JAN,289.23,32.43,123.34
Ent1,Actual,2010.JAN,289.23,32.43,123.34
How could I load this values using a transformation? I know that there exists an option named *MVAL(), but if I use the following syntax in mapping section it doesnu2019t work:
Account=*MVAL(4:6)
I read something about accountval, does some boddy knows how to use it?
Thanks in advance
regards
Hi,
If you are using MVAL statement, then you need to maintain a conversion file also. Its compulsory. Please make sure that you have maintained a conversion file.
If you are on 7.5 MS, then the statement will work. Please refer to the MVAL statement in the mapping section of the below link
http://help.sap.com/saphelp_bpc75/helpdata/en/a2/e722bc58404335ada8592cdc8feaca/content.htm
However, in 7.0 MS, the MVAL works only if the multiple key figures are corresponding to the time dimension. In your case, they correspond to the account dimension. You need to create separate transformation file for each of the key figures and then upload the flat file separately using each of the transformation files.
Hope this helps.
Similar Messages
-
How to use the transformation matrix in Placed Suite.
I am in trouble how to use the transformation matrix Placed Art (PlacedSuite ).
AIRealMatrix rasterMatrix;
AIRealMatrix placedMatrix;
if (artType == kRasterArt {
error = sAIRaster-> GetRasterMatrix (art, & rasterMatrix);
} else if ((artType == kPlacedArt) {
error = sAIPlaced-> GetPlacedMatrix (art, & placedMatrix);
When I converted to using the transformation matrix of PlacedArt, the target art could not be converted to expect.
I could convert in case of the RasterArt. (The reference point of the transformation matrix of RasterArt is (0,0).)
In the PlacedArt, preference point is not (0,0)?
The tx/ty of the transformation matrix of PlacedArt is not correct?
In the transformation matrix of RasterArt and Placed Art, how are those two different?The short answer is "no", (0, 0) is not the origin of placed art (unlike kRasterArt). Off the top of my head, I believe when you place art, its original state is upside-down and flipped horizontally in the upper-right of the artboard. If you want to see where it starts, simply create an identity matrix and apply that as the matrix for the kPlacedArt and you'll see how it starts. Yes, its pretty crazy.
minimum99 posted some code that might help. I haven't tried it (I rolled my own years ago) but I'd give it a whirl:
http://forums.adobe.com/message/3195790#3195790 -
How to use the Microsoft File Copy dialog box in Java ??
Can anyone tell me if it is possible to use the Microsoft File Copy dialog box (the one with the animated gif of the paper flying from one folder to anaother) in a Java.
Many thanksAnd in any case, in any version of Windows that I've looked at, the file copy animation is an AVI, not a GIF.
db -
How to use the .aliases file to resolve a host's address?
I am trying to setup a communication between a
RT PXI system and a windows computer using network shared variables
(shortened to "shared variables" in the further text). Both of the
computers shall run compiled executables. The documentation concerning
this topic has been spread over several places and this is what I ended
up with.
There are three different possible setups.
1.
I am using shared variable nodes both on the RT PXI and on the windows
computer. The shared variables on the RT PXI are defined as "target
absolute" and are residing in a library on the RT PXI. The shared
variables on the windows computer will be set to "target relative" and
are residing in a library on the windows computer. The variables used
on the windows computer will be bound to the corresponding variables on
the RT PXI. If I run the applications on computers different from the
ones I used during development, I have only to change the .aliases file
for the windows computer and set there the correct IP for the RT PXI.
Additionally,
I have to deploy the library both on the RT PXI and on the windows
computer. This can be done from the windows computer, as the RT PXI
target does not support the invoke node that has to be used for this
purpose. Running the invoke node twice, once for localhost with the
client library and once for the IP of the RT PXI system and the host
library, I can deploy the libraries containing the shared variables
programmatically. At this point, the magic of the .aliases file will
fail and I have to find the IP of the RT PXI either by user input or
maybe by running the RT ping controllers.vi. The "Target IPAddress"
property of the "Deploy Library" invoke node makes sense in this
combination as we can deploy libraries also to other computers or
platforms.
See attached Shared Setup 1.png.
2. I am
using shared variable nodes both on the RT PXI and on the
windows computer. The shared variables on the RT PXI are defined as
"target absolute" and are residing in a library on the RT PXI. The
shared variables on the windows computer will also be set to "target
absolute" and will be taken from the library that resides on the RT
PXI. If I run the applications on
computers different from the ones I used during development, I have
only to change the .aliases file for the windows computer and set there
the correct IP for the RT PXI.
Additionally, I have to deploy
the library only on the RT PXI. Again, this can done by a helper
application on windows when the IP of the RT PXI is known or found by
using RT ping controllers.vi.
See attached Shared Setup 2.png.
3. I am using
shared variable nodes only on the RT PXI. The shared variables on the
RT PXI are defined as
"target absolute" and are residing in a library on the RT PXI. On the
windows side, I use direct access to the PSP by using DataSocket
functions. I can address a variable by using a DataSocket Open function
and inputting psp://IP_or_Hostname_of_RT_PXI/LibraryName/VariableName.
The magic of the .aliases files will fail already at this step. So I
have to find the correct IP or hostname by user input, setting a DNS
server to point to the correct IP or using the RT ping controllers.vi.
As
always, I have to deploy the library containing the shared variables to
the RT PXI. Again, this can done by a helper application on windows
when the IP of
the RT PXI is known or found by using RT ping controllers.vi.
As
I can use this approach to setup an array of valid variable names and
process the array by one single DataSocket read function inside of a
for loop more conveniently than using a case selector inside of a
for-loop and reading from different shared variable nodes, I prefer
this approach over the others.
See attached Shared Setup 3.png.
For approaches 2 and 3, at least the deploy process can be run by an
installer application independently of the main application as the
library will remain on the PXI until I manually undeploy it, even if I
reboot the PXI controller.
My questions are:
1. Did I describe the possible setups regarding the use of the shared variables correctly?
2.
Is there any means to get the IP address mapping from the .aliases
file, needed for deploying and for approach 3, other than opening and
reading the file itself?
Attachments:
Shared Setup 3.png 52 KB
Shared Setup 1.png 42 KB
Shared Setup 2.png 51 KBThank you for the reply... I am using a hardcoded filename for the
connection manager. How do I take the variable and change the filename in the connection manager?
Also there will be multiple filename and I would like to take the latest file and not just check if the same file has been updated.
UPDATE: I added the dynamic filename to the expression of the connection
manager and it worked.
You can use Foreach loop with file enumerator for that. It will iterate through files in folder and you can retrieve filenames using a variable created. Then pass variable as a parameter to script task.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to use the .ase files?
As a test I imported a few Kuler .ase files into Illustrator
CS2.
They appear to be spot RGB colors all labelled Unnamed Global
Color, which clash when I drag in a second lot.
I made 2 files, one set to RGB, the other to CMYK.
In the RGB file the colors came in close to the specification
in Kuler. One color was off by 1 in one value.
In the CMYK file the colors seem to be converting from the
RGB because the specs were nothing like that in Kuler, although the
appearance was similar.
Not very useful because I really dislike specifications using
CMYK values set to 2 decimal places. I like clean specs because
that way I can make sensible adjustments and remember which is
which.
These are the issues as I see them.
1. Importing the color schemes via Menu > Window >
Swatches > Popup menu > Open Swatch Library > Popup menu
> Other Library... > Dialog box > Hunt for file is more
than a bit tedious:– How about drag & drop? Works in
Cocoa apps.
2. Having them come in as Unnamed Global Color is unhelpful.
3. Having them clash because they all have the same name is
further unhelpful.
4. Being RGB and dropping the CMYK values is more than
unhelpful, it is almost crippling for a print designer.
What exact purpose are these .ase files serving?
I had created my own system of a bar of named colors, made in
Illustrator in both CYyK and RGB then dragged into wherever
required. That seems to be more practical than these .ase files.
Am I missing something?1) Um, drag and drop has nothing to do with Cocoa (which
tends to make apps that use it slow and buggy).
2) is probably a bug or oversite in Kuler
3) That's a direct result of 2 and the way Illustrator works,
not a separate problem.
4) They have to have some color model, and it is RGB.
Then they get converted to whatever colorspace you're using
for your CMYK documents. The only thing "crippling" is if you
happen to pick colors that are out of gamut for your CMYK
colorspace.
ASE files are swatch files that all of the Adobe CS2
applications can read and write. They are serving that purpose well
(when Kuler doesn't hit the ase.xml bug). -
How to use the build file generated by Jdev to automate bpel deployment
Hi everyone I am trying to deploy bpel jar files and human task ear files using ant. When i use the ant which is generated by Jdev I am gettinng an error
C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
Buildfile: build.xml
deployTaskForm:
BUILD FAILED
C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:39: Could not create
task or type of type: deployTaskForm.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'deployTaskForm'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.Ensure JDEV and SOA versions are in sync.
-
How can i fix a member for a dimension in the transformation file?
Hello everybody,
anyone knows how can I fix a dimension member using the *mapping section of the transformation file in a data upload, I´m trying to fix the member for the Category dimension, I´ve tried an instruction like:
*MAPPING
*CATEGORY=ACTUAL
but it doesnt work, any idea?
thanks!The easiest way is to use the folloowing in the Transformation file:
Category = *newcol(Actual)
Hope this jelps. -
Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?
It's not a good idea to use a network disk for both Time Machine backups and other things. By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files. I'd store those other files on an external disk connected to the Time Capsule. The problem with that is that Time Machine will only back up files that are local to your Mac. That means that you'll only have one copy of the files on or attached to your Time Capsule.
By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject. In the future just type a short summary of your post into that field and type the whole message into the field below that. -
Greetings all,
I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
var myPresets = app.pdfExportPresets.everyItem().name;
myPresets.unshift("- Select Preset -");
var myWin = new Window('dialog', 'PDF Export Presets');
myWin.orientation = 'row';
with(myWin){
myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
myWin.myPDFExport.selection = 0;
myWin.btnOK = add('button', undefined, 'OK');
myWin.center();
var myWindow = myWin.show();
if(myWindow == true && myWin.myPDFExport.selection.index != 0){
var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
if(myFile != null){
app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
}else{
alert("No File selected");
}else{
alert("No PDF Preset selected");
So far my code does the following:
1) Runs the Multi-Page PDF Import Script
2) Runs PDF Export Script Above
3) Toggles the Template
4) Runs #2 Again
5) Deletes the imported PDF and all pages and toggles template again.
It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine. -
How can i use the ACL file to control the access from the other website?
Hello all~
My Sun one is 6.1 sp3 on Windows 2003 SE, and I am try to use the ACL file to control the access.
My ACL file is below:
version 3.0;
acl "path=my_path_on_HD";
deny absolute (all)
(user = "anyone") and
(dns = "*.my_site.com");
deny absolute (all)
(user = "anyone") and
(dns = "*.other_site.net");
Once I add the "deny", anyone include my site is decline for vist the path specify in the ACL file. But if remove the "deny", everyone include other one's website can access the file.
Can anybody tell me how to make it work?I think you've misunderstood what the dns attribute is for. The dns attribute returns the hostname of the client accessing your website, not the hostname of the website that linked to your website.
For example, when someone using the Comcast ISP goes to a malicious website at example.com that loads images from your website at www.amigoo.net, the dns attribute will be something like "c-1-2-3-4.ca.comcast.net", not "example.com". ACLs are used for authentication and authorization of clients (not the websites those clients chose to visit), and they don't provide the functionality you're looking for.
If I understand correctly, you want to prevent websites other than amigoo.net from linking to files in your d:/webserver/imat/pics_upload directory. You can achieve this adding the following lines to your obj.conf configuration file:
<Object ppath="d:/webserver/imat/pics_upload/*">
<Client referer="*~*amigoo.net">
PathCheck fn="deny-existence"
</Client>
</Object> -
How to use a key file in the FTP Task using and SSL connection
In the past I have used this code to set the FTP pass word in an FTP component task in SSIS.
Does anyone know how to use a Key file in an SSL connection to download a file from an FTP site? If not can you tell me where I can get the C# code examples to learn how to create a script task or if there is another way in SSIS to download large files
from an SSL FTP site? Thank you for any help offered.
public void Main()
ConnectionManager FTPConn;
FTPConn = Dts.Connections["FTPServer"];
FTPConn.Properties["ServerPassword"].SetValue(FTPConn, Dts.Variables["FTPPassword"].Value);
Dts.TaskResult = (int)ScriptResults.Success;
AntonioYou can use SFTP for this.
This is a way of implementing SFTP in SSIS using standard tasks
http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
also see
http://blog.goanywheremft.com/2011/10/20/sftp-ftps-secure-ftp-transfers/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
I have an iphone 4.I upgraded it to 5.0.1 and so I have lost all the data from my iPhone,but i have a backup in my computer.How do I use the backup file ? i.e How will i get that backup file in my iPhone ?
Connect phone to computer.
Select Restore.
Tell iTunes which of the available backup files to use, let iTunes restore it.
Also, try reading the User's Guide as it answers questions like this. -
How to get the XML file if we are using the Product short name.
Hi,
Till now I have used Short name of the Concurrent Program for Code while creating a Data Definition. Now saw a seeded template which has given the Code by Product short name. If we have the concurrent program then it is easy to refer the fields by checking the XML file. In this case how to find the XML file or how to refer all the fields if we have given code with Product short name. I saw this for iReceivables(ARI). Anybody please help me.
Thanks.Hi Siva
Just to clarify, rather than the short name of the conc program there is a shipped data definition that just uses the product short name? What is the data def so I can check it.
Regards, Tim -
How to create the log file in remote system using log4j.
Hi,
How to create the log file in remote system using log4j. please give me a sample code or related links.The below example i used for create the log file in remote system but it return the below exception.Is there any authandication parameter for accessing the remote path? Please help.
public class Logging
Logger log=null;
FileAppender fileapp=null;
public Logging(String classname)
try
log = Logger.getLogger(classname);
String path=" [\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt|file://\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt]";
fileapp = new FileAppender(new PatternLayout("%r [%t] %-5p %c %x - %m%n"),path, true);
log.addAppender(fileapp);
log.info("Logger initilized");
}catch(Exception ex)
ex.printStackTrace();
java.io.FileNotFoundException: \\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt (The network path was not found)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
at org.apache.log4j.FileAppender.<init>(FileAppender.java:109)
at annwyn.logger.BioCapLogger.<init>(Logging.java:23)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please help.
Thanks in advance.
Saravanan.KSorry path is missing for the above request.
path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
please help.
Saravanan.K -
Not sure if anyone can help but I have a copy of Photoshop CS5.1. Ever since it was installed, every now and again when I try do something simple like save a file or scale something using the Transform tool, in fact anything at all it comes up with "Could not complete your request because of a program error". Have thought about re-installing it but I have lost my serial number. I'm living in Ireland and trying to get to talk to someone in tech support is a complete joke. Any ideas what to do ? Thanks
Ianp69549740 have you tried reinstalling Photoshop CS5.1? If so do you receive any specific errors? What operating system are you using?
Maybe you are looking for
-
What is different in 10.6.3 and 10.5.8
Can anyone tell me what I really gain by going to SL from Leopard? I upgraded to SL just using the upgrade cd when it first was released... that was a disaster as Photoshop just would not run. so everyone advised that I do a "clean" install... same p
-
Re: Question: How to check in content with WebService
Hi, I am trying to check-in using 'SOAP with Attachments', and am getting this error message "Content item 'SoapUpload4' was not successfully checked in. The content item must have a primary file"... In the soap request i am using <idc:file name="pri
-
Is it possible to update io6 in Iphone 4
is it possible to update io6 in Iphone 4
-
Purchased a new iMac - installed CS5 CD - message - Installer failed to initialise....
-
Logic Pro 9 Says Not For ReSale On Title Window
Everytime i open logic pro 9 it always say not for resale on title windows I put the right serial key in. I purchased it from the Apple Store. Please help its annoying.