Exception agreegation not working on Formula cumulative work

Hi Guys,
I have an issue with exception aggregation when I am trying to aggregate the values of Formula cumulative work.
How we can aggregate the value of formula.
formula is:    (finish date <= start date)* work.
where finish date and start date both are formula variable with replacement path.

Hi Anshu,
I have tied this option also but it did not working.
please see below output of the report.  Please see I am getting unique record based on the activity.   please help.

Similar Messages

  • Front end Exceptions is not working

    Hi Experts,
    Front end version BI7.0
    I have a below scenario:
    There are two calculated Key figures in my query ,lets say A & B.
    I have to show CKF A in RED if A is greater than B.
    To achieve this above ; I have created a formula KF to compare A & B.
    The formula will give either 1 or 0.
    1 - If A is greater than B ,else 0
    Then i created a new exception as below:
    in General tab - Alert level  : Bad3  Equal = 1.
    Definition tab - Exception is defined on Turns = formula KF
    Display tab = Excpetion affects data cell and selected following structure element = and selected KF A
    Cell restriction tab = Exception affectes everything
    But this exception is working only for formula KF and making RED only to formula KF..But it is not working on KF A...
    And CKF A is not shown as RED ?
    Please let mw know what i have missed?
    Or Is there any other way to get this?
    Thanks..
    Naween

    Hi Naween,
    I dont thin so you did any mistake . For all three figures , A, B , KF the scaling factor and decimal places should be same. inshort the properties shouls same .
    while testing this plz do not hide the KF .
    hope this will help you .
    Regards,
    Aparna

  • Options-content- exceptions is NOT working. I put a website on exception list but doesn't work

    I go to : Tools, options, content. it has on top: Load images automatically . it has a button: exceptions. I enter a web site there so it will NOT load images automatically- does NOT work.
    OR I un-click the load images automatically which makes ALL websites not load images. I then go to exceptions and put a website so it WILL load images from that specific web site - does NOT work.
    When I put the website in exceptions it goes/gets saved to the list of exceptions- but firefox ignores it and does not make an exception for that website. (Also mostly after sometime that I close firefox the list would get cleared by itself)

    You need to make an exception for the server that stores the images. Some websites store their images on a separate server for load balancing or other reasons. You can check the images in Tools > Page Info > Media to see which sites you need to unlock.

  • BPM-Raise Exception does not work

    I have designed the BPM in following way.
    1. Receive step - Receive Asynchronous message
    2. Defined the Block - DB
    3. Send step 'A'  to JDBC - inside the Block-'DB' - Acknowledgement-Transport, Exceptions System Error-DB, Receiver from-Send context.
    4. Created an exception handler and Selected 'DB' as exception handler for the property of the exception handler branch.
    5. Inserted the Send step-'B' to send mail inside the exception handler branch by using the MAIL receiver adapter.
    We want send the message to update database by using JDBC adapter but if it fails to update database then we want send an e-mail to outlook.
    But it looks like it is not working when it fails to update database.
    Can someone please help me?
    Thanks in advance!

    Hi,
    According to the SAP online help documentation for the receiver JDBC adapter:
    <i>The receiver JDBC adapter supports system acknowledgments but not application acknowledgments.</i>
    What you will need to do is either get a system error triggerred by the adapter (which basically throws up the red flag and tells XI that the message could ot be delivered successfully) , or get the application to trigger a fault message back to the adapter. I have not worked with the JDBC adapter, so I cant tell you in more detail.
    Here are some links that I have been able to find that might help you...
    Statuses in the monitor :
    http://help.sap.com/saphelp_nw04/helpdata/en/ea/2f053d39177608e10000000a114084/frameset.htm
    Dealing with Exceptions in BPM
    http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    Cheers
    Manish

  • PI 7.11 - Alert creation for RFC Exceptions does not work

    Hi folks!
    In our PI 7.11 SP04 system we have created an Alert Category as well as an Alert Rule to be informed about errorneous messages in the Integration Engine (ABAP).
    The scenario is synchronous SOAP Axis to sRFC, where the RFC answers with an exception that is transferred to a SOAP Fault response message.
    Now we see messages with Application Errors in the Integration Engine, but no alert is created. Having a look at the alert creation log using report SXMSALERT_LOGREADER shows us that the system even does not try to create an alert for these messages.  Alerts are only created for errors in the Adapter Engine.
    Question:
    Why does the system not create alerts in this case and how can we achieve this?
    Thanx for any hint!
    Kind Regards,
    Volker

    Hi!
    Additional information for all:
    When forcing an error like "receiver not found" both kinds of alerts are created: AE Alert and IE Alert. Thus in general the alert configuration and the alert rule for IE errors are correct and working - only not for RFC exceptions ....
    Regards,
    Volker

  • Bounded Taskflow Exception Handler not working with Page Fragements

    I have one bounded - taskflow task-flow-definition
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="task-flow-definition">
        <default-activity>view1</default-activity>
        <managed-bean>
          <managed-bean-name>backing_main</managed-bean-name>
          <managed-bean-class>view.backing.Main</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
        </managed-bean>
        <managed-bean>
          <managed-bean-name>backing_view1</managed-bean-name>
          <managed-bean-class>view.backing.View1</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
        </managed-bean>
        <managed-bean>
          <managed-bean-name>backing_view2</managed-bean-name>
          <managed-bean-class>view.backing.View2</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
        </managed-bean>
        <exception-handler>view2</exception-handler>
        <view id="view1">
          <page>/view1.jsff</page>
        </view>
        <view id="view2">
          <page>/view2.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>view1.jsff contains one command button, which calls one ActionListener
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:commandButton text="commandButton 1" actionListener="#{pageFlowScope.backing_view1.callMyFunction}"
                        binding="#{pageFlowScope.backing_view1.commandButton1}"
                        id="commandButton1"/>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_view1-->
    </jsp:root>view1.java callMyFunction throws an Exception
        public void callMyFunction(ActionEvent event) throws Exception{
            throw new Exception();
        }view2.jsff is an exception handler
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:activeOutputText value="Exception Occured"
                           binding="#{pageFlowScope.backing_view2.activeOutputText1}"
                           id="activeOutputText1"
                           inlineStyle="font-size:xx-large; color:red;"/>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_view2-->
    </jsp:root>above taskflow is dragged-drop as a Region in one file main.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document binding="#{pageFlowScope.backing_main.document1}"
                     id="document1">
          <af:form binding="#{pageFlowScope.backing_main.form1}" id="form1">
            <af:region value="#{bindings.taskflowdefinition1.regionModel}"
                       id="taskf1"
                       binding="#{pageFlowScope.backing_main.taskf1}"/>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_main-->
    </jsp:root>*pressing a commandButton on view1.jsff throws an Exception as expected but does not go to exceptionHandler [view2.jsff]*
    However, this does work with Bounded Task-Flow without page fragments , view1.jspx contains one button, calling one method which throws an Exception,
    view2.jspx is an Exception Handler, and in this case it redirects to the view2.jspx [error page]
    any ideas?
    thanks

    Hi,
    Pretty much. However, you got the event part wrong, which is mostly my fault here. First, let put down some general JSF facts about event handling.
    1. http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIComponent.html#queueEvent(javax.faces.event.FacesEvent)
    2. So, basically, queuing an event on a component means queuing it on its parent until you reach the UIViewRoot that will really actually queue it. That strategy allows iterating components to intercept event queued on their children to record the row index as well so that the data model can be synchronized correctly during the broadcast phase (see http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIData.html#queueEvent(javax.faces.event.FacesEvent) and http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIData.html#broadcast(javax.faces.event.FacesEvent))
    3. Exceptions that aren't handled by the exception handler are thrown during broadcast or various process* methods.
    So, the catch component must leverage these facts to intercept events queued on its children (by overriding queueEvent method) wrapping the original event in a custom on that flag the catch component itself as the source of the event. The result will be that the broadcast method of the catch component will be called to handle the event. The broadcast method must then unwrap the event (to get the original event), gets the original source, then call originalSource.broadcast(originalEvent) within a try-catch block.
    Does it make any more sense put that way? Note that it's an obscure part of JSF so I cannot make it incredibly simple either.
    Regards,
    ~ Simon

  • Custom code as an exception handler not working.

    Hi,
    I worked on Custom Handler for unauthorized access to a taskflow following the link below and it worked. But a special case in this doesn't work.
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/taskflows_complex.htm#ADFFD22602
    Scenario-1: I have a link that opens an unauthorized taskflow as blank page. I tried the solution of custom handler and am able to display message or display error page --- WORKS FINE
    Scenario-2: I have a link that opens an unauthorized taskflow in a pop-up as blank page. The above solution doesn't work. I tried displaying SOPs but nothing gets print --- DOESN'T WORK.
    Details:
    The custom handler doesn't work with Pop-ups. I have an unauthorized taskflow that gets called inside a pop-up using a link. Being an unauthorized user, I click on the link and it pops-up with a blank page. As per the custom handler it is supposed to display error-page. But it doesn't.
    I tried displaying SOPs inside the handleException method and nothing prints. The exception handler is unable to catch the exception. If this use-case throws some exception, my exception handler would have handle it but it doesn't raise any exception.
    Is this something issue that I need to discuss with FMW team?
    Any workaround for this would be of great help.
    Code Sample:
    public void handleException(FacesContext facesContext, Throwable throwable,
    PhaseId phaseId) throws Throwable {
    String errorMessage = throwable.getMessage();
    if (errorMessage != null && errorMessage.indexOf("ADFC-0619") > -1) {
    setEL("#{sessionScope.errorMessage}",
    "You are not authorized to view this page.");
    ExternalContext externalContext =
    facesContext.getExternalContext();
    externalContext.redirect("ErrorPage");
    } else {
    super.handleException(facesContext, throwable, phaseId);
    Thanks
    Raza

    Hi Frank,
    This scenario is not specific to a particular TaskFlow. In General, there are links in some views, that invokes taskflows and a particular user may not have permission to that TaskFlow. In this scenario, I am not sure where I need to define the method or router. And Hence I registered the Custom Exception Handler as a service as per the documentation.
    But the logic in documentation doesn't work with Pop-ups.
    Thanks
    Raza

  • Conveting System exception to userdefined exception.. not working correctly

    Hi,
    I have written a parser in java using SAXParser.
    Also, schema validation is done. So when I give a incorrect xml it throws SAXException and I am able to catch the same. But on catching it I am conveting it to userDefined exception and throwing the same to client(java application), but on catching the same in client it is getting converted to null pointer exception and i have to put a catch( Exception ex) block to catch it, it is not getting catched in userdefined catch block.
    code snippet
    parser:
    method parseInput (...) throws parseException
    catch(SAXException sx)
    throw new parseException( sx.getMessage());
    client:
    try
    parseInput()
    catch( parseException pe )
    catch ( Exception e)
    // Here it is getting caught.
    System.out.println(" prints exception message as " + e.getMessage())) as NULL.
    -- End -----------------------------------
    So what could be possible reason.
    Could some one throw pointers on the same.
    Your help is highly appreciated and thanks for the same.

    You're program is fucked up. You don't "convert" something to a nullpointer exception, you do something wrong and trigger one.

  • Payroll Exception report not working

    Hi
    I am running payroll exception report with seeded report High Gross and High Net.
    The report runs fine but the output is not matching
    It shows correct current balance but previous balance is always zero.
    Steps i followed:
    1) ran the payroll for previous period
    2) pre-payment
    3) payroll archive
    4) run payroll for current payroll
    5) run the Payroll exception report with seeded Gross
    For double check , i also ran the generate run balance to validate all balances.
    So can you please suggest something or is any specific set up is required for this.
    Thanks
    Makarand

    I found out that the payroll message report is the payroll exception report.

  • 2602e Reset to Defaults Except IP not Work over Web GUI

    Hello,
    1. Set a Static IP
    2. Apply & Save Configuration
    3. After Reboot the IP is correct.
    Then do Reset to Defaults Except IP in the WEB Gui.
    After Reboot the AP loos the static IP and get a DHCP Address.
    Reset to Defaults Except IP = Reset to Defaults !
    Whats Wrong ?

    OK, here is:
    Writing out the event log to flash:/event.log ...
    *Jan 22 17:44:56.675: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
    *Jan 22 17:44:57.547: %SYS-5-RELOAD: Reload requested by  on console. Reload Reason: Reload Command.
    Write of event.log done
    IOS Bootloader - Starting system.
    flash is writable
    FLASH CHIP:  Numonyx Mirrorbit (0089)
    Xmodem file system is available.
    flashfs[0]: 212 files, 7 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 31997952
    flashfs[0]: Bytes used: 15058432
    flashfs[0]: Bytes available: 16939520
    flashfs[0]: flashfs fsck took 23 seconds.
    Reading cookie from SEEPROM
    Base Ethernet MAC address: 10:f3:11:c2:2e:3a
    Ethernet speed is 1000 Mb - FULL Duplex
    Loading "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-mx.152-4.JB3a"...##########################
    File "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-mx.152-4.JB3a" uncompressed and installed, entry point: 0x2003000
    executing...
    Secondary Bootloader - Starting system.
    Tide MB - 32MB of flash
    Xmodem file system is available.
    flashfs[0]: 212 files, 7 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 31997952
    flashfs[0]: Bytes used: 15058432
    flashfs[0]: Bytes available: 16939520
    flashfs[0]: flashfs fsck took 14 seconds.
    Base Ethernet MAC address: 10:f3:11:c2:2e:3a
    Boot CMD: 'boot  flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-xx.152-4.JB3a;flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-mx.152-4.JB3a'
    Loading "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-xx.152-4.JB3a"...#######################################
    File "flash:/ap3g2-k9w7-mx.152-4.JB3a/ap3g2-k9w7-xx.152-4.JB3a" uncompressed and installed, entry point: 0x1003000
    executing...
                  Restricted Rights Legend
    Use, duplication, or disclosure by the Government is
    subject to restrictions as set forth in subparagraph
    (c) of the Commercial Computer Software - Restricted
    Rights clause at FAR sec. 52.227-19 and subparagraph
    (c) (1) (ii) of the Rights in Technical Data and Computer
    Software clause at DFARS sec. 252.227-7013.
               cisco Systems, Inc.
               170 West Tasman Drive
               San Jose, California 95134-1706
    Cisco IOS Software, C3600 Software (AP3G2-K9W7-M), Version 15.2(4)JB3a, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Compiled Mon 23-Dec-13 08:11 by prod_rel_team
    Tide MB - 32MB of flash
    Initializing flashfs...
    flashfs[3]: 212 files, 7 directories
    flashfs[3]: 0 orphaned files, 0 orphaned directories
    flashfs[3]: Total bytes: 31739904
    flashfs[3]: Bytes used: 15058432
    flashfs[3]: Bytes available: 16681472
    flashfs[3]: flashfs fsck took 12 seconds.
    flashfs[3]: Initialization complete.
    flashfs[4]: 0 files, 1 directories
    flashfs[4]: 0 orphaned files, 0 orphaned directories
    flashfs[4]: Total bytes: 11999232
    flashfs[4]: Bytes used: 1024
    flashfs[4]: Bytes available: 11998208
    flashfs[4]: flashfs fsck took 0 seconds.
    flashfs[4]: Initialization complete.
    Copying radio files from flash: to ram:
    Copy in progress...CCCCC
    Copy in progress...CCC
    Copy in progress...CCCC
    Copy in progress...CCCC
    Copy in progress...CC
    Copy in progress...CCC
    Copy in progress...CC
    Copy in progress...CCCCC
    Uncompressing radio files...
    ...done Initializing flashfs.
    Radio0  present 8764 8000 0 A8000000 A8010000 0
    Rate table has 650 entries (20 legacy/224 11n/406 11ac)
    POWER TABLE FILENAME = ram:/B2.bin
    Radio1  present 8764 8000 0 88000000 88010000 4
    POWER TABLE FILENAME = ram:/B5.bin
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    cisco AIR-SAP2602E-E-K9 (PowerPC) processor (revision A0) with 204790K/57344K bytes of memory.
    Processor board ID FGL1711Z6K6
    PowerPC CPU at 800Mhz, revision number 0x2151
    Last reset from power-on
    1 Gigabit Ethernet interface
    2 802.11 Radios
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 10:F3:11:C2:2E:3A
    Part Number                          : 73-14511-02
    PCA Assembly Number                  : 800-37898-01
    PCA Revision Number                  : A0
    PCB Serial Number                    : FOC17093TXF
    Top Assembly Part Number             : 800-38357-01
    Top Assembly Serial Number           : FGL1711Z6K6
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-SAP2602E-E-K9  
    Press RETURN to get started!
    *Mar  1 00:00:16.035: %IFMGR-7-NO_IFINDEX_FILE: Unable to open nvram:/ifIndex-table No such file or directory
    *Mar  1 00:00:16.151: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed (11)APAVC:  WlanPAKs 18174 RadioPaks  17566
    *Mar  1 00:00:23.131: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0 (4)
    *Mar  1 00:00:29.443: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1 (4)
    *Mar  1 00:00:29.503: initializing dot11 onplus
    *Mar  1 00:00:29.667: not a autoconfig enabled device!!!
    *Mar  1 00:00:31.671: %LINK-6-UPDOWN: Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:32.671: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down
    *Mar  1 00:01:18.015: Starting Ethernet promiscuous mode
    *Jan 22 17:44:57.000: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to administratively down
    *Jan 22 17:44:57.000: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to administratively down
    *Jan 22 17:44:57.007: %CDP_PD-4-POWER_OK: Full power - HIGH_POWER inline power source
    *Jan 22 17:44:57.015: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C3600 Software (AP3G2-K9W7-M), Version 15.2(4)JB3a, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Compiled Mon 23-Dec-13 08:11 by prod_rel_team
    *Jan 22 17:44:57.015: %SNMP-5-COLDSTART: SNMP agent on host ap is undergoing a cold start
    *Jan 22 17:44:57.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
    *Jan 22 17:44:57.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Jan 22 17:44:57.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to downERROR: Failed to configure ethernet promiscuous mode. Interface Descriptor mismatch
    *Jan 22 17:45:01.667: %SOAP_FIPS-2-SELF_TEST_HW_SUCCESS: HW crypto FIPS self test passed (0-0)
    *Jan 22 17:45:01.667: DPAA Initialization Complete
    *Jan 22 17:45:01.667: %SYS-3-HARIKARI: Process DPAA INIT top-level routine exited
    *Jan 22 17:45:02.667: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Jan 22 17:45:06.863: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.16.33.216, mask 255.255.254.0, hostname ap

  • Exceptions are not working. Is Java installed correctly?

    This is the situation:
    import java.lang.Exception;
    public class ExceptionTest
        class ExtendException extends Exception
            ExtendException(String x)
                super(x + " is bad.");
        public static void main(String[] args)
            throw ExtendException("an error");
    }Compiling it gives this error:
    $ javac ExceptionTest.java
    ExceptionTest.java:15: cannot find symbol
    symbol  : method ExtendException(java.lang.String)
    location: class ExceptionTest
            throw ExtendException("an error");
                  ^
    1 errorIf I take the throw line out, it compiles ok.
    Is this a problem with the Java installation on my Mac? Or with my mind?
    Edited by: Dorice on Feb 11, 2008 1:08 AM

    I get the same error declaring it static.
    Furthermore, the following code:
    import java.lang.Exception; // being maximal...
    public class ExceptionTest
        public static void main(String[] args)
            throw Exception("an error");
    }Has more or less the same problem:
    $ javac ExceptionTest.java
    ExceptionTest.java:7: cannot find symbol
    symbol  : method Exception(java.lang.String)
    location: class ExceptionTest
            throw Exception("an error");
                  ^
    1 error

  • Exception not working

    create procedure name emp_test as
    cursor c1 is select * from emp where deptno=10;
    begin
    for i in c1 loop
    begin
              insert into emp1(col1,col2,col3)value(i.col1,i.col2..........);
    exception
    when no_data_fund then
    dbms_output.put_line( 'no data found from thhis deptno' || i.deptno);
    end;
    end loop;
    end;
    my question is, exception is not working when no datafound in my cursor.
    Please help me out in this regard.
    thanks in advance
    Dharma.

    You are using a for loop, in case no data is found by the cursor c1, the statement in the for loop is not executed so there is no question of exception.
    Try the below code, the exception will be raised -
    declare
    v_cnt number;
    begin
    select count(*) into v_cnt from emp where deptno=-999;
    insert into emp1(col1,col2,col3)value(i.col1,i.col2..........);
    exception
    when no_data_found then
    dbms_output.put_line( 'no data found from thhis deptno' );
    end;

  • BEx 7 Exceptions not working

    Hi experts,
    i had a BEx Query in 3.5 that was displayed in BEx WAD 3.5
    i have saved the Query in BEx 7 and created a WAD 7
    in the query the were some exceptions on a key figure.
    in WAD 3.5 on the query or in RSRT the exception works and displayed.
    if i run the query (Query Designer 7) or the WAD 7 on the query,
    the exceptions does not works and not displayed.
    i am working in BW 7.01, SP 10.
    and Portal 7.01 SP 7.
    Thanks in advanced,
    Or.

    Hi,
    You need to create the exception in portal side.
    Status Exception:
    This exception affects result cells. This setting is especially suitable
    for absolute keyfigures. If you set a dynamic filter for any
    characteristic used in the query, the exception will not be applied to
    the result cells as the result changes and invalidates the exception
    threshold defined. You can always override this behaviour for a specific
    characteristic by defining a characteristic context. You can do this in
    the query designer itself or in the exception wizard during runtime
    (step 5 in the wizard or tab 'Cell Restrictions' in the Query Designer).
    Trend Exception:
    This exception affects all cells. This setting is especially suitable
    for relative keyfigures. If you now set a dynamic filter for any default
    characteristic, the exception will be applied to the result cells.
    However, if you have defined a characteristic context (Cell
    Restrictions) with 'Totals Only' for a specific charecteristic and you
    now set a dynamic filter for it, the exception will not be applied to
    the result cells.
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/21b4cd14cd06f4e10000000a422035/frameset.htm
    Thanks,
    Venkat

  • Formula is not working for key figures (  cumulative )

    hI
    I have  Qty A and qty B key figures  and changed property to cumulative in query designer . two key figures are working fine . I ahve another key figure which is formula ( Qty A + Qty B) .
    Issue is
    Formula ( Qty A + Qty B) is showing before cumulative values result . it is not showing cumulative total .
    Ex :  
                       Before cumulation prperty for Qty A and Qty B
                          Qty A       Qty B         Total ( formula ( Qty A+ Qty B)
                            10            20                  30
                             8              7                    15
        After changing propert cumulative in query designer for Qty A and Qty B
                         Qty A       Qty B           Total ( Formula 9Qty A + Qty B)
                           10            20                30
                            18           27                 15 ( still it is show 15 like above example means formula is not working on cumulative values)
    Formula is working on before cumulative value . it  is not taking cumulative values.
    Please helo to resolve this issue . I think I need to change some prperty in query designer.
    Appriciate your response.
    Thanks
    Rohan

    Hi
    Problem solved .
    Thanks
    Sree

  • BEx formula change not working in existing Analysis for Olap/Analysis for Excel reports

    Hello all,
    I posted this in Analysis for OLAP, but there has been no response so I'm hoping perhaps you BEx experts can help me.
    I had to modify a formula in a Bex query to have it calculate the results of the formula by summation.
    I checked the query using BEx Analyzer and it summed correctly.  If I create a new analysis for olap report, it sums correctly.
    If I modify an existing report, it does not pick up the change.  Existing Analysis for Excel reports also do not pick up the new summary calculation.
    Using the CMC, I edited the connection and reselected the Bex query, but that did not work either.
    Here it is working in the query:
    Line Discount is a formula with logic checking to see if "product list price total amount" is 0, set the line discount to 0; otherwise calculate it as "product list price total amount" - Net Sale.  So the total needs to sum of the line discounts (0+2820+2820 = 5640) and not be the Overall result "product list price total amount" - Overall Result "net sale" (13960-96720= -82760).
    Here it is in an existing Webi report - working:
    Here is what is happening in an existing Analysis for OLAP report - not working:
    I also tried to unselect Line Discount as a key figure from the existing report and reselect it, but that did not work.
    I'd like to find a solution so that all the reports that use this query won't have to be rewritten.
    I'm on BW 7.0 EP 1 SP 10 and BI 4.0 SP7 Patch 5.
    Thank you for your help,
    Susan

    Hi,
    Apply Exception aggregation on line discount formula--Exception aggregation as Total---Reference characteristic as Promega product.
    Make sure to refresh the webi report once after the changes has been done.
    If this does not work then you can apply summation calculation for that column at webi level as well.
    Regards,
    AL

Maybe you are looking for

  • Permissions on PCD objects - am I missing something?

    Hello I am trying to restrict access to iViews etc through permissions, for the first time. I have an "all user role" which includes my site.  There are many iViews and pages within this role.  There are a couple of iViews held within the role which

  • My full iTunes purchase did not download; what are my options?

    my full iTunes purchase did not download; what are my options?

  • U-verse, Time Capsule and IPv6

    Can anyone recommend the best settings related to IPv6 when using ATT U-verse and Time Capsule?  Time Capsule is set-up in Bridge Mode and IPv6 enabled on U-Verse Modem/Router. Should IPv6 be set to Automatic or Link-Local on Time Capsule or should I

  • Problems with the touch pad z40

    I have an almmost new z40 (bought it in march) and just yesterday the buttons of the mouse pad stopped working. The mouse runs over the desktop perfectly but I can't click on anything either with the left button.

  • PO BY BAPI THROUGH LSMW

    hI I m trying to transfer data of PO with bapi in lsmw but in the step to create idoc error coming 51 (No master record exists for vendor 100428) pls suggest me how to resolve the probeln while vendor exit in the master data