Raise Error in formula by returining X sign

In query I have a formula consting o two KF: Plan and Fact
Plan/Fact100 -100*
Than Fact data is NULL I get red X sign. It is understandable because at this case BEx trying to divide by NULL
But at the same time than I try to get X result than my Plan KF is NULL by changing formula:
Plan/Fact100-100 + 0/Plan*
I get error message and query can't be open...
Does anyone has suggestions. All that I need to get red X in both cases - Plan KF is NULL OR Fact KF is NULL
Edited by: Gediminas Berzanskis on Feb 7, 2008 4:48 PM

Hello,
      If you want to display zeros values in columns as X, then Go to query properties, under Zero value display choose show Zero as and u will see show zero as with white box, give the value X.
Now where ever in the report you were getting zeros will be replace by X, you can use data function NDIV0 when divinding by zero, the result will yield 0.
Assign points if helpful***
Peter R

Similar Messages

  • Cash Management - Open interface - raise error

    in Cash Management - Bank Reconciliation, Open interface,
    APPS.CE_999_PKG.clear
    and
    APPS.CE_999_PKG.unclear
    i would like to check and if meet certain condition, i would like to raise error/exception, so that the Reconcile or UnReconcile can not proceed, how can I do that?
    i try to do a plsql 'raise exception', in ebs screen, show
    'FRM-40734: Internal Error: PL/SQl error occurred.'
    anyway to show the error msg in a popup msg box and/or display with more meaningful error message?

    Hi Brian,
    This is because, one payment/receipt cannot be shared by more than one bank statement line. This is why once payment/receipt is reconciled against a bank statement line, you can view this transaction only from reconciled screen.
    Regards,
    Kiran

  • I keep getting the message "An unknown error has occurred" when trying to sign in to the App Store. Why?

    I keep getting the message "An unknown error has occurred" when trying to sign in to the App Store. How do I solve this problem?

    Make sure you have the correct country selected. Click the round flag icon bottom right side of the App Store window.

  • HT201303 An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...

    An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...

    urgh... just noticed my previous post said i have mountain lion... i meant that i have snow leopard.  no idea why i messed that up!
    anyway, i just tried reinstalling snow leopard from the usb key that came with the computer. Then, I installed software updates until it told me there were no more updates. After that, I tried the app store again, and it still is giving me the unknown error. really irked by that. may have to take it back to the apple store yet again, to see if i can figure out why the app store won't work.

  • I get an error message 400 when trying to sign into Adobe from PE9

    I am using Adobe Premiere Elements 9. I have a valid Adobe ID because I can use it to log into adobe.com successfully. However, when I try to use it to sign in from PE9 ("Sign In With Your Adobe ID" at bottom left of opening screen), it gives me: "Error: Photoshop.com services are currently unavailable. Please try again later or check your network connections. Error 400."

    FredVid
    Do not "Sign In" to Premiere Elements 10 and earlier. "Sign In" is gone along with the photoshop.com and photoshop.com plus feature.
    Also, be aware that you probably still see content associated with photoshop.com plus members only. Even though you see that content as
    thumbnails, the content is no longer available to you. It went with photoshop.com and photoshop.com plus.
    Bottom Line:
    Don't
    Please try again later or check your network connections. Error 400."
    Just do not go through the "Sign In" ritual and instead (after any indicated Cancel) proceed to import, editing, and export.
    Any questions, please do not hesitate to ask.
    Thanks.
    ATR

  • Error: Invalid Password when trying to sign in on any wireless devise

    Error:  Invalid Password when trying to sign in on any wireless devise
    I even reinstalled my WRT110 to be sure of the Network Name and Password but I still get this error.  I have never been able to log in to the wireless network.  I can see it - Ienter my password and still "Invalid Password"

    I don't understand this: Connect directly to the router.  Is this the http://192.168.1.1?
    I  HAVE changed the network name, I HAVE changed the password.
    I still get invalid password!!!
    I am extremely frustrated by all this.  I need simple instructions.  I followed them when I set the friggin thing up, I reinstalled.  I know what my friggin password is - why why why?

  • How to raise error message from PAI of oops ALV report

    Hi All,
    I have a requirement to raise error message form editable oops alv . After entering the data and then press SAVE button .
    Please help.
    Thanks in Advance

    HI SK,
    Write a Local class (Event Handeler) to handel the events. In Editable ALV once the user enter a value, CL_GUI_ALV_GRID will raise an event called DATA_CHANGED.
    1. Define and Implement a local class to handle that event.
    In the implementation of this class you need to get data from imported object to an internal table, then compare the same with the ALV output table.
    * Local Class to handler the events raised from the ALV Grid
    CLASS LCL_EVENT_HANDLER DEFINITION.
    PUBLIC SECTION.
    * Method to handel EDIT event, DATA_CHANGED of CL_GUI_ALV_GRID
      METHODS : ON_DATA_CHANGE FOR EVENT DATA_CHANGED OF CL_GUI_ALV_GRID
                           IMPORTING ER_DATA_CHANGED.
    ENDCLASS.
    * Event handler class Implementation
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
      METHOD ON_DATA_CHANGE.
        DATA : LT_MODIFY TYPE LVC_T_MODI,
                   LS_MODIFY TYPE LVC_S_MODI.
    * Copying changed data into intenal table from Object
        LT_MODIFY = ER_DATA_CHANGED->MT_MOD_CELLS.
    * Modifying the ouptut table with the changed values
        IF LT_MODIFY[] IS NOT INITIAL.
              *Compare the ALV Output table with LT_MODIFY
        ENDIF.
      ENDMETHOD.
    ENDCLASS.
    Then raise  a message on required condition in the same method.
    Note: To trigger the above method, you need to set event handler before displaying ALV (before calling method SET_TABLE_FOR_FIRST_DISPLAY)
    * Creating object for the Local event handler class
      CREATE OBJECT GR_HANDLER.
    * Set handler (call method of Event_handler) to handler Edit event
      SET HANDLER GR_HANDLER->ON_DATA_CHANGE FOR  GR_GRID.
    Regards,
    Vijay

  • Formula Variables for Report Painter- Syntac error in formula, Please Help!

    Dear Experts,
    I'm creating the report where I need to calculate annualized P&L. The formula is as follows : (P&L account/Period(variable ))12*
    I need to capture the From_period, which is entered by the user on the selection screen when running the report and use it as a variable in the formula above. Example: If User insert From Period 3, then the formula should be *P&L accoun / 3 * 12*
    I have tried so many different way but nothing seems to work. one of the ways i tried was:
    In the general selection Im using set variable 6P-S-PERIOVB.CCSS for period which consists of variable V_PERIO and B_PERIO.
    So Im trying to create a folowing formula:
    IF 1 >= u2018PER_FRu2019 AND 1 <= u2018PER_TOu2019 THEN 1 ELSE 16
    IF 2 >= u2018PER_FRu2019 AND 2 <= u2018PER_TOu2019 THEN 1 ELSE 16
    Unfortunately I keep getting Syntac error in formula. Please help me I'm really desperate to solve this issue after 5 days of unlucky research.
    Thank you in advance
    Regards
    Ernesta

    Thank you all for your help. The issue was that the variable was assigned to the different table as the library. After I changed it, it worked fine.
    Regards
    Ernesta

  • Crystal Report issue : Error in file.. .rpt . Error in formula

    Hi ,
    I recently migrated a report from production to test environemnt and it throws me the following error:
    Error in File C:\DOCUME1\oe_user\LOCALS1\Temp\packing instructions {4058873B-9756-4052-B479-EBD2D0A08E7D}.rpt:Error in formula  <Object_Visibility>. '{Command.EXACT_WEIGHT_FLAG} = "Ne (No)"'
    This field name is not known.
    In production server is installed Oracle 9i database and in test server is installed Oracle 10g
    The report has 1 main report and 2 sub reports.
    1. The same report works fine in production server without any issues.
    2. I had executed the report in Crystal reports 2008 and it runs fine displaying all fields without any issues.
    3. I had also tried taking the query of both subreports and the main report and tried executing it in oracle and it runs fine without any issues.
    However during the runtime in the test server, it throws the following error.
    Can someone help me out with this issue..

    Hi Siva,
    What is the patch level of CR 2008?
    Is it a win or a web app?
    What is the server OS?
    First, try to simply view the report. Let  the report prompt for the database credentials and the parameter values if any.
    See if it reproduces the issue.
    ReportDocument rd = new ReportDocument();
            rd.Load(Server.MapPath("CrystalReport.rpt"));
            CrystalReportViewer1.ReportSource = rd;
    Take a look at the SAP Note :
    [1421867 - Error: This field name is not known|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433323331333833363337%7D.do]
    Hope it helps,
    Thanks,
    Bhushan.

  • Error when trying to access PIA Sign On

    HRMS 9.1, PeopleTools 8.5.03, Oracle 11gR1, WebLogic 10.3, Windows XP Pro SP3.
    I have installed and configured the app and web servers for a single machine. I am trying to access the sign on page but I get the following error and I am unable to sign in using PS/PS:
    CHECK APPSERVER LOGS. THE SITE BOOTED WITH INTERNAL DEFAULT SETTINGS, BECAUSE OF: bea.jolt.ServiceException: Invalid Session
    I also get the following message from the startPIA.cmd prompt after loading the page:
    ***** JoltSessionPool: Domain //machine-name:9000 is Unavailable
    I'm guessing something might not be running but I'm not sure what it could be. Both the app and web servers are running.
    Thanks...

    Hi, check your application server, it seems to that it has gone down, if so, just re-start it and try login again. It should work, thanks.
    - Sanjay

  • I have a Macbook Pro that I have just renewed and transferred over my old hard drive (also from a Macbook Pro). Now when I turn on the computer and ITunes opens I get error (-50) and then error 5002 when I try to sign in to ITunes Store - Help!

    I have a Macbook Pro that I have just renewed and transferred over my old hard drive (also from a Macbook Pro). Now when I turn on the computer and ITunes opens I get error (-50) and then error 5002 when I try to sign in to ITunes Store - Help!
    My dealer has tried and failed (twice) to correct this and I have tried deleting the two items in the Itunes folder but no luck!

    were you able to get help on this?  I need help on error 5002 as well.  thank you

  • Formula Variables in Report Painter- Syntac error in formula

    Dear Experts,
    I'm creating the report where I need to calculate annualized P&L. The formula is as follows : (P&L account/Period(variable ))*12
    I need to capture the From_period, which is entered by the user on the selection screen when running the report and use it as a variable in the formula above. Example: If User insert From Period 3, then the formula should be *P&L accoun / 3 * 12*
    I have tried so many different way but nothing seems to work. one of the ways i tried was:
    In the general selection Im using set variable 6P-S-PERIOVB.CCSS for period which consists of variable V_PERIO and B_PERIO.
    So Im trying to create a folowing formula:
    IF 1 >= u2018PER_FRu2019 AND 1 <= u2018PER_TOu2019 THEN 1 ELSE 16
    IF 2 >= u2018PER_FRu2019 AND 2 <= u2018PER_TOu2019 THEN 1 ELSE 16
    Unfortunately I keep getting Syntac error in formula. Please help me I'm really desperate to solve this issue after 5 days of unlucky research.
    Thank you in advance
    Regards
    Ernesta

    so, I would use parameters.....
    P_fr_MO(2) TYPE N DEFAULT '01',
    p_fr_yr(4) type n default '2011'.
    Then, to set my range, i would do something like....
    data: lv_to_mon(2) type n,
             lv_to_yr(4) type n.
    if p_fr_mo eq '01'.
      lv_to_yr = p_fr_yr.  "12th month, same year...
    else.
    lv_to_yr = p_fr_yr + 1.  "any other month puts us into next year.
    endif.
    case p_fr_mo.
      when '01'.
       lv_to_mon = 12.  "always for 12 month period...
    when others.
       lv_to_mon = p_fo_no - 1.  '''example 10/2010 to 09/2011.
    endcase.
    then concatenate the from and to variables into what format is needed to read the data...
    on the other hand, if the user gives us from and to, we have a different problem....one then has to calculate what part of a year they have and create a factor for multiplying any data values....
    for instance if user says Jan (01) to (03) March, then I know that to month - from month + 1 is the number of months I have....
    then 12 / that number is the factor to multiply the results by....
    example...
    data : factor(5) type p decimals 2
              months(3) type n.
    if p_to < p_from.  "adjust if I cross a year boundary....Oct to Jan becomes 13 - 10 + 1 or 4 months.
    p_to = p_to + 12.
    endif.
    months = p_to - p_from + 1.
    factor  = 12 / months.  " factor   12 /4 months = 3 times the values obtained  = 1 year.
    something like this....hope this is helpful to you.
    Edited by: DaveL on Oct 18, 2011 6:24 PM

  • I am trying to download the Facebook app to my new iPad and I keep getting an error .  It tells me to sign in using my existing Apple ID, which I enter, then when I put in the password I get ConnectionManager::invoke::Failed to find service connection url

    the iPad is totally new to me.  I can't seem to do anything with my Apple ID.  As the title says, I am trying to download the Facebook app to my new iPad and I keep getting an error.  It tells me to sign in using my existing Apple ID, which I enter, then when I put in the password I get ConnectionManager::invoke::Failed to find service connection url.  Cancel or Retry.  I have no idea what I'm doing wrong.  Any help would be greatly appreciated.
    I'd also love to know how to get rid of the old owner's name, which was Mike - I'm Ann

    Wow, I found a solution in another thread:
    I had exact same error.....
    Rebooting - Failed
    Logging in to iTunes - Failed
    Logging into itunes Store - Failed
    Logging into iTunes Genius - SUCCESS    I woulnd't have thought it would make a difference but it does Then just log into the 'other' services with iTunes.
    Good luck!
    I still need to know how to change the name to Ann, though, Mike keeps popping up - and yes, I have changed it under Settings.....

  • I have a Windows 7 (64) and I receive an error message that I can't sign in because of a server error.

    I have two Airbooks and three IPads.  I have installed the ICloud control panel on my Windows 7 (64) PC but after entering my userid and password, I receive an error message that I can't sign in because of a server error.

    Hey kirk41,
    Thanks for the question, that definitely sounds frustrating.
    When troubleshooting issues with iCloud, backups, and issues signing in, I find that the following article provides the best steps towards a resolution:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/TS3988
    For more detailed information about troubleshooting backups, see this resource:
    iCloud: Troubleshooting creating backups
    http://support.apple.com/kb/TS3992
    Thanks,
    Matt M.

  • I can not sighn in. I get the message A network error has occurred while attempting to sign in.

    I can not sighn in. I get the message A network error has occurred while attempting to sign in.

    Hi rebjrbaker,
    I'm guessing that you're trying to log in to the service from within Reader. If that's the case, you may need to update the version of Reader you're using. Choose Help > Check for Updates. You should be using version 11.0.9 (this update was just released on Tuesday, 9/16).
    Best,
    Sara

Maybe you are looking for