MDX - Returning the value of a measure at a particular level

I've got the following query which runs against the AdventureWorks 2008R2. It returns the [Internet Sales Amount] for the cities to which the following members belong
[Customer].[Customer Geography].[Customer].&[18702] and
[Customer].[Customer Geography].[Postal Code].&[2055]&[North Sydney]
with member MEASURES.[INTERNET SALES CITY] as
aggregate([Customer].[Customer Geography].CurrentMember, [Measures].[Internet Sales Amount])
select 
MEASURES.[INTERNET SALES CITY] on 0,
[Customer].[Customer Geography].City on 1
from
(SELECT {[Customer].[Customer Geography].[Customer].&[18702],[Customer].[Customer Geography].[Postal Code].&[2055]&[North Sydney]} ON COLUMNS  
from [Adventure Works] )
Result
[INTERNET SALES CITY]
Coffs Harbor $235,454.97
North Sydney $159,227.11
My question is how can I get the result in the following form?
[INTERNET SALES CITY]
$394,682.08
Thank you

Ok, looks like using a dynamic set solved this problem.
with
dynamic set [Selected Cities]
as [Customer].[Customer Geography].City
member MEASURES.[INTERNET SALES CITY]
as
AGGREGATE([Selected Cities], [Measures].[Internet Sales Amount])
select
MEASURES.[INTERNET SALES CITY]
on 0
from
(SELECT {[Customer].[Customer Geography].[Customer].&[18702],[Customer].[Customer Geography].[Postal Code].&[2055]&[North Sydney]}
ON COLUMNS 
from [Adventure Works] );

