Defining Exception Cells in BEx

Hi, what is cell restrictions in BEx, in help I found that the following help.
But practically I want to know how to use it and in which case we can use it, pls give me with expample.
Use
When you define selection criteria and formulas for structural components and there are two structural components of a query, generic cell definitions are created at the intersection of the structural components that determine the values to be presented in the cell.
Cell-specific definitions allow you to define explicit formulas, along with implicit cell definition, and selection conditions for cells and in this way, to override implicitly created cell values. This function allows you to design much more detailed queries.
In addition, you can define cells that have no direct relationship to the structural components. These cells are not displayed and serve as containers for help selections or help formulas.
Prerequisites
The query contains two structures. You can define exception cells only for queries which have two structures. You can use the one structure for characteristic values and key figures for the other. You can then define cells if these prerequisites have been met.
Thanks
Message was edited by: Ganga N
Message was edited by: Ganga N

As help explains, you need two structures to enable cell editor in bex. In every query you have one structure for key figures, then you have to do another structure with selections or formulas inside.
Then having two structures, the cross among them results in a fix reporting area of n rows * m columns. The cross of any row with any column can be defined as formula in cell editor.
This is useful when you want to any cell had a diferent behaviour that the general one described in your query defininion.
For example imagine you have the following where % is a formula kfB/KfA * 100.
    kfA kfB  %
chA  6   4   66%
chB  10  2   20%
chC  8   4   50%
Then you want that % for row chC was the sum of % for chA and % chB. Then in cell editor you are enable to write a formula specifically for that cell as sum of the two cell before. chC/% = chA/% + chB/% then:
    kfA kfB  %
chA  6   4   66%
chB  10  2   20%
chC  8   4   86%

