Differnce b/n Var Char, Text,Formula and Hirerachies?????

Hi bw Experts,
I want to know the diff b/n Variables and in which scenarios they are useful?
Can any one explain me reagarding this so that i dev reports based on these concepts.
Any docs/step by step/or screen shots will be gr8 helpful and highly appreciated.
possible send me links or docs other than help.sap.
will be awaiting for ur replies....
i will Reward points for this.
Thanks in advance!!!
Urs,
Raki.
my mailid is:[email protected]

Hi Raki,
Char Var are used to create pop-up for selection of char values for restrct/filter query content: for example you can create a variable on Cost Center to select one or some of these when executing a query.
Text Var are used to substitute the header column text with the value of the variable selected for the query: for example you can create a text variable on CALMONTH and insert it in Column, so when you execute the query on a particular month the corresponding column will have in header the month you selected in a dynamic way.
Hier Var are used to select a particular Hier for the selected Char. You can also create Node Hier Var to select single nodes of the single hier.
Formula Var are used in particular to obtain values from attributes of a Master Data Char and also to determine Formula on these values: example with Data in Master Data, you can extract this date and make differences with another date stored in cube.
Look in www.service.sap.com/bi and search for variables, you will find a lot of documents.
Ciao.
Riccardo.

Similar Messages

  • Text variable and formula

    Hi,
      Can any one give the scenario for text variable and formula variable?send the documents to mail id <removed>
    Thanks in advance,
    kumar.

    Hi Chandu,
    You can see details here:
    Re: Dynamic population of Text Variables
    /message/2969896#2969896 [original link is broken]
    Hope this helps...

  • SSIS importing comma delimited with double quote text qualifier - Works in VS - SQL Job ignores text qualifier and fails (truncation)

    I've created an SSIS package to import a comma delimited file (csv) with double quotes for a text qualifier ("). Some of the fields contain the delimiter inside the qualified text. An example row is:
    15,"Doe, John",IS2,Alabama
    In SSIS I've specified the text qualifier as ". The sample output in the connection manager looks great. The package runs perfectly from VS and when manually executed on the SSIS server itself. The problem comes when I schedule the package to run via SQL
    job. At this point the package ignores the text qualifier, and in doing so pushes half of a field into the next available column. But instead of having too many columns, it concatenates the last 2 columns ignoring the delimiter. For example (pipes are fields):
    15|"Doe| John"|IS2,Alabama
    So the failure happens when the last half of a field is too large to fit into the next available field. In the case above _John" is 6 characters where the IS2 field is char(3). This would cause a truncation failure, which is the error I receive from the
    job history.
    To further test this I created a failure flow in my data flow to capture the records failing to be pulled from the source csv. Out of ~5000 records, ~1200 are failing, and every one of the failures has a comma delimiter inside the quoted text with a 'split'
    length greater than the next ordinal field. The ones without the comma were inserted as normal and records where the split fit into the next ordinal column where also imported, with the last field being concatenated w/delimiter. Example records when selected
    from table:
    25|"Allan Percone Trucking"|GI6|California --Imported as intended
    36|"Renolds| J."|UI6,Colorado --Field position offset by 1 to right - Last field overloaded
    To further ensure this is the problem, I changed the csv file and flat file connection manager to pipe delimited, and sure enough every record makes it in perfectly from the SQL job execution.
    I've tried comma delimited on the following set ups. Each set up failed.
    SSIS Server 2008 R2 RTM
    DB Server 2008 RTM
    DB Compat 80
    SSIS Server 2008 R2 RTM
    DB Server 2008 R2 RTM
    DB Compat 80
    SSIS Server 2008 R2 RTM
    DB Server 2008 RTM
    DB Compat 100
    SSIS Server 2008 R2 RTM
    DB Server 2008 R2 RTM
    DB Compat 100
    Since a lot of our data comes in via comma delimited flat files, I really need a fix for this. If not I'll have to rebuild all my files when I import them to use pipe delimiters instaed of commas. I'd like to avoid the extra processing overhead if possible.
    Also, is this a known bug? If so can someone point me to the posting of said bug?
    Edit: I can't ask the vendor to change the format to pipe delimited because it comes from a federal government site.

    Just wanted to share my experience of this for anyone else since I wasted a morning on it today.
    I encountered the same problem where I could run the package fine on my machine but when I deployed to a server and ran the package via dtexec, the " delimeter was being replaced with _x0022_ and columns all slurped up together and overflowing columns/truncating
    data etc.
    Since I didn't want to manually hack the DTS XML and can't install updates, the solution I used was to set an expression on the textdelimiter field of the flat file connection with the value "\"" (a double quote). That way, even if the one stored in XML
    gets bodged somewhere along the way, it is overridden with the correct value at run time. The package works fine everywhere now.

  • Reading from a text file and displaying the contents with in a frame

    Hi All,
    I am trying to read some data from a text file and display it on a AWT Frame. The contents of the text file are as follows:
    pcode1,pname1,price1,sname1,
    pcode2,pname2,price2,sname1,
    I am writing a method to read the contents from a text file and store them into a string by using FileInputStream and InputStreamReader.
    Now I am dividing the string(which has the contents of the text file) into tokens using the StringTokenizer class. The method is as show below
    void ReadTextFile()
                        FileInputStream fis=new FileInputStream(new File("nieman.txt"));
                         InputStreamReader isr=new InputStreamReader(fis);
                         char[] buf=new char[1024];
                         isr.read(buf,0,1024);
                         fstr=new String(buf);
                         String Tokenizer st=new StringTokenizer(fstr,",");
                         while(st.hasMoreTokens())
                                          pcode1=st.nextToken();
                               pname1=st.nextToken();
              price1=st.nextToken();
                              sname1=st.nextToken();
         } //close of while loop
                    } //close of methodHere goes my problem: I am unable to display the values of pcode1,pname1,price1,sname1 when I am trying to access them from outside the ReadTextFile method as they are storing "null" values . I want to create a persistent string variable so that I can access the contents of the string variable from anywhere with in the java file. Please provide your comments for this problem as early as possible.
    Thanks in advance.

    If pcode1,pname1,price1,sname1 are global variables, which I assume they are, then simply put the word static in front of them. That way, any class in your file can access those values by simply using this notation:
    MyClassName.pcode1;
    MyClassName.pname1;
    MyClassName.price1;
    MyClassName.sname1

  • Difference between New Formula and Formula Variable

    Can any body explain what is the difference between  New Formula and Formula Variable.
    Thanks

    Hi,
    Formula:http://help.sap.com/saphelp_nw04/helpdata/en/d3/8057f830a911d4b2be0050dadfb23f/frameset.htm
    Formula Variable:If you want use variables in the formulas of a form, you need to use formula variables. You can use formula variables only in form reports, and must define them in the form itself. They can be replaced in the same ways as text variables when you execute the report.
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/8db0b1555411d189660000e829fbbd/frameset.htm
    Bye
    Dinesh

  • Change text size and colour of report values ?

    Hi,
    I have a formula as part of a BEx query in version 3.5 and I'd like to make the values of this formula stand out more by either changing the text size of this one row and/or changing the colour.
    I've already selected the "highlighting" option but this only changes the colour to a light blue colour.
    Does anyone know if it's possible to change the text size and colour of one or more rows of a report?
    Thanks.

    HI Mark,
    Greetings.
    Your requirement can be met by using exceptions. It can not change/increase the text size but it can give you color coding based on the conditions you set while creating query.
    Open your query in Designer and click on exception button on the top menu bar. Define your condition on whatever key figure you want to get the color coding and execute your report.
    Let me know if this is what you were looking for.
    Thanks
    Sachin

  • Numbers for IOS -- How to paste formulas and/or change formatting

    I'm a brand new user of Numbers for IOS (version 5.0.1) on my iPhone...  It was suggested in the iWork > Numbers forum that I check in one of the IOS forums for help with this version of Numbers, and the iPhone forum has a comment to the effect that there are more IOS Numbers users in the iPad forum....  So here's my question:
    I received an email with a cute countdown formula for the new year, =10*9*8+7+6-5+4*321 so I copied it from my email, and pasted it into a cell in Numbers for IOS.  I found that it won't paste at all (the black "Paste" symbol doesn't appear) unless I hit the "T" for text mode, so that's what I did, and I pasted it into the cell of a table.  But it shows up simply as =10*9*8+7+6-5+4*321, not the value of that expression, which is supposed to be 2012.  So I double-clicked a different cell, and selected the = symbol, and then tried to paste the formula into the green bar at the top, but like I said, the only thing that pops up in that mode is the magnifying glass.  So I typed the formula in, using the x in place of the asterisks, and it worked just fine.  So I can use formulas, and I can paste text into cells, but I just can't paste text into cells and have Numbers interpret the text as a formula.  Any hints?  Thanks!

    This isn't a pro answer but I found if you use the + cursor and select all cells and the set font, color or whatever you want, when you then go to specific cells, it will be the way you want.

  • I have a SharePoint list, that list contains text attachments and image attachments.

    Hi All,
    i have a SharePoint list, that list contains text attachments and image attachments.
    Now, i want to retrive only image attachments from that list.
    here my doubt is, how to check is it image attachment or text attachments
    foreach(var attachment in attachments)
    //what i have to write here
    Thanks in advance!

    Hi,
    While looping for an attachments . Check for attachment extension with (.jpg,png,etc..,).then you can do whatever you want
    SPListItem myListItem = list.GetItemById(1);
    foreach (String attachmentname in myListItem.Attachments)
    //Check for extension
    Please mark as an answer/helpful , if is useful to you.
    Mahesh

  • How can FMS create a text file and write data into it in the Server application folders?

    Recently, I writed a programe about creating a text file and writing data into it in the server application folder. My code is as following:
               var fileObj = new File("/MyApp/test.txt");
               if( fileObj !=  null)
                      if(fileObj.open( "text", "append"))
                            fileObj.write( "                                                      ———— Chat Info Backup ————\r\n" );
                            fileObj.close( );
                            trace("Chat info backup document :" +  fileObj.name + " has been created successfully!");    
    But when I run it, FMS throw the error as following: File operation open failed  ;  TypeError: fileObj has no properties.
    Can you help me ? Thanks in advance.
    Supplement: The text file named test.txt doesn't exist before create the fileObj, an instance of File Class.

    Is MyApp the name of the application directory, or is it a child of the application directory? If myApp is the app name, just use test.txt as the path flag in the file constructor.

  • Help needed regarding reading in a text file and tokenizing strings.

    Hello, I require help with a task I've been set, which asks me to read in a text file, and check the contents for errors. The text file contains lines as follows.
    surname:forename:1234:01-02-06
    I can read in the file, but dont know how to split the strings so each token can be tested (ie numbers in the name tokens)
    However, I am not allowed to use regex functions, only those found in java.io.*
    I think i should be putting the tokens into an array, but have had no luck so far in doing so. Any help would be appreciated.

    public class Validator {
         public static void main(String args[]) {
              String string = "Suname:Forename:1234:01_02-06";
              String stringArray[] = string.split(":");
              System.out.println (validateLetters(stringArray[0]));//returns true
              System.out.println (validateNumbers(stringArray[3]));//returns false
         static boolean validateLetters(String s) {
                 for(int i = 0; i < s.length(); i++) {
                 char c = s.charAt(i);
                 if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z')) {
                         return false; //return false if one of characters is other than a-z A-Z
                 }//end if
                 }//end for
                 return true;
         }//end validateLetters
         static boolean validateNumbers(String s) {
                 for(int i = 0; i < s.length(); i++) {
                 char c = s.charAt(i);
                 if ((c < '0' || c > '9') && (c != '-')) {
                         return false; //return false if one of characters is other than 0-9 or -
                 }//end if
                 }//end for
                 return true;
         }//end validateNumbers
    }

  • Realtime scenarios for text &formula variable with replacementpath

    Please search the forums before posting
    i want real time scenarios for Text & formula variable with replacement path separately & how to solve it
    Edited by: Arun Varadarajan on Mar 15, 2009 7:26 PM

    Hi Karen,
    This require a text Variable with customer exit which reads the User entry formula variable and populate the coloum heading
    Hope you got it
    Regards
    Happy Tony

  • Cant stand the changes to my Maxx HD with the KitKat upgrade, text colors and keyboard terrible. How can I remove the upgrade and go back to what I had?

    How can I remove this new Kitkat upgrade and go back to what I had. I cannot deal with the color on text screen and the keyboard is terrible. Can take back all the stupid pictures they added for texting. Just need it back to what it was.

    Hasn't any business ever heard of the term.
    IF IT AINT BROKE DON'T FIX IT.

  • What is difference between TEXT mode and BINARY mode?

    Hi,
              What is difference between TEXT mode and BINARY mode? In TEXT mode what is "ENCODING DEFAULT".
    OPEN DATASET wl_filename FOR INPUT
                              IN TEXT MODE ENCODING DEFAULT.
      OPEN DATASET wl_filename FOR INPUT
                              IN BINARY MODE .

    Hi vishnu,
    1. files like .TXT files are considered to be text,
       and other files like .EXE . DOC etc are binary files.
    2. In text files, after each line, there are two
       internal binary characters
      one for line feed and another one for newline.
    3. But, we don't have any meaning for it,
       when we view such files in notepad, for eg.
       Hence, to only get the understandable content,
       we should open such TXT files, in text mode.
      (we can also open them in binary mode,
      but we will get two extra characters after each line,
       and such two extra characters are meaningless
      for interpreting the text)
    4. In binary mode, each byte by byte is considered,
       without any meaning.
    regards,
    amit m.

  • [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)

    Dear Experts,
    i am getting the below error when i was giving * (Star) to view all the items in DB
    [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)
    As i was searching individually it is working fine
    can any one help me how to find this..
    Regards,
    Meghanath.S

    Dear Nithi Anandham,
    i am not having any query while finding all the items in item master data i am giving find mode and in item code i was trying to type *(Star) and enter while typing enter the above issue i was facing..
    Regards,
    Meghanath

  • Error in SQL Query The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query

    hi Experts,
    while running SQL Query i am getting an error as
    The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    T2.LineText
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,T2.LineText
    how to resolve the issue

    Dear Meghanath,
    Please use the following query, Hope your purpose will serve.
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    CAST(T2.LineText as nvarchar (MAX))[LineText]
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,CAST(T2.LineText as nvarchar (MAX))
    Regards,
    Amit

Maybe you are looking for

  • Control File and SPFILE Autobackup command struck

    O.S Version: Linux Version "Red Hat Enterprise Linux Server release 6.2 (Santiago) Linux version 2.6.32-220.13.1.el6.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Thu Mar 29 11:46:40 EDT

  • Problem with a path in a servlet

    hello, I have a servlet - jsp pair that I am trying to deploy. This is an example I found online and I am trying it out using Tomcat 4.1 however I keep getting errors and hope someone can tell me what I am missing. I have compiled the servlet success

  • Implements the method defined in interface

    I defined a interface such as interface IAuthorizer{ boolean checkPermission(Set<IAttribute> subj, Set<IAttribute> Permission); In java 5, why does compiler not accept the method checkPermission signature of the following class class Auth1 implements

  • Searching not possible

    Hi We are in SRM 3.0 and ECC 6.0, we are facing one problem regarding the search criteria.. When the user in Account Assignment select order and search for a wild search then it's giving popup message as No values found sameer

  • Can't open and print pdf files

    I can't download or open pdf files. says if reader is running try again   also can't uninstall 8.3      says patch package can't be openned  verify this is a valid package and  it exists and I can access it. also contact vendor to verify this is a va