Magic Values - A Question of Development Approach

Hello folks,
I have a question for you PL/SQ developers out there. This isn't a specific problem or query I'm raising here, more a question of general approach. I'm probably not using the correct terms here so forgive me. Also, I've already posted this in the ApEx forum, however there's a degree of overlap into pure PL/SQL so I thought you were all bound to have experience of something along the same lines.
Anyhoo...
How to deal with Magic values - i.e. values which hold no intrinsic value in and of themselves, other than for state, process or conditional logic control. I use them quite a lot in my PL/SQL code (as I'm sure most developers do in one context or another).
From a Data architecture perspective, I'll generally have some sort of table for storing the 'facts': names, addresses etc, etc. Any application-specific magic values ('status', 'type') will be held as a foreign key in this table, which will reference a form of lookup table.
Example:
EMOTION
ID   Description
==   ===========
1    HAPPY
2    SAD
3    NEUTRAL
PERSON
NAME ... EMOTIONAL_STATE
====       ===============
BILL       1
JERRY    1
BRIAN      3
DONNA    2So far, so banal...
Now, say I have a process that needs to reference someone's emotional state for some sort of conditional logic:
declare
   n_estate number;
begin
   select emotional_state into n_estate
     from Person
    where name = 'BILL';
   case when v_state = 1 then
      -- do something
   case when v_state = 2 then 
      -- do something else
   else
      -- otherwise something else again
end case;
end;straight away your bad code radar should be going crazy: you're coding literals in there! So, the old java programmer in me wants to store these as constants - I'll generally square them away inside a package somewhere, like so:
create or replace package PKG_CONSTANTS as
   ES_HAPPY constant number:= 1;
   ES_SAD constant number := 2;
   ES_NEUTRAL constant number := 3;
end PKG_CONSTANTS;Thus the code becomes
Case when v_state = PKG_CONSTANTS.ES_HAPPY then ...Herein lies the crux of the issue. I'm effectively defining the same value twice: once in the lookup table (for data integrity) and once in the package. If new values are defined (say "Existential Ennui") or existing values are changed, I need to make sure the two are aligned, which hinders maintainability.
I thought about initialising the values as sort of pseudo-constants in the package initialise code but then you end up replacing one literal with another; you end up with code like:
create or replace package PKG_CONSTANTS as
   ES_HAPPY number;
   ES_SAD constant number;
   ES_NEUTRAL constant number;
end PKG_CONSTANTS;
create or replace package body PKG_CONSTANTS as 
   rf_curs sys_refcursor;
begin
   for rf_curs in
      select ID
             ,description
        from EMOTIONAL_STATE;
   loop
      case description
      when 'HAPPY' then
         ES_HAPPY := ID;
      when 'SAD' then
         ES_SAD := ID;
      when 'NEUTRAL' then
         ES_NEUTRAL := ID;
      else
         null;
      end case;
   end loop;
end PKG_CONSTANTS;I also thought about using dynamic PL/SQL to re-write and recompile the constants package in the event of a value being changed in the lookup table...seems like quite a lot of work, given that the magic value is pretty much meaningless outside of the scope of the application.
So... how to deal with this? What approach to you take? Does data integrity over-ride application programming style?
Any contributions would be welcome!

Hello,
I had a look through the article (8 year's worth of thread? Sheesh that's dedication!) and yet it doesn't quite express exactly what I'm meaning. The argument there appears to be between dynamic SQL with bind variables versus static SQL. I'm not talking dynamically building queries or the use of bind variablers per se - its more related to how one makes use of magic values within the context of conditional logic and application code.
The example I chose happened to use a case statement, which maybe blurs the line with the syntax of pure SQL query and perhaps why you thought I was going down the dynamic SQL route, but I could just have easily replaced them with a series of 'if elsif else end' type expressions.
From an application developer point of view, the mantra of 'abstraction through constants' is the norm - referencing literals in expressions is generally frowned upon, with the possible exception of special numbers such as 1 or 0 (for incrementing counters, referring to the start of arrays etc, etc). One only has to look at the work of Feuerstein to see this - time and again in his books, the concept of delegating constant values (and subtypes) to well-defined areas (the "Single Source of Truth") rears it's head.
Now in the Oracle world, data architecture generally has primacy, which in this case manifests itself as the use of foreign keys in data tables referencing the equivalent lookups (dimensional modelling, star diagrams and the rest) - thus even special, application-specific values, i.e. with no intrinsic value in the real world, end up in your ERD. There appears to be a bit difference of opinon, depending on the background of the developer.
Hence my question - how do you, as developers, deal with these sorts of situations?

Similar Messages

  • Incompatible magic value

    I have developed an applet, I execute it from a PHP file and I get the following error:
    java.lang.ClassFormatError: Incompatible magic value 1013084704 in class file MyApplet/class
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Excepción: java.lang.ClassFormatError: Incompatible magic value 1013084704 in class file MyApplet/class
    I have looked for information in the web, but I haven't get any useful solution in it. I need some help?
    Dani

    tschodt wrote:
    805978 wrote:
    java.lang.ClassFormatError: Incompatible magic value 1013084704 in class file MyApplet/class1013084704 decimal is
    3c627220 hexadecimal
    viewed as text looks like
    "<br " { '&lt;'(&amp;lt;), 'b', 'r', ' '(space) }
    and it should have been
    3405691582 decimal is
    cafebabe hexadecimal
    805978 wrote:I don't understand what you want to say. I have to make some changes? Where?I am saying when the Java VM reads MyApplet.class
    it expects a byte stream starting with { 0xca, 0xfe, 0xba, 0xbe, ... }
    but it gets a byte stream starting with { '&lt;'(&amp;lt;), 'b', 'r', ' '(space), ... }
    To fix it you first have to find out why the Java VM is failing to read your class file.

  • Difference in Inside-out and Outside-In development approaches

    Hi,
    Can you please tell me difference between Inside-out and Outside-In development approaches. I heard it with respect to adapters and proxies.

    Hi Rupesh...
    <b>Nice question as a Project Management point of view..</b>
    We can go for Interface development in 2 ways..:
    1. Create Interface objects in XI and replicate that thing in both sides for further development..
    Adv :: You are not dependent on others for XI development....Like in case of Proxies.
    Disadvantage : Skill in proxy required..
    2. Create RFC/IDoc  in end systems and import those in XI for development..
    Advantage  : People are usually familiar/comfortable with adapter oriented approach rather then adapter less..
    Disadvantage : you can't start your work before the end systems have completed their task..Once they have completed then only you can import the RFC/IDoc and proceed..
    About deciding the approach : It depends upon teams strength/situation ...Like in one of the project i have worked Project needs to be done by a Consortium of 3 teams from different companies..One for handling legacy one for R3 one for XI..
    So we went for Approach 1 as we don't want our work to be dependent on others..
    Hope i am clear..
    Regards,

  • Applet is not shown when viewing in liferay portal (magic value error)

    Hi A,
    When i am viewing applet in a portlet in liferay portal it is giving me following error..
    java.lang.ClassFormatError: Incompatible magic value 218762506 in class file html/portlet/kale/Scribble
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Pls let me know in case any one knows abt this?
    Regards,
    Neeraj.

    Assuming you are talking about http://www.liferay.com/ I think either they serve
    the applet the wrong way and the jre gets a garbage class or jar file.
    Or you are using a meddling proxy that messes up the class, proxy's can check
    script, classes and other stuff for security reasons and change them accordingly.
    Try to open the .class or jar file in your browser (download) and open it with a text
    editor if the proxy did something it might send you a message in clear text instead
    of the class file.

  • Incompatible magic value error Incompatible magic value 1013478509?

    Hi All,
    I am using applets in my adf application,
    Its running fine in my local, But after deploying in the server it gives error Incompatible magic value 1013478509
    java.lang.ClassFormatError: Incompatible magic value 1013478509
    Note : I have checked the java versions and deleted the temp files in java also..
    How to solve this issue ?
    Thanks,
    Gopinath J

    As this is no jdev problem, my friend google might help you. I my case the problem was a security filter which did not allow to send the applet class but instead send a friendly message (in html) to let me know that I'm going to jail if I try this again ;-)
    @john: after years of only dealing with binary values I reached the next of the 36 chambers...
    Timo

  • A question about development of livecylcle forms

    Hello,  I have been asked to build complex static forms for a client of ours using Livecycle Designer version 8.2.  The forms are static (fixed field) forms that will not interact with users in any way.  We will be populating the form fields from a .NET api so there is no need for any kind of validation handling / submit buttons etc.   In that way the forms are relatively simple.
    The problem I am running into is the desired form layout is complex and I am not sure about the most productive way to produce this layout.  The form a need to produce must exactly match the content of the attached file called "TheGoal.pdf".   Unfortunately this comes as some kind of read only image produced from a word template and I am unable to manipulate the layout when I import this into Livecycle designer.  The client wants me to create the form from scratch so they can have full control of the layout if changes are requested in future.
    To get a start on this, I went through the tutorials that come with the product just so I could understand how the forms are built.  I have attached a pdf file called "MyAttempt.pdf" that shows my initial attempts with the first few fields in the desired layout ("TheGoal.pdf").
    I have considered a number of approaches and, the only thing, that sort of works is draw all the boxes using rectangle objects and then dropping the required fields into the rectangles.  [Note: I have tried using tables and nested tables but I appear to be limited by the fact that tables only allow me to have a fixed number of columns and that nested tables always fille the entire cell of the parent table. ]
    The problem I have run into right away is I am finding my current approach very labor intensive.   Any time I want to change anything like resizing a box I have to resize all of the other boxes on the form.   As the form grows in complexity I can see the whole thing becoming a maintenance nightmare.
    In short my question is this:
    What is the best approach for creating complex layouts like this?  As an html developer I have been used to using tables to handle complex layouts in a way that can be changed relatively easily but that approach doesn't appear to work with Adobe LiveCycle designer.
    Any thoughts or insights would be very much appreciated. [Sorry about the long explanation].
    Thanks in advance.

    I justed wanted to say thanks for all of the help.   I think I am getting closer to an agreed approach with the client that might work.
    It looks like they will be fine with me just overlaying the fields on top of the Adobe image for most of the pages just because it will take a long time to create the layout manually for each one.  There is one page that is dynamic in nature because the number of table items on that page can potentially increase to any number - that part I am thinking of handling dynamically.
    Basically there will be a static image for each page except the dynamic one.   When all the fields are populated I will concatenate them all together and handle the page numbers in code.  [I will be using VB code with the apToolkit to handle the form data binding and concatenation of pdf images].
    Its a little messy but we think this effort should be less than trying to create that complicated layout on all of the pages.
    If anybody has any thoughts on that or similar experience I would very much like to hear about it. [The image file is in the original post and it is called "TheGoal.pdf".  Each page on that will be broken down to an individual image and page 2 is the part I will try to handle as separate dynamic form because the items in the "Property" section can increase to any number of items]
    Geoff.

  • ABAP doubts/questions in developing Cusotmer Exit

    Hi,
    I found a customer exit for variables in one of the SDN docs and I have few ABAP questions in it. Function exit is EXIT_SAPLRRS0_001 and Include ZXRSU01. I would really appreciate if someone can help me with it.
    1.     What exactly is an Include? As in this case ZXRSU01?
    2.     What is the difference in the declaration DATA: xyz type d and DATA: xyz like ..
    3.     I have two declarations in a user exit DATA: L_S_RANGE TYPE RSSR SRANGESID and LOC_VAR_RANGE LIKE RRRANGEEXIT. What does RSSR SRANGESID and RRRANGEEXIT correspond to?
    4.     What is I_STEP, there is a statement which says I_STEP=2. What are the all the possible values for I_STEP. As in 2 here is after the popup.
    5.     Also what exactly is I_STEP?
    6.     What does I_VNAM and I_T_VAR_RANGE correspond to? (If I am not wrong it corresponds to variable name)
    7.     From where can I get a list of all such standard variables like I_STEP, I_VNAM…
    Thank you,
    sam

    Your explanation is good. But right now I am working developing a customer exit for BEx variable. Can you please explain questions above in context to the code below:
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    Data: v_loc_date type d.
    Data: v_loc_date1 type d.
    Data: v_loc(4) type c.
    CASE I_VNAM.
    to calculate "month to date" user input is "Calday" Key Date
    WHEN 'ZPUTMNTH'.
    IF I_STEP = 2. "after the popup
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZPDATE'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(6). "low value, e.g.YYYYMM (200606) part of key date (20060625)
    L_S_RANGE-LOW+6(2) = '01'. “ low value e..g. YYYYMM01 (20060601)
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    EXIT.
    ENDLOOP.
    ENDIF.
    Thank you,
    sam

  • Development Approach

    Hello
    Greetings!
    I have a general question about how to approach the portal development process.
    The J2EE technology has improved and now we have a lot of useful standards like EJB 3.0 and Java Server Faces, however if you want to use this kind of technology you have to use Oracle Application Server 10.1.3 but if you want to incorporate this kind of development in Oracle Portal 10.1.4 there are limitations because it uses Oracle Application Server 10.1.2.0.2. I think that JSR-168, WSRP and Oracle JPDK have some limitations if you want to enrich the Portal Interaction.
    My question is:
    What is the best approach to start a development accesible from Oracle Portal ?
    (JSR168, WSRP, Oracle JPDK) or use new technologies like EJB 3.0 and JSF and incorporate them with a mechanism like Iframes ?
    Thanks!
    Ramiro Ortiz

    Did you ever get an answer to this question and make a selection about which technologies to use ?? I'm going down the same path right now (AS 10.1.2, want to use JSF) and I'd like to hear what you've discovered.

  • Development Approach for WebCentrer Portal

    My task: to develop portal applications with rich functionality.
    I see two approaches to this question in the http://docs.oracle.com/cd/E29542_01/webcenter.1111/e35813/pywcp_planning.htm point 1.8
    May I use Portal Builder Approach with develop custom components (using JDeveloper) to do what I want, the same as it can be done by means of Portal Framework Approach?
    Or it is better to use immediately Portal Framework Approach?
    Portal Builder Approach is represented simpler and clear, but I am afraid to face things which can't be realized with Portal Builder Approach..

    as per my understanding you should look what you want.If you really want customized features. use custom task flow
    read this for making more choice
    http://www.techartifact.com/blogs/2013/05/webcenter-portal-vs-webcenter-spaces.html
    and in case of lot of customization portal builder is better approach

  • Carbon to QTKit value conversion question

    I am rewriting an application in Cocoa which was originally developed in Carbon. (It used Flash movies for custom interface elements, which QuickTime no longer allows, and Cocoa makes redoing the custom interface much easier, so this isn't as weird of a task as it may sound.)
    One of the things this program has to do is read a file containing a series of numbers, and have QuickTime jump a movie to points represented by the numbers. (The app is multiply-deployed with different movies, so the numbers have to be editable by a non-programmer.) The "read a file containing a series of numbers" part is pretty simple, but I'm lost when trying to figure out what to do with the numbers once I've got 'em.
    The old Carbon code (circa 2001) says:
    Movie theMovie = <pre-loaded movie>;
    long jumpValue = <value from file>;
    TimeRecord theMovieTimeRecord;
    GetMovieTime( theMovie, &theMovieTimeRecord );
    theMovieTimeRecord.value.lo = jumpValue;
    SetMovieTime( theMovie, &theMovieTimeRecord );
    So the question is: if I have a QTMovie containing the movie, and an NSNumber containing the number that was in jumpValue, what is the fastest way to make Cocoa do the equivalent jump? (Or, better yet, convert it to a QTTime?)
    And as a followup, is there any easy way to get a callback when a QTMovie reaches a particular QTTime?

    I have an answer to the main question, which falls in the "duh" category: use the "quickTimeMovie" method on the QTMovie to get the Movie primitive, and then just use the code exactly as-is (or as-was). It functions perfectly well, so yay.
    Given that I'm using a non-standard timing system, I suppose I'll have to use a kludgey workaround to watch for the movie reaching particular points. (For example, an NSTimer which calls a checking function several times per second to see how far the movie has gone. Not elegant, but there are worse things to do.)

  • NEWBIE SOA Question:Appl Development for SOA

    This question may have been answered elsewhere; if so, my apologies.
    As a newbie to SOA, I am trying to wrap my head around the question of how app. development for SOA differs from traditional models. For example, non-SOA environments there are few external considerations when coding a process,
    but in SOA environments, I understand everything is a service.
    Can someone provide a few code snippets as to how they would look in each environment?
    I have read through several documents on SOA and have done the SOA tutorial, etc. but I have yet to see a side-by-side comparison of application code in SOA and non-SOA environments.
    How would an architect plan the translation and mapping of business objectives and functional requirements into a technical solution for SOA, architecting the SOA solution ?
    I would really appreciate any pointers (links to articles, etc.) in this direction. Thank you.
    Gordon

    Hello Gordon,
    SOA (Service Oriented Architecture) - as the name indicates, it's design is based on services. SOA is another integration technique which is used for small scale integration. SOA is an approach to have software resources in an enterprise available and discoverable on network as well defined services. Each service would achieve a predefined business objective and perform discrete units of work. The services are independent and do not depend on the context or state of the other services. They work within distributed systems architecture.
    Few links which may help you in understanding SOA and it's design patterns -
    http://blogs.oracle.com/jeffdavies/2008/10/architects_dictionary.html
    http://www.oracle.com/technology/tech/soa/mastering-soa-series/part1.html
    http://www.oracle.com/technology/tech/soa/mastering-soa-series/part2.html
    http://www.oracle.com/technology/tech/soa/mastering-soa-series/part3.html
    http://www.oracle.com/technology/tech/soa/mastering-soa-series/part4.html
    http://www.oracle.com/technologies/soa/docs/soa-bp-design-patterns-whitepaper.pdf
    http://www.oracle.com/technology/pub/articles/erl_soa_design_patterns_app_sequences.html
    http://www.oracle.com/technology/oramag/oracle/09-sep/o59architect.html
    http://www.oracle.com/technology/pub/articles/tech_arch.html#soa
    Regards,
    Anuj

  • Question  on Insallation Approach for SOA 11.1.1.3

    I would appreciate if any Fusion experts can answer this :
    *Environment :OEL 5.3 64 bit, Oracle DB 11.1.0.7  , WLS 10.3.3, SOA Suite 11.1.13 and JRockit
    I am setting up DEV environment
    I installed Oracle DB 11.1.0.7 and RCU 11.1.1.3
    I installed JRockit R27.5.0 for Java SE 6 for Linux x86-64” . While installing Web Logic Server 10.3.3 (generic) on 64 bit, I could see the Available JRockit 27.5 , I went ahead with that and I could install WLS. But while Installing SOA Suite I got this Error
    java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/tmp/OraInstall2010-07-17_10-13-18PM/ext/jlib/glassfish.jaxb_1.2.0.0_2-1-7.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
    I think this JRockit does not support SOA Suite 11.1.1.3 Right now WLS 10.3.3 is pointing to the JRockit 27.5 (not supported for SOA Suite)
    Later I installed JRockit Mission Control 4.0.1 for Linux X86- 64. [jrmc-4.0.1-1.6.0-linux-x64.bin] in /u01/app/oracle/product
    Now I went ahead with SOA Suite 11.1.1.2 runInstaller and then SOA 11.1.1.3 patch runInstaller , which worked .
    But while creating SOA Domain I could only see JRockit 27.5 in Available JRockit list , so I browsed and selected jrmc-4.0.1-1.6.0 from product directory I installed and I could successfully create SOA Domain.
    I can start Admin Server & Managed Server . Admin Server & SOA Server is shown up in Enterprise Manager. So far , I am assuming what I did is correct ??
    QUESTIONS: -
    1. But WLS is still pointing to JRockit 27.5 . Will there be any issues/ errors later during Deployment ?
    2. Should I change or point the WLS to JRockit Mission Control. Can I do this without UN-INSTALLING . Like changing PATH or CLASS PATH , Can anyone suggest how to do?
    3. Are they any post installation steps I need to follow?
    Thanks
    Arvind
    Edited by: Arvind on Jul 19, 2010 10:13 AM
    Edited by: Arvind on Jul 19, 2010 11:34 AM

    Hi,
    As you already have the cascade setup between Country and State set the default value for the state with SQL. The way to do it is use a presentation variable for country and use that variable in the state default sql as a filter. Sort the values and pick the 1st value in the sql. This would return the 1st value in the State prompt.
    Let me know if this worked.
    Regards,
    Jay

  • Refinement Panel show "file name" values with question mark instead of spaces

    Hi,
    I customized Refinement Panel to refine by file name. In some cases the value (file name) is shown with question mark instead of space. It looks like gibberish and the refine by that value doesn't bring the result.
    Any ideas how to solve?
    keren tsur

    Hi Keren,
    Please try to reset index in Central Administration > Application Management > Manage service applications > click the Search service application > Crawling > Index Reset > check the box Deactivate search
    alerts during reset > Reset Now > Ok.
    Then restart a full crawl in the Central Administration > Application Management > Manage service applications > click the Search service application > Crawling > Content Sources.
    In addition, please capture a screenshot of the issue.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Multi value attribute question

    Hello there,
    Our application would like to have a multi value attribute in DS11.1.1.7.0 on SLES platform. But here is my question..
    1. Can i have a one single attribute with value like companyCode: ABC,XYZ,QWE,RTY
    2. OR , can i have like below..
    CompayCode: ABC
    CompanyCode: XYZ
    CompanyCode: QWE
    CompanyCode: RTY
    which is the best method for LDAP server performance?
    Thanks

    Hi,
    Multi-valued attribute is supported OOTB by LDAP and it seems simpler&better (possibility to have better indexing, more efficient to add/delete values)  to use the second option, especially if you need to search for entries based on one of the attribute value. By default, LDAP attributes are multi-valued in the LDAP schema so you can store several values for companyCode.
    Note: attribute values in an LDAP attribute are unordered, so choose the primary option if you need to maintain ordering across attribute values.
    HTH
    -Sylvain

  • Dashboard prompt value update question

    All,
    I am hoping to see if anyone can answer my question or whether it is a bug or an enhancement request is needed to send to oracle.
    The issue is with my Dashboard prompt, plain and simple to there are two prompt. The second is reliant on the value of the first prompt.
    For example, My Parent prompt is Channel, and the second is Sub-Channel.
    When Channel prompt is given a value, I want the sub-channel to contain only the values that are related to the Channel prompt's new value.
    However it doesn't work, I have to press the GO button first, then the sub-channel will contain the values. Is there a way to update the sub-channel value based on the update of the Channel prompt, and not by pressing go.
    Any help will greatly be appreciated, if this needs to be an enhancement request to Oracle, please inform me of what I need to do. Thank. JAR80

    Its obiee limitation and conceptually its logical. Because when you choose constrain, BI server internally generates sql for constrain prompt. If we mention the sql, BI server uses the sql and which did not use the constrain query.
    this similar topic is discussed once here, and workaround posted. but it is some what complex, so need to do check before implementing.
    Can presentation variable created in one Dashboar prompt be used in other?
    - Madan

Maybe you are looking for

  • FM FOR GENERIC EXTRACTION

    Hi all, Please go thru this link(I know its pain, but thanks). It is the question i had. ERDAT or AEDAT Many people contributed towards the problem. BUt still i had a few doubts, which were left unanswered. Siggi came up with a solution for me, in wh

  • Direct to Editor?

    In PSE6.0 I could open from desktop icon direct to Editor. Now using PSE8.0 and want to do same, not have all that introductory gibberish; have I missed something? I work most of my photos in Editor and save to My Pictures; very rarely get into Organ

  • ITunes on start up

    Everytime I launch iTunes I get a message stating iTunes set up assistant. It doesnt seem to make a difference if i continue with the procedure or not, as if I press cancel it will continue to iTunes with all my music there and if I fill out the wiza

  • Security Right 'Resource' id for 'User Impersonation For Seller' right

    Hi, Can someone tell me whats the RESOURCE id for security right 'User Impersonation For Seller'? I need this to populate the workbook. None of the standard roles have this in E-Sourcing 5.1, so the standard workbook doesnt contain this right. Manual

  • Bw 7.0 uploading data through r3

    hi all ,               can anybody plz send me any document or any snap short for uploading data through r3 at this time i make the connection between r3 and bw system and create source system plz tell me the procedure for this thanks.