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,

Similar Messages

  • Runtime-Error after deploying a mapping with the generated script

    For example a very easy scenario:
    1. Create a table and a view in a DB-schema, witch ist registered as WB-target-schema with the following scripts:
    create view v1(c1) as select 'a' c1 from dual;
    create table t1(c1 varchar2(1));
    2. Import the table and the view into a OWB-module
    3. Create a mapping ‘m1’
    4. Drag and drop view and table into the mapping
    5. Draw an arrow from the view-column to the table-column
    6. Save and close the mapping
    7. Mark the mapping in the ‘Design Center’ and klick the ‘Generate’-Button
    8. Save the generated script ‘M1.pls’ to file
    9. Run the script in SQL*Plus, connected with the target-schema (without using the Control Center Manager)
    => very easy right now ;-)
    10. Start the mapping with the following script will produce the following error
    SQL> declare
    2 v_status varchar2(100);
    3 begin
    4 m1.main(v_status);
    5 end;
    6 /
    declare
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "OWB_OWN.WB_RT_MAPAUDIT_UTIL", line 1027
    ORA-06512: at "SCOTT.M1", line 2048
    ORA-06512: at line 4
    If i delete or comment the four WB_RT_MAPAUDIT_UTIL-calls - it work´s fine!
    But is this a good advise?
    What exactly does the wrapped package ‘WB_RT_MAPAUDIT_UTIL do?
    Thanks
    jwehner

    I just ran into the same problem myself. I used the same technique of saving the generated OWB script to file and then compiling it through sqlplus. When I used the "Deploy" option for the mapping, then the problem went away. So when OWB is deploying the code it seems to be setting something internally that doesn't get set when you simple compile the PL/SQL. I don't know of any workaround to this. I will need it eventually, since I don't want to use the UI to deploy to various test environments and production. Maybe the built-in scripting language is the way to go.

  • Write the results script of results log pane to XLS or CSV file with VBA.

    Hi,
    How can I write the results script of results log pane to XLS or CSV file with VBA code or something? I tried so hard but i can't.
    Thanks

    MoGas,
    This is actually not a trivial process. You need to use the results object and code it to write to your file (it is described in the help files).
    e-Tester automatically saves the results log as a text file so you may just want to stick with that for simplicity.

  • Logging OWB mapping execution in Shell script

    Hi,
    I am executing a OWB mapping from a shell script like this
    $OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," ","
    I want to log this mapping execution process into a file.
    Please let me know if this will work:
    $OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," "," >> LOGFIL.log
    I will just be using this log file to track all the execution and use it for logging purpose.
    If this wont work, please tell me the proper way to do this...
    Thanks.

    Avatar,
    ">>" is the Unix operator that will redirect output and append to a particular file, so what you have should work if you're executing it from the shell prompt. Although I don't know specifically what OWB_SQLPLUS and MY_WAREHOUSE are.
    In my company, we have the call to the owb script inside another script. For example, file x contains the following line:
    sqlplus repository_user/pwd@database @sqlplus_exec_template.sql repository_owner location task_type task_name custom_params system_params
    Then at the prompt, we enter:
    nohup x > x.log &
    And the mapping or workflow executes.
    Jakdwh,
    Are you redirecting your output to a file so you can see why it's returning a '3'? The log file will usually tell you where the error occurred. I don't know what your input parameters for your mapping is, but the script is pretty picky about the date format. Also, even if you don't have any input parameters, the "," still has to be sent into the script.
    Hope this helps,
    Heather

  • Launch application according to script/question result

    Hello
    I would like to install an application via ZENworks, but I need to ask the user if he wants to install it or not?
    Can I ask this to the user in a script and then launch another application (or the same) only if the user selected 'Yes' for example? or is possible to do it another way?
    Thanks

    Adelpicc,
    > I don't "need" it. But for the application object, with the pre-launch
    > script, there's a field for the scripting engine and one for the
    > extension. So I don't know what to put execpt cmd or wscript. Is there a
    > scripting engine to use your code (and specially the command "TERM")?
    >
    See the docs:
    "Script Engine Location The script engine determines the script commands
    and scripting language you need to use. If you do not define a script
    engine in the Script Engine Location field, Application Launcher uses the
    Novell ClientTM as the script engine (if the workstation has the Novell
    Client installed), which means that you can use most Novell Client login
    script commands."
    Ie, leave it blank and it will use the Client login script processor.
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • FDM mapping in ERP Integrator

    Hi, all of you
    I'm now thinking of the way to connect Oracle EBS 12.1.1 and Oracle Hyperion Financial Management, Fusion Edition 11.1.1.3.0 with ERP Integrator.
    In the introduction section in ERPI admin guide, ERPI is mentioned as a module of FDM.
    However, as far as I read the later sections in the guide, FDM is needed only if the user wants to use "FDM mapping."
    Is my understanding correct, and EBS and HFM is connected only with ERPI (without FDM)?
    And, if you know the advantage of using FDM mapping (I couldn't understand, actually), please tell me.
    Thanks in advance
    Yoshiki

    FDM is not required.
    The same type of mappings can be done in ERPI and FDM. For example 3 accounts in the g/l for coffee, soda, snacks map to one in HFM account.
    Using ERPI you will need more in the way of IT skill sets where FDM is constructed more for the Finance user to maintain.
    Not that it is that difficult, but moreover you want to buy FDM because the internal controls available would cost you a lot more to script, test, validate, and implement outside of this packaged solution.

  • FDM Mapping SPLIT/TRIM/JOIN fields

    Hi All
    I am using FDM to Transform a flat file to a new data file. I am a newbie in FDM.
    Can anybody tell me the syntax for trimming/splitting the source field in to the target file in FDM mapping.
    For Example:
    In my source, the feild 'Product' has string "uranium FGIM (10010)
    But on the target file, I need only the product code '10010' How do i trim this feild to get the desired output file.
    Kindly let me know the syntax of the mapping.
    Thank you,
    JK

    You can either do this as part of the mapping process or you can use an import script to parse out the desired value during the import.
    If you do it in the mapping simply use your original full product string as the source and set the trimmed value as the target i.e. using explicit maps
    In the import script use logic similar to your example to parse out the portion of the original product string you wish to pass as the source value. However you must ensure this logic is generic and will work consistently over all product strings.
    From your criteria I imagine the mapping approach would be the simplest and easiest to manage solution

  • Export FDM maps

    Hi,
    We have a requirement where in we need to export FDM map to a .txt file.
    we have explicit mapping as well as like map which is '*' mapped to 'None'.
    The issue is when we export maps for a location, we need to have explicit maps as well as the source members which are mapped to 'None', instead of *
    Eg: Product original map will be
    src tar
    1001 100100
    1002 100200
    1003 100300
    * None
    suppose if my data file has 5 records
    1001
    1002
    1003
    1004
    1005
    As per defined mappings, my final product mapping would be
    src tar
    +1001       1000100+
    +1002       1002000+
    +1003       1000300+
    +1004       None+
    +1005       None+
    I need above records to be loaded to text file. (Basically, * in original map should be replaced with the actual members based on data file.)
    Is there any way I can get these records in FDM or should I need to write any script to achieve this. If yes, any suggestions.
    This is little urgent and any suggestions on this woud really help me..
    Thanks
    Edited by: 995155 on May 8, 2013 1:02 PM
    Edited by: 995155 on May 8, 2013 1:04 PM

    The output will be completely dependent on the last source file imported to the location in question. You would have to source the data from the tDataSeg table associated wih the location. You would then have write a custom script which queried this table to retrieve the source and target values for the period and dimension in question to be written to a text file

  • Initiating batch scripts from Maxl Script Editor in Admin Console??

    Guys,
    Is it possible to initiate batch scripts from Maxl script editor in Admin Console.
    I dont want to automate the scripts as my data loading process can happen at any time.
    Thanks in advance
    A

    Hi A,
    I'm not sure what you're asking? Do you want to run a batch of Maxl scripts, or a batch file, or a single Maxl Script? Why do you choose to use the Admin console to do this? Could you run what you're trying to run in batch from the command line?
    Executing MaxL and MDX Scripts
    To execute a MaxL script or an MDX script:
    Open or create the script.
    From the server drop-down list on the toolbar, select the Analytic Server to execute the script against.
    The drop-down list contains only Analytic Servers that are displayed in your Enterprise View. For more information about connections, see Connecting to Analytic Servers in MaxL and MDX Script Editors.
    Specify how errors should be handled during execution. See Setting MaxL and MDX Execution Options.
    Specify how you want results to be displayed in the Results tab. See Viewing MaxL and MDX Results.
    If the script contains variables, specify how undefined variables are resolved during execution. See Resolving Undefined Variables.
    To execute the entire script, right-click and select Execute from the pop-up menu.
    To execute only part of the script, highlight the statement or statements that you want to execute, right-click, and select Execute from the pop-up menu.
    The script executes against the specified Analytic Server, and the results are displayed in the Results panel.Regards,
    Robb Salzmann

  • Inter-script communication and script cloning

    How does a calling script pass information about itself to a script it calls via a tell statement? I'd want to pass the name and path of the calling script's application file, among other things. The called script would then talk back to the calling script, and so forth. Must this be done explicitly by, say, having the called script invoke a script object in the calling script, or can information about the calling script be passed by the call itself?
    Also, how would one get a script application to clone a copy of itself? Would having the Finder just make a copy of the application file from within the script itself work?
    Thanks for any insights.

    I saved the following as an application and ran it as an application (outside the Script Editor!) and it 'cloned' itself as expected.
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Finder" to duplicate (path to me)</pre>Another interesting feature of script objects, however, is that you don't need to duplicate scripts with the Finder to get multiple script objects. The preferred method is to load the same script into multiple variables of the calling script, and then assign different properties to each new instance of the called script.
    You can even do this with scripts that you define within the calling script itself, or with particular handlers or scripts defined in other files. I've rarely needed to go that far in my own scripting adventures, but I've done it before. More frequently I just use the much simpler run script command to pass parameters and return results from a called script file. See this thread for info on that:
    http://discussions.apple.com/message.jspa?messageID=1163768

  • Call Photoshop script from Indesign script CS4 JS

    Hi, I open Photoshop linked file from InDesign in Photoshop and I need same InDesign script to run Photoshop script on the file. How I can call the Photoshop script from InDesign script.
    Thank you very much for your help.
    Yulia

    Thank you, Kasyan.
    800 lines of script is little be intimidating.
    What we are trying to achieve is to open jpgs in Photoshop and resave them as tiffs and replace same jpg with corresponding tiff in Indesign as it was placed before.
    Is there a way to call Photoshop from Indesign through appleScript.
    I have most of the script done for Indesign and I have Photoshop shript ready that saves jpgs as tiffs done. I am only missing the part where I can call this existing Ph. script from Indisign.
    We prefer not to use BridgeTalk if possible, because we have a lot of programs open and running in the same time, and would like to avoid to open one more program (BridgeTalk).
    Thank you very much for your great help.
    Yulia

  • BPM Message Mapping: "Cannot produce target element /ns1:BAPI...."

    Hi,
    A scenario File - BPM - BAPI call was developed, as described in blog 'RFC scenario using BPM' cfr. link
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    The Mapping is as follows:
    MT_EDB_MATERIAL_REQ (1:1) --> BAPI_MATERIAL_EXISTENCE_CHECK (1:1)
    MATNR (1:1) -
    > MATERIAL (1:1)
    When executing the scenario, an error appears in the trace of SXMB_MONI, step 'Request Message Mapping'
    Cannot produce target element /ns1:BAPI_MATERIAL_EXISTENCECHECK. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd....
    I tried the following:
    1) import the XML-file into the testmapping: executed successfully
    File:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_EDB_MATERIAL_REQ xmlns:ns0="http://agfa.com/SD_EDB">
    <MATNR>15P6X</MATNR>
    </ns0:MT_EDB_MATERIAL_REQ>
    2) Removed the mapping on node level and left mapping only on element level (material): same error
    3) Activated the message mapping, interface mapping, determinations, etc again...:same error
    4) Removed the Interface Mapping and created it again: same error
    5) Compared the version ID of the Interface Mapping/message mapping in the Monitor trace with the version ID of the IR and saw that there was a difference.
    After the CPA full cache, SXI_CACHE full refresh and object refresh in the IB Administration, the differences remain, and also the error....
    Anybody an idea ?

    Hi
    >>>Cannot produce target element /ns1:BAPI_MATERIAL_EXISTENCECHECK. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd....
    The error clearly says that one of the occurrence value  for the target node mentioned is not coming from the source during mapping. The easiest way to solve the problem is as follows
    <b>
    First Execute the mapping as pointed out by "Raj" and the following steps.
    </b>
    1. Goto the Mapping Editor
    2. Double click on the target node that is causing the problem here BAPI_MATERIAL_EXISTENCECHECK.
    3.  Right click on the same node and select "DisplayQueue".
    4. View the Queue.
    5. YOu will find "Suppress" entries, which means a value is expected but no value is coming in.
    6.Go from right to left and check each node in the mapping and you will be able to trace where the suppress node comes from and take appropriate action
    regards
    krishna

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • End script error message: Script:chrome//wrc/content/overlay.js:1149

    I get an unresponsive script error message asking me if I would like to end script now.
    Script:chrome//wrc/content/overlay.js:1149
    Firefox freezes and I have to end the program in task manager. Please help!

    The name "wrc" mentioned in the chrome URL is usually a hint to which extension is causing such an issue.<br />
    You didn't list the extensions, so madperson wasn't able to give more precise instructions.
    If it does work in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Save a script or copy a script with SQL Script  editor

    Hello,
    I try to rename a script in the script repository I've loaded using the upload command.
    I enter the new script name in the text field and save with the new name as the pdf doc explain (page 18-8).
    It does not create any new script in the repository.
    Also when i make a change and save it does not save the modification and the last modification date remains the upload date.
    Can you help me ?
    Thx.
    Jean-Paul

    Scott,
    Thx for your help. I use Application Express 3.1.0.00.32 and the document I refer is Application Express User’s Guide Release 3.1 E10499-01 chapter 18 page 18-8 "Copying a script".
    What I do is the following :
    1) upload a file name pks_test with encoding scheme 'Western European ISO-8869-1' (to preserve accentuation characters used in the french language)
    2) Edit it then modify it in the editor then save it.
    3) The re-open it : the modification made at previous step has disapeared !
    4) Change the name from pks_test to test_pks and the name is not changed.
    Also the 'Last Updated' info is updated as if there were no change since the
    script creation time.
    If i do the same steps with the Hosted version of APEX (thx to Oracle) all work
    fine.
    There is a difference between the 2 environment :
    my local (in France) display text in english (Home/Application Builder/SQL workshop ...)
    the hosted (somewhere in the world) display text in french (Page d'accueil/Application Builder/SQL workshop ...)
    Thx for the help

Maybe you are looking for