FDM Import Format - field name list population
I am working with an Import Format definition. How can I control the list of possible names that are displayed in the Field Name drop down list box? The lists currently displayed are different from Import Format Group to Import Format Group.
Thank you.
Gary
The selections are controlled by the dimensions of the adaptor assigned to the location using the adaptor. The drop down list names are controlled by the dimension alias.
Similar Messages
-
FDM Import Format Spec with multiple Amount Fields
Hello,
I'm in the process of setting up an Import specification for one of our sites and the source extract consists of the following fields:
Source Account Description BegBalDR BegBalCr YTDDR YTDCR
01-511-5110 Inventory Adjustment 1,754.00 0 0 14,844.76
I'm am trying to Import Field 5 & 6 and net them if necessary (example: YTDDR - YTDCR) and I continue to get an error. I have tried several diffrent ways but it seems that I can only import one or the other. After reading the FDM Admin guide I am wondering if I need to create a custom Script to accomplish this task.
Any advice would be appreciated.
Thank you,
TonyThis might be slightly complicated, but I think its the most direct solution ........
Step 1 -
In your Import Format, assign the Amount as :
FieldName, Start, Length, Expression
Amount, 1, 1, Script=NetAmounts5and6.uss
Step 2 -
Create an Import (DataPump) script called NetAmounts5and6 with the following code :
Function NetAmount5and6(strField, strRecord)
'Hyperion FDM DataPump Import Script:
'Created By: cbeyer
'Date Created: 2/13/2009 5:57:14 PM
'Purpose:
'Get the last two fields
Dim tmpRecord
Dim strCurrentChar
Dim strYTDCR
Dim strYTDDR
Dim x
'Initialize fields
tmpRecord = strRecord
'Ensure we have data
If Trim(tmpRecord) = "" Then Exit Function
strYTDCR = ""
strYTDDR = ""
'Get YTD CR
'One could use the replace command to change all spaces to a delimittable field and then
'split out the string into a one dimensional array using the split command; however,
'This would only work best if there is an exact number of spaces between the two numbers
'Since I do not know if this is true, instead i'm looking for numeric/numeric like characters
'and splitting based off of that.
For x = Len(tmpRecord) To 1 Step -1
strCurrentChar = Mid(tmpRecord,x,1)
If (IsNumeric(strCurrentChar) Or strCurrentChar = "$" Or strCurrentChar = "." Or strCurrentChar = "," ) Then
strYTDCR = strCurrentChar & strYTDCR
Else
Exit For
End If
Next
'Trim down temporary record holder to remove the previous found amount and white space at the end of the string
tmpRecord = RTrim(Left(tmpRecord,x)) 'Remove the first number from the string and white space
'Get YTD DR
For x = Len(tmpRecord) To 1 Step -1
strCurrentChar = Mid(tmpRecord,x,1)
If (IsNumeric(strCurrentChar) Or strCurrentChar = "$" Or strCurrentChar = "." Or strCurrentChar = "," ) Then
strYTDDR = strCurrentChar & strYTDDR
Else
Exit For
End If
Next
'do the math
If IsNumeric(strYTDCR) And IsNumeric(strYTDDR) Then
NetAmount5and6 = strYTDDR - strYTDCR
Else
NetAmount5and6 = 0 'This will cause the record to fail on import
End If
End Function -
FDM - Import Format (Fixed Column Type - No Delimiter)
Hello,
Question on FDM. I've built an import format and successfully imported a Fixed Column type text file. Everything imports beautifully. FYI - The format of the file looks just like a Trial Balance with a column for Debits and one column for Credits. In the import format setup, I am using the DrCrSplit script. Weird thing here is that I noticed it just ignored any of the rows where the balance was over 1 million (but brought everything else in perfectly). I've played with the Start and Length fields to no avail.
Does anyone have any ideas?
Thanks,
JamesGood day,
You can add a script as the last item to you amount import format, this will dump the values to a text file which may give you some idea of the issue. Open you file in a hex editor, there may be non printing characters.
Thanks
Function dumpamt(strField, strRecord)
'Declare Local Variables
Dim objFSAppend
Dim objFAppend
Dim strFileAppend
Dim blnCreate
'Initialize the file path
strFileAppend = "\\networkdirectoy\YourFileName.txt"
blnCreate = True
'Open the file system object and create the file
Set objFSAppend = CreateObject("Scripting.FileSystemObject")
Set objFAppend = objFSAppend.OpenTextFile(strFileAppend, 8, blnCreate)
'Append Data to File
objFAppend.WriteLine(strField)
'Close the objects
objFAppend.Close
Set objFAppend = Nothing
Set objFSAppend = Nothing
dumpamt = strField
End Function -
Multiple FDM Import Formats for One Location
I want to import trial balance data directly from the Oracle Financials database. I'm creating an import integration script to pull the ledgers directly via a SQL statement. My issue is that I also want to be able to write scripts to modify each individual field on the import, similar to a delimited import script where I can have a script for each dimension. Do you know if it's possible to combine import integration and delimited scripts in a single location? I'm guessing it may be a combination of the Import Format and Integration Options settings on the location, but I'm not sure which one should go where. Any help would be greatly appreciated.
This is not possible. Any adjustments to the data would need to be done within the integration script.
-
Hi,
I am working with a comma delimited file and would like to create an import format. Debit and Credit amounts appear in separate columns. Is it possible to use the DRCR Split expression with a delimited file? If not, can anyone suggest an alternative?
I look forward to hearing from you.
ThanksHello,
The DR/CR split is only for fixed formatted files.
You will need to use some custom scripting on the 'Amount' field to check for the value in the appropriate position and then import the desired value.
Thank you -
FDM Import: create 4 fields from single chartfield in source file
Hi Experts ,
In my requirement, i have single member in Source file which i have to split into 4 filds (Target dimension)
ex "1234 44 55555 456" , this string should be "1234" "44" "55555" "456" to represent 4 dimension members in Essbase.
I tried puttig following FDM code in a import script through import format for one of the target field but after i import that column is showing "required field missing" error. Any suggestion please ?
'Declare local variables
Dim lngStartPositionMid
Dim lngCharCountMid
Dim strValueMid
'Get Mid N Characters
lngStartPositionMid = 9
lngCharCountMid = 5
'Get the string
strValueMid = Mid(strField, lngStartPositionMid, lngCharCountMid)
End Function
ThanksThis is done.
I am new to FDM and VB so realised it later that actually , Script name is the VB Functiona name and thats where Value should be returned.
If my scrip tname is Entity
Entity = Mid( strField,9,5)
Thanks
Vivek -
FDM Fixed-Width Import Format & Multiple Accounts/Periods Issue
Hi FDM experts,
I have an issue that I wanted to reach out to you on regarding fixed-width import formats and how to cater for my current scenario for export to Hyperion Planning.
I am working with a flat file (.txt) I need to import to FDM with the current format;
A
B
C
D
E
F
G
Z
Year
Channel
Product
Jan-MTD-Account 1
Jan-MTD-Account 2
Jan-YTD-Account1
Jan-YTD-Account2
Dec-YTD-Account2
2013
Channel_1
Product_1
1000
2000
1000
2000
10000
These are all fixed in width so the field lengths will need to be defined in the import format. The requirement for loading to the system is only a speciifc Month YTD value for both Account1 and Account 2.
If my chosen Month is 2013 Jan, I will only require columns F and G to be loaded. These are the issues I have identified;
Can a fixed width import format cater for loading to multiple accounts in the same file? Or would I need a separate import format per account?
Can a fixed width import format cater for loading to a variable Actual Month period? Or do I need 12 import formats/locations per month?
Your help is much appreciated!
Many thanks
AaronHi Aaron,
the solution you are looking for needs pivoting your source file.
Think that FDM, by default, only accepts files with one single column for amount. You have to pivot your file based on your logic and import the pivoted file.
For example:
Year Channel Product ... Jan-YTD-Acc1 Jan-YTD-Acc2 ...
2013 CH1 PR1 1000 2000
If your POV is Jan-2013, your data imported will look like:
Year Channel Produc Account Amount
2013 CH1 PR1 ACC1 1000
2013 CH1 PR1 ACC2 2000
All this process can be automated by playing with Import Scripts.
HTH -
Address Book field names changing for "imported" data
I'm migrating from a thousand year old Palm Pilot that has served me so well to an iPhone. So it's time to get my contacts into OSX Address Book.
I have tried moving the data a couple of ways - exporting vCards and text files from the Palm Desktop software.
I did extensive editing of the text file in MS Excel to get the data into good order.
I have set up a template in the Address Book preferences to create fields that I want/need. Some are generic default field names, some have custom names. eg. I want to see a field called "Bus. Phone" not one called "work". Call me picky.
I get the same basic result no matter if I import the vCard file or a text file - The names of the fields just show up with very generic names in the imported data. I should note that creating a NEW record seems to use the field names that I have specified in the preferences.
Also, when importing the text file, Address Book asks me to assign the field names for certain fields (while it seems smart enough to know what labels to use for other fields all on it's own). However, the Field Names available in the drop down menu ARE NOT the ones that I have set up in the prefs. I seem limited to the generic default field names only.
Can anybody tell me how to get the field names to be what I want them to be for address data that is being imported like this?
Thanks for any suggestions - this has been driving me crazy as it would seem to me to be a pretty basic process. (I mean, the Address Book has this import functionality and custom field name functionality built in so it should work right?!)
AllenNo sooner do I ask than I notice that other people have asked the same question. In one of the reply's I saw mention of a product called "Abee".
I tracked it down and it did the job for me! Custom Field names live on!
It's at:
http://www.sillybit.com/abee/ -
Can I display or export a list of all field names on a PDF
In Designer 7, is there a way to display all field names (text fields and checkboxes)? Or is there any way to obtain a list of all field names used on a form?
In Acrobat 7, all the field names used on the PDF will appear when you select the Text Field Tool. However, this will only happen when the fields were added using the form tools in built into Acrobat. These forms tools are not accessible in Acrobat when the PDF was created using Designer.
For a PDF created with Designer, you can hover over a field in Acrobat to have a ToolTip display the field name. Unfortunately, this can only be done one field at a time.
Thanks in advance for any info.Here is an example of how to get all the form objects' names within a node in the hierrachy. For a more complex form (with subforms), you will need to check to see if the node is a container. If it is, you will to use this code below to iterate that node.
var objNode = xfa.resolveNode("xfa.form.form1.page1")
for (var i = 0; i < objNode.nodes.length; ++i)
app.alert(objNode.nodes.item(i).name);
Here is an example:
http://66.34.186.88/LiveCycleSamples/.3bbb371.pdf -
Displaying Field Names in a list on the next page
In my BIP template I have a table that lists field names and underneath I have a for-each statement that lists values.
Is there anyway that I can list the field names on the next page when the number of records start to run onto the next page?
Thanks
SteveSelect the field names row, right click -> table properties and check the 'Repeat as header row at the top of each page'
-
I have a few questions around import formats as I have recently seen some new approached that I have not seen before:
Firstly are Import Formats auditable? Can the changes etc be tracked?
Secondly the formats I see are concatenating GL accounts and a few things from the GL to create a new "unique" account that is then mapped in FDM.
E.g.,
in the GL
GL Account
810000 - Revenue $10,000
GL Attribute1
BL - Blue
GL Attribute2
T1 - Dakota
FDM Import
Then creates a source GL Account of
810000BLT1
FDM mapping
810000BLT1 = TO_00001
HFM
TO_00001 $10,000
Has anyone seen this before, where effectively a new account is created from the import format ?1. I can't make a comment on FDMEE, but what is now 'classic' FDM does not audit the import format table. However if it is a requirement, then i am sure your DBA could sort something out
2. Yes, this is quite common, but perhaps more for the other dimensions rather than the account dimension. -
Import Format script required to work across multiple fields
I am currently constructing an Import Format, and using datapump import scripts on several of the fields to implement specific logic based on the values present. For example:
Function TBNetwork(strField, strRecord)
If Left(strField, 1) = "N" Then
TBNetwork = strField
Else
TBNetwork = "Network N/A"
End If
End Function
However, I need this to also evaluate the values across other fields too, but the default two inputs for the function are strField and strRecord.
How can I achieve this? Can I declare new variables and define as follows?
Dim strCustomer = varValues(23)
Or do I need to look at implementing a different type of script? Any suggestions would be greatly appreciated!strRecord represents the entire data line from your source file that is currently being processed. You can parse this to get any of the values from your data line to use/evaluate in your script. There is an accelarator script DW.Utilities.fParseString which will do the string parsing for you. As you probably know strField only returns the field from the data file that you have specified in your import format for the associated dimension.
-
Import Format script required to update multiple fields
Further to my previous post yesterday (Import Format script required to work across multiple fields I now need my import script to update multiple (two) fields at the same time, based on criteria set across multiple fields. So far, I can use DW.Utilities.fParseString to assess the values across multiple fields, but I now need to update not only the field in question, but also an additional field at the same time. For example:
Function TBService(strField, strRecord)
' How do I update a second field at the same time?
Dim strField2 As String
If Left(strField, 1) = "S" Then
If DW.Utilities.fParseString (strRecord, 3, 8, ",") = "B1110" Then
strField2 = "N101"
Else
strField2 = "Network N/A"
End If
TBService = strField
Else
TBService = "Service N/A"
End If
End Function
Is this even possible? Should I be looking at creating an event script which would work post-import? Or can this be done right here in the import script?All the logic you require can be encapsulated in the import script for the second field. You don't need to reference the second field in the first import script.
Edited by: SH on May 2, 2012 5:39 PM -
Importing via xml deletes already populated fields???
Hey all
Im kind of new to this, so any help would be great.
I've created some forms that have similar named fields but some fields are named differently, If I fill in one form and export data as xml and then import this data into another form that has has a few textfields/numericfields already containing data, the imported data imports fine, but the the fields containing data previously, which have totally different field names are wiped?
Anybody have any ideas at all? All information would be superb.
LeeIn PL 36 I had a very bad problem trying to create the invoice from draft (via XML). This was caused by the CogsAcct field. When I stripped it from the xml then it worked...
Regards -
Multiple import formats in one FDM application....?
I wanted to know in my situation where there are 15 EBS Set of Books. whether it is possible to use only 1 FDM application to import all these data into my HFM application.
My ERPi application is like this :
1 source application that is EBS.
1 target application that is HFM.
15 EBS Set of books, for which i think i have to create 15 import formats in ERPi for each set of books. this also implies to the locations.
then I have to do the common period mapping and category mapping.
in the Data load Setup: I have to select each location and do the member mapping. create a data load rule for each location.
FDM Application:
i already have an FDM application which i am using to import data from EBS to HFM using ERPi, till now i have only used 1 set of books just to verify that everything is working fine. now as everything is working fine with the application, I want to add additional import formats in the existing FDM application to answer the import formats and locations created in the ERPi application.
Is it possible to do like this, if so then i need your assistance in achieving this task.
please put your comments in this regards.
Thanks,
Shantan KommeraYou can do this by specifiying the appropriate data load rule to be used by ERPi within Integration Option 1 in the location. This will kick off the data load rule you specify in ERPi that should be tied to the corresponding set of books in EBS.
Maybe you are looking for
-
Error in Credit Memo Creation using BAPI
Hi, While creating a Credit memo using the BAPI "BAPI_SALESDOCU_CREATEFROMDATA" , the following message is returned: "EVP 113Processing customer 9012041 terminated" This occurs only for a particular customer, while for others the BAPI works fine. I t
-
IWeb will NOT talk to GO DADDY!
I created a new web site using iweb, everything looks fine. I did this so I could manage and quickly change my videos/pics when I wanted. BUT naturally, it does NOT want to connect to my host (GO DADDY). GD says everything is fine on there end, but i
-
Distribution agent not running
Hello All, One distribution agent is not running continuously. The SQL job is scheduled to run when 'Start automatically when SQL Server Agent starts'. It was running fine but now the status in replication monitor shows Not running. I manually select
-
How to open movie made in 8.0 in 6.0?
so, i've made a movie in imovie 8.0. only thing is there are no effects in 8.0, so after reading posts on this message board, i tried to open it up in version 6.0, which still has all of the effect capabilities. But my movie is grayed out! Won't open
-
Applescript can't get name of front window
The AppleScript support seems broken or unreliable (at least on OSX 10.10.1). For example, this little, very basic script worked in Firefox 33 but now (34?, 35 or 36) NOT anymore: tell application "Firefox" name of front window end tell ==> error "pl