Similar Messages

  • SUBMIT and return the value of that report into internal table

    Dear all,
    I have a requirement. I want to submit a report and return the value of that report into my internal table.
    How to do this.
    Pl. guide.

    Hi Vidhya,
    Below links from SAP help will resolve your issue.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3bde358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/content.htm
    Edited by: Harsh Bhalla on Jan 2, 2010 11:54 AM

  • Mutator to compute set and return the value

    Hi
    I am having trouble working out how to do a mutator that does all three
    compute a value set the value and then return it this is what i have so far
    this example calculates and returns the value but does it set the value of totalSlices ???? this is the best option so far
    public int totalSlices (){
    int total = meatSlices + vegSlices;
    return (int) total;
    this one seems more likely to me but unsure is this a set method as well
    public insert (int fiveC)
    fiveCentCoin += fiveC;
    returne fiveCentCoin;
    this is the final example i have come up with but dont know if it sets the value as well
    public int calculateCost () {
    double cost;
    if (age==0) {
    age = 0.1;
    if (neutered) {
    cost = (100/age) + (stay * 3) + SHOTS + TAGS;
    } else {
    cost = (100/age) + (stay * 3) + SHOTS + TAGS + NEUTER;
    return (int) Math.round (cost);
    the problem i face i am not sure of how to combine a mutator calculation, set method and return it all in one i havnt done that before and cannot find an example
    thanks

    I think you're trying to take a hollistic approach to programming. That won't work.
    You need to go back and get a good understanding of exactly what each element of Java does.
    Sylvia.

  • BAPI OR RFC THAT RETURNS THE VALUE TABLE CONTENTS THAT IS SPECIFIED IN DOM

    HI ALL,
    i have requirement of BAPI  or RFC that returns the value table contants(text table) in CRM..
    for ex:
      if i  pass the dataelement or domain or checktable as input parameter,could i get the contents of its text table associated with it....
    please if there is way help me on this..
    thanks and regards,
      goutham,

    Check these FM
    RFC_READ_TABLE
    RFC_GET_TABLE_ENTRIES

  • LOV does not return the value (2)

    PPR in general does not work correctly if invalid HTML is generated. One example of an invalid HTML is having an opening <TD> tag immediately following another opening <TD> tag.
    After checking everything else, if LOV still does not return the value, test whether it's not a problem with the invalid HTML by placing the messageLovInput outside of the complicated layout nestings you may have. If it works outside of the layout nestings, look for the possible problems in the layout nestings.

    Hi RamKumar,
    Thanks for your reply.. I have already done that but no luck :(
    Regards,
    Hemanth J

  • How crm visit the external website and return the value to crm

    how crm visit the external website and return the value to crm?
    Awen

    Can you elaborate the question? I assume that you are looking for some sort of mechanism to validate a customer's web site?
    Regardless of the scenario, the way to validate or retrieve a value from an external web site is to write a plugin that executes a WebRequest to the external site and reads the response.

  • Exchange Mail Store Lookup Reconciliation no longer returns the values

    Hi guys,
    I executed the schedule "Exchange Mail Store Lookup Reconciliation" and returned the value of mail store with sucess. Now I run again but not return the values. The values existed on the Lookup.ExchangeReconciliation.MailStore was cleaned.
    I need this values for provision a user to Exchange. Is it ok?
    Thanks

    I execute the task, is finished with success. But not bringer any values to Lookup.ExchangeReconciliation.MailStore
    [2012-01-11T11:08:39.250-02:00] [oim_server1] [NOTIFICATION] [] [OIMCP.MEXC] [tid: OIMQuartzScheduler_Worker-9] [userId: oiminternal] [ecid: 0000JJCoOzaE^MWFLzyGOA1F3OLz000002,0] [APP: oim#11.1.1.3.0] com.thortech.xl.schedule.tasks.tcExchangeMailStoreLookupReconTask : execute : Starting Exchange Mail Store Lookup Reconciliation Task
    [2012-01-11T11:08:39.255-02:00] [oim_server1] [NOTIFICATION] [] [OIMCP.MEXC] [tid: OIMQuartzScheduler_Worker-9] [userId: oiminternal] [ecid: 0000JJCoOzaE^MWFLzyGOA1F3OLz000002,0] [APP: oim#11.1.1.3.0] com.thortech.xl.schedule.tasks.tcExchangeMailStoreLookupReconTask : isReconStopped : Stopping Reconciliation.....................
    [2012-01-11T11:08:41.924-02:00] [oim_server1] [NOTIFICATION] [] [OIMCP.MEXC] [tid: OIMQuartzScheduler_Worker-9] [userId: oiminternal] [ecid: 0000JJCoOzaE^MWFLzyGOA1F3OLz000002,0] [APP: oim#11.1.1.3.0] com.thortech.xl.schedule.tasks.tcExchangeMailStoreLookupReconTask : execute : Exchange Mail Store Lookup Reconciliation Ends
    For provision a user to Exchange, I need select a "Mail Store" on the form. But if task "Exchange Mail Store Lookup Reconciliation" not bring the values to Lookup, I can not provision a user. I'm correct?
    Because when I try provision a user to Exchange, in the log, show me:
    [2012-01-11T11:05:00.508-02:00] [oim_server1] [ERROR] [] [OIMCP.MEXC] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: bfccc7416174d6cc:6f5adea4:134ccd17bf0:-8000-000000000000025a,0] [APP: oim#11.1.1.3.0] com.thortech.xl.integration.Exchange.tcExchangeTasks : createMailboxForADUser : Insufficient data, may be all mandatory field are not present : :Index: 0, Size: 0
    [2012-01-11T11:05:00.509-02:00] [oim_server1] [ERROR] [] [OIMCP.MEXC] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: bfccc7416174d6cc:6f5adea4:134ccd17bf0:-8000-000000000000025a,0] [APP: oim#11.1.1.3.0]
    Thanks a lot

  • How to reference the value of a af:inputText at View level in a java clas

    How to reference the value of a <af:inputText> at View level in a java class at Model level? Thanks!

    Create AppModuleImpl class and create ther for example setMyParam procedure.
    (You can use AppModule. There simple interface to do this classes
    In JDev 11:
    1. Go to AppModule and in Java bookmark generate application module class.(AppModuleImpl.java)
    2. Put "private String myParam;" and method to access myParam "public void setMyParam(String myParam)".
    3. Again in the AppModule in the Java bookmark add method to client interface.
    AppModuleImpl.java
    public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    private String myParam;
    public AppModuleImpl() {
    //this.
    public void prepareSession(Session session)
    super.prepareSession(session);
    myParam = myParam + myParam;
    public void setMyParam(String myParam) {
    this.myParam = myParam;
    prepareSession(getSession());
    AppModule.java
    public interface AppModule extends ApplicationModule {
    void setMyParam(String myParam);
    AppModuleClient.java
    public class AppModuleClient extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    public AppModuleClient() {
    public void setMyParam(String myParam) {
    Object _ret =
    this.riInvokeExportedMethod(this,"setMyParam",new String [] {"java.lang.String"},new Object[] {myParam});
    return;
    And you can use method setMyParam as you wish :))) You can find it in AppModuleDataControl..
    Edited by: Victor_V_S on Jun 5, 2009 1:31 AM
    Edited by: Victor_V_S on Jun 5, 2009 1:33 AM
    Edited by: Victor_V_S on Jun 5, 2009 7:30 AM

  • SOAP TO JDBC scenario: calling stored procedure which will return the value

    Hi
    I have Soap To Jdbc scenario in which I am going to call the Stored Procedure at target side which will be executed and it is going to return the result set .
    Result contains following values.
    return code as ( 0 Or 1) and also specific exception message if its return code as 1.
    Could you suggest me the way by which I can handled this return code and send it back to the Sap PI system then the same thing is directed the to SMTP server for sending mail to consern person.
    Regards
    Kumar

    The OUT parameters of stored procedure will be returned as response. Where exactly are you facing the proble? Here is a complete walkthourgh
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    In your case, you don't want response at sender. Instead you want to mail it. For this you may use BPM to design your scenario with following steps
    Receive (to receive data from sender)
    Send Sync (to stored procedure and get response)
    Send Async (to mail receiver)
    Regards,
    Prateek

  • How to return the values of LOV to items in forms

    Hi,
    I have created an LOV based on a select statment that return 3 columns
    I want to return theses 3 values to 3 items in the form?
    I'll appreciate any suggestion.
    Imad.

    An LOV has only two components: text and value. You can see them in the html page's source. A work around is to use a procedure to query the data and create a cursor, count the # of records in the query. Create a javascript function to create parallel arrays to hold the data on the html page and pass the function parameters via an event on the page. Create the procedure in the db.
    procedure follows...
    CURSOR c_customer
    /* use a cursor to get all the prices */
    IS
    SELECT
    c.customer_number, c.customer_name, NVL(a.address1, 'N/A') ADDRESS1,
    NVL(a.address2, 'N/A') ADDRESS2, NVL(a.city, 'N/A') CITY, NVL(a.state, 'N/A') STATE,
    NVL(a.province, 'N/A') PROVINCE, NVL(a.country, 'N/A') COUNTRY, NVL(a.postal_code, 'N/A') POSTAL_CODE
    FROM table1 b, table2 a, table3 c;
    v_count NUMBER;
    BEGIN
    SELECT COUNT(*)
    INTO v_count
    FROM table1 b, table2 a, table3 c
    where ...;
    /*where clause and table names have been removed, use your's. They should be identical in both queries */
    /* begin your Javascript, substituting values from the
    cursor as necessary into parallel arrays*/
    HTP.p('<script language="JavaScript1.1">');
    HTP.p('<!-- ');
    /* initialize the arrays */
    HTP.p(' var customer_no_arr = new Array('||v_count||'); ');
    HTP.p(' var customer_name_arr = new Array('||v_count||'); ');
    HTP.p(' var address1_arr = new Array('||v_count||'); ');
    HTP.p(' var address2_arr = new Array('||v_count||'); ');
    HTP.p(' var city_arr = new Array('||v_count||'); ');
    HTP.p(' var state_arr = new Array('||v_count||'); ');
    HTP.p(' var province_arr = new Array('||v_count||'); ');
    HTP.p(' var country_arr = new Array('||v_count||'); ');
    HTP.p(' var postal_code_arr = new Array('||v_count||'); ');
    /* populate the arrays */
    FOR r IN c_customer LOOP
    HTP.p ('customer_no_arr['||to_char(c_customer%ROWCOUNT - 1) ||'] = "'||r.customer_number||'";');
    HTP.p('customer_name_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.customer_name||'";' );
    HTP.p('address1_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.address1||'";' );
    HTP.p('address2_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.address2||'";' );
    HTP.p('city_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.city||'";' );
    HTP.p('state_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.state||'";' );
    HTP.p('province_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.province||'";' );
    HTP.p('country_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.country||'";' );
    HTP.p('postal_code_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.postal_code||'";' );
    END LOOP;
    /* use this variable to determine the size of the array */
    HTP.p ('var num_customers = '||v_count);
    /* create the function--accept a parameter that tells
    you which customer has been selected from the select_co
    combo box */
    HTP.p ('function get_customer (form, field, customer_num)
    var pieces = field.split(".");
    var address1field = new String(pieces[0] + ".MASTER_BLOCK.ADDRESS1.01");
    var address2field = new String(pieces[0] + ".MASTER_BLOCK.ADDRESS2.01");
    var cityfield = new String(pieces[0] + ".MASTER_BLOCK.CITY.01");
    var statefield = new String(pieces[0] + ".MASTER_BLOCK.STATE.01");
    var provincefield = new String(pieces[0] + ".MASTER_BLOCK.PROVINCE.01");
    var countryfield = new String(pieces[0] + ".MASTER_BLOCK.COUNTRY.01");
    var zipcodefield = new String(pieces[0] + ".MASTER_BLOCK.POSTAL_CODE.01");
    /* Get the customer number and pass it to the array to look up the address.*/
    var customer_no = customer_num;
    /* loop through the array until you find the right product ID */
    for (var i=0 ; i < num_customers; i++)
    if (customer_no_arr[i] == customer_no)
    /* return the correct customer information */
    form.elements[eval(address1field)].value = address1_arr;
    form.elements[eval(address2field)].value = address2_arr[i];
    form.elements[eval(cityfield)].value = city_arr[i];
    form.elements[eval(statefield)].value = state_arr[i];
    form.elements[eval(provincefield)].value = province_arr[i];
    form.elements[eval(countryfield)].value = country_arr[i];
    form.elements[eval(zipcodefield)].value = postal_code_arr[i];
    /* close out the Javascript */
    HTP.p ('//-->');
    HTP.p ('</SCRIPT>');
    END gen_customerlookup;
    A specific example is found in the ORACLE Press book by Steve Vandiver & Kelly Cox "ORACLE9i Application Server Portal Handbook" ISBN # 0-07-222249-2 pages 358 - 361. Several lines, and better explaination than room for here.
    get_customer (this.form, this.name, this.value); is placed in the appropriate event. Put "sales.gen_customer_lookup;" in the "before displaying the page" section. sales is the schema where the procedure gen_customer_lookup is created.
    Ken

  • Linking two DCs using interface views and return the value

    Hi,
    I have two webdynpro DCs. DC1 & DC2, each contains one view.
    Point 1:  From the DC1-->DC1View1 ,when I click a button , It should call  DC2(This is happening).
    Point2: When the DC2 is executed it should return to DC1-->DC1View1, value from DC2 need to be passed to DC1 also.
    How to acheive  point2. How anyone help on this .
    Regards,
    Muhammed Nishad J.

    Hi,
    You would have created a inbound and outbound plug between DC1-->DC1View1 and DC2 ->View.
    Now you will have to create the same for DC2 ->View and DC1-->DC1View1
    1) create an inbound plug on DC1-->DC1View1 and outbound plug on DC2->view.
    2) Now create a link as you would have in the first case.
    3) create a parameter in DC2->view for outbound plug, and also the same in inbound plug of the DC1->view
    4) Now in the method that was created for the outbound(public void onPlug<name of plug> )pass the value into the parameter created
    5) in the inbound method(public void onPlug<name of inbound> get the value of the parameter in a variable.
    I hope this solves your problem.
    Thanks and Regards,
    Narayani

  • Whee the function return the value store in java

    in c if i write this program
    int add()
    return 1;
    main()
    add();
    if i run this program it give s error that lvalue required
    but in java it works fine though the function return some value

    in c if i write this program
    int add()
    return 1;
    main()
    add();
    if i run this program it give s error that lvalue
    requiredYou mean, if you try to run it as a C program it gave an error?
    Then take your question to a "C" discussion forum. This is Java.
    >
    but in java it works fine though the function return some value
    In Java this does NOT work fine.
    It definitely does not compile! So you cannot run it.

  • Condition to return the value

    Hi,
    The query below is written in case condition
    SELECT
    "POBJ_ID",
    "Project Name",
    "Object Name",
    "CEMLI NAME",
    CASE
    WHEN rownum = 1 and "CP1" IS NOT NULL THEN "CP1"
    WHEN rownum = 1 and "CP1" IS NULL THEN NULL
    WHEN rownum > 1 and ( case when rownum = 1 and "CP1" IS NOT NULL THEN "CP1") is not null then
    wwv_flow_item.SELECT_LIST(3,'Yes','Yes;Yes,No;No,NA;NA')
    WHEN rownum > 1 and ( case when rownum = 1 and "CP1" IS NULL THEN "CP1") is not null then
    null
    END "CP1"
    FROM
    SELECT
    NULL "POBJ_ID",
    NULL "Project Name",
    NULL "Object Name",
    NULL "CEMLI NAME",
    max(decode(rownum,1,CP.CHECK_POINTS,null)) "CP1",
    max(decode(rownum,2,CP.CHECK_POINTS,null)) "CP2",
    max(decode(rownum,3,CP.CHECK_POINTS,null)) "CP3",
    max(decode(rownum,4,CP.CHECK_POINTS,null)) "CP4",
    max(decode(rownum,5,CP.CHECK_POINTS,null)) "CP5",
    max(decode(rownum,6,CP.CHECK_POINTS,null)) "CP6",
    max(decode(rownum,7,CP.CHECK_POINTS,null)) "CP7",
    max(decode(rownum,8,CP.CHECK_POINTS,null)) "CP8",
    max(decode(rownum,9,CP.CHECK_POINTS,null)) "CP9",
    max(decode(rownum,10,CP.CHECK_POINTS,null)) "CP10"
    FROM CHECK_POINTS CP, PROJECTS PRO
    WHERE PRO.ID = 7200 AND
    PRO.ID = CP.PRO_ID AND
    TAS_ID = 5588
    GROUP BY PRO.PROJECT_NAME
    UNION ALL
    SELECT
    pobj.id "POBJ_ID",
    PRO.PROJECT_NAME "Project Name",
    POBJ.NAME "Object Name",
    PC.NAME "CEMLI NAME",
    NULL "CP1",
    NULL "CP2",
    NULL "CP3",
    NULL "CP4",
    NULL "CP5",
    NULL "CP6",
    NULL "CP7",
    NULL "CP8",
    NULL "CP9",
    NULL "CP10"
    FROM PROJECTS PRO,PROJECT_OBJECTS POBJ,PROJECT_OBJECTS_CEMLI PC
    WHERE
    PRO.ID = 7200 AND
    PRO.ID = POBJ.PRO_ID AND
    PRO.ID = PC.PRO_ID AND
    POBJ.ID = PC.POBJ_ID
    The problem i am facing in case condition
    CASE
    WHEN rownum = 1 and "CP1" IS NOT NULL THEN "CP1"
    WHEN rownum = 1 and "CP1" IS NULL THEN NULL
    WHEN rownum > 1 and ( case when rownum = 1 and "CP1" IS NOT NULL THEN "CP1") is not null then
    wwv_flow_item.SELECT_LIST(3,'Yes','Yes;Yes,No;No,NA;NA')
    WHEN rownum > 1 and ( case when rownum = 1 and "CP1" IS NULL THEN "CP1") is not null then
    null
    END "CP1"
    The 3rd condition is not working.
    Please let me know that changes i need to make
    Thanks
    Sudhir

    Hi, Sudhir
    Sudhir_N wrote:
    The problem i am facing in case condition
    CASE
    WHEN rownum = 1 and "CP1" IS NOT NULL THEN "CP1"
    WHEN rownum = 1 and "CP1" IS NULL THEN NULL
    WHEN rownum > 1 and ( case when rownum = 1 and "CP1" IS NOT NULL THEN "CP1") is not null then
    wwv_flow_item.SELECT_LIST(3,'Yes','Yes;Yes,No;No,NA;NA')
    WHEN rownum > 1 and ( case when rownum = 1 and "CP1" IS NULL THEN "CP1") is not null then
    null
    END "CP1"
    The 3rd condition is not working. The 3rd WHEN condition:
    WHEN rownum > 1  and ( case when rownum = 1 and "CP1" IS NOT NULL THEN "CP1") is not null  thenis never TRUE, because the 2 sub-conditions contradict each other.
    If "rownum > 1" is TRUE, then "rownum = 1" is FALSE, the nested CASE returns NULL, and the 2nd sub-condition is FALSE.
    If "rownum > 1" is FALSE, then it doesn't matter what the 2nd sub-condition is; the overall result will be FALSE.
    Please let me know that changes i need to makeThat depends on what results you want.
    Post a little sample data (CREATE TABLE and INSERT statments) and the resuts you want from that data, and someone sill help you do it.
    Remember that ROWNUM is arbitrary unless the base "table" is actually a view or sub-query that has an ORDER BY clause. In your querry, the row where ROWNUM=1 may have ROWNUM=2 or ROWNUM=3 the next time you run the query, even though the data hasn't changed. That's not necessarily a mistake, but if that's what you want, then there may be several different results from your sample data that are all equally correct. In that event, give a couple of examples of acceptable and unacceptable results.
    The WHEN clauses in a CASE expression are evaluated in order. When you get to the n-th WHEN, you know that none of the WHEN conditions 1, 2, 3, ..., n-1 are TRUE.
    So instead of:
    CASE
        WHEN rownum = 1 and "CP1" IS NOT NULL     THEN "CP1"
        WHEN rownum = 1 and "CP1" IS NULL          THEN NULL
    END           AS "CP1"you could get the same results by saying:
    CASE
        WHEN rownum = 1 and "CP1" IS NOT NULL     THEN "CP1"
        WHEN rownum = 1                    THEN NULL
    END           AS "CP1"This may help in doing whatever it is you're trying to do.
    NKU wrote:
    Hi,
    You cannot use ">" with rownum. It is a pseudo column and the values for this column are generated at run time. So using ">" is not possible.Actually, you can use > with ROWNUM.
    The following example uses ROWNUM > 2 to label all but the first 2 rows as 'Later':
    SELECT       ROWNUM
    ,       dname
    ,       CASE
              WHEN  ROWNUM > 2
              THEN  'Later'
              ELSE  'Earlier'
           END     AS case_expr
    FROM       scott.dept
    ORDER BY  dname
    ;Typical output:
    `   ROWNUM DNAME          CASE_EXPR
             1 ACCOUNTING     Earlier
             4 OPERATIONS     Later
             2 RESEARCH       Earlier
             3 SALES          LaterApparantly, you're thinking of using "ROWNUM > x" as the sole condition in a WHERE clause. If x >= 1, then that will cause no rows to be selected.
    Edited by: Frank Kulash on May 27, 2010 7:10 AM

  • P_session.get_value call does not return the value

    I have a form on a table.
    After the doInsert call in the pl/sql event handler section of the insert button, I have the sql statement
    "insert into temp
    values(56,p_session.get_value_as_varchar2('DEFAULT','A_FIRST_NAME'));"
    However, the value the call p_session.get_value_as_varchar2('DEFAULT','A_FIRST_NAME') returns is always null.
    Any comments?
    Thanks in advance.
    null

    When I user get_value_as_varchar2
    function then i get following error
    Anybody knows about solving a problem
    code works fine for number data.
    if i try to access varchar2 column then i get error.
    An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
    An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
    (WWV-00000)
    The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.8723279877 (WWC-51000)
    (WWC-00000)
    anybody knows please give reply its urgent..
    thanks in advance
    Yogesh
    null

  • When LOV does not return the value

    Check that you are not calling setText(String) on the web bean to set the default value. It causes your bean to no longer draw the value from the underlying VO. One of the symptoms is that selecting a value from the LOV modal window will not return that value to the base page. (The value from the LOV will actually be set on the VO, but the UI won't reflect it.)
    Setting the default value in the model layer is prefered. You can do this by overriding the create(AttributeList nameValuePair) method of OAEntityImpl or OAViewRowImpl.
    If, for some reason, you need to set the default value from the client side, you need to call setText with the pageContext, e.g., setText(pageContext, "myDefault");

    Hello
    Upon giving your question further thought I think that you would be better off if you added an 'id' column to table T1 and referenced this 'id' column in table T2 . Something like
    Table_T1(id number, c1 varchar2(100)
    and
    Table_T2(.other_columns.. ,t1_id)
    Your LOV will now be select c1 display,id return from table_t1The column t1_id will be defined to use this LOV.
    You will need no other modifications to the form on table_t2
    Varad

Maybe you are looking for

  • How can i get the name of the lan that the task is in from a bean

    I'm using jdeveloper ps6 and i wan to get the name of the lane that the my task now is on to display on a page and to disable and enable some user fields depending on the name of the lane, as i've 4 organizations and i want to know the name the curre

  • Print out different from print preview (for THANGSAN font)

    Save Our Environment. Save Yourself. Hi Experts!! I have created a smartform and print program which should actually print some Thai characters and English characters too. I created a smartstyle and have some 10 paragraph formats and are all have THA

  • Essbase Dimension Order in a Fix Statement

    Does the dimension order (sparse and dense) make a difference in an Essbase Fix statement? I would appreciate any thoughts. Thanks!

  • How to use objects in Pro*C++

    Hi, I have created a table as follows: =========================================== CREATE TYPE pds_rec_type1_obj AS OBJECT ( service_mode char, total_fuel_dollars NUMBER(7,2), total_fuel_litres NUMBER(7) CREATE TABLE pos_product_discount ( outlet_id

  • About to leave Verizon over this phone

    This is by far the worst phone I have ever owned, and only made worse by the fact that Verizon won't do a thing about it. When my original device started having problems, I brought it into the store, and they send out for a "Certified Like New Replac