Adding formulas via ADS file - How to Handle Members with Spaces

greetings,
I'm building onto an existing dimension using an ADS file in EPMA where some of the members have formulas. The problem is the ADS load is not consistent with the double quotes where at times the double quotes are retained after deployment, while at other times they are not, thus giving a formula error in Essbase.
The ads file shows something like this: IF(@ISIDESC (""SPECIFIC ACCOUNT"")) ""JAN2012""; ELSE ""JAN2013""; ENDIF
In Essbase, the quotes around SPECIFIC ACCOUNT are removed: IF(@ISIDESC (SPECIFIC ACCOUNT)) ""JAN2012""; ELSE ""JAN2013""; ENDIF
We're on 11.1.1.4.
I've tried various things, such as surrounding the double quote with single quotes, nothing seems to work... Any help is greatly appreciated...
cg
Edited by: cg on May 9, 2012 5:41 AM

Does this document in Oracle Suport help - Double Quotes Around Member Formulas Are Deleted When The ADS file Is Imported [ID 1101093.1]     
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • How to handle dbms_xmldom with no data values.(no_data_found error in dom)

    hi,
    i have below block,
    DECLARE
    doc dbms_xmldom.DOMDocument;
    node dbms_xmldom.DOMNode;
    elem dbms_xmldom.DOMElement;
    cur_node dbms_xmldom.DOMNode;
    root_elem_data dbms_xmldom.DOMElement;
    root_elem_tab dbms_xmldom.DOMElement;
    root_node_data dbms_xmldom.DOMNode;
    mode_elmn dbms_xmldom.DOMElement;
    mode_node dbms_xmldom.DOMNode;
    mode_text dbms_xmldom.DOMText;
    doc1 DBMS_XMLDOM.DOMDOCUMENT;
    root_node_data1 DBMS_XMLDOM.DOMNODE;
    child_document DBMS_XMLDOM.DOMDOCUMENT;
    child_rootnode DBMS_XMLDOM.DOMNODE;
    V_CLOB CLOB;
    v_doc CLOB;
    v_EMP CLOB;
    v_output_filename VARCHAR2(300) := 'SPOOL_DIR/'||'EMP_XML_FILE.xml';
    l_xmltype XMLTYPE;
    BEGIN
    doc := dbms_xmldom.newDOMDocument;
    node := dbms_xmldom.makeNode(doc);
    dbms_xmldom.setversion(doc, '1.0');
    dbms_xmldom.setCharset(doc, 'UTF8');
    elem := dbms_xmldom.createElement(doc, 'PartnerInfo');
    dbms_xmldom.setAttribute(elem,'xmlns','EMP');
    cur_node := dbms_xmldom.appendChild(node, dbms_xmldom.makeNode(elem));
    mode_elmn := dbms_xmldom.createElement(doc, 'EMPLOYEE');
    mode_node := dbms_xmldom.appendChild(cur_node,dbms_xmldom.makeNode(mode_elmn));
    BEGIN
    SELECT value(e) INTO l_xmltype
    FROM TABLE(XMLSequence(Cursor(SELECT * FROM EMP1 where EMPNO=7501))) e;
    child_document := DBMS_XMLDOM.newDOMDocument(l_xmltype);
    root_node_data1 := dbms_xmldom.importNode(doc,dbms_xmldom.makeNode(dbms_xmldom.getDocumentElement(child_document)),TRUE);
    root_node_data1 := DBMS_XMLDOM.appendChild(root_node_data, root_node_data1);
    EXCEPTION
    WHEN OTHERS THEN
    Dbms_Output.Put_Line('Error in SELECT stmt(UC_PARTNER_MS):::'||'error::'||SQLERRM);
    END;
    dbms_lob.createtemporary(v_doc, true);
    dbms_xmldom.writeToClob(doc,v_doc,'UTF8');
    v_EMP:= v_doc;
    dbms_xmldom.writeToFile(DOC,v_output_filename,'UTF8');
    dbms_xmldom.freeDocument(doc);
    --Dbms_Output.Put_Line('THE OUTPUT IS::'||V_EMP);
    EXCEPTION
    WHEN OTHERS THEN
    Dbms_Output.Put_Line('Error in SELECT stmt(UC_PARTNER_MS):::'||'error::'||SQLERRM);
    END;
    The xml file is 'EMP_XML_FILE.xml'
    <empno>U++kYmcVuGchxbh+++++++++++++++1+</empno>
    <empname>J</empname>
    suppose the empno 7501 is not available in our emp table,
    i got error
    ORA-03113: end-of-file on communication channel
    how to handle xmldom with no data values.
    by
    siva

    hi,
    please give the solution
    by
    siva

  • Duplicate check via BAS (ADDRESS_SEARCH)-- how to handle non-crm customer?

    Dear all,
    I'm implementing a duplicate check and using the BADI Address_search. Within this BADI I use the method "Address_Search" for calling a third party software tool with customer information. This tool checks whether the entered customer is already available in CRM AND in other system in our company holding.
    The method provides me a list of all found duplicates (incl. non-crm customers)
    My problem is that I need to fill a export table "ex_t_search_result" (type adkey_indx_tab) of this method which expects ADRC number. For the CRM customer it is not a problem. I can figure them out by table BUT020 and the customer number. But for the non-crm customer I do not have a ADRC number.
    I know there are some methods for creating addresses in BAS (function group SZA0), but actually Im not sure how to handle them.
    Does anybody of you had faced a similar issue?
    Thanks for your help
    Firat C.

    hello,
    BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
    br,
    dez_

  • Load of hierarchies from R/3 via flat file: how to generate the flat file?

    Hello,
    I need to build a custom extractor for a hierarchy. The hierarchy exists in R/3, but there's no standard datasource to extract it. I know I can upload it via flat file, but I have a question related to this.
    Does anyone know if there's a program (standard or custom by SAP) or function module in R/3 which allows me to generate that flat file, with the required format by BW?
    I would appreciate very much any help about this topic
    Thanks in advance

    In CO-PA there is a way to generate Hierarchy Extractors (see Note 422175 for more details). With a Custom Program you generate a specific DataSource.
    Hope it helps
    GFV

  • Load of hierarchies from R/3 via flat file: how to generate that flat file?

    Hello,
    I need to build a custom extractor for a hierarchy. The hierarchy exists in R/3, but there's no standard datasource to extract it. I know I can upload it via flat file, but I have a question related to this.
    Does anyone know if there's a program (standard or custom by SAP) or function module in R/3 which allows me to generate that flat file, with the required format by BW?
    I would appreciate very much any help about this topic
    Thanks in advance
    Patricia

    Hi Patricia,
    if there is, I'd love to get hold of it.
    I have only ever managed this by extracting the relevant data into Excel and then doing a long series of VLOOKUPS to establish parent and child ids.
    I have a sample spreadsheet I can send you if you like.
    Regards,
    Mike

  • Some basic questions how to handle Exceptions with good style

    Ok I have two really basic Exception questions at once:
    1. Until now I always threw all exceptions back all the way to my main method and it always worked well for me but now I am sitting at a big project where this method would explode the programm with throwings of very many exceptions in very many methods. So I would like to know if there is a more elegant solution.
    2. What do I do with exceptions that will never occur?
    Lets say I have a method like this:
    void main() {calculate();}
    void calculate()
    sum(3,5);
    void sum(int a,int b)
    MathematicsA.initialise("SUM"); // throws AlgorithmNotFoundException, will never occur but has to be handled
    }So what is the most elegant way?:
    h4. 1. Ignore because it will not happen
    void sum(int a,int b)
    try {MathematicsA.initialise("SUM");}
    catch(AlgorithmNotFoundException) {}
    }h4. 2. Print stacktrace and exit
    void sum(int a,int b)
    try {MathematicsA.initialise("SUM");}
    catch(AlgorithmNotFoundException e)
    e.printStackTrace();
    System.exit();
    }h4. 3. throw it everywhere
    void main() throws AlgorithmNotFoundException, throws ThousandsOfOtherExceptions  {}
    void calculate()  throws AlgorithmNotFoundException, throws HundretsOfOtherExceptions
    sum(3,5);
    void sum(int a,int b) throws AlgorithmNotFoundException
    MathematicsA.initialise("SUM");
    }h4. 4. Create special exceptions for every stage
    void main() throws MainParametersWrongException
    try {calculate();}
    catch(Exception e)
      throw new MainParametersWrongException();
    void calculate()  throws SumInternalErrorException
    try {sum(3,5);}
    catch (SumInternalErrorException)    {throw new CalculateException();}
    void sum(int a,int b) throws SumInternalErrorException
    try
    MathematicsA.initialise("SUM");
    } catch (AlgorithmNotFoundException e) {
    throw new SumInternalErrorException();
    }P.S.: Another problem for me is when a method called in a constructor causes an Exception. I don't want to do try/catch everytime I instantiate an object..
    Example:
    public class MySummation()
         Mathematics mathematics;
         public MySummation()
                 mathematics.initialise("SUM"); // throws AlgorithmNotFoundException
         void sum(int x,int y)
              return mathematics.doIt(x,y);
    }(sorry for editing all the time, I was not really sure what I really wanted to ask until i realised that I had in fact 2 questions at the same time, and still it is hard to explain what I really want to say with it but now the post is relatively final and I will only add small things)
    Edited by: kirdie on Jul 7, 2008 2:21 AM
    Edited by: kirdie on Jul 7, 2008 2:25 AM
    Edited by: kirdie on Jul 7, 2008 2:33 AM
    Edited by: kirdie on Jul 7, 2008 2:34 AM

    sphinks wrote:
    I`m not a guru, but give my point of view. First of all, the first way is rude. You shouldn`t use try with empty catch. "rude" isn't the word I'd use to describe it. Think about what happens if an exception is thrown. How will you know? Your app fails, and you have NO indication as to why. "stupid" or "suicidal" are better descriptions.
    Then for the second way, I`ll reccomend for you use not printStackTrace(); , but use special method for it:
    public void outputError (Exception e) {
    e.printStackTrace();
    }It`ll be better just because if in future you`d like to output error message instead of stack of print it on GUI, you`ll need change only one method, but not all 'try' 'catch' statements for changing e.printStackTrace(); with the call of new output method.I disagree with this. Far be it from me to argue against the DRY principle, but I wouldn't code it this way.
    I would not recommend exiting from a catch block like that. It's not a strategy for recovery. Just throw the exception.
    Then, the third way also good, but I suppose you should use throws only if the caller method should know that called method have a problem (for example, when you read parametrs from gui, so if params are inccorect, main method of programm should know about it and for example show alert window)."throw it everywhere"? No, throw it until you get to an appropriate handler.
    If you're writing layered applications - and you should be - you want to identify the layer that will handle the exception. For example, if I'm writing a web app with a view layer, a service layer, and a persistence layer, and there's a problem in the persistence tier, I'd let the service layer know what the persistence exception was. The service layer might translate that into some other exception with some business meaning. The view layer would translate the business exception into something that would be actionable by the user.
    And in all other cases I suppose you should use the fourth way. So I suppose it`s better to combine 2,3,4 ways as I have mentioned above.I don't know that I'd recommend special exceptions for every layer. I'd reuse existing classes where I could (e.g., IllegalArgumentException)
    Sorry, I can give you advice how to avoid problem with try-catch in constructor. :-(You shouldn't catch anything that you can't handle. If an exception occurs in a constructor that will compromise the object you're trying to create, by all means just throw the exception. No try/catch needed.
    You sound like you're looking for a single cookie cutter approach. I'd recommend thinking instead.
    %

  • How to Handle forms with J2EE?

    Hi, I am currently working on a project that needs to handle a lot of form inputs.
    I needs to find out how can i storage a big chunck of text from the form to the database.
    I was thinking perhaps i can create a text file for the text and store the file name in the database for every entry.
    Is that possible with J2EE technology?

    I am suppose to build a Job Search site. Jobseekers usually will not to copy and paste their resume into a textbox and the form will just store everything in the textbox. I believe a resume is definitely a very big data.
    An alternative will be to upload the file but i have no idea how can i achieve that.

  • How to handle directories with special characters in their name

    I can't figure out how to recode the second clause of this function to handle directories like one named "[]"
    function Get-DiskUsage {
    # parse and pray (but it does accept directory []
    dir |
    ? { $_.psIsContainer } |
    $size = ((@(cmd /c dir /s $_.name)[-2])[25..39] -join '')
    if ($size[14] -eq ' ') {
    $size = ' ' + ((@(cmd /c dir /s $_.name)[-2])[25..38] -join '')
    $name = $_.name
    ' ' + $size + ' ' + $name
    # object oriented, but it does not accept directory []
    Get-ChildItem -Directory |
    Select-Object @{ Name="Size";
    Expression={ ($_ | Get-ChildItem -Recurse |
    Measure-Object -Sum Length).Sum + 0 } },
    Name

    Here is the function with additional functionality to count bytes in the files in the directory itself as well as subdirectories, and accept an optional argument to specify the target directory.  I wish there was a better way
    to do this without modifying and later restoring $pwd
    function Get-DiskUsage {
    # Discovers how much space is allocated in the directories at and below
    # the current directory
    # Inspired by a version from Windows PowerShell Cookbook by Lee Holmes
    # http://www.leeholmes.com/guide
    # The change to parse ] and [ correctly in a directory name was created by Rhys W Edwards
    # http://social.technet.microsoft.com/Forums/en-US/f4f0a133-8c4d-4089-8047-274dbc03567b
    # if there is an argument, then validate it as an actual directory and set $pwd to it
    if ($args.length -gt 0) {
    if ((Test-Path -Path $args[0] -PathType Container) -eq $False) {
    return
    $pwdsave = $pwd
    cd $args[0]
    # count of bytes in the files in the directory itself
    (Get-ChildItem | Measure-Object -property length -sum) |
    Select-Object @{Name='Size';Expression={$_.Sum}},@{Name='Name';Expression={$pwd}}
    # count of bytes in the files in the subdirectories
    Get-ChildItem -Directory |
    Select-Object @{
    Name='Size';
    Expression={
    ( $_ -replace '\[','`[' -replace '\]','`]' |
    Get-ChildItem -Recurse |
    Measure-Object -Sum Length).Sum + 0 }
    },Name
    # restore $pwd is needed
    if ($args.length -gt 0) {
    cd $pwdsave

  • How to handle security with Auto-Versions and Time Machine?

    I've upgraded to OS X Lion, which of course now has the new automatic "versions" system.
    Today, I created a text file in TextEdit, containing highly sensitive data that I must keep absolutely secure (well, you know -- as best I can.) The file was eventually copied to an encrypted sparse disk image (.dmg) and the original on my desktop deleted trashed and emptied.
    But before that happened, Lion had already saved two copies of the file through the new versions sytem --and-- one copy in regular old Time Machine! So much for keeping the file secure. (OK -- not "copies" but delta data. Whatever. )
    EDIT: OK ... I found how to "Delete all backups ..." from within Time Machine. (I feel silly for not finding that before!) But the real question here relates to manual and auto-save versions from the likes of TextEdit and any residual data that may leave lying around, despite the file seemingly having been deleted.
    My questions should now be fairly obvious ...
    Does "Delete all backups" from within TimeMachine also delete all data from the "versions" system? One would assume so. But I don't like to assume.
    Can one somehow pre-emptively flag a file to not be recorded by versions or Time Machine?
    Someone in some post noted that a file could be "locked" to prevent these issues altogether. But I can find no informtaion about such a thing, either by further googling or poking around in menus locally.
    EDIT: Good grief! You spend ages trying to find something, then you post on here and it magically appears. You can click the title bar of TextEdit to produce a pull-down (that's new!), which shows an option to "Lock".
    So this one is just about answered by myself -- except for the part about whether "version delta" info is also removed when "Delete all backups" is used from within Time Machine.
    Any help will be much appreciated. Thanks.
    Bryan.

    If you're dealing with highly sensitive data, you should enable FileVault on your primary and backup volumes. That's the only way to ensure that all copies of your files will always be encrypted. Needless to say, you have to be very sure you won't lose the password. Optionally, you can store an alternate decryption key on Apple's servers, but then you have to trust Apple.
    That said, in my opinion it's too soon after the release of Lion to trust FileVault completely.

  • Verbatim disk drive historically used only for time machine backups. Recently i added some other media files to use some of available space without partitioning, the disc now refuses to mount in finder despite appearing in disk utility. Repair fails. HELP

    Sorry to elaborate a bit more.
    I have used time machine since owning my mac book pro with no issues. i keep the timemachine backups on an external hard drive made by Verbatim. This has not external power source.
    Recently i decided to use up some of the available space on the external verbatim disk drive to store some movie files which were sitting on my macbook pro.
    Therefore i created a new folder outside of the time machine backup folder and stored the movie files in there.
    From then on Time machine failed... and a few days later i noticed it was not mounting in 'finder'
    Therefore i used disk utility to see if it was recognising it. Which i was. However when i try to repair it the repair process fails.
    In disk utility i am presented with 1 TB Samsung HN M10 which has a child called Verbatim HD.
    The 1TB Samsung hardware appears fine, but the verbatim disk i am unable to fully verify and fix.
    Does this mean i have lost all my back ups?
    Have I lost all the media that i put on there?
    Is there any way to fix this?
    Any help would be appreciated.
    didier07...

    To summarize: You used an external Verbatim HD for your TM backups. Then, you stored some movie files on the "spare" space on the Verbatim drive. Now, Disk Utility isn't being recognized, and repair is disabled. Your home Samsung drive is working fine, but the Verbatim cannot be verified.
    The problem, I believe, is that the external Verbatim drive wasn't partitioned. There should be two partitions: one for TM backups, the other for video. That way, you can perform backups, and still retain some space for video or somesuch.
    Frankly, I don't know how to fix this except through the following. (1) Erase the Verbatim drive, (2) Create a new blank space and format it, (3) Make two partitions - one for backup, the other for video. (4) Run TM through one partition, but switch to the other for your videos.  The better solution might be to have one dedicated drive (perhaps the Verbatim) for backups, and another dedicated drive for video backups; that way, you'll have plenty of space for expansion.
    I hope someone will correct me if I'm incorrect, but I believe you've essentially lost your backups and media. I don't know how you can retrieve that clump of the now-undifferentiated data on the Verbatim drive. To retrieve any lost data, you're going to require another external drive that's larger in capacity, as well as data recovery software; don't expect encouraging results. If you're desperate, there are firms like Drive Savers that can offer a more comprehensive solution - at a cost.
    Post if you have questions, or additional concerns!

  • How to handle sessions with two severs on one machine?

    All,
    I am having a problem with session cookies being overwritten when I host two apps on one machine running WebLogic 8.1 The apps are http://myserver:7300/app1 and http://myserver:7400/app2, and each runs in its own server.
    Users will often access both apps at once, in two browser windows. If the windows are different threads in the same process, the sessions collide. For Internet Explorer, this isn't usually a problem since clicking on the shortcut multiple times launches different processes by default. Some browsers (Firefox, etc.) won't let you have two windows under different processes. Attempts to launch a second window 'detect' the existing process and appear to spawn a new thread. When this happens there appears to be no way for the users to use both apps at once.
    I know this is happening because of the way session cookies are stored in the browser process' memory. The session cookies appear to me to be 'keyed' by the host name or ip address of the server. Does anyone know of a setting in WebLogic so that this 'key' includes the port or context root? Is this even something which can be controlled on the server side?
    Thanks for any help,
    Brian

    Not quite sure what your intent is, but if you want to avoid a clash how
    about giving each application a different default session cookie name.

  • How to handle Column with Adobe Output Designer 5.7 ??

    Hello,
    I have to handle lists of articles with 2 columns pages.
    1 article = 1 title + 1 text.
    When the data has filled up Column 1 on page 1, it will go to the top of Column 2, on page 1.
    When the fist page is filled then it goes to Page2 Column 1.
    I tryed to modify the preamble but I 'm not able  which is the best option :
    - group !OnOverflow
    - Intelligent pagination commands : \position
    - group!OnBOF
    - group!OnEntry
    - group!OnExit
    It doesn't work !!!
    Could you help me ??
    Thanks in Advance
    Sylvain

    Look here: http://www.adobe.com/products/server/outputdesigner/overview.html
    There is a link at the top to have Adobe contact you.

  • How to handle form with more than one page in struts

    Hai,
    i have more than one page in my struts web apps. each page has a form & i have submit button @ last page. I navigate between these pages using titles. data has to exist when i come back from another page(i.e i am in page1 i have some fields called name & address as textfield, i move to page2 & then i go back to page1 @ that time i should have the name & addess values that i entered previous in the corresponding textfield) & finally when i submit need to get values form all these pages.
    Plz tell me how to do this.

    Hi prasadmca ,
    1.Try to store those value in session variable
    2. or else store those value in DB

  • How to Handle Data with Icons

    I'm trying to create a directory of showroom locations and the type of products that they carry. I need an efficient way to manage the data (like an Access database) but I need to represent the product categories with icons. My team has drawn the icons in Illustrator and I have considered using a utility to create a custom icon font, but those custom icon fonts are web-fonts only and it appears that they cannot be used in the database directly.  The final output needs to be in a printable format. Any suggestions on how to solve this? Do I need someone to write a custom script to run in InDesign?

    Hard to say without seeing the layout, but perhaps Data Merge would work-- you can place images using data merge. Another possibility is to use some sort of text symbol, then use Find/Change to replace with contents of the clip board after copying an icon.
    Or make your own font with a better utility: Indiscripts :: IndyFont

  • How to handle node with in a node of component controler context

    I want to create node within a node in the context of component controller. Now in the doInit method of the Component Controller I want to populate the node structure. How to do that? because in the parent node I can populate its attribute but there is no setter method for the child node , by which I can set the child to the parent node. can anybody help me ..
    I have tried by using the setAttribute method of the parent to add the child. for that two parameter I have passed one are child node name and the other one is the child node object(populated one)
    rgds,
    Soumen

    Hi Soumen,
    When we create the node itself, we need to associate it with the parent node. The following lines of code will help you to create a node(singleton, 1..1 cardinality) under a parent node:
    Assumptions for the following code are:
    1) The name of the parent node is 'parent_node'.
    2) The cardinality of 'parent_node' is 1..1 or 1..n. If you set the cardinality starting from zero, you need to explicitly create an element and then set the leadselection before using this code.
    IWDNodeInfo NodeInfo = wdContext.nodeParent_node().getNodeInfo().addChild("child_node",null,true,true,false,false,false,true,null,null,null);
    IWDAttributeInfo info = NodeInfo.addAttribute("child_Attribute" , "ddic:com.sap.dictionary.string");
    wdContext.nodeParent_node().getChildNode("child_node",wdContext.nodeParent_node().getLeadSelection()).getCurrentElement().setAttributeValue("child_Attribute","Test Value");
    wdComponentAPI.getMessageManager().reportSuccess(" The value set is ::"+wdContext.nodeParent_node().getChildNode("child_node",wdContext.nodeParent_node().getLeadSelection()).getCurrentElement().getAttributeValue("child_Attribute"));
    Hope this helps,
    Best Regards,
    Nibu.

Maybe you are looking for

  • Problem in running TreeTable component with Myfaces

    Hi, I am trying to run treeTable component of adf with Myfaces. The tag is rendered but not functioning properly. It shows one level expanded as mentioned below : > H1 // H1 has 2 related records +> H2 // H2 has 3 related records +> H3 //H3 has 1 rel

  • IMac configuration

    Hello. I've recently received a configuration for an iMac and I'm a little bit confused. iMac 21.5 - inch.Dual core i5(2.7 Ghz,3MB)/8 GB DDR3 1600 Mhz,HDD - 500 GB - 5400 RPM,256 GB Flash,Intel Graphics 5000,Camera FaceTime HD,Slot Card SDXC,10/100/1

  • When will the ability to Air Display my desktop to my Apple TV become available?

    I know that I can Air Display to my iPad from my computer and then Air Play to my Apple Tv, but this seems like too much of a hassle and would just slow the connection feed. I would believe it is a simple process to add and would be thrilled to show

  • ISE Sponsor Portal Questions!!!

    Hi Team, Few questions!! Can we integrate ISE with Safenet(Token) for VPN access using Inline Posture? 2. When we create user account in Sponsor portal in ISE. By Default Where does the user gets created, In internal database of ISE  or in Active Dir

  • Need Screen exit

    Hi Frnds, my requirement is to add custom fields to VA01 transaction 'Additional data B' tab. so please let  me know if any screen exits available for this and if possible detailed steps also. thanks n regards, KP