Last parameter in the raise_application_error  (true or false)

Hi everyone,
I have a question reagrding the last parameter in the raise_application_error clause.
The last parameter says
true: purge error stack
false: do not purge error stack.
I raised an exception and captured it with both parameters.
In the case of false(do not purge previous errors) I could see the exect error no and msg (like No data found).
But in the case of true (purge previous errors) i got an exception, but not the exact error msg.
Is this the difference.
In the case of true, it should purge previous errors, why is it purging the most recent error also.
Is there anything more to true and false. Please highlight.
And is there a way i can see the error stack.
I am so keen to see that.
It always says error is placed on the stack of previous errors.
I want to see the previous errors.
Can I.
Any ideas.
meenakshi

See:
http://www.oracle.com/technetwork/issue-archive/2005/05-mar/o25plsql-093886.html
DBMS_UTILITY.FORMAT_ERROR_BACKTRACE

Similar Messages

  • Selectedcolor, true to the text true or false in the false print text

    Selectedcolor, true to the text true or false is false text into print.
    colorPicker component in, I select Export to a selected color, the color value myMC texte into summer, but accuracy can not control.
    If you'll be glad to help in this regard.
    yours truly
    Below is the AS3 code
    var myColorPicker:ColorPicker = new ColorPicker();
    myColorPicker.editable = false;
    myColorPicker.visible = false;
    myMC.visible= false;
    myColorPicker.addEventListener(MouseEvent.CLICK, clickHandler);
    myColorPicker.addEventListener(ColorPickerEvent.CHANGE, changeHandler);
    myColorPicker.move(20, 20);
    addChild(myColorPicker);
    function clickHandler(event:MouseEvent):void {
    event.currentTarget.open();
    var colorTransform:ColorTransform = myMC.transform.colorTransform;
    function changeHandler(event:ColorPickerEvent):void {
    colorTransform.color = myColorPicker.selectedColor ;
    myMC.transform.colorTransform = colorTransform;
    switch(myMC.colorTransform)
                case 1:
       myMC.colorTransform== 0xff0000;
                   break;
                case 2:
    myMC.colorTransform == 0x0000ff;
                              break;
                case 3:
    myMC.colorTransform == 0x00ff00 ;
                                 break;
    btn.addEventListener(MouseEvent.CLICK, butonClickHandler);
    function butonClickHandler(e:MouseEvent):void{
    if( myColorPicker.selectedColor == myMC.colorTransform ) {                
    text2.text="tebrikler doğru renk seçtiniz";trace(text2.text);}else{
    text2.text="yanlış tekrar deneyiniz";

    there's something wrong with that code either because you're nesting named functions or because of this forum.
    and that switch-statement makes no sense.
    and a colorTransform has a color property but it's not a color.
    and your last if-statement will always be false because movieclips don't have a colorTransform property.  they have a transform property and that has a colorTransform propery.
    and then you should be comparing your color picker's selectedColor with myMC.transform.colorTransform.color.
    copy and paste your code and make sure it's formatted so it's readable.

  • How to modify the parameter csi/enable      from TRUE  to false

    i install ce7.1 ,and i can visit the http://myip:50000/sap/admin/public/index.html ,in the page ,i just want to
    change the Content Filter settings
    csi/enable     TRUE 
    modify TRUE  to false ,how to change the parameters
    thanks

    Hi ,
    Set the profile parameter csi/enable to the value 0 in transaction RZ11. You can also use prefixes to filter individual paths (for example, if users enter data there) or exclude individual paths from filtering (for example, is users cannot enter any data there). This value is immediately active and you should therefore use this method.
    Also please check below link may help you out for your query in better way::
    http://help.sap.com/saphelp_nw04s/helpdata/en/37/676642991c1053e10000000a155106/frameset.htm
    Thanks..
    Mohit

  • Parameter Query for True or False values

    I have what seems like a painfully simple task and it has me stopped dead.  I reviewed a similar thread, and the answers there don't seem to apply. Working in Crystal 11.5 with an MS SQL database.
    I am pulling data from vwCommmittees.  There is a field in this view called IsActive.  I want to create a committee list report that will allow the user to select only the active committees or all committees.
    A SQL select statement that says where dbo.IsActive = '1' will return only the active committees.
    In Crystal reports, if I place the IsActive field on the report, it returns with "True" or "False."
    When I create a parameter for this field, I find that 1) I can't see the parameter in the report expert -- my only choices are Is any value, Is true, Is false or Formula.
    I've made several attempts to create a formula and nothing is working. It's not clear to me wheter I should be creating a static or a dynamic parameter.  When I choose boolean as the type, that doesn't seem to help.  I tried a dynamic parameter which gave me true and false values, but don't seem to work.
    Any pointers on dealing with this kind of parameter query would be greatly appreciated.
    Sincerely,
    Ridge (in New Joisey)

    Hi..
    Create a static parameter and give the default values like
    0 and 1
    In Record Selection check like..dbo.IsActive = {?parameter}
    If the above is not working for you, then create a formula
    like..
    If dbo.IsActive = '1' then
    "Active"
    Else "In Active"
    Place this formula on your report and create a static parameter with default values Active and In Active.
    In record selection filter the above.
    Thanks,
    Sastry

  • Don't include last page of the SSRS report based on the parameter.

    I created the report, which has 4 pages.
    Each page contains bunch of tables and charts, which display data in scope of dataset, created for each page and reflecting certain subject.
    Each page also has Header and Footer.
    My users requested, the report has possibility to include or not include data on Page #4.
    Other words, report should display 3 or 4 pages based on the entered parameter.
    1. I created parameter named  “Include #### metrics”, which contains options: Y, N
     2. For each object on the page 4 I added dependency on the selected 
    parameter in  the visibility option.
    Now if user select parameter Not include Page #4, report displays 3 pages as expected and page #4 is empty, but with Header and Footer.
    The problem: Their
    preference is to not to show page 4 at all if someone chooses to not to include
    #### metrics.
    My question is how to force the report to display just 3 selected pages.

    Hi MK0526,
    Per my understanding that you have add page break to make the report to display on three diferent pages and you want to show and hide the fourth page based on the parameter selected, now the issue is although the content on the fourth page have been hidden
    but the page header and page footer still display, right?
    I have tested on my local envoronment and can reproduce the issue, the issue can be caused by the page break you have set, you may have check the "Add a page break after", please find the details information below to reset the page break:
    Please create four rectangles and add all the content from each pages to include in each rectangle
    Please  check the "Add a page break before" for rectangle2, rectangle3,rectangle4  in the rectangle properties and not add any page break in the  first rectangle (Rectangle1)
    Add expression below to show/hide the rectangle4:
    =iif(Parameters!IncludePage4.Value="No",true,false)
    Now you will not see the page header and footer in the fourth page when you select "No" in the parameter.
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Parameter for Last Week, Last Month & Last Year from the current Date

    I have a crystal report that has a StartDate & EndDate parameters from the stored procedure that I am calling. Now i got a new requirement saying that my user wants a drop-down parameter in which they need to be able to select last week (Sunday to Saturday), last month, last year instead of manually selecting start date and end date parameters? Can anyone please explain me how to do this?
    (FYI, I am using Crystal 2008)

    Hi Naveen,
    You'll need to handle the logic in the Stored Proc's where clause.
    If you're using oracle, I have something like this in the Stored Proc's where clause for our reports:
    Where {Date_Field} Between
    Decode('{?Relative Date}',
    'Yesterday', sysdate - 1,
    'Last Week', Tunc(sysdate, 'IW')-7)
    AND
    Decode('{?Relative Date}',
    'Yesterday', sysdate,
    'Last Week', Tunc(sysdate, 'IW'))
    where 'Relative Date' is a prompt in the Stored Proc and 'yesterday'. 'last week' are the 'static values' in the prompt.
    -Abhilash

  • The case structure is not working well on comaring two strings using true or false string matching VI

    I need an execution of commands after the reply from the instrument matches with the string I provided for that i used true or false string match VI on which the true string the matching command and the string is the reply from the instrument. And I put the further executionable commands in frame after frame of sequence loop in the true of the case structure. Amd finally I given all the output strings to the concatenate string to get all the replies as one loop. But when I execute the program the desired result is not available. So kindly please help me to overcome this problem.  
    Attachments:
    basic serial with changes.vi ‏24 KB

    You VI makes absolutely no sense and I would recommend you start with a few simple LabVIEW tutorials before trying to tackle this.
    What is the point of the FOR loop with 1 iteration, it might as well not even be there, same difference.
    Why is there an abort primitive in the FOR loop, this mean the program will unconditionally stop abort before any downstream code will ever go into action. The program will never get past the FOR loop.
    You created a circular data dependency and LabVIEW inserted a feedback node automatically, making things even worse. (see also)
    You need to learn about dataflow, execution order, and data dependency.
    You need to learn about the various types of tunnels (plain, autoindexing, etc.)
    There is a tremendous amount of duplicate code. Large code sections are the same, differeing only by a string. You should only have one copy of that code inside a proper state machine. Have a look at the design templates and examples that ship with LabVIEW.
    LabVIEW Champion . Do more with less code and in less time .

  • User Profile -- Last Log Entry - The Parameter is Incorrect

    HI
    I see an error in the SharedServices Provider serction under UserProfile . It says
    LAST LOG Entry : The Parameter is Incorrect
    This happened after i turned on search setting and Crawling . Is this anything to worry about ? what is this error message mean?
    Satis

    Hi, I've found a solution that works fine on this Post:
    Why this happens :
     - Profmain.aspx calls importStatus.LastCrawlSeedStatus to determine if an error occurred during the last profile import.
    - If the LastCrawlSeedStatus value is not 0, it checks importStatus.LastLogEntry and provides the text message from the log
    - LastCrawlSeedStatus is a property of the content source People_Import (Hidden Content Source)
    - If the registry
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\0\StartPages\0
    Or if the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\1\StartPages\0
    - If the value to anything other than
    0, we can reproduce problem
    - The search account should have full control on this registry key
    - The SSP account should have read access to this key.
    How to Fix it :-
    - Open the registry on the indexer server
    - Checke the value of "lastCrawlSeedStatus" in the registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\0\StartPages\0
    - And checke the value of "lastCrawlSeedStatus" in the registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\1\StartPages\0
    - We changed the value to
    0
    - Restart search service on
    Index server (better
    restart the server if you can due to too long waiting for stopping and starting the Office SharePoint Search Services)
    I hope to help all colleagues that have this issue.
    Ciao.

  • Control the render true/false after rollback in ValueChangeListener

    Hello
    I am using Jdeveloper 11.1.1.3.0 ADF BC.
    I have this problem:
    in my page I have some LOV that conrol the rendering true/false for other components,
    and we achieved this by a valuechangeLisntener method in a backing bean. and
    everything works well. However when we use the rollback the rendering does not work as expected.
    to clarify the problem, suppose we have LOV1(has two values 1,2) that control the rendering of
    LOV2, when the user selects 1 LOV2 will be rendered and when the user selects 2 LOV2 will be hidden
    now suppose that the default value of LOV1 is 2, so LOV2 is hidden, now the user change the value
    of LOV1 to 1 so the LOV2 will be rendered, now the user press rollBack the value of LOV1 will
    reset to 2 but the LOV2 is still rendered on the page. which is not true.
    initially I thought that I need to call the valueChangeListener method again after rollback,
    I found something like this in this thread:
    Dynamic ValuechangeListener Addition
    but this is for Jdeveloper 10g and that method is deprecated in 11g, as someone comments, and
    he mentioned that this is not the best practice. is there any working solution for this problem?
    can anyone help please

    Thank you LovettWB and Navaneeth for your suggestion, but unfortunately the problem is still exist.
    I will a snapshot for my code and my page definition.
    my page definition is:
    <af:selectOneRadio value="#{bindings.Citizen.inputValue}"
                                         label="#{bindings.Citizen.label}"
                                         required="#{bindings.Citizen.hints.mandatory}"
                                         shortDesc="#{bindings.Citizen.hints.tooltip}"
                                         id="citizen" autoSubmit="true"
                                         immediate="true"
                                         valueChangeListener="#{StudentInformationBean.showCountriesLOV}"
                                         binding="#{StudentInformationBean.citizenRadio}">
                        <f:selectItems value="#{bindings.Citizen.items}" id="si6"/>
                      </af:selectOneRadio>
    <af:selectOneChoice value="#{bindings.CountryOfCitizenship.inputValue}"
                                          label="#{bindings.CountryOfCitizenship.label}"
                                          required="#{bindings.citizenValue.inputValue=='غير كويتي'}"
                                          shortDesc="#{bindings.CountryOfCitizenship.hints.tooltip}"
                                          id="soc2"
                                          partialTriggers="citizen"
                                          binding="#{StudentInformationBean.countryOfCitizenship}"
                                          requiredMessageDetail="#{bundle.non_ku_country}"
                                          visible="#{bindings.citizenValue.inputValue=='0'}">
                        <f:selectItems value="#{bindings.CountryOfCitizenship.items}"
                                       id="si5"/>
                      </af:selectOneChoice>                      and my code is in the valueChangeLisitener is:
        public void showCountriesLOV(ValueChangeEvent valueChangeEvent) {
               // Add event code here...
               FacesContext context = FacesContext.getCurrentInstance();
               if(valueChangeEvent.getNewValue().toString().equals("0"))
                 System.out.println("the new citizen value is " + valueChangeEvent.getNewValue().toString());
               //  this.countryOfCitizenship.setRendered(false); 
                 this.countryOfCitizenship.setVisible(false);
                 this.countryOfCitizenship.setRequired(false);
                 context.renderResponse();            
               else
                 System.out.println("the new citizen value is " + valueChangeEvent.getNewValue().toString());
             //  this.countryOfCitizenship.setRendered(true);
                 this.countryOfCitizenship.setVisible(true);
                 this.countryOfCitizenship.setRequired(true);
                 context.renderResponse();
          public void rollBack(ActionEvent actionEvent) {
            // Add event code here...
            OperationBinding operationBinding = bindings.getOperationBinding("Rollback");
            System.out.println("perform the rollback");
            Object result = operationBinding.execute();
              AdfFacesContext adffacesctx = AdfFacesContext.getCurrentInstance();
            adffacesctx.addPartialTarget(this.citizenRadio);
            public void setRollBackButton(RichCommandButton rollBackButton) {
            this.rollBackButton = rollBackButton;
        public RichCommandButton getRollBackButton() {
            return rollBackButton;
         }any help or suggestion please.
    Edited by: M.Jabr on Feb 7, 2011 12:26 AM
    Edited by: M.Jabr on Feb 7, 2011 12:29 AM

  • Is their a activeX api function to set the database option "database logging enabled" to true or false?

    Hello!
    I want to decide dynamically while running a sequence to log the results to a database or not.
    So I need to set the "database logging enabled" property by a activex function call.
    Does a activex api function exist? I didn't found one, or is their an other way to change the property value?
    Thanks and regards
    M. Brosig

    Hi,
    Ah! I understand.
    You can change the runtime properties from you sequence or inside your step by using the Lookup string of
    "RunState.Caller.Locals.DatabasesOptions.DisableDatabaseLogging"
    Use the TS API  PropertyObject.SetValBoolean("DatabasesOptions.DisableDatabaseLogging", 0, newValue) method with RunState.Caller.Locals as your ActiveX Reference. (where newValue would be True or False.)
    Depending at what level you perform this API method depends how many "RunState.Caller" you have in your lookup string.
    eg.
    My example of
    PropertyObject.SetValBoolean("DatabasesOptions.DisableDatabaseLogging", 0, newValue) with RunState.Caller.Locals as your ActiveX Reference is based on a step in MainSequence which has been called by the Process Model sequence.
    If you have a step in a Sub-Sequence of MainSequence then the lookup string would be
     "RunState.Caller.RunState.Caller.Locals" as the activeX reference.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • I was told that I can get a discount on a new ipod if i trade the old one in upon sale? true or false?

    I was told that I can get a discount on a new ipod if i trade the old one in upon sale? true or false?

    You will only get a 10% discount.  See:
    http://www.apple.com/recycling/

  • Where do I find the TRUE or FALSE boolean value?

    I'm doing a program that displays the operation of global variable. I'm suppose to put a TRUE or FALSE boolean value and I can't find it. Please help.

    You can't find an indicator for the front panel or you can't find a Boolean constant to put on your diagram? You've got Boolean palettes for both front panel and diagram. Everything you need should be on one of the palettes. If that's not it, could you explain your problem in greater detail?

  • Why is the LCMCLI ignoring my use of the "-includeSecurity=true' parameter?

    I'm using the LCM Command Line Interface (LCMCLI) to promote content (e.g., AOLAP reports, Webi reports, etc.) between CMS environments.
    The objects' User Security includes the BI Platform's built-in groups as well as mapped Active Directory groups. The same mapped Active Directory groups are already present on both environments.
    I'm including the "-includeSecurity=true' flag in the LCMCLI syntax; when I execute the command, however, the object's user security from the source environment is not being applied to the object in the destination environment. Instead, the resulting object is simply inheriting the user security of the destination folder.
    For each group, the console log displays "Status -> Resolution Status=Dropped, Dependency Status=All the required dependencies are included., Commit Status=Commit is not required., Promotion Status=No errors detected". The final part of the log displays "EXIT_SUCCESS". Yet the User Security is not being applied to the object.
    Is this a known issue?

    Troubleshooting Wi-Fi issues

  • How can I print a label on the last page of the report in the margin

    I would like to display a label on my report but has to appear only on the last page of the report in the margin area or as a footer. I have tried using the solution below that I came across in this forum. This solution only worked if I put the label as a report trailer and not in the margin of the main section of report. The problem of putting the label as a report trailer is that it will only appear at the end of the report on it's own page, i.e. on a new page. I would like the label to appear at the end of the report, on the last page which has the other report details and not to appear on a new page on its own. Could you please help? Thanks.
    1. Create a dummy query, like
    select 1 dummy
    from dual
    2. Create a package spec:
    PACKAGE pkg_globals IS
    totalPages number(3);
    END;
    2. Create a repeating frame and field for this dummy at the end of the report layout.
    3. Create a format trigger for this frame:
    function R_1FormatTrigger return boolean is
    begin
    SRW.GET_PAGE_NUM(pkg_globals.totalPages);
    return (FALSE);
    end;
    4. Create a format trigger for your margin field:
    function F_1FormatTrigger return boolean is
    pagenum number;
    begin
    srw.get_page_num(pagenum);
    if pagenum = pkg_globals.totalPages then
    return (TRUE);
    else
    return (false);
    end if;
    end;

    user8655468 wrote:
    I would like to display a label on my report but has to appear only on the last page of the report in the margin areaCreate a fixed frame at the bottom of margin area and inside the frame put your label.
    set the frame print object on: Last page
    Hope this works..

  • Use a multiple selection parameter in the data model

    Hi
    i have created a parameter with the property multiple selection.
    This parameter i use in the Data Model where area,
    if i just mark one value the report works well if i mark more the one
    the report run into a error.
    WHERE PSNR IN :ma
    the xdo looks like
    <?xml version = '1.0' encoding = 'utf-8'?>
    <report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="tisoware">
    <title>BDE Nettozeit</title>
    <properties>
    <property name="showControls" value="true"/>
    <property name="online" value="true"/>
    <property name="parameterColumns" value="2"/>
    <property name="openLinkInNewWindow" value="true"/>
    </properties>
    <dataModel defaultDataSet="BDERUECK">
    <dataSet id="BDERUECK">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT (SUBSTR(DATUM,1,6)) AS DATUM, SUM(NTTOZEIT) AS ZEIT,
    TRUNC(SUM(NTTOZEIT)/60) AS STUNDE
    FROM BDERUECK
    WHERE (DATUM  >= :datev) AND (DATUM <= :dateb) AND (KZDELETE = 'N') AND FIRMA = '1' AND ((PSNR IN :ma))
    GROUP BY (SUBSTR(DATUM,1,6))]]>
    </sql>
    <input id="datev" value="${datev}" dataType="xsd:string"/>
    <input id="dateb" value="${dateb}" dataType="xsd:string"/>
    <input id="ma" value="${ma}" dataType="xsd:string"/>
    </dataSet>
    </dataModel>
    <valueSets>
    <valueSet id="date">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT DISTINCT DATUM
    FROM BDERUECK]]>
    </sql>
    </valueSet>
    <valueSet id="employee">
    <sql dataSourceRef="tisoware">
    <![CDATA[select      PERSTAMM.PSPERSNR as PSPERSNR,
          PERSTAMM.PSNR as PSNR
    from      TISOWARE.PERSTAMM PERSTAMM
    where    PERSTAMM.FIRMA = '1'
    order by PERSTAMM.PSPERSNR]]>
    </sql>
    </valueSet>
    </valueSets>
    <parameters>
    <parameter id="datev" defaultValue="20050103">
    <select label="Datum von : " valueSet="date" multiple="false" all="false" refreshParameters="false"/>
    </parameter>
    <parameter id="dateb" defaultValue="20060930">
    <select label="Datum bis : " valueSet="date" multiple="false" all="false"/>
    </parameter>
    <parameter id="ma" defaultValue="152">
    <select label="Mitarbeiter : " valueSet="employee" multiple="true" all="false"/>
    </parameter>
    </parameters>
    <templates default="BDE Nettozeit">
    <template label="BDE Nettozeit" type="rtf" url="BDE Nettozeit.rtf"/>
    </templates>
    </report>

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

Maybe you are looking for