Mapping script issue

Hello experts,
I'm quite new to FDM and Iv'e been trying to write a simple conditional mapping script with no success. for my entity dimension, in most cases, the source is ths same as the target though there are some cases where this does not apply and have to go to a NA_Entity. For example:
SOURCE     TARGET
PE00_0001     PE00_0001
PE00_0002     PE00_0002
PE00_0003     PE00_0003
AL00_0001      NA_Entity
PE00_0004     PE00_0004
CO_HWE        NA_Entity
PE00_0005     PE00_0005
As you can see, all source entities which start with "PE" are equal to the target entity and any other entity not starting with PE should be mapped to the "NA_Entity". I believe it's pretty unefficient to maintain an explicit map so we've decided to create a conditional mapping script (not working yet) which reads as follows:
If Left(varValues(15),2)="PE"
     Then Result = varValues(15)
Else Result ="NA_Entity"
Every time i try to import a file I keep on getting:
Error: An error occurred importing the file.
Detail: Invalid Like Clause: For Dimension Map (ENTITY) and Rule (Peps)
ERROR:
Code............................................. 4026
Description...................................... Invalid Like Clause: For Dimension Map (ENTITY) and Rule (Peps)
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 5416
IDENTIFICATION:
User............................................. admin
Computer Name.................................... CTARESULDESA2
App Name......................................... INT_IECI
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... 10.228.128.168
Database Name.................................... FDM_INTIECI
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... Argentina-EP
Location ID...................................... 758
Location Seg..................................... 3
Category......................................... Reales
Category ID...................................... 13
Period........................................... Nov - 2013
Period ID........................................ 2013-11-30
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
I've followed the script guide and Iv'e tried several scripts, all with no success. The only workaround I've found is maintaining an explicit map where 99% percent of the elements map to themselves and the other 1% map to "NA_Entity", not very maintenance friendly.
Thank you very much for your help
Santiago Ruiz.

You do not mention what release of FDM you are working with, but there should be no need for scripting .
Explicit mappings are the most efficient from a performance point of view, but in view of what you want to achieve then all you need are two 'Like' mapping entries.
the first will be mapping PE* to PE*  and the second entry mapping * to 'NA_Entity' to pick up all the other codes.
Alternatively if you are processing millions of records and have a performance issue, then an alternative might be to change the non 'PE' type records with a script on the import format, but i think the two records should be the easiest.

Similar Messages

  • Firefox is having "Script" issues (Not Responding) und possibly Flash issues?

    Okay, downloaded Firefox for the first time in like a year yesterday. It was working beautifully, oh, how I've missed it. I hate using Google Chrome with a fiery burning passion.
    However, though it was working perfectly yesterday, I have not downloaded anything or got any plug-ins/extensions, whatever.
    Today, however, I can go to www.google.com (on firefox), but if I try to go to my banks website, or imvu.com, or something like that, all the sudden Firefox decides to hang. It freezes und I get that annoying "(Not Responding)" at the top. I have to close out of the browser entirely, open it up und forgo the session restore.
    Some websites are okay, however, it seems many of them aren't.
    I get a script error message, so far the one for imvu.com that popped up was "lookout.bluecava" or something like that. Asked if I wanted to wait for script to respond or if I wanted to stop it. Either way, it ends with me closing out und starting back at google.
    Right now, to ask this question, I had to re-download google chrome, und log in from that browser since Firefox doesn't even want to support it's own support forum! Crazy stuff, right?
    Anyway, since it's having a "script" issue, I went to java, made sure I had the updated java installed on my computer, then I made sure that I had the updated java plug-in. Und I even downloaded the 64bit java for it as well, both the 7u45 or whatever.
    So, my java on my comp und firefox browser are seemingly up to date, und the Add-On thing for Firefox to check if plugins are up to date says they all of them are up to date.
    Still having the issue. The moment I go to imvu or another site that has that issue, it freezes within 10 seconds und that's all she wrote.
    So, I'm really not wanting to go back to Google Chrome for another year, I miss the hell out of Firefox.
    To Add: The issue I am having right now with Firefox is the same issue I had a year ago, when I had to uninstall firefox und go with Chrome in the first place.
    But, since it was acting normal yesterday when I installed it, I figured that it was fixed. Wrong in less than 24 hours.
    Before I submitted this, I decided to hop back onto Firefox und try something.
    I disabled the Shockwave Flash und the Shockwave Director plugins. Now, Firefox is working again.
    Sooooooooooooooooooooooooooooooooo.
    It asks me if I want to install the "flash" plugins needed to view some content on the page (I used imvu.com to try it out after disabling the shockwave), but still runs.
    So, what do I need to do for flash? Or better yet, what's going on with it?
    I downloaded the flash yesterday within half an hour of starting Firefox up after downloading it. Und it worked just fine for hours.
    I shut the comp down, packed it up, went home, come back to work, hop on the net und BAM. All the sudden Shockwave is having issues with Firefox when nothing was done to instigate it? Doesn't make sense.
    Other info:
    Windows 7 Home Premium on HP laptop.

    I will give Firefox 24.1 a try und see if shockwave flash actually works without making it hang und resulting in need of force close.

  • Using Wildcards in Mapping Script

    Hi everybody, im new in FDM and i have some doubts about mapping scripts.
    I have to recreate this Hyperion Translation Rule into FDM:
    ACC_SAP              tm_sap     Reverse Sign         UD4
    N21099Z300     {NULL}     FALSE     CD1
    D31199Z000     {NULL}     FALSE     CD1
    ????99     *     FALSE     CD
    ACC_SAP is the source account
    TM_SAP will be loaded into UD5 (as look up)
    How could i manage with a like mapping?
    I guess using a script but im not sure how to use wildcards within scripts, is it possible?
    Another related question, in a explicit mapping, how can i manage with NULL values if i want to assign them [None] value, do i have to put NULL in th source field?
    BR and thanks

    Thanks KellyDGreen. With the exampl shown is as you say but what if tm_sap has wildcards?
    F.i
    ACC_SAP TM_SAP TARGET_CUSTOM4
    999? 123? 198276
    Suppose that TM_SAP has been stored in UD5. Source dimensions are different from target dimension so i have to do it via script, dont I?
    BR
    Francisco

  • WAD Java script issue after upgrade to 7.3

    Dear all,
    We have just upgraded our system from BW 7.01 to 7.3 SP4. One of the custom web templates in the system uses java script to hide few items on every screen refresh. Post upgrade, this functionality is behaving strangely, as the hidden items automatically get 'un-hidden' on page refresh.
    Please let me know if there are any known script issues in web templates in system upgrade scenarios. Any pointers would be appreciated.
    Thanks,
    Abhishek.

    Pls check out this link
    http://www.google.co.in/url?sa=t&rct=j&q=java%20script%20issue%20after%20upgrade%20bw%20to%207.3&source=web&cd=7&sqi=2&ved=0CEsQFjAG&url=http%3A%2F%2Fcsc-studentweb.lr.edu%2Fswp%2FBerg%2Farticles%2FBIIT_2011%2FBIIT_Amsterdam%2FBIIT_2011_Berg_BW_73_upgrade_v16.pptx&ei=TT7iTtLgJ8LwrQf2oLDJAQ&usg=AFQjCNEUg1EvXM82AmBaGntD4YY7FZwHXw&cad=rja
    Pls assign points if it was useful.

  • OWB 904 doesn't use DB Links in mapping scripts

    I'm having trouble deploying mappings because they don't use the generated DB Links in the mapping scripts.
    Normally when deploying a mapping I get this warning that certainly is correct since it can't find the source table:
    VLD-2771: System privileges may not allow extraction from source ZIPCODE.
    Extract from the mapping script:
    CURSOR "ZIPCODE_c" IS
    SELECT
    "ZIPCODE_DWH"."ZIPCODE" "ZIPCODE",
    "ZIPCODE_DWH"."CITY" "CITY",
    ROWNUM "ROWNUM_ALIAS$$$"
    FROM "AXAPTA"."ZIPCODE" "ZIPCODE_DWH" ;
    Only when explicitly typing the name of the DB link in the configure options of the mapping will it work. But when I do this I get the following warning:
    VLD-1124: Schema and/or Database link physical configuration parameters should not be set for ZIPCODE.
    The version of the code that works:
    CURSOR "ZIPCODE_c" IS
    SELECT
    /*+ NO_MERGE */
    "ZIPCODE_dwh.business8123"."ZIPCODE" "ZIPCODE",
    "ZIPCODE_dwh.business8123"."CITY" "CITY",
    ROWNUM "ROWNUM_ALIAS$$$"
    FROM "ZIPCODE"@"dwh.business.auc.dk@dwh" "ZIPCODE_dwh.business8123" ;
    Shouldn't the mapping script use the DB Link normally or is there an option I have missed? I see in the Reviewers Guide that the target user is granted access to the source (through Public) but won't this only work if both source and target is in the same database?
    Regards
    Bent

    Hi guys,
    I am facing a strange problem. The code generated for my mapping has NOT used the dblinks. My OWB version is 10.1.0.4
    This is my problem in brief.
    I have installed OWB newly and started to do a sample task. I created a very simple one to one table population mapping from source to the target schema. Both are in the same database.
    When i generated the code for the mapping, it gave a warning 'VLD-2771: System privileges may not allow extraction from source EMP'.
    When i checked the code which was generated, i couldnot see any dblinks associated with my source table( which seems strange)
    CURSOR "INGRP_c" IS
    SELECT
    "EMP_SRC_TRG_CONN"."EMPNO" "EMPNO",
    "EMP_SRC_TRG_CONN"."ENAME" "ENAME",
    "EMP_SRC_TRG_CONN"."JOB" "JOB",
    "EMP_SRC_TRG_CONN"."MGR" "MGR",
    "EMP_SRC_TRG_CONN"."HIREDATE" "HIREDATE",
    "EMP_SRC_TRG_CONN"."SAL" "SAL",
    "EMP_SRC_TRG_CONN"."COMM" "COMM",
    "DEPT_SRC_TRG_CONN"."DEPTNO" "DEPTNO_1",
    "DEPT_SRC_TRG_CONN"."DNAME" "DNAME",
    "EMP_SRC_TRG_CONN"."DEPTNO" "DEPTNO",
    "DEPT_SRC_TRG_CONN"."LOC" "LOC"
    FROM "SCOTT"."EMP" "EMP_SRC_TRG_CONN" ;
    In brief this is the process i have done.
    Source schema : SCOTT & Target schema : TRG_SCHEMA
    1) I have created source (for SCOTT) and target(for TRG_SCHEMA) modules.
    2) I have also created DBLinks, Locations and Connector from source to the target locations.
    3) I registered both the source location and target locations.
    4) Validated, Generated and Deployed the Connector from source to the target.
    I was unable to trace the error. Did i miss anything in the configuration? or during the installation of OWB.
    Though it is a very old post, i hope someone can help me out here.
    Thanks in Advance,
    Sri

  • DOM Based Cross-Site Scripting issue in RoboHelp 10

    We're using a WebHelp system originally deplyed using RoboHelp 9.0.2.271, and a recent security scan revealed the DOM based cross-site scripting issue.
    I recently upgraded to RoboHelp 10, migrated my help system to this version, and redeployed the system, but our security scan is still detecting the cross-scripting vulnerability in WebHelp. Wasn't this issue resolved in RoboHelp 10?
    Thanks

    Hi,
    I’m not a security expert, but this script reads the URL of the current topic and redirects to the current topic with a bookmark. This is needed for when the same topic is used in multiple locations in the TOC.
    I’ll ask around about this security issue.
    Greet,
    Willam

  • Flip sign in mapping script

    Hi All,
    is there a possibility to swith the sign in a mapping script.
    So my target for the like mapping = #Script and my script says
    If VarValues(9) < 0 then
    Result = "143100"
    Else
    Result = "222200"
    End if
    Is there a possibility to make the value multiplied by -1 for the first option?
    My other solution is to use 2 separate mappings but i would prefer to use only 1.
    Thanks in advance,
    Marc

    Also you will have to create a logic account to duplicate the source value for the data line in question or you will never hit the second mapping

  • FDM Like Mapping Script for Account

    I am using the following script as a "Like" map for the Account. The import file has account in this format: 123456-Description. I would like to remove everything after the "-" and set the result to just the account number; however, I keep getting an error saying Conditional Map Script Error: Expected 'End' at line(4)
    sParse="-"
    ipos=InStr(varValues(13),sParse)
    If iPos=0 Then Result=varValues(13)
    Else Result=Left(varValues(13),iPos-1)
    End If
    Anyone know how to resolve the error? I tried moving the End If up to line 4, but that didn't help.
    Thanks.
    Terri T.

    The setting of the RESULT must be on its own line of the If statement as follows:
    sParse="-"
    ipos=InStr(varValues(13),sParse)
    If iPos=0 Then
         RESULT=varValues(13)
    Else
         RESULT=Left(varValues(13),iPos-1)
    End If

  • FDM Conditional Map Script Error

    Hi all,
    we trying importing data from EBS to HFM though ERPI by using FDM.
    We used conditional based scripts to importing data from ebs to FDM.
    this scripts used in FDM for ICP dimension between conditional mapping script.script logic is some particular account are related to Intercomapny transaction accounts we have to map to ICP member
    can anyone help me on this:
    this is error :
    ** Begin FDM Runtime Error Log Entry [2011-12-12 15:10:18] **
    ERROR:
    Code............................................. 1014
    Description...................................... Conditional Map Script Error: Expected 'End' at line(2)
    Script:
    If varValues(14)="113401" Then Result="21_ADNIP"
    Else Result="[ICP NONE]"
    End if
    Rule=I1
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 13888
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... ADNIPHYPUAT01
    App Name......................................... FDMHFM
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPUAT
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... HFMGLLOAD
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... May - 2011
    Period ID........................................ 5/31/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    Thanks.
    Srini

    Hi, please try the mapping script again having the "Result=" statement on a separate line, like:
    If varValues(14)="113401" Then
    Result="21_ADNIP"
    Else
    Result="[ICP NONE]"
    End if
    Kind regards,
    Jeroen

  • FDM Mapping script produces result #script

    Hello,
    I am trying to use the following mapping script and instead of getting the result defined in the script it is producing the result #script. It is as if it is taking that as the target rather than processing the script. Has anyone else seen this behavior in FDM?
    strTrgAcct = varValues(14)
    Select Case strTrgAcct
    Case "100900","100925","101310","201690","201700"
    Result = "010"
    Case "104200", "104300", "104500", "104700", "104800", "104900", _
    "105000", "105200", "105300", "105450"
    Result = "060"
    Case "107300"
    Result = "210"
    Case Else
    Result = "[None]"
    End Select

    Hello,
    If you are sure that all the columns are filled out correctly and there is nothing in your user error log; I would then suggest you create an SR to have an engineer review it.
    Thank you,

  • I've used for months but am now so frustrated with the script issue I have uninstalled until I get some resolution. Help?

    I've to change the 10 to 20 solution to help solve the unresponsive script issue. I've tried safe mode. I've tried disabling all add-ons but still have it hang up. I don't seem to face that issue with explorer. Is microsoft sabotaging your efforts?

    Did you also try to disable all plugins?
    See [[Troubleshooting plugins]]
    Create a new profile as a test to check if your current profile is causing the problems<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)<br />
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • LiveCycle ES2, Guides, SSL and IE 8/9 Cross Site Scripting Issue

    I have a guide that is being served up in the workspace.
    This guide works fine in all of the different browser versions provided they go through port 8080.
    If however you enable SSL on your server (port 8443) and serve up the guide in the workspace, the end user can fill the entire form out only to have the browser identify the submit process as a Cross Site Scripting issue.
    This is the result:
    The data is essentially lost and guide disappears.  I had a theory that maybe the submit process might be using the default server port for data submissions (8080) and created a customized submit process with the hardcoded targetURL.
    I tried to test my theory and got the same result.  I then modified my custom submit process to essentially do nothing (Started and ended the process with an abstract activity), and got the same result.
    The only other thing that I could think of, is that the automatically generated action script classes might be hard coded to use default port instead of the SSL port.
    Suggestions?!

    Hi
    You can rise SR for your issue for 5000+ user or you can also can connect wiht your system engineer team for can possible solution as setup IE and deploy it to 5000+ user pcs
    For your other question see below note:
    Recommended Browsers for Oracle E-Business Suite 11i [ID 285218.1]
    Regard
    Helios

  • Need help to write mapping script in OVD

    Hi All,
    I have a requirement to write a mapping script in python that can rename the attributes of OVD.
    ex: cn with mycn, sn with mysn etc.,
    Here is the code I have written to achieve that:
    class MapperAttributeRenameClass(Mapping):
    iattributes = {'rcn':'cn','rsn':'sn','ruserPassword':'userPassword'}
    oattrubutes = {'cn':'rcn','sn':'rsn','userPassword':'ruserPassword'}
    def inbound(self,mapUtil):
    "@sig public void inbound(com.octetstring.vde.chain.plugins.mapper.MapperUtil mapUtil)"
    mapUtil.renameAttribute(self.iattributes)
    def outbound(self,mapUtil):
    "@sig public void outbound(com.octetstring.vde.chain.plugins.mapper.MapperUtil mapUtil)"
    mapUtil.renameAttribute(self.oattributes)
    Can anyone help me how to go about it as I am new to Python?
    Regards,
    Sunil Kumar

    Hi
    If you are unix user...
    you can use script like below:
    # $2 is the output filename, $1 is the .sql script
    runsql()
        sqlplus -s user/passwd/@somewhere <<EOF  > $2
        start $1
        exit
    EOF
    runsql file1.sql logfile1 &
    runsql file2.sql  logfile2 &
    runsql anotherfile.sql logfile3  &
    wait

  • IWeb Script Issues?

    Hi.  I uploaded my website created on iWeb to a new hosting service.  The files loaded successfully (using FileZilla) and my site is supposedly live.  But when I try to open my website using Safari, I get a "Too many redirects occurred trying to open" message from Safari.  A similar message appeared when I tried opening the site with Firefox (I access it online via my hard drive back-up).  My hosting service says my .htaccess has a redirect back to itself; it's a third-party scripting issue.  I'm effectively out of business and I need the site back up and accessible ASAP.  How do I troubleshoot this and correct it?  Thanks. 

    http://www.1-64ModelingGuide.com
    changes to :
    http://1-64ModelingGuide.com
    So check your domainname settings as well.
    And if your webhoster said it might be the htaccess file and you said it might be a 3rd party script, why didn't you check that out first before crying for help in this forum?
    And next time provide clickable links. Copy/pasting on an iPad isn't that great.

  • I'm getting messages of "script issues" when I am using an open tab for FACEBOOK.

    I have an open tab, for MOZILLA FIREFOX AND another tab of mozilla firefox for FACEBOOK. As I'm using facebook, it starts running slower and slower, sticking in place and then finally,... a notice of a "script issue". I've had well over a dozen script issues, with firefox crashing..........

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for

  • Ipod touch 4 days old - not being recognised now on apple mac.  What is going on?

    I am totally disappointed with this Ipod.  I had it all set up a few days ago, which we had to do at home ourselves due to requiring our current passwords etc.   Today it is not recognised on the Apple Mac and the Apple ID cannot be found - it took t

  • Mac and Windows Question

    I don't know if this is the right place for this question, but it's the closest thing I could find to Apple software. As of now, I only own a Dell pc. When I can fork up enough money, I'm going to get a Mac, but until then, I was wondering if there w

  • GUI status items are not displayed

    Hi all, Some parts of gui status are not displayed but some of them are displayed. What is the problem? Thanks. deniz.

  • Mac mini, the best little computer

    I have read so many posts with troubles, just wanted to say I love my new mac mini and hope success to mini owners. I was not sure after reading all the post about- it does have a outdated graphics card, slow, etc. I added the extra 1gb of ram and am

  • Best practices for cleaning up after a Bulk REST API v2 export

    I want to make sure that I am cleaning up after my exports (not leaving anything staging, etc). So far I am DELETEing $ENTITY/exports/$ID and $ENTITY/exports/$ID/data as described in the Bulk REST API documentation Using a dataRetentionDuration when