Query like matrix

Hi,
I need menu_name, form_name. If more than 1 submenus, how to do that?
This is query
SELECT fr.responsibility_name, fm.menu_name, fme.description menu_description, fff.function_name,
ff.form_name, sub_menu.menu_name sub_menu_name,
sub_menu.function_name sub_function, sub_menu.form_name sub_form_name
FROM fnd_responsibility_vl fr,
fnd_menus_vl fm,
fnd_menu_entries_vl fme,
fnd_form_functions_vl fff,
fnd_form_vl ff,
(SELECT fm1.menu_id sub_menu_id, fm1.menu_name, fme1.prompt menu_prompt,
fme1.description menu_description, fff1.function_name, fff1.description function_description,
ff1.form_name, ff1.description form_description
FROM fnd_menus_vl fm1, fnd_menu_entries_vl fme1, fnd_form_functions_vl fff1, fnd_form_vl ff1
WHERE fm1.menu_id = fme1.menu_id(+) AND fme1.function_id = fff1.function_id(+)
AND fff1.form_id = ff1.form_id(+)) sub_menu
WHERE responsibility_id = 50004
AND fr.menu_id = fm.menu_id(+)
AND fm.menu_id = fme.menu_id(+)
AND fme.function_id = fff.function_id(+)
AND fff.form_id = ff.form_id(+)
AND fme.sub_menu_id = sub_menu.sub_menu_id(+)
ORDER BY entry_sequence
Thanks in advance.
Mano

Your help would be appreciated..

Similar Messages

  • Can we have a query like

    Hi friends,
    I would like to know if this could be possible
    we have some 20 business like bus_ind, bus_usa, bus_jap...
    I have to do the below query each of the business
    for bus_ind
    SELECT COUNT(*)
    FROM bus_ind
    WHERE
    workdate BETWEEN TO_DATE('01/01/2008','DD/MM/YYYY') AND TO_DATE('31/12/2008','DD/MM/YYYY') AND
    workid NOT IN (6,7) AND
    NOT EXISTS (SELECT 'X' FROM bus_ind WHERE somecol = workid);
    instead of having 20 such query i was trying to see if there is a possibility to have a table like
    shytest
    id, tbl
    1 bus_ind
    2 bus_jap
    3 bus_usa
    and a single query like
    SELECT COUNT(*)
    FROM (select tbl from shytest where id=1)
    WHERE
    workdate BETWEEN TO_DATE('01/01/2008','DD/MM/YYYY') AND TO_DATE('31/12/2008','DD/MM/YYYY') AND
    workid NOT IN (6,7) AND
    NOT EXISTS (SELECT 'X' FROM bus_ind WHERE somecol = workid);
    Thanks
    -vish

    According to your requirnment there should be only one table for all the bussinesses with different partitions for all the bussiness.
    For now you can also create one veiw for all the business.. & fire you all query on that
    create or replace view business_view as
         select 'bus_ind' as business_loc, col1, col2, ... from bus_ind union all
         select 'bus_usa' as business_loc, col1, col2, ... from bus_usa union all
         ...Or you can also use Dynamic sql as all other are suggesting.
    Regards
    Singh

  • How to use a query in matrix data retrive

    hai  everybody
    how to use a query in matrix data retrive...
    pls ..

    If u have created a UDT to store the data then U can retrive the data through recordset.
    oRecordset.doquery("SQL Statement")
    If u have taken the DB Data source to Manipulate then
    then type
    oMatrix.flushtoDataSource
    then
    U can retrive the data through DB Data source.
    -Manmath

  • CAn we write a query like this

    CAn we write a query like this?
    If not how can this be changed?
    select col1,col2,col3.col4
    from table 1
    where col1,col2 in(select col1,col2 from table2)

    Or it may be identical:
    SQL> CREATE TABLE t1 (c INT NOT NULL);
    Table created.
    SQL> CREATE TABLE t2 (c INT NOT NULL);
    Table created.
    SQL> INSERT ALL
      2  INTO t1 VALUES (rn)       
      3  INTO t2 VALUES (rn)
      4  SELECT rownum AS rn FROM user_tables WHERE rownum <= 15;
    30 rows created.
    SQL> BEGIN                                       
      2  DBMS_STATS.GATHER_TABLE_STATS(user,'T1');
      3  DBMS_STATS.GATHER_TABLE_STATS(user,'T2');
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM t1
      2  WHERE  EXISTS
      3         ( SELECT 1 FROM t2 WHERE c = t1.c )
      4 
    SQL> @xplan
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |    15 |    90 |     5 |
    |*  1 |  HASH JOIN SEMI      |             |    15 |    90 |     5 |
    |   2 |   TABLE ACCESS FULL  | T1          |    15 |    45 |     2 |
    |   3 |   TABLE ACCESS FULL  | T2          |    15 |    45 |     2 |
    Predicate Information (identified by operation id):
       1 - access("T2"."C"="T1"."C")
    SQL> SELECT * FROM t1
      2  WHERE  c IN
      3         ( SELECT c FROM t2 )
      4 
    SQL> @xplan
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |    15 |    90 |     5 |
    |*  1 |  HASH JOIN SEMI      |             |    15 |    90 |     5 |
    |   2 |   TABLE ACCESS FULL  | T1          |    15 |    45 |     2 |
    |   3 |   TABLE ACCESS FULL  | T2          |    15 |    45 |     2 |
    Predicate Information (identified by operation id):
       1 - access("T1"."C"="T2"."C")

  • Hihaving a query like that who has done the Transport? How can i trace who

    having a query like that who has done the Transport? How can i trace who has done the transport (Import).
    I have tried with following steps but unable to find the right person.
    1. Go to TMS and disply the appropriate queue.
    2. Select menu path: Goto>Import History.
    3. Select menu path: Edit> Dipaly More.
    4. This will give the the "User" column.
    But my problem is the transport has happened long back. is there any other way to find out old import request who has done the transport.
    Please someone help me out on this.

    Do this may it can help you.
    At the last step where you had given "diaplay more"
    do this inspite of that:
    Extras --> Personal Settings
    Check the option "Query Interval Time" and try again.
    Best of luck !!!

  • Youdo inc. Apps Like Matrix music Pad And Tangible-GP Not working under OS4

    Youdo inc. Apps Like Matrix music Pad And Tangible-GP Not working under OS4. Is there possibility that apple will contact with them and ask to repair it. I paid for it and i want that working. Plz do something. Sorry for my english still learning. (:

    You need to contact the developer and tell them to update their applications. Apple won't.

  • Query for matrix table

    Hello,
    Is it possible to make a query thats create a matrix table.
    select * from TCOLUMN
    ID NAME
    == ====
    1 A
    2 B
    select * from TROW
    ID NAME
    == ====
    1 X
    2 Y
    select * from TMATRIX
    TCOLUMN_ID TROW_ID VAL
    ========== ======== ==
    1 1 k
    1 2 m
    2 1 l
    2 2 n
    The query have to display:
    null X Y
    A k m
    B l n
    Thanks.

    Like this?
    SQL> column name format a4 heading "null"
    SQL> column x format a4 heading "X"
    SQL> column y format a4 heading "Y"
    SQL> create table tcolumn
      2  as
      3  select 1 id, 'A' name from dual union all
      4  select 2, 'B' from dual
      5  /
    Tabel is aangemaakt.
    SQL> create table trow
      2  as
      3  select 1 id, 'X' name from dual union all
      4  select 2, 'Y' from dual
      5  /
    Tabel is aangemaakt.
    SQL> create table tmatrix
      2  as
      3  select 1 tcolumn_id, 1 trow_id, 'k' val from dual union all
      4  select 1, 2, 'm' from dual union all
      5  select 2, 1, 'l' from dual union all
      6  select 2, 2, 'n' from dual
      7  /
    Tabel is aangemaakt.
    SQL> select c.name
      2       , max(decode(r.name,'X',m.val)) x
      3       , max(decode(r.name,'Y',m.val)) y
      4    from tmatrix m
      5       , tcolumn c
      6       , trow r
      7   where m.tcolumn_id = c.id
      8     and m.trow_id = r.id
      9   group by c.name
    10  /
    null X    Y
    A    k    m
    B    l    n
    2 rijen zijn geselecteerd.Groet,
    Rob.

  • Formatting output like matrix

    Suppose i have following table
    sales_data
    Salesman varchar2(20)
    Product varchar2(15)
    quantity number
    The table contains sales figure of various salesmen for different products.Suppose there are products like
    Butter,cream,powder,chocolate etc.
    A particular saleman may not be dealing in a particular product say "salesman 'john' does not have any sales figure for product 'butter' , but he has sales for another product say 'cream' ,
    so the table will not contain any row for salesman 'john' and product 'butter'
    same way some other salesman may not have sales figure for some other product.
    I want the output in matrix form.
    colum wise --> products and
    row wise ---> salesman
    Butter Cream Powder
    John 0 4 4
    Smith 10 0 1
    Paul 2 2 0
    Please remember the number of products/salesman is not known, i.e. there may be 20 products , there may be 2 products.
    AS the name/number of products is not known , so i can't directly use "decode".
    SO how do i go about writting the query for the same.
    In addition to it , it should show zero , where no sales figure is found for a paricualr salesman/product.
    Please suggest.
    Rajeev katyal

    what is your collect function?
    cant you simply do this?
    SQL> with emp as (select 10 as deptno, 'king' as ename from dual union all
      2  select 10 as deptno, 'clark' as ename from dual union all
      3  select 10 as deptno, 'john' as ename from dual union all
      4  select 11 as deptno, 'scott' as ename from dual union all
      5  select 11 as deptno, 'michael' as ename from dual)
      6  select deptno,    max(sys_connect_by_path(ename, ' ' )) scbp
      7         from (select deptno, ename,
      8      row_number() over
      9                (partition by deptno order by ename) rn
    10                                  from emp                  
    11                      )     start with rn = 1
    12                               connect by prior rn = rn-1                         
    13                               and prior deptno = deptno                            
    14                               group by deptno                               
    15                               order by deptno;
        DEPTNO SCBP
            10  clark john king
            11  michael scott
    SQL>

  • Help: How to create a query like this?

    I am working on a report and I am facing on a question like this:
    TABLE TEST has two columns A and B
    A B
    2 INFO21
    2 INFO22
    3 INFO31
    3 INFO32
    3 INFO33
    I'd like to create a query which will return
    A INFO
    2 INFO21, INFO22
    3 INFO31, INFO32, INFO33
    Please help.
    Thank you in advance
    Jimmy

    A lot of pretty fine examples here:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    Rgds.

  • Query like google

    Hello,
    I want to write query to search from two columns of a table like google i.e. this is example query:
    *""I want to see rebar companies in china"*
    The following table has country and products ('rebar')
    My table:
    SQL> desc company;
    Name                                      Null?    Type
    CO_ID                                     NOT NULL NUMBER(9)
    R_DATE                                             TIMESTAMP(0)
    CONAME                                             VARCHAR2(140)
    ESTYR                                              NUMBER(5)
    COUNTRY                                            VARCHAR2(32)
    PRODUCTS                                           VARCHAR2(3900)
    SQL> /
         CO_ID COUNTRY                          PRODUCTS
           173 china                            pipe fitting,valves,tee,reducers,elbows
           174 china                            angle bar
           175 china                            formwork,wing nut ,rebar,spring clamp ,wedge bolt,top cup,tie rod,scaffolding
           176 belgium                          ferro alloy producer
           177 china                            skyjumper,sky jumper,poweriser,powerskip,power shoes,flyjumper,jumping stilts
    SQL> Thanks & best regards

    Google uses a very sophisticated search algorithm, so I think you'll be a little pushed to replicate that or get anyone on the forum to do it for you.
    You may be able to get something from using Oracle Text, if that suits your needs.
    Alternatively, if you're looking to write your own thing then you would need some way of parsing the question and ignoring certain common words that you're not interested in, picking out just the words you want and then searching the relevant columns for those words.
    Here's a very basic example:
    SQL> ed
    Wrote file afiedt.buf
      1  with company as (select 173 as co_id, 'china' as country, 'pipe fitting,valves,tee,reducers,elbows' as products from dual union all
      2                   select 174, 'china', 'angle bar' from dual union all
      3                   select 175, 'china', 'formwork,wing nut ,rebar,spring clamp ,wedge bolt,top cup,tie rod,scaffolding' from dual union all
      4                   select 176, 'belgium', 'ferro alloy producer' from dual union all
      5                   select 177, 'china', 'skyjumper,sky jumper,poweriser,powerskip,power shoes,flyjumper,jumping stilts' from dual)
      6      ,question as (select 'I want to see rebar companies in china' as q from dual)
      7      ,ignore_words as (select 'i' as wrd from dual union all
      8                        select 'want' from dual union all
      9                        select 'to' from dual union all
    10                        select 'see' from dual union all
    11                        select 'companies' from dual union all
    12                        select 'in' from dual)
    13  --
    14      ,question_words as (select lower(regexp_substr(q, '[^ ]+', 1, rownum)) wrd
    15                          from question
    16                          connect by rownum <= length(regexp_replace(q, '[^ ]'))+1
    17                          minus
    18                          select wrd from ignore_words)
    19  --
    20  select *
    21  from company
    22  where co_id in (
    23                  select co_id
    24                  from company c, question_words q
    25                  where c.country = q.wrd
    26                  intersect
    27                  select co_id
    28                  from company c, question_words q
    29                  where instr(c.products, q.wrd) > 0
    30*                )
    SQL> /
         CO_ID COUNTRY PRODUCTS
           175 china   formwork,wing nut ,rebar,spring clamp ,wedge bolt,top cup,tie rod,scaffolding
    SQL>

  • Query like Calendar

    Hi, Expert
    Can i used only select statement to find query ....
    ( If sysdate is '03-Jul-07' ) like calendar ...
    Date_No Date_Name
    01 SUN
    02 MON
    03 TUE
    14 SAT
    15 SUN
    16 MON
    30 MON
    31 TUE
    Select ... from dual;
    Best Regard
    First_Step

    Problem only is that it is NLS dependent:
    michaels>  alter session set nls_territory=germany
    Session altered.
    michaels>  with pivot as
         (select     trunc (sysdate, 'mm') + level - 1 as dt,
                     abs (to_number (to_char (trunc (sysdate, 'mm') + level - 1,
                                              'd'
                          - to_number (to_char (to_date ('03010001', 'ddmmyyyy'),
                                                'd'
                         ) down
                from dual
          connect by level <= (last_day (sysdate) - trunc (sysdate, 'mm')) + 1)
    select   max (decode (down, 0, dt)) as monday,
             max (decode (down, 1, dt)) as tuesday,
             max (decode (down, 2, dt)) as wednesday,
             max (decode (down, 3, dt)) as thursday,
             max (decode (down, 4, dt)) as friday,
             max (decode (down, 5, dt)) as saturday,
             max (decode (down, 6, dt)) as sunday
        from pivot
    group by trunc ((to_number (to_char (dt, 'dd')) + 7 - down) / 7)
    MONDAY   TUESDAY  WEDNESDA THURSDAY FRIDAY   SATURDAY SUNDAY 
                                                          01.07.07
    02.07.07 03.07.07 04.07.07 05.07.07 06.07.07 07.07.07 08.07.07
    09.07.07 10.07.07 11.07.07 12.07.07 13.07.07 14.07.07 15.07.07
    16.07.07 17.07.07 18.07.07 19.07.07 20.07.07 21.07.07 22.07.07
    23.07.07 24.07.07 25.07.07 26.07.07 27.07.07 28.07.07 29.07.07
    30.07.07 31.07.07                                            
    michaels>  alter session set nls_territory=america
    Session altered.
    michaels>  with pivot as
         (select     trunc (sysdate, 'mm') + level - 1 as dt,
                     abs (to_number (to_char (trunc (sysdate, 'mm') + level - 1,
                                              'd'
                          - to_number (to_char (to_date ('03010001', 'ddmmyyyy'),
                                                'd'
                         ) down
                from dual
          connect by level <= (last_day (sysdate) - trunc (sysdate, 'mm')) + 1)
    select   max (decode (down, 0, dt)) as monday,
             max (decode (down, 1, dt)) as tuesday,
             max (decode (down, 2, dt)) as wednesday,
             max (decode (down, 3, dt)) as thursday,
             max (decode (down, 4, dt)) as friday,
             max (decode (down, 5, dt)) as saturday,
             max (decode (down, 6, dt)) as sunday
        from pivot
    group by trunc ((to_number (to_char (dt, 'dd')) + 7 - down) / 7)
    MONDAY    TUESDAY   WEDNESDAY THURSDAY  FRIDAY    SATURDAY  SUNDAY  
    02-JUL-07 03-JUL-07 04-JUL-07 05-JUL-07 06-JUL-07 07-JUL-07         
    09-JUL-07 10-JUL-07 11-JUL-07 12-JUL-07 13-JUL-07 14-JUL-07         
    16-JUL-07 17-JUL-07 18-JUL-07 19-JUL-07 20-JUL-07 21-JUL-07         
    23-JUL-07 24-JUL-07 25-JUL-07 26-JUL-07 27-JUL-07 28-JUL-07         
    30-JUL-07 31-JUL-07                                                 

  • Select query like For all Entries

    Hi,
    I have a requirement like:
    I need to extract data (BKTXT) from table BKPF based on some criteria, into one internal table and I need to query on REGUP table for the above data, the selection criteria on REGUP as follows:
    BKTXT(Document Header Text with 25 Char) is a combination of DATE and character string.
    Ex: bkpf-bktxt = 20060710-PL02 (YYYYMMDD)
    it is like LAUFD + LAUFI (of table REGUP)
    i.e: LAUFD (REGUP) = 07/10/2006 (MM/DD/YYYY) and LAUFI(REGUP) = PL02
    here I am thinking to use a select query on REGUP using FOR ALL ENTRIES of table i_bkpf..
    How can I change the date format YYYYMMDD to MM/DD/YYYY for my requirement?
    ((    Run-on Date (REGUP-LAUFD) = the first 8 characters in the Document Header Text (BKPF- BKTXT) in MM/DD/YYYY date format (e.g. 07/10/2006)
       Run ID (REGUP-LAUFI) = the 10th character through the 15th character in the Document Header Text (BKPF- BKTXT)

    It is not possible to do in the way you are thinking of doing. "For all entries" requires you to have the itab table field and the database table field to have the same type and length. So something like below <u>will not work</u>.
    TABLES: regup.
    DATA: BEGIN OF itab OCCURS 0,
            text LIKE bkpf-bktxt.
    DATA: END OF itab.
    DATA: BEGIN OF itab_regup OCCURS 0.
            INCLUDE STRUCTURE regup.
    DATA: END OF itab_regup.
    SELECT * INTO TABLE itab_regup
             FROM regup FOR ALL ENTRIES IN itab
            WHERE laufd = itab-text+0(8).
    If you run this code, you will get an error as follows:
    <i>"When using the addition "FOR ALL ENTRIES IN itab", the fields "LAUFD" and "ITAB-TEXT+0(8)" must have the same type and length."</i>

  • Is there a way to query like this in Oracle 9i?

    Hi!
    Before starting, some constraints: I can't use store procedures for this task, and should use ANSI99 wherever possible.
    Let's suppose a table like this:
    CREATE TABLE ELEMENTS
    (REG_NAME VARCHAR2(10) NOT NULL, --PK
    ELM_ORDER NUMBER(3,0) NOT NULL, --PK
    ELM_NAME VARCHAR2(10) NOT NULL,
    ELM_SIZE NUMBER(3,0) NOT NULL
    It's a table describing some structures (REG_NAME), which contains elements (ELM_NAME) with the order number in register (ELM_ORDER) and its size (ELM_SIZE)
    Some sample data '; ' separated fields, columns at first line:
    REG_NAME; ELM_ORDER; ELM_NAME; ELM_SIZE
    TYPE1; 1; VERSION; 3
    TYPE1; 2; CALLNBR; 6
    TYPE1; 3; DATE; 8
    TYPE1; 4; EVENTTYPE; 4
    TYPE1; 5; EVENTDESCR; 100
    TYPE1; 6; EVENTCODE; 2
    TYPE1; 7; ATTNAME; 10
    TYPE2; 1; VERSION; 3
    TYPE2; 2; CALLNBR; 6
    TYPE2; 3; DATE; 8
    TYPE2; 4; SOLCODE; 2
    TYPE2; 5; SOLDESCR; 100
    TYPE2; 6; ATTNAME; 10
    I'd like to query the DB such way I could obtain:
    VERSION 3 1 4
    CALLNBR 6 4 10
    DATE 8 11 19
    EVENTTYPE 4 20 24
    EVENTDESCR 100 25 125
    EVENTCODE 2 126 127
    ATTNAME 10 128 138
    I.e, I need to obtain for an specific REG_NAME (TYPE1 in the sample query result), the columns ELM_NAME, ELM_SIZE of all rows in ELEMENTS table ordered by ELM_ORDER and the sum of ELM_SIZE of the previous rows + 1 and the same sum added by ELM_SIZE of the current row.
    I'm almost sure there's a way to do that but I couldn't figure out how.
    TIA,
    WB::

    If I understand your logic correctly, there are some calculation error in your sample result.
    Don't know if this is possible using ANSI99, but in Oracle it is easy to do this:
    SQL> CREATE TABLE ELEMENTS
      2  (REG_NAME VARCHAR2(10) NOT NULL, --PK
      3  ELM_ORDER NUMBER(3,0) NOT NULL, --PK
      4  ELM_NAME VARCHAR2(10) NOT NULL,
      5  ELM_SIZE NUMBER(3,0) NOT NULL
      6  );
    Tabel is aangemaakt.
    SQL> insert into elements values ('TYPE1',1,'VERSION',3);
    1 rij is aangemaakt.
    SQL> insert into elements values ('TYPE1',2,'CALLNBR',6);
    1 rij is aangemaakt.
    SQL> insert into elements values ('TYPE1',3,'DATE',8);
    1 rij is aangemaakt.
    SQL> insert into elements values ('TYPE1',4,'EVENTTYPE',4);
    1 rij is aangemaakt.
    SQL> insert into elements values ('TYPE1',5,'EVENTDESCR',100);
    1 rij is aangemaakt.
    SQL> insert into elements values ('TYPE1',6,'EVENTCODE',2);
    1 rij is aangemaakt.
    SQL> insert into elements values ('TYPE1',7,'ATTNAME',10);
    1 rij is aangemaakt.
    SQL> select elm_name
      2       , elm_size
      3       , sum(elm_size) over (partition by reg_name order by elm_order) - elm_size + 1 elm_size_2
      4       , sum(elm_size) over (partition by reg_name order by elm_order) + 1 elm_size_3
      5    from elements
      6   order by elm_order
      7  /
    ELM_NAME                                 ELM_SIZE                             ELM_SIZE_2                     ELM_SIZE_3
    VERSION                                         3                                      1                              4
    CALLNBR                                         6                                      4                             10
    DATE                                            8                                     10                             18
    EVENTTYPE                                       4                                     18                             22
    EVENTDESCR                                    100                                     22                            122
    EVENTCODE                                       2                                    122                            124
    ATTNAME                                        10                                    124                            134
    7 rijen zijn geselecteerd.Regards,
    Rob.

  • Inventory Monitoring Query Like 'Inventory Posting List ' Report

    Hi,
    I like to ask how to monitor/Track my Items in the Inventory. Inventory Posting List is a good Report but I want to customize it into my query. I have found a table OITW but the record is up date, there is no date i can refer to which I can back track the records.
    I want to create a report (query) which I can back track the previous transaction. Please guide me what tables i can refer to.
    Thank you very much.
    Regards,
    Clint

    Hi Gordon,
    It seems I cant found any data regarding the transactions for my inventory because in the present the report is up to date.
    I want to get the previous inventory month of the item in which i will consider it as my beginning balance for my current inventory, in the the system its showing the current inventory.
    Thank you very much,
    Clint

  • I want to view the query like this

    HI,
    i want the output like when i execute query in the query designer it shouldn't show the variable screen i.e. directly it has to show the report but after showing the report if i click variable screen option it has to show the screen to select the variable values.
    IF U KNOW PLS SEND THE ANS IMMEDIATELY,
    Thanks and regds,
    S.Girikumar.

    Giri ,
    what you need to decide is ,
    1. what should the query take as input if no variable in entered - shouold it display for all values ? in that case is a variable required ? you could do with s filter area instead.
    2. Please give the intended user behavior and then we can guide you.
    Some of the options are :
    1. Have a default value for the variable ( this can be given during variable creation ) and then have a button on the template which will pop up the variable screen and the user can enter the variable.
    Hope this helps...
    Arun

Maybe you are looking for