FDM import script with selectable source file

Hi All,
I would like to build an import script attached to an import format that imports a text file with multiple value columns.
Source file:
Entity, Detail, Account 1, Account 2
E_abc, D_abc, 100, 200
In FDM this needs to be:
Entity, Detail, Account, Amount
E_abc, D_abc, Account 1, 100
E_abc, D_abc, Account 2, 200
So i need to loop through the file.
My biggest challenge is that when i attach a script to an import format in the import process i cannot select a file from inbox anymore, it has to be a pre-defined file.
Has someone an example or solution how to make a script-import format and enable the select file from inbox?
And if possible has someone an example script of the issue stated above?
Thanks in advance,
Marc

Hi Wayne..
Thanks for your reply (and sorry for the delay in mine).
Could you tell me what script to use to open the file in the befImport script, or how to rename the file in memory to a new one?
So i write a script that rewrites the file to a new file in the inbox but i need to tell FDM that it needs to process this new file.
Thanks,
Marc

Similar Messages

  • Where does Lightroom put HDR in the grid view? Is there anyway to have Lightroom stack the HDR file with the source files?

    I can't decipher where (and why) the program is putting the HDR image in the grid. I stack all of my HDR source images so they are easy to track and manage. Other apps/plugins allow you to stack resulting images with their source image. That would be great if there's a way to set that in LR preferences.

    Thanks, but this doesn't really answer the question about stacking the HDR file with the source files. Yes, it does put the file in the same folder, however many of my folders have 100s of images (that often look similar) and as far as I can tell, LR places them randomly in the sort order. It doesn't appear to put them at the beginning or end of the sort (usually by date), but somewhere randomly in the middle. Even if it could be made clear what method it is using to sort them, that would help locate one file among hundreds.
    Ideally, however it should allow you to stack with the stacked source files. Is there anyway to do this? If not, is it a feature that could be requested?

  • Howto deal with multiple source files having the same filename...?

    Ahoi again.
    I'm currently trying to make a package for the recent version of subversive for Eclipse Ganymede and I'm almost finished.
    Some time ago the svn.connector components have been split from the official subversive distribution and have to be packed/packaged extra. And here is where my problem arises.
    The svn.connector consists (among other things) of two files which are named the same:
    http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/features/org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar
    http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/plugins/org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar
    At the moment makepkg downloads the first one, looks at its cache, and thinks that it already has the second file, too, because it has the same name. As a result, I can neither fetch both files nor use both of them in the build()-function...
    Are there currently any mechanisms in makepkg to deal with multiple source files having the same name?
    The only solution I see at the moment would be to only include the first file in the source array, install it in the build()-function and then manually download the second one via wget and install it after that (AKA Quick & Dirty).
    But of course I would prefer a nicer solution to this problem if possible. ^^
    TIA!
    G_Syme

    Allan wrote:I think you should file a bug report asking for a way to deal with this (but I'm not sure how to fix this at the moment...)
    OK, I've filed a bug report and have also included a suggestion how to solve this problem.

  • How to create a blu-ray disc with multiple source files

    Hello,
    How is it possible to create a blu-ray disc, AVCHD recordable DVD with multiple source files from Final Cut Pro 10. Is it possible to create a menu with several chapters corresponding to the sequences (source files)?
    Thank you in advance for your support.

    Assume you're talking about using the Create Blu-Ray batch template. It's not possible to do with multiple source filles. But if I understand your objectives, you could pretty much get what you think want – discrete movie segments on a single disk with navigation.
    The way I'd approach it is by making multiple projects in FCP and then copying the finished versions into a new project, separated by gaps. (You could also use compound clips but I'm not a fan except for very short sequences, which is why I'm suggesting the copy route.) Then export and bring into Compressor.
    In Compressor mark your chapters at the gaps between your individual sequences. Then choose the AVCHD option in job actions.
    Bear in mind that you'll have to keep the recording time under roughly 30-35 minutes @a5 Mbts/sec
    Good luck.
    Russ

  • How to use import script with FDM using adapter ERPI?

    Hi,
    I use FDM and ERPI 11.1.2 to load data from EBS R12 to Planning 11.1.2
    Data loaded from eBS are YTD data.
    I have seen that I could use an import script to calculate manually the amount with the periodic_net_cr and periodic_net_dr fields.
    But how to use this import script? Because in my import format in FDM, I don't use a file but directly the adapter, so no "Expression" field.
    Thanks in advance for your help
    Fanny

    Hello Fanny,
    No you will not need to put anything in the BatchAction. If you review the FDM API Documentation posted it will outline all the scripts that will execute for a particular event ... and the order in which they execute. The BatchAciton only affects the execution of the batch ... it does not control processing of data. Processing of data is controlled by many others.
    There is a script that can be written and placed (as Tony mentioned) in the ImportAction that will be able to recaculate the values from ERPi to be YTD values. You can possibly open an SR and a support Engineer can help you .... or you can search the current KM base and use that information there from the v11.1.1.3.00 version to build your own for v11.1.2.x
    Thank you,

  • Accessing Unix folder while selecting source file in Import Manager,GUI

    Hi,
    I am using MDM 5.5 sp04.I am trying to use MDIS to automat the importing process.
    Challenge is to use a map in port which will be used by MDIS.
    Our MDM server system is in Unix. How I can select input file residing in unix folders( say ready folder of Material) from IM tool drop down so as to save that map and assign that map in Port.
    Is a file can be used from window folder in IM ,save the map and assign it in Inbound port ?
    Is there will be an conflict in this case since MDIS will be receiving the file from Ready folder(in unix) but the map of the inbound port will be having the source in different folder in window?
    Appreciate your help/suggestion
    Reo

    Hello:
    you shouldn't need to do that under MDIS. The thing is, use the Import Manager on windows to create the mapping file (importing a file also in windows)
    When you created the mapping file, assign it to a port. Ports include a specific folder where you need to put the new file to be imported. Please refer to port documentation to find out where this folder is.
    The map only has the "mapping structure", and the file will be taken from the port specification
    Greetings
    Alejandro

  • 1014 - Expected 'End' Error in FDM Import Script

    I've been successful in creating a script. I get the following error :
    1014 - Expected 'End'
    At Line: 43 *(bolded)*
    Can someone please point me in the right direction.
    Thanks
    Function JDE_Entity(strField, strRecord)
    'Oracle Hyperion FDM DataPump Import Script:
    'Created By:     jzm6518
    'Date Created:     10/29/2012 11:42:36 AM
    'Purpose: Concatenate Entity 00089 with Sub_Account for mapping purposes
    'This is the section where variables are assigned
    'strField represents the Original Entity
    'strSubAcct represents the SubAccount field
    'strSubAcct=DW.Utilities.fParseString(strRecord,6,5,vbTab)
    strSubAcct=DW.Utilities.fParseString(strRecord,6,5,",")
    'strLedger represents the Ledger Field
    'strLedger=DW.Utilities.fParseString(strRecord,6,1,vbTab)
    strLedger=DW.Utilities.fParseString(strRecord,6,1,",")
    'strDept represents the dept Field
    'strDept=DW.Utilities.fParseString(strRecord,6,3,vbTab)
    strDept=DW.Utilities.fParseString(strRecord,6,3,",")
    If strField = "00001" or StrField = "1" then
    If strDept = "2" or strDept = "3" or strDept = "4" or strDept = "6" or strDept = "7" or strDept = "8" or strDept = "8" or strDept = "35" then
    JDE_Entity = strField & "." & strDept
    Else
    End If
    Else
    If strField = "00050" or strField = "00055" or strField = "00070" or strField = "00075" then
    If strLedger = "AA" or strLedger = "BA" then
    JDE_Entity = strLedger & "." & strField
    Else
    End If
    End If
    Else
    If strField = "00089" then
    JDE_Entity = strField & "." & strSubAcct
    Else
    End If
    **Else** JDE_Entity = strField
    End IF
    End Function

    This code is really messy and not well structured, so it's no surprise you have an issue. Try the following:
    1) Never have an Else clause in your If statements where you don't actually have an Else condition i.e. line 33, 40 etc
    2) Use a Case statement to replace your outermost If. It will make your code easier to read and probably get rid of your error which will be caused by poorly sequenced/structured If statements.

  • HELP! Reformatted drive with Video source files

    I accidentally reformatted my external drive that contained the source files for all of my iMovie '09 projects/library. I am currently using Data Rescue II to attempt recover. Fortunately (I hope), all of the project files are on my internal drive.
    In case the data recovery doesn't work, does anyone know if I will be able to reimport the video and have the project files recognize the new sources?
    Please don't tell me I should have backed up. In fact this was the very thing I was trying to do. I simply made the biggest bonehead mistake in reformatting the wrong drive. I am so bummed now. All of my family videos.
    I would greatly appreciate any assistance.

    DLR wrote:
    I accidentally reformatted my external drive.. I am currently using Data Rescue II to attempt recover.
    < fingers crossed > ...
    In case the data recovery doesn't work, does anyone know if I will be able to reimport the video and have the project files recognize the new sources?
    I lately made a test, by dragging Events in Finder to a diff. location.. = project kaputt . dragged files back to original location = project fine.
    when you look inside a iM-Project file with the plist-Editor (part of the DevTools), you'll notice as item 62 a 'link', e.g. "~/Movies/iMovie Events.localized/HF100 Import/clip-2008-05-23 23;06;51 1.mov" .. which reads in Human English:
    my import is in the iM-Events folder, named 'HF100 Import', followed by the naming scheme, iM uses automatically..
    => in your case, if you re-import, you HAVE to use the exactly same Event names as before! .. in theory, your re-imports of video could work..
    How many Projects/Events are we talking about.. ?
    ... Please don't tell me I should have backed up. ..
    you should have backed-up ..

  • Package with *many* source files, Stepmix songs for Stepmania

    Hi, I would like to create a package for the Stepmix songs for Stepmania (http://www.stepmania.com/wiki/Download_StepMix_1_Songs and 6 other pages).
    The problem is that there are many songs (about 500) and that there is no way to download them all at once.
    I can see three solutions to this problem :
    - Write a PKGBUILD with all the songs as source files, but the AUR page (and the PKGBUILD) will look terrifying and I'm not even sure that the website and/or makepkg accept PKGBUILDs with hundreds of source files
    - Write an ugly script in the PKGBUILD grep'ing the Downloads pages to find every link which look like a download link and download them
    - Write this ugly script only once to make a tgz containing all the songs, then store this on my website and tell the PKGBUILD to fetch the songs from here, but I'm not sure that the licence of the songs allow me to do that (a priori the copyright holders have only allowed to distribute the songs on the Stepmania website)
    What do you think?
    Fractal

    Stepmania is a rythm game where you have to step on arrows in rythm with the music. To be able to play you must have songs : audio files *and* appropriate simfiles describing the arrows in sync with the music (and those files must be placed in /opt/stepmania or Stepmania will not see them).
    The problem is that Stepmania doesn't include songs, once Stepmania is installed you cannot play because you still have to find songs and this is not that easy to find cool songs to play with.
    That's why I think it would be very convenient to have an AUR package downloading some songs.
    And yes, there are songs better than the others, but this is difficult to know which are better without trying them, so I guess that most users will want to have them all.
    Fractal

  • FDM Import Script

    Hi,
    i'm new making import scripts to FDM. I m making an integration script between SAP and FDM. I m getting information from via web FDM, the problem is when i a m trying to add this information to the workTable. The code is as follows:
    for i = 0 to tData.Rowcount
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName1)
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = RES.PlngCatKey
    rsAppend.Fields("PeriodKey") = RES.PdtePerKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("Entity") = arrayResult(19)
    rsAppend.Fields("Account") = arrayResult(0)
    rsAppend.Fields("Desc1") = arrayResult(0)
    rsAppend.Fields("ICP") = "[None]"
    rsAppend.Fields("Amount") = saldoTotal
    rsAppend.Update
    next
    Whe i execute this script i just receive an error message saying: "Error: Import Failed", nothing appears in the Error log, neither in the work table.
    Can anyone help me? Does anybody know what can i do to add these records in the work table?
    Thanks in advance.
    Regards.

    How are you getting the table name for variable strWorkTableName1?
    I'd suggest taking another look at the admin guide. There is an example import integration script in that document.

  • Why can't I import clips with foreign character file names?

    What the **** man?
    I've got a series of clips with foreign character file names that FCP will not let me access via the Import->File method. Some of the offending character sets include Chinese, Arabic, and a couple of less well known Unicode sets like Cherokee and Inuktitus.
    What's interesting is that I can easily drag the clips onto the TL manually via Finder, but not File->Import. Also, XML passed to FCP that includes foreign character file names is ignored. Seeing as FCP is an Apple product I would have expected proper Unicode support 4 years ago.
    Obviously I don't need a workaround per se... But I'd very much like to know why this is the way it is. We're developers doing development work for FCP so it's important for us.

    We're developers doing development work for FCP so it's important for us.
    Then you have a more direct path to the FCP engineers than this forum. Send them feedback directly. This place is user to user - no apple employees are officially here.
    good luck.
    x

  • How to exclude src.zip with java source files from archive

    Hello All.
    Our team have to prepare our SCs (Sowtware Components) for using outside the company. Meanwhile our source files should be protected. We tried a lot of ways to remove all sources from SCA archives.
    This SC should then be integrated in third-party product.
    Using build options in compartments gives no effect.
    Any ideas?
    Thanks in advance.
    Maxim Maltsev.

    Thanks a lot.
    To make code invisible for customer we should build an assembly with build option "include_sources"=false.
    DCs in such assemblies won't be visible in inactive branch and could be used as non-editable in active branch of track.
    The task is settled - client can modify his own code and use our code only via used DC and their public parts, he is not able to see our code.
    Also customer can not see private sources as he gets assemblies without sources. Remember - public parts of type assembly shouldn't be of Source type.
    Maxim Maltsev.
    Edited by: Maxim Maltsev on Dec 10, 2009 3:53 PM

  • Loosing source location with separate source files

    Hi,
         I am compiling my code with g++ (version 2.8.1) using the -g option. When I use one large source file with all my classes and the main routine in it, I can browse the source in the analyzer GUI. If I split out all classes into separate source files (which I was hoping would help me maintain the code better), I am no longer able to browse the source files. Analyzer complains about the directory where all source files live not being accessible.
    thanks for any input anyone might be able to offer!
    h.

    In Windows XP the path should be
    c:\Documents and Settings\<username>\Application Data\com.adobe.formscentral.FormsCentralForAcrobat\Local Store\data
    You might notice that in that folder the images and forms are saved as separate objects and not all in one file like the FCDT file.
    For local file the FCDT contains all you need. If you ever move to online forms and start collecting data then you will notice that that FCDT doesn't contain the data recieved but only the design of the form. In the case you move the form online then we never save the form locally so there is no way to use a source control to save the form other again than just saving the design format (fcdt file) and not the data received.
    You can vote for a new request here http://forums.adobe.com/community/formscentral?view=idea (click on the "Create an idea" in the top right corner)
    hope this helps
    Gen

  • Frame Skip on MPEG2-DVD Export with 24fps source file to 23.976

    I'm trying to solve an issue that I've been having for the past week on a DVD I'm hoping to get to the factory for replication by New Years.
    My source file is a TRUE 24.00fps 1080p Quicktime Uncompressed (it was shot on film, and originally released on film...that's why it's true 24 instead of 23.976)
    I put it in a 720x480 24fps sequence in Premiere CS5, and exported as an MPEG2-DVD for my upcoming DVD.  I used the following settings:
    Quality 5
    Frame Rate: 23.976
    Field Order: Progressive
    Pixel Aspect Ratio: Widescreen 16:9
    Render At Maximum Depth
    VBR 1-Pass
    Min: 2.8
    Target: 6
    Max: 9
    GOP Settings:
    M Frames: 3
    N Frames: 12
    The resulting DVD always seems fine when I'm playing it, the motion and field order look great.  But in the exact same scene with a heavy-motion steadicam shot through a hallway, there always seems to be a frame skipping.  An entire frame that just goes missing for no apparent reason.  It is not a consistent frame....it changes every time I encode, but it is always within 2 or 3 seconds of the same place in the movie.  The wierd part is the movie doesn't seem to fall out of sync....this frame just disappears.
    Any help would be much appreciated.  This is driving me up a wall!!!!
    Thanks,
    Doron Kipper
    DoronKipper -a t- gmail.com
    www.MisdirectionMovie.net

    1st, you should not put your email in a message, since it WILL be harvested & used by spammers
    2nd, I don't do 24p but isn't there a "pull down" setting you have to use?

  • What to do with MP4 Source Files

    I usually edit avi files, but a friend has asked me to edit a batch of mp4 files that were taken on a little Samsung camcorder. I'm not sure what presets I should use, but nothing seems to look good when I experiment. Any suggestions?

    ATR,
    I used the same project, first to export the MP4 file and then, using the same timeline, burned the DVD.
    So here is the MediaInfo for the first source file:
    General
    Complete name                            : E:\Casa Vacation 2013\SDV_0670.MP4
    Format                                   : MPEG-4
    Format profile                           : JVT
    Codec ID                                 : avc1
    File size                                : 42.4 MiB
    Duration                                 : 36s 670ms
    Overall bit rate                         : 9 704 Kbps
    Encoded date                             : UTC 2003-01-31 16:06:00
    Tagged date                              : UTC 2003-01-31 16:06:00
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : [email protected]
    Format settings, CABAC                   : No
    Format settings, ReFrames                : 1 frame
    Format settings, GOP                     : M=1, N=15
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 36s 670ms
    Bit rate mode                            : Variable
    Bit rate                                 : 9 560 Kbps
    Width                                    : 720 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 3:2
    Frame rate mode                          : Constant
    Frame rate                               : 29.970 fps
    Standard                                 : NTSC
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.923
    Stream size                              : 41.8 MiB (99%)
    Language                                 : English
    Encoded date                             : UTC 2003-01-31 16:06:00
    Tagged date                              : UTC 2003-01-31 16:06:00
    and here (if it's of value) is the MediaInfo for the exported MP4 file:
    General
    Complete name                            : E:\Casa Vacation 2013\CasaVac2013.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media / Version 2
    Codec ID                                 : mp42
    File size                                : 1.75 GiB
    Duration                                 : 1h 18mn
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 3 177 Kbps
    Encoded date                             : UTC 2013-09-18 19:35:46
    Tagged date                              : UTC 2013-09-18 19:35:46
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : [email protected]
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 3 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 1h 18mn
    Source duration                          : 1h 18mn
    Bit rate                                 : 2 983 Kbps
    Width                                    : 720 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 4:3
    Frame rate mode                          : Variable
    Frame rate                               : 29.970 fps
    Minimum frame rate                       : 14.985 fps
    Maximum frame rate                       : 29.970 fps
    Standard                                 : NTSC
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Bottom Field First
    Bits/(Pixel*Frame)                       : 0.288
    Stream size                              : 1.64 GiB (94%)
    Source stream size                       : 1.64 GiB (94%)
    Language                                 : English
    Encoded date                             : UTC 2013-09-18 19:35:46
    Tagged date                              : UTC 2013-09-18 19:35:46
    mdhd_Duration                            : 4719954

Maybe you are looking for

  • HT1212 can i use 2 different ipods on one apple id?

    Hi I have a ipod classic and a new nano, can i use the same itunes account for both? also my son has is own account, can i use any of his songs? Cheers

  • How to install a patch in oracle apps

    Hi, Please provide me the steps to install a patch in oracle apps(unix platform)

  • Document posting in ECC 6.0

    Dear All,      I am posting a document in ECC 6.0, it is throwing error message ' No item category could be determined for account 400005 in chart of accounts INDL'.  What could be the reason and Document splitting is active in my system. Regards, Su

  • Big headaches! Can't get stuff to work!! Help!!!

    I have chased so many bunny trails trying to fix so many things that now I am just dazed and confused.  Let me start at the beginning because now I don't even know what's important and what isn't! 1) moved from dial-up to wireless internet service wi

  • Need mod_jk binary!!

    I need a mod_jk.so binary for Apache 1.3, on Solaris 7. Please do not point me to the Jakarta-Tomcat web site. It is not there, I promise. I need to connect Apache and Tomcat ASAP!!! Right now, I have to use Tomcat as a standalone on port 8080, which