Similar Messages

  • Can anyone explain me abt Defining Celleditor /cell exceptions?

    hi all,
    Can anyone send me some screen shots abt cell editor / cell exceptions ? what is it significance to my email id [email protected] can anyone explain me with an example.
    regds
    hari

    Hi Hari,
    We use <b>Cell Editor</b> when we have Complex query with two structure used to avoid the results getting collapsed,
    It is very useful to resolve complex scenarios. For example, using it in aging analysis report which supports three different periods (aging by key date, aging as of last month and aging as of last year). For each row, the calculation is different based on key date, last month and last year.
    How to document on Cell Editor(E.g),
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce496e17-0301-0010-e0b4-b8ca8b4588ac
    URL for <b>Defining Exception Cells,</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/89fa3a0376a51fe10000000a114084/frameset.htm
    Regards,
    Mani
    Message was edited by:
            Manikandan  A

  • Capture the exceptions from BW Bex Report in a class/interface

    Hi....
    I am trying to capture the exceptions defined in the BW BEx Reports in a class (superclass - CL_RSR_WWW_MODIFY_TABLE) in a variable or something.
    This is actually to change the properties of a table in Web Applcn. acc to the exceptions by altering the cell content in the class(Transaction - SE80).
    Is it possible to store the exceptions in a variable in the class???

    Hi Smriti,
    Exception and Exception Handling can be based on classes in ABAP Objects. In an exception situation, an exception is represented by an exception object –
    i.e. an instance of an exception class. Its attributes contain information about the
    error situation. Exception classes can be defined both locally and globally. When a class based exception is raised, the system interrupts normal   program flow and tries to navigate to the suitable handler.
    An exception can only be handled if the causing statement(s) is enclosed in a TRY-ENDTRY block. If a exception occurs in a TRY block, the system first searches for a CATCH statement (which will handle the exception) in the same block and then step by step upwards in all enclosing TRY-ENDTRY blocks. If it finds one, it navigates to this handler, else if TRY-ENDTRY block is in a procedure, it then tries to propagate the exception to the calling program. After exception occurs, system searches through the listed exception handlers in specified order and executes first handler whose CATCH statement contains the relevant exception class or one of its superclasses.
    PARAMETERS: p_num1 TYPE i,
                p_num2 TYPE i.
    DATA: gv_result TYPE i,
          gv_text   TYPE string,
    Defining reference variables  with reference to the common superclass *
    CX_ROOT of all exception classes.                                     *
          z_ref_exc TYPE REF TO cx_root.
    TRY.
        gv_result = p_num1 / p_num2.
        WRITE / gv_result.
    For division by zero, the runtime system raises the exception         *
    cx_sy_zerodivide. This is handled in the CATCH block. The reference   *
    to the appropriate instance is stored in the data object z_ref_exc.   *  
      CATCH cx_sy_zerodivide INTO z_ref_exc.
    Handler can access the instance's exception text using the functional *
    method GET_TEXT.                                                      *   
        gv_text = z_ref_exc->get_text( ).
        MESSAGE gv_text TYPE 'I'.
    ENDTRY.
    Award points if found useful.
    Regards
    Indrajit

  • Exception Cell Values Doubled

    Hi, I just finished validating my InfoCube data against SAP and the values all match.  When I run my BEx Query which is defined using exception cells, the values are doubled!  From what I can read in the documentation the Exception Cell Values should override everything and there is no reason from the Exception Cell Definition that the values should be doubled.
    Can anyone guess why my values would be doubles with a report based solely on Exception Cells?

    Hi,
    For the same record, KF values will be more than one.
    Ex: for Documnet ABC123 2 KF vlues may be there
    Doc NO.......Curr Type......KF
    ABC 123.....10..................250
    ABC 123......20..................250
    In above scenario, if you dont use the Global Restriction on Curr Type the result will be Double (500)
    Hopes it is clear
    Regards
    ReddY A

  • Can we see value of CKF in exception cell in query designer-please reply

    Hello all,
    I am defining a query in query designer in which i am using the exception cells, I am having two structures in this query. Now at the intersection of these two structure on one particular line I am trying to define the properties of that cell. I selected new selection and after that I added the calculated key figure that I had created. So should that cell show me the value of the calculated key figure (that is what I thought, that if I can put my CKF in that cell it will show me the value for that CKF). I am seeing different results.
    Is there any way you can actually show the value of calculated key figure in that particular cell.
    Thanks in advance,
    Raj

    Hi Raj,
    You can add Calculated key figure,RKF and even single key figures .The cells are independent of each other and that should not be an issue.
    Whatever the key figure is in the cell it should show that value.
    Just check again whether you have put any key figure into the selections of the structures
    There should be no key fgures into selctions.
    Hope it helps
    Thanks

  • How to define exceptions?

    Hi
    I have an internal table containing Key and Value as fieldnames. I have defined follwoing methods.
    ADD(KEY, VALUE);
    VALUE GET(KEY);
    SET (KEY, VALUE);
    DELETE(KEY);
    In the Get Method, i need to pass a key, it must return the value. If the key is not found, it must raise some user defined exception. Similar case with set and delete also.
    Can anyone tell me in detail how to implement exceptions in my case?

    HI
    GOOD
    In exception reporting you select and highlight objects that are in some way different or critical. Results that fall outside a set of predetermined threshold values (exceptions) are highlighted in color. This enables you to identify immediately any results that deviate from the expected results.
    Exception reporting allows you to determine the objects that are critical for a query in you Web application.
    You can find additional information under Exception Reporting.
    Prerequisites
    You have called up the exceptions function to change or define a condition.
    ·        In the Web item List of Exceptions.
    ·        In the Web item Ad-hoc Query Designer
    ·        In the Standard Web Template for Ad-hoc Analysis or in the BEx Web Analyzer
    GO THROUGH THIS LINK
    http://help.sap.com/saphelp_nw04/helpdata/en/c2/f6843b49f6a40de10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/89fa3a0376a51fe10000000a114084/content.htm
    THANKS
    MRUTYUN

  • Defining exception

    We have Approval Date as charecterstic and want to define a exception on it. Definition of the exception will be, if the Approval Date falls with in certain dates we want to highlight that cell with a color.
    I know exceptions only can be defined on KFs but is there a solution to above requirement.
    Your help will be appreciated.
    Regards
    MB
    Message was edited by: Madhukar Balguri

    Thank you Bhanu & Venky. Appreciate your quick response.
    I did as you have mentioned. But when I try to define exception on newly created KF, I noticed that it only takes numbers in FROM and TO value. So, alternative way is defining variables for FROM and TO. But there also, I don't have a option ( Dimentions ID does not have date type) to create a variable for date type.
    Any other way for this?
    Regards
    Madhukar

  • Validation returns : no data found + unhandled user-defined exception

    Hi, I'm working with Application Express 4.1.1.00.23.
    I have an application for timesheet management.
    On one page, I've got a report (not interactive) in which you can enter the hours you've worked. First you add a free line, choose the task and then enter the hours you've spent.
    You can only have one empty line at a time. If you try to add a line when you already have an empty line, a validation will display an error. It worked fine in version 3.2. Now we upgraded to 4.1 and get a weird error :
    1) The validation msg appears fine
    2) The report appears fine
    3) There is a msg at the end of the report saying :
    report error:
    ORA-01403: no data found
    ORA-06510: PL/SQL: unhandled user-defined exception
    Could somebody point out the source of this problem ?
    Thank you!
    Here is the debug :
    0.31117     0.00204     parse query as: FEUILLES_DE_TEMPS     4     
    0.31319     0.07865     ...Execute Statement: select NULL "CHECK$01", NULL "nom_projet2", NULL "NO_TACHE_ENTRE", NULL "NO_TACHE", NULL "NO_SEMAINE_EMPLOYE", NULL "NOM_TACHE", NULL "Tâches", NULL "SEQUENCE", NULL "Heures dim", NULL "DIM", NULL "Heures lun", NULL "LUN", NULL "Heures mar", NULL "MAR", NULL "Heures mer", NULL "MER", NULL "Heures jeu", NULL "JEU", NULL "Heures ven", NULL "VEN", NULL "Heures sam", .........
    0.39191     0.00158     print column headings     4
    0.39342     0.02546     rows loop: 500 row(s)     4
    0.41889     0.00087     report error: ORA-01403: no data found ORA-06510: PL/SQL: unhandled user-defined exception
    .....

    Hi, thanks for your answer. Here is the validation we are executing. I'm pretty sure its fine since count(*) always return a value (plus we see V2 in the debug...) :
    declare
    l_count number;
    begin
    apex_debug_message.enable_debug_messages(7);
    apex_debug_message.log_message('-----------------------------------V1----------------------------------');
    -- get remaining empty tasks count
    SELECT count(*) into l_count
    FROM VIEW_TACHE_SYSTEME
    WHERE NO_TACHE NOT IN (SELECT DISTINCT NO_TACHE FROM TACHE_JOUR WHERE NO_SEMAINE_EMPLOYE = :P36_NO_SEMAINE_EMPLOYE);
    apex_debug_message.log_message('-----------------------------------V2----------------------------------');
    apex_debug_message.log_message(l_count);
    if l_count = 0 then
    return 'Veuillez utiliser la tâche vide avant d''ajouter une ligne.';
    else
    return null;
    end if;
    end;
    Here is the debug :
    0.14643     0.00318     ...Validation "ADD_ROW_VALIDATION" - Type: FUNC_BODY_RETURNING_ERR_TEXT     4     
    0.14961     0.00318     ...Execute Statement: declare function x return varchar2 is begin declare l_count number; begin apex_debug_message.enable_debug_messages(7); apex_debug_message.log_message('-----------------------------------V1----------------------------------'); -- get remaining empty tasks count SELECT count(*) into l_count FROM VIEW_TACHE_SYSTEME WHERE NO_TACHE NOT IN (SELECT DISTINCT NO_TACHE FROM TACHE_JOUR WHERE NO_SEMAINE_EMPLOYE = :P36_NO_SEMAINE_EMPLOYE); apex_debug_message.log_message('-----------------------------------V2----------------------------------'); apex_debug_message.log_message(l_count); if l_count = 0 then return 'Veuillez utiliser la tâche vide avant d''ajouter une ligne.'; else return null; end if; end; return null; end; begin wwv_flow.g_computation_result_vc := x; end;     4     
    0.15280     0.01299     -----------------------------------V1----------------------------------     6     
    0.16578     0.00310     -----------------------------------V2----------------------------------     6     
    0.16888     0.00235     0     6     
    0.17123     0.00225     ......Result = Veuillez utiliser la tâche vide avant d'ajouter une ligne.     4     
    0.17347     0.00276     ......Did NOT pass     4     
    0.17624     0.00314     Add error onto error stack     4     
    0.17938     0.00343     ...Error data:     4     
    0.18280     0.00327     ......message: Veuillez utiliser la tâche vide avant d'ajouter une ligne.     4     
    0.18607     0.00446     ......display_location: INLINE_IN_NOTIFICATION     4     
    0.19053     0.00323     ......is_internal_error: false     4     
    0.19375     0.00323     ......error_backtrace: - PL/SQL Call Stack - object line object handle number name c000000382130f30 717 package body APEX_040100.WWV_FLOW_ERROR c000000382130f30 833 package body APEX_040100.WWV_FLOW_ERROR c00000039da9b5c8 154 package body APEX_040100.WWV_FLOW_VALIDATION c00000039da9b5c8 363 package body APEX_040100.WWV_FLOW_VALIDATION c00000039da9b5c8 784 package body APEX_040100.WWV_FLOW_VALIDATION c00000039da9b5c8 905 package body APEX_040100.WWV_FLOW_VALIDATION c00000039d1142c8 10005 package body APEX_040100.WWV_FLOW c000000381287050 31 anonymous block

  • How to define a cell name in numbers?

    How do I define a cell name to use in a formula. I want to calculates costs for a dinner function where the number of guests, costs etc are variable. I want to use the number of guests in different formulas in the spreadsheet.
    So I need to have a cell where I enter number of guests once and this will then reflect in all formulas where I use the cell name: 'number_of_guests'
    Thus cell A1 will have the name 'number_of_guests' and I could type any number in there.
    A formula in a later cell will then be =$100.00*'number_of_guests' to get a total cost, etc.

    Yvan KOENIG (VALLAURIS, France) lundi 26 décembre 2011 12:03:51
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Transformer exception while transforming BEx Web templates

    Hello,
    when opening the web application designer or calling a web template in the browser the error Transformer exception while transforming BEx Web templates occours. I found several hints in the forum like solving the problem with the SAP NetWeaver BI Diagnostics & SupportDesk Tool and several notes for this issue (like 937697). Unfortunately nothing works and the diagnostics tool says that everything is configured fine. The release is 701, SP4.
    Has someone suggestions where to start searching the error?
    Thanks a lot,
      Vanessa

    Hi Vanessa,
    Which JAVA patch are you using?
    Is it possible to download the latest patches and re-test the problem? You may find that the latest patch corrects the roblem
    Regards,
    Karen

  • How can we handle user defined exceptions in ejbStore() of entity bean

    Accroding to my knowledge in ejbStore we can not handle user defined exceptions. Can anybody help on this????

    In my case I am calling a method from ejbsotre() . In that method i wanted to put some checks according to that i wanted to throw exceptions.
    In this case how would I handle exceptions.
    Can you suggest in this case,please !!!

  • Handle user defined exception in stored procedure

    Dear all,
    I'm using JDev 11.1.1.4.0
    In my application I'm calling the stored procedure with only in parameters using the Example 37-9 http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadvgen.htm#ADFFD1056
    In my stored procedure I have user defined exception, like:
    create or replace procedure ...
    AS
    e_otwarty     EXCEPTION;
    //some code
      EXCEPTION
        WHEN e_otwarty THEN
          dbms_output.put_line('Masz juz otwarty raport');
          // or what should I do here ??
    END;I want to display the message in the popup window in my ADF application. How can I do that ?
    Regards,
    Wojtek.

    raise_application_error(-20001, 'error message');
    Scott

  • IE only: wwsec_app_priv.process_signon (User-Defined Exception) (WWC-41417)

    I am using Portal 3.0.6 in Sun SunOS 5.8. The site will be running in https mode. As everybody knows, 443 is the default port number for ssl mode. I setup the httpd.conf to 443. No problem. I ran ssodatan to relate Login Server to Portal - I had to specify 443 at the end of URL in ssodatan syntax. Otherwise, I got "Error:You cannot login because there is no configuration information stored in the enabler configuration table. (WWC-41439)" both in Netscape navigator and MS Internet Explorer.
    I now am able to log in Portal site. But, the problem happens just after loggin in. With Navigator I don't get any problems. But, IE gives me "Error: Unexpected error encountered in wwsec_app_priv.process_signon (User-Defined Exception) (WWC-41417)". I guess this happens because of how IE works with https. It takes 443 off from URL in https mode. The portal is unable to match the url and what it has in wwsec_enabler_config_info$ which has 443. When I tested with 444 as port number. It worked! Putting a port number in URL will be cumbersome. That's why I am trying with 443.
    I tried also with ssodatax to add an additional entry for without 443 as specified in a document "Oracle9ias Portal configuration options" page 30. Ssodatax has a bug so it updates existing entry, too. I had to update it back to its original value. It's fine. But, this time another error comes up. "WWC-00000". I don't see any solution for this.
    null

    When a new user is logging on for the first time, the portal adds them to the AUTHENTICATED_USERS group under the portal's group container. In your case, for some users, this is apparently running into some problem.
    To debug this, try turning on additional logging on the OID server and attempt logging in as these users, and see what is reported.
    You should enable the following debug flags:
    Search Filter Processing
    Access Control List Processing
    Status Log Connections/Operations/Results

  • "user defined exception" in a stored procedure and APEX

    I would like to use user defined exception in a stored procedure or trigger in a APEX application.
    Does anybody know how to do it ? or know where can I find a good reference ?
    Thanks,

    raise_application_error(-20001, 'error message');
    Scott

  • How to handle user defined exception from C#?

    Hi:
    I have some PL/SQL code that will throw a user defined exception if certain conditions are met. How do I handle user defined exceptions if this procedure/function is being called from C#? C# can handle a normal Oracle SQL error (e.g. ORA-XXXX) because they are defined in the proper class, but how do I get it to know about my user defined exception? Does anyone have any links to examples of doing this?
    Thanks.

    Hi Gaff,
    Is there a particular problem you're having doing this? It works as normal for me...
    Cheers
    Greg
    PLSQL
    =========
    create or replace procedure throwsomething as
    begin
    raise_application_error(-20001,'kaboom');
    end;
    ODP
    =====
        class Program
            static void Main(string[] args)
                using (OracleConnection con = new OracleConnection())
                    con.ConnectionString = "user id=scott;password=tiger;data source=orcl";
                    con.Open();
                    using (OracleCommand cmd = new OracleCommand())
                        cmd.CommandText = "begin throwsomething;end;";
                        cmd.Connection = con;
                        try
                            cmd.ExecuteNonQuery();
                        catch (OracleException oe)
                            Console.WriteLine("caught " + oe.Message);
    OUTPUT
    ========
    caught ORA-20001: kaboom
    ORA-06512: at "SCOTT.THROWSOMETHING", line 3
    ORA-06512: at line 1

Maybe you are looking for

  • ApEx 3.1 BLOBs, /pls/apex/apex_util.get_blob_file not found on server

    Hi all I'm trying some of the enhanced BLOB functionality in one of our apps as it could really make life easier for our users. We have a table with 4 BLOBs that the user can use to upload various documents. The upload (insert / update) seems to be w

  • How to install a eid reader in OSX 10.10

    osx 10.10 does not recognize the card reader (ACR38) impossible te read my e id

  • Versioning HowTo/Explanation

    Can any provide any details to the purpose/use of the Versioning within SQLD? I know what SVN/CVS is and how to use them, I'm just not sure how this concept applies to Oracle database management. I'd like to know too how other people are actually usi

  • Assign Product category to number range group

    Hi, I have defined an product Category in CRM .. COMM_hierarchy. when i open the tcode COMCMATERIALId.. i am not getting the new product category in the non-assigned elements to assign the category to the number range.. thanks.. Dinesh

  • BI Accelarator Issues

    Hi All, I am interested to know what are the issues in implementing BI Accelerator. I will also like know any comparative studies, if anything available, of performance improvement of queries/reports using BI Accelerator. Any help, link, comments, su