Space Impact of string Accounts

Hi,
I am considering adding 4 -5 Accounts of type string in a Planning Application (System 9). Each cell in a data block is 8 bytes but is this also true for string Accounts? Can anyone please tell the storage impact of having string Accounts in planning application?
Regards,
Marium Jamal

I take it you are talking a text type, anyway it makes no difference as the text is stored on the planning relational side, essbase only stores numerical values, so it doesn't matter what data type you set in planning it will always be the same logic for blocks in essbase. If you add a stored member to a dense dimension then it will increase the block size.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • PreparedStatement space and empty String

    Hi, I have this problem:
    PreparedStatement bookedQtyPS = null;
    String qry="SELECT * from djwsearch where djwitem=?;
    bookedQtyPS = conn.prepareStatement(qry);
    if(item.equals(""){ //item is an empty String
    bookedQtyPS.setString(1," "); // I set space instead of empty String
    }else{
    bookedQtyPS.setString(1,item);
    My problem is that I need to set space insteadOf empty String, but I think that I can not use PreparedStatement to do this. I have performance problems (my query is much more complicated than this one) so I choose PreparedStatement and not Statement.
    How can I do? Is this bug solved using PreparedStatement?
    Thanks.

    you can do it with the help of PreparedStatement.
    Here the type of field(djwitem) and setmethod is should be match..i mean if the type of ur field is String then you need to use the setSting method.
    you can do one thing specify one string variable.
    String space=" ";
    and now put this sapce variable at the second parameter of setString method.

  • How to replace multiple occurences of space in a string to a single space?

    How to replace multiple occurences of space in a string to a single space?

    Hi,
    try this code.
    data : string1(50) type c,
              flag(1) type c,
              dummy(50) type c,
              i type i,
              len type i.
    string1 = 'HI  READ    THIS'.
    len = strlen( string1 ).
    do len times.
    if string1+i(1) = ' '.
    flag = 'X'.
    else.
    if flag = 'X'.
    concatenate dummy string1+i(1) into dummy separated by space.
    clear flag.
    else.
    concatenate dummy string1+i(1) into dummy.
    endif.
    endif.
    i = i + 1.
    enddo.
    write : / string1.
    write : / dummy.

  • Replacing inconsistant spacing with single space in a string

    is it possible to replace multiple spaces within a string with one space only. Number of spaces is different all the time.
    say one field contains strings with imbedded spaces
    I need to replace all these values so that there will be only one space between words.
    For Eg.
    Input                             Expected Result
    aaa    bbb                       aaa bbb
    ww                vv             ww vv
    ww ss      kk                    ww ss kk
    [/code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    user11253970 wrote:
    I am in Oracle 9i :( I can not use reg exp
    Assuming strings do not contain CHR(0) (character with ascii code 0):
    SQL> SELECT  'aaa          bbb  aaa bbb' str,
      2          replace(replace(replace('aaa          bbb  aaa bbb',' ',' ' || CHR(0)),CHR(0) || ' '),CHR(0)) new_str
      3    FROM  dual
      4  /
    STR                                 NEW_STR
    aaa          bbb  aaa bbb           aaa bbb aaa bbb
    SQL> SY.

  • Stripping extra white space from a string

    I am trying to strip extra spaces from a string, so it there are 2 or more spaces between a word I want to remove all but one. I am trying the following code
    getStringTwo().replaceAll("/\s+/is","");
    but all I get is an error saying Invalid escape sequence
    Thanks
    G

    >
    This strips out all the whitespace. I ended up
    getting round it by walking through the string and
    checking the values of each char and comparing that
    to the next value. What a wast of effortt A small modification of my earlier post gives -
    public class Test040320a
        public static void main(String[] args)
            String str = "this    is       a \t test";
            str = str.replaceAll("\\s+"," ");
            System.out.println(str);
    }

  • Getting rid of trailing space from a string variable

    I need to delete trailing blank spaces in a string variable. Is there a method that can do the job?
    Thanks

    String.trim(). Example: " booh! ".trim() returns "booh!".

  • Delete Additional while spaces in a String

    Hi Friends,
    How do we delete additional white spaces inbetween a String.
    Eg:-
    String a = "hello     everyone     out       therer";should be printed as
    "hello everyone out there"What could be the optimized solution for this?
    Thanks.

    beejum wrote:
    It works. Thanks a lot.Note that \s also matches new lines. So when you are doing this on text that has line characters, those new lines will also be replaced by a single white space.
    Also, "\\s+" will match single spaces which then get replaced with a single white space, so you could do "\\s{2,}" which will match 2 or more white space characters, or "[ ]{2,}" if you don't want to replace new lines (and tabs).

  • Value Blank/space is invalid for account assignment element fund

    Hello!
    I created an invoice with several items linked to funds reservation.
    when the invoice has 2 line items, the payment run is executed without problem.
    when the invoice has more than 3 line items, the payment run is executed with error.
    The message error (message number F6804) is "value blank/space is invalid for account assignment element fund".
    I dont know where i should enter a valid value for fund.
    Thanks for your kind help!
    Chiachen

    Hi Chiachen,
    The problem occurred because the functional area is not inherited from the Purchase order during MIRO posting. As a result, error message F6841 is issued.
    There are 2 main programs for the FM derivation:
    1. Function Module FM_DERIVE_ACCOUNT_FROM_COBL
    2. Program LFMCOBLF06
    The latest notes which affects these 2 programs are 1244381 and 1247982.
    Kindly implement these notes using SNOTE.
    During this process, it should also bring in all the other pre-requisite notes. Do not worry if the
    symptoms described in the notes do not match yours. What's more important is to bring the coding in your system up to date. Please retest MIRO after the notes are applied. Let me know the results.
    Check also the notes 17941 and 982511.
    I hope it helps
    Best Regards,
    Vanessa Barth.

  • How do I remove extra white spaces in a string?

    How do I remove extra white spaces in a string?
    trim() removes before and after spaces.
    If I have a string "This is Test"
    I want to remove extra spaces between words and also I want to keep SINGLE space
    between words. So output should be "This is Test". Thanks.

    replaceAll dosen't support with my version. Actually this works..............!!!!!!!!! Thank you.
                        java.util.StringTokenizer st = new java.util.StringTokenizer(brn, " \t");
                        StringBuffer buf = new StringBuffer();
                        while (st.hasMoreTokens()) {
                             buf.append(" ").append(st.nextToken());
                        String brn1 = buf.toString().trim();

  • Delete white spaces between two strings

    hi!
    How do I remove white spaces between two strings. I have attached file for reference.
    Thanks
    Attachments:
    untitled4.JPG ‏62 KB

    You first need to define what you consider to be "whitespace". Is it just a space? Is it spaces and linefeeds? What about carriage returns? Tabs? Anything non-alphabetic and/or non-numeric?
    As mentioned previously, the Search and Replace String can be used to delete characters by wiring an empty string to the replace string input. The following, for example, will delete all spaces:
    If you need to delete other whitespace characters, just call it again on the resulting string.
    Message Edited by smercurio_fc on 06-02-2008 09:25 AM
    Attachments:
    Example_VI1.png ‏3 KB

  • How to add space before a string a variable.

    Hi,
    If i have a string variable  ' 80 '.I want it as '    80 ' ie some space appended before it.
    I used  concatenate '   '    variable into variable..Its not working.How to do it??
    Thanks.

    check below code
    Concatenate ' ' string into string respecting blanks.
    <b>
    ... RESPECTING BLANKS</b>
    Effect
    The addition RESPECTING BLANKS is only allowed during string processing and causes the closing spaces for data objects dobj1 dobj2 ... or rows in the internal table itab to be taken into account. Without the addon, this is only the case with string.
    Note
    With addition RESPECTING BLANKS, statement CONCATENATE can be used in order to assign any character strings EX>text - taking into account the closing empty character - to target str of type string: CLEAR str. CONCATENATE str text INTO str RESPECTING BLANKS.
    Example
    After the first CONCATENATE statement, result contains "When_the_music_is_over", after the second statement it contains "When______the_______music_____is________ over______" . The underscores here represent blank characters.
    TYPES text   TYPE c LENGTH 10.
    DATA  itab   TYPE TABLE OF text.
    DATA  result TYPE string.
    APPEND 'When'  TO itab.
    APPEND 'the'   TO itab.
    APPEND 'music' TO itab.
    APPEND 'is'    TO itab.
    APPEND 'over'  TO itab.
    CONCATENATE LINES OF itab INTO result SEPARATED BY space.
    CONCATENATE LINES OF itab INTO result RESPECTING BLANKS.
    Rewards if useful.........
    Minal

  • Trying to ignore spaces when comparing strings

    I am writing a program where an answer entered by a user is compared to an answer held in a database. I have got it working but I can't get it to ignore 'spaces' or 'carriage returns'. Please can you have a look at my code and let me know what I can do to get this working.
    Thanks in advance
    Jes
    public class DBHandler {
    public DBHandler(String aQuestNum, String studentAnswer) {
    JOptionPane jop = new JOptionPane();
    JOptionPane jop2 = new JOptionPane();
    try {
    DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());
    Connection aConnection = DriverManager.getConnection("jdbc:odbc:EnquiryTest", "", "");
    Statement aStatement = aConnection.createStatement();
    ResultSet aSet = aStatement.executeQuery ("SELECT * FROM EnquiryTestTable2 WHERE questionNum = '" + aQuestNum +"'");
    while (aSet.next()) {
    String tutorAnswer = aSet.getString("TAnswer");
    int test = tutorAnswer.compareTo(studentAnswer);
    if(test == 0)
    jop2.showMessageDialog(null,"Right Answer Well Done!");
    else
    jop.showMessageDialog(null,"Wrong Answer Try Again!");
    aConnection.close();
    catch (SQLException e) { System.exit(9);}
    }

    My suggestion is to loop through the student answer ( make a copy of it if you need it for other purposes ) and remove all the spaces and carriage returns and then compare them. Here's an example:
    StringBuffer tempBuffer( studentAnswer );
    while( tempBuffer.indexOf( " " ) != -1 )
    tempBuffer.deleteCharAt( tempBuffer.indexOf( " " ) );
    You could use this to also check for newline characters \t and carriage returns ( not sure what ascii character is used for that ). Also the String method .trim() will remove all whitespace before and after the string ( but not say, spaces between words ).

  • What is the impact on gl account

    we have wrongly uploded some asset balances, asset register is not matching with gl ledger. after we found that there are some wrong entries in asset balances. now we want to make some reverse entries in asset gl accounts with OASV, but what is the impact on opening gl account, example; we want to credit the asset gl account and debit the opening balance gl account. now in ledger open.gl account shows nill balance. if we reverse the transactions and by posting some other values what is the impact on this initial opening gl account,
    regards,

    hi,
    thnaks for reply, but we cannot reverse as it is initially uploaded directly in asset reconciliation account, moreover, we are already in production and we are yet to run the depriciation from april, finanlly we decided to post the difference amount in reconciliation accounts with OASV, but till now opening upload account shows zero balance, once we post the difference amounts directly in reconciliation accounts this initial upload gl account shows the carryforward balance from march. is there any other alternative,

  • Limiting the hard drive space on a managed account

    I'm setting up a managed account and want to limet the amount of hard drive space the person gets to use
    mac minni solocore   Mac OS X (10.4.9)  

    Once again, a macosxhint comes in handy. The hint describes one way of converting an existing account:
    http://www.macosxhints.com/article.php?story=20031104223355900
    Setting up a new account is easier. Just create a disk image of the desired size, making sure the name of the mounted volume is the same as the user's "home" folder (the name of the disk image doesn't matter). Uncheck the "Ignore ownership..." checkbox in "Get Info", and make sure the user owns both the mounted volume, and the dmg file. Place the disk image in the top level of the user's "home" folder, then change the ownership of the user's folder to "system" (root).
    Then, from an "admin" account, enter the command below in "/Applications" > "Utilities" > "Terminal.app", substituting the user's short name for 'username', and the correct name of the disk image:<pre style="overflow:auto; padding: 5px; width: 500px ; font-size: 10px; border:1">sudo /usr/bin/nicl . -create /users/username home_loc '<home_dir><url>file://localhost/Users/username/diskimagename.dmg</url></home_dir>'</pre>But as I mentioned, there are drawbacks to using disk images and it isn't all that effective unless you hunt down every last place on the system where the user has the privileges to save files (including everybody else's "Drop Box" folders. I only mentioned it because it does get brought up as a strategy.

  • Counting SPACES in a string field.

    Hi ,
           can any one plz send me the code for counting the number of spaces in a particular string.
       like if we have the value as 100 00 0000.  we must get the out put as 2 .

    try this...
    DATA : str TYPE string VALUE '100 00 0000',
           str_len TYPE i,
           str_len2 TYPE i,
           space_count TYPE i.
    str_len = STRLEN( str ).
    CONDENSE str NO-GAPS.
    str_len2 = STRLEN( str ).
    space_count = ( str_len - str_len2 ).
    WRITE :/ space_count.

Maybe you are looking for

  • Cancel Purchase Order

    Dear Expert, Can you give me the steps as to how to cancel purchase order, thanks.

  • Number of Item segments determine number of occurences in 1:N multi mapping

    I'm trying to split MATMAS05 to multiple occurences of MATMAS05 1:N. The target MATMAS05 I have duplicated it a few times depending on the number of plants. If E1MARCM-WERKS = 1234 then assign MATMAS05 -> MATMAS05 /ns0:Messages/ns0:Message1/MATMAS05=

  • Email injection question

    The only fields that would be a threat for email injection would be fields that get included in the email header, right? Other fields, like a textarea field in the form is not a problem if I'm understanding this threat correctly.... Murray --- ICQ 71

  • Layer Style/Blending options applying to all layers ie.. drop shadow angles

    I am having a problem in CS6 Photoshop where I never experienced this in CS3-5. I am designing a website and when I apply a drop shadow or inner shadow to a layer through layer style/blending options in the layers tab. It applys the same angle etc..

  • Regarding user session...

    Hi, How will you determine/set the duration before a user session gets expired in an application on Oracle 10g release 3? Is there a specific entry which is to be made in a file? Thanks and Regards, Sarab