How to extend f:view

I require to extend f:view to add certain client specific attributes later on.
the basic extension of f:view is not working. here is what i did
public class ViewTag extends UIComponentTag {
private String locale;
* @see javax.faces.webapp.UIComponentTag#setProperties
* (javax.faces.component.UIComponent)
protected void setProperties(UIComponent component) {
/* You have to call the super class */
super.setProperties(component);
((ViewComponent) component).setLocale(locale);
* @see javax.faces.webapp.UIComponentTag#getComponentType()
public String getComponentType() {
return "f.view";
* @see javax.faces.webapp.UIComponentTag#getRendererType()
public String getRendererType() {
return "f.view";
* @return Returns the locale.
public String getLocale() {
return locale;
* @param locale
* The locale to set.
public void setLocale(String locale) {
this.locale = locale;
=======================================================public class ViewComponent extends UINamingContainer {
private static final Log log = LogFactory.getLog(ViewComponent.class);
private String locale;
public Object saveState(FacesContext context) {
Object values[] = new Object[2];
values[0] = super.saveState(context);
values[1] = locale;
return ((Object) (values));
public void restoreState(FacesContext context, Object state) {
Object values[] = (Object[]) state;
super.restoreState(context, values[0]);
locale = (String) values[1];
* @see javax.faces.webapp.UIComponentTag#getComponentType()
public String getFamily() {
return "f.view";
* @return Returns the locale.
public String getLocale() {
return locale;
* @param locale The locale to set.
public void setLocale(String locale) {
this.locale = locale;
public void encodeEnd(FacesContext context) throws IOException {
return;
public void decode(FacesContext context) {
return;
======================================================
public class ViewRenderer extends Renderer {
private static final Log log = LogFactory.getLog(ViewRenderer.class);
public Object getConvertedValue(FacesContext facesContext,
UIComponent component, Object submittedValue)
throws ConverterException {
return super.getConvertedValue(facesContext, component, submittedValue);
public void decode(FacesContext context, UIComponent component) {
/* Grab the request map from the external context */
Map requestMap = context.getExternalContext().getRequestParameterMap();
/* Get client ID, use client ID to grab value from parameters */
String clientId = component.getClientId(context);
String value = (String) requestMap.get(clientId);
ViewComponent viewComponent = (ViewComponent) component;
public void encodeBegin(FacesContext context, UIComponent component)
throws IOException {
ViewComponent viewComponent = (ViewComponent) component;
ResponseWriter writer = context.getResponseWriter();
encodeLocale(writer, viewComponent);
encodeMessage(context, writer, viewComponent);
writer.flush();
private void encodeMessage(FacesContext context, ResponseWriter writer,
ViewComponent viewComponent) throws IOException {
Iterator iter = context.getMessages(viewComponent.getClientId(context));
while (iter.hasNext()) {
FacesMessage message = (FacesMessage) iter.next();
writer.write(message.getDetail());
private void encodeLocale(ResponseWriter writer, ViewComponent viewComponent)
throws IOException {
writer.startElement("locale", viewComponent);
writer.write("" + viewComponent.getLocale());
writer.endElement("locale");
public String getFamily() {
return "f.view";
=======================================================
f.tld
<tag>
          <name>view</name>
          <tag-class>com.test.jsfcomponents.view.ViewTag</tag-class>
          <body-content>JSP</body-content>
          <attribute>
               <name>locale</name>
               <required>false</required>
          </attribute>
     </tag>
====================================================
faces-config
component>
          <component-type>cvns.view</component-type>
          <component-class>
               com.cvns.jsfcomponents.view.ViewComponent
          </component-class>
     </component>
     <render-kit>
          <renderer>
               <component-family>cvns.view</component-family>
               <renderer-type>cvns.view</renderer-type>
               <renderer-class>
                    com.cvns.jsfcomponents.view.ViewRenderer
               </renderer-class>
          </renderer>
=======================================================
this gives me error:
     at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:711)
     at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:359)
     at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:572)
     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:459)
is there anything i m missing here?

hi...
it is f.view..
i had it corrected it before getting the error...
but i m not sure whether i can extend f:view...
the subview works pretty well
e.g.
<%@ taglib uri="http://covansys.com/jsf/core" prefix="cx"%>
<cx:view>
     <cx:subview id="subviewId">
          <cx:button id="buttonId" value="test" />
     </cx:subview>
</cx:view>
this one is working...
<%@ taglib uri="http://covansys.com/jsf/core" prefix="cx"%>
<f:view>
     <cx:subview id="subviewId">
          <cx:button id="buttonId" value="test" />
     </cx:subview>
</f:view>
is it because there is no parent for f:view... and subview is child of f:view and hence it is working...

Similar Messages

  • How to extend data viewing for LCHR

    Hi all
    I have one field of a table which using LCHR data type. I want to view the whole data in the field. However currently SAP truncated to partial char only for viewing with message "Field Generic structure is too wide to display (field will be truncated)".
    Do anyone knows how to extend it?
    Thanks.
    Ala

    You have a limitation of 255 characters on every alv that you use to show the results.
    So you have to export the data from the database table.
    Let's try to explain:
    You have a database table with 2 fields (e.g.)
    LENT TYPE INT2 (2 Byte Integer (Signed)), this field itis used for save the length of the LCHR field
    ERROR_MESSAGE TYPE SMO_1500 LCHR (character 1500), this field it's used for save the string value with 1500 character.
    You can't read this data with the TCODE SE16 or SE16N or SE11, because exist a limitation of 255 character on ALV tables.
    Create a report like that to export the data to a file:
      SELECT *
         FROM zsrm_wlu_004
         INTO TABLE lt_zsrm_wlu_004
        WHERE wi IN s_wi AND
              ano IN s_ano AND
              wi_aagent IN s_agent .
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
           filename                        = p_file_download
          filetype                        = 'ASC'
         TABLES
           data_tab                        = lt_zsrm_wlu_004

  • How to extend sales views extension for purchase material?

    Dear MM experts,
    pl let us know how purchase material master is extended with sales views.
    we have defined material for purchase views only, now we have requirement of sales views for the same material. Please let us how this can be done.
    Thanks in advance
    best regards
    Srihari

    Hi srihari,
    It maily depends on the user departmentt which you have selected in OMS2 Transaction...
    Normaly in standard ROH will not be having Sales view selected.
    in FERT ( finished) and HALB( semifinished) material type will be having sales views.
    If your materrila wihich is having the materila type ROH you cant extend the materila to sales view... you need to change the materila type in this scenario...
    or else create one more materila with FERT ( finished) and HALB( semifinished) material type and maintain the details in the required fields in purchase and sales as well.
    REgards
    Anand

  • How to extend WM view for materail masterial via direct input?

    Hi,
    Currently I'm using LSMW + Recording to extend warehouse management view of material master, but I found that it's not so good,
    My  question is, how to use Direct Input in LSMW to extend warehouse management view of material master? As I don't know how to use direct input, kindly please advise.
    Thanks a lot!

    Hi Ashok,
    Thanks a lot for your advice.
    I tried to use MM50 but no materials can be found, as these materials are totally new when WM go alive, the warehouse management view is not active yet so MM50 can not found any data need to be extended, so is there any method to solve this problem of MM50?
    Kindly please advise again.
    Thanks.

  • How to extend watches view in VS2013, C/C++

    Hello,
    Our C/C++ project is using complex types and we have recently migrated from VS2008 to VS2013.
    We used a debugger extension (using the Expression Evaluator Add-In API) to do custom display of our types in the debugger/watches.
    However, our debugger extension does not appear to work under VS2013.
    All the help/data that I could find (Visualizers, attributes...) only seem to apply to managed code or C#...
    How do I now do custom display in the debugger in VS2013?
    Thanks, Cyrille

    Hi Cyrille,
    Did you get your expression evaluator to work in VS2013?
    I've found my notes that I made when I last tried one...
    For VS2008/2010 (I think 2005 will also work, but haven’t tried it)
    Modify your autoexp.dat file. You’ll need administrator access to modify it as it’s under the %ProgramFiles% directory. For example, on a 64-bit OS installation, it’s under here for VS2010:
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\Debugger
    The file already has commented entries for the sample so uncomment them and modify them to the location of the add-in DLL. For example:
    _SYSTEMTIME=$ADDIN(C:\MyAddin\Release\EEAddIn.dll,AddIn_SystemTime)
    _FILETIME=$ADDIN(C:\MyAddin \Release\EEAddIn.dll,AddIn_FileTime)
    For VS 2012/2013 (and hopefully newer versions)
    VS2012 dropped the use of autoexp.dat; however, you can still use existing add-ins through the new mechanism - an XML natvis file, like this:
    <?xml
    version="1.0"
    encoding="utf-8"?>
    <AutoVisualizer
    xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
    <Type
    Name="_FILETIME">
    <DisplayString
    LegacyAddin="C:\YourPath\YourAddin.dll"
    Export="AddIn_FileTime">
    </DisplayString>
    </Type>
    <Type
    Name="_SYSTEMTIME">
    <DisplayString
    LegacyAddin="C:\YourPath\Youraddin.dll"
    Export="AddIn_SystemTime">
    </DisplayString>
    </Type>
    </AutoVisualizer>
    Save the .natvis file into either of these locations:
    %VSINSTALLDIR%\Common7\Packages\Debugger\Visualizers (requires admin access)
    %USERPROFILE%\My Documents\Visual Studio 2013\Visualizers\
    There’s more information on natvis here “Create custom views of native objects in the debugger”:
    http://msdn.microsoft.com/en-us/library/jj620914.aspx

  • How to create a view object and attach with extended AM

    Hi,
    I tried to create new vo and attach this vo with the extended AM. But it is throwing error like 'PC.NAME : invalid identifier' (Actually this PC.NAME is exiting one).
    Now i want to know how to create a view object similar like seeded one but with one additional condition in the where clause.
    It is possible though extension, but i want to create two view object similar like seeded one, one with some other condition in the where clause
    and another one with some other condition.
    So for my requirement, i'll extend one VO and i'll add my condition but how to do it for second condition.
    But i want same seeded VO with two different condition.
    Any suggestions please,
    SAN

    SAN,
    There is no need to attach the newly created VO with extended AM. You need to attach the same with the standard AM.
    Regards,
    Gyan

  • How to extend the costing view for a material

    How to extend the costing view for a material

    Use MM01 Trxn code and Select Material and Select Costing Views and Maintain, Save it.
    Else Use MM50 and Select Material and Mainenance Status as G Costing and Execute, Maintain & Save.

  • How to Use Transient View Objects to Store Session-level Global Variables

    hi
    Please consider section "40.8.5 How to Use Transient View Objects to Store Session-level Global Variables"
    at http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcstatemgmt.htm#ADFFD19610
    Based on this documentation I created the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.01.zip
    It behaves as show in the screencast at http://screencast.com/t/qDvSQCgpvYdd
    Its Application Module has a Transient View Object instance "MyEmployeesContextVOVI", as master for the child View Object instance "EmpInCtxJobVI".
    On rollback the Transient View Object instance keeps its row and attribute values.
    Also when passivation and activation is forced (using jbo.ampool.doampooling=false ) the Transient View Object instance seems to keep its row and attribute values.
    questions:
    - (q1) Why does the expression #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty} evaluate as true when a Transient View Object instance attribute value is changed (as shown in screencast at http://screencast.com/t/qDvSQCgpvYdd )?
    - (q2) What would be a robust approach to make a Transient View Object instance more self-contained, and manage itself to have only one single row (per instance) at all times (and as such removing the dependency on the Application Module prepareSession() as documented in "5. Create an empty row in the view object when a new user begins using the application module.")?
    many thanks
    Jan Vervecken

    Thanks for your reply Frank.
    q1) Does sample 90 help ? http://blogs.oracle.com/smuenchadf/examples/
    Yes, the sample from Steve Muench does help, "90. Avoiding Dirtying the ADF Model Transaction When Transient Attributes are Set [10.1.3] "
    at http://blogs.oracle.com/smuenchadf/examples/#90
    It does point out a difference in marking transactions dirty by different layers of the framework, "... When any attribute's value is changed through an ADFM binding, the ADFM-layer transaction is marked as dirty. ...".
    This can be illustrate with a small change in the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.02.zip
    It now shows the result of both these expressions on the page ...
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty}
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.dataProvider.transaction.dirty}... where one can be true and the other false respectively.
    See also the screencast at http://screencast.com/t/k8vgNqdKgD
    Similar to the sample from Steve Muench, another modification to the example application introduces MyCustomADFBCDataControl
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.03.zip
    public class MyCustomADFBCDataControl
      extends JUApplication
      @Override
      public void setTransactionModified()
        ApplicationModule vApplicationModule = (ApplicationModule)getDataProvider();
        Transaction vTransaction = vApplicationModule.getTransaction();
        if (vTransaction.isDirty())
          super.setTransactionModified();
    }Resulting in what seems to be more consistent/expected transaction (dirty) information,
    see also the screencast at http://screencast.com/t/756yCs1L1
    Any feedback on why the ADF Model layer is so eager to mark a transaction dirty is always welcome.
    Currently, question (q2) remains.
    regards
    Jan

  • How to extend Article to Different Sales organization

    Hi experts
    How to extend Article to Different Sales organization
    thanks in advance

    Hi Hanumant,
    1. Go to MM42
    2. Enter the article to be extended.
    3. Enter the Sales Organization and Distribution Channel to which the article to be extended to.
    4. Select the Sales View.
    5. Press Enter
    Save
    It's Done.
    To verify, goto mm43 and enter the detail and check
    or
    after entering the article code in mm43 go to Sales Org. field and press F4, in the popup you will see a column 'Maint.' , X should be marked in front of your new sales org,dist channel combination.
    Hope it helps.
    Regards,
    Anirban Roy

  • How to extend same material into different plants?

    Hi all,
    how to extend the same material into different plants anybody please tell me.
    thanks
    s.muthu

    hi
    go to mm01 create a material with name abcd
    then again in mm01 in material filed give same no (abcd)and  in copy from field also give that no(abcd)
    sytem will ask u for from and t locations give that and proceed
    similarly if u want to extend view in the material go to mm50 and do
    reward if helpful
    regards
    kunal

  • Extend Classification View for Material Master

    Hello, How do I extend classificiation view for Material Master? Is there any BAPI or FM to do that?
    I cant find any place to extend it with BAPI_MATERIAL_SAVEDATA

    Hi,
    Use this FM to create Classfiaction view BAPI_OBJCL_CREATE
    Regards,
    Shan

  • How to extend the BP List

    Hi Friends,
    Please let me know how to extend the List view 100 to more in transaction BP.
    Regards
    Ricky

    hi frnd....
    u can use this code once
       CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
      EXPORTING
        businesspartner                   = customer_data-partner
      BUSINESSPARTNERROLECATEGORY       =
      ALL_BUSINESSPARTNERROLES          = ' '
       businesspartnerrole                = <wg_part_grp05-partnrole>
      DIFFERENTIATIONTYPEVALUE          =
      VALIDFROMDATE                     =
      VALIDUNTILDATE                    = '99991231'
    TABLES
       return                            = tbl_return.
               CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                wait   = c_wait
              IMPORTING
                return = tbl_return.
    I have tried.....its working for both standard roles and also for custome roles

  • How to blick tree view few specific nodes

    here i got a code which show how to blink tree view node but i am confuse that how to blink few node.
    Answered by:
    Avatar of Tamer Oz
    20,185
    Points
    Top 0.5
    Tamer Oz
    Partner Joined Sep 2009
    2
    8
    17
    Tamer Oz's threads
    Show activity
    Treeview control - How to make a node blink?
    Visual Studio Languages
    .NET Framework
    >
    Visual C#
    Question
    Alert me
    Question
    Vote as helpful
    0
    Vote
    Hi,
    Is there a "elegant" way to make blink a treeview node?
    I am thinking to use a timer with the collection of nodes that I want to make the blink effect, and update the icon ...
    Friday, November 06, 2009 6:19 PM
    Reply
    |
    Quote
    |
    Report as abuse
    Avatar of Kikeman
    Kikeman
    R. BOSCH
    105 Points
    All replies
    Question
    Vote as helpful
    0
    Vote
    Hi,
    You can develop your custom control for this purpose. The logic you mentioned was correct. Here is a sample control that I developed by the logic you mentioned.
    public class BlinkingTreeView : TreeView
    private Timer t = new Timer();
    private List<TreeNode> blinkingNodes = new List<TreeNode>();
    public BlinkingTreeView()
    t.Interval = 1000;
    t.Tick += new EventHandler(t_Tick);
    bool isNodeBlinked = false;
    void t_Tick(object sender, EventArgs e)
    foreach (TreeNode tn in blinkingNodes)
    if (isNodeBlinked)
    //update Icon
    tn.Text = tn.Text.Substring(0, tn.Text.Length - 1);//to test
    isNodeBlinked = false;
    else
    //update Icon
    tn.Text = tn.Text + "*";//to test
    isNodeBlinked = true;
    public void AddBlinkNode(TreeNode n)
    blinkingNodes.Add(n);
    public void RemoveBlinkNode(TreeNode n)
    blinkingNodes.Remove(n);
    public void ClearBlinkNodes()
    blinkingNodes.Clear();
    public List<TreeNode> BlinkingNodes
    get { return blinkingNodes; }
    public int BlinkInterval
    get { return t.Interval; }
    set { t.Interval = value; }
    public void StartBlinking()
    isNodeBlinked = false;
    t.Enabled = true;
    public void StopBlinking()
    t.Enabled = false;
    just show me how to use BlinkingTreeView class. i will have tree view which will have few node and few nodes may have few child nodes. now how to achieve by this class BlinkingTreeView and show me how to blink few specific node not all. thanks

    better to come with code. first populate tree view with some dummy node this way
    Root
           Child1
                    Child1-sub1
                    Child1-sub2
           Child2
                    Child2-sub1
                    Child2-sub2
    now blink Child1-sub2 & Child2-sub1. please come with code. thanks

  • How to wrap a view in oracle

    Does any one know how to wrap a view in Oracle, I know it is not possible, yet. Are there any third party software to wrap the logic in the view.
    Thanks,
    Sanjay

    Your best bet is to write a view that queries the source tables and contains any necessary business logic
    CREATE VIEW VBASE AS SELECT A.COLUMN_A FROM TABLE_1 A, TABLE_2 B, TABLE_3 C WHERE A.ID = B.ID AND B.ID = C.ID;
    create a view for exposure to the user that queries the base view.
    CREATE VIEW VSECURE AS SELECT COLUMN_B FROM VBASE;
    and grant privileges to VSECURE.
    GRANT SELECT ON VSECURE TO SECURE_USER;
    This will allow the user to see, query, and describe VSECURE without seeing the definition for VBASE.
    The advantage of the this approach is that the query engine can still push predicates down into the base view to optimize the performance or the query where as this is limited with the pipeline function and can become a tuning headache.
    eg.
    SQL> -----------------------------------------
    SQL> -- create some tables
    SQL> -----------------------------------------
    SQL> CREATE TABLE table_1(ID NUMBER, MESSAGE VARCHAR2(100))
    Table created.
    SQL> CREATE TABLE table_2(ID NUMBER, message2 VARCHAR2(100))
    Table created.
    SQL> CREATE TABLE table_3(ID NUMBER, message3 VARCHAR2(100))
    Table created.
    SQL> -----------------------------------------
    SQL> -- populate tables with some data
    SQL> -----------------------------------------
    SQL> INSERT INTO table_1
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'HELLO there joe'
    ELSE 'goodbye joe'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> INSERT INTO table_2
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'how are you joe'
    ELSE 'good to see you joe'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> INSERT INTO table_3
    SELECT ROWNUM,
    CASE
    WHEN MOD ( ROWNUM, 50 ) = 0 THEN 'just some data'
    ELSE 'other stuff'
    END
    FROM DUAL
    CONNECT BY LEVEL < 1000000
    999999 rows created.
    SQL> -----------------------------------------
    SQL> --create base view
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE VIEW vbase AS
    SELECT a.MESSAGE,
    c.message3
    FROM table_1 a,
    table_2 b,
    table_3 c
    WHERE a.ID = b.ID
    AND b.ID = c.ID
    View created.
    SQL> -----------------------------------------
    SQL> --create secure view using base view
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE VIEW vsecure AS
    SELECT MESSAGE,
    message3
    FROM vbase
    View created.
    SQL> -----------------------------------------
    SQL> -- create row type for pipeline function
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE TYPE vbase_row
    AS OBJECT
    message varchar2(100),
    message3 varchar2(100)
    Type created.
    SQL> -----------------------------------------
    SQL> -- create table type for pipeline function
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE TYPE vbase_table
    AS TABLE OF vbase_row;
    Type created.
    SQL> -----------------------------------------
    SQL> -- create package
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE PACKAGE pkg_getdata AS
    FUNCTION f_get_vbase
    RETURN vbase_table PIPELINED;
    END;
    Package created.
    SQL> -----------------------------------------
    SQL> -- create package body with pipeline function using same query as vbase
    SQL> -----------------------------------------
    SQL> CREATE OR REPLACE PACKAGE BODY pkg_getdata AS
    FUNCTION f_get_vbase
    RETURN vbase_table PIPELINED IS
    CURSOR cur IS
    SELECT a.MESSAGE,
    c.message3
    FROM table_1 a,
    table_2 b,
    table_3 c
    WHERE a.ID = b.ID
    AND b.ID = c.ID;
    BEGIN
    FOR rec IN cur
    LOOP
    PIPE ROW ( vbase_row ( rec.MESSAGE, rec.message3 ) );
    END LOOP;
    END;
    END pkg_getdata;
    Package body created.
    SQL> -----------------------------------------
    SQL> -- create secure view using pipeline function
    SQL> -----------------------------------------
    SQL> CREATE or replace VIEW vsecure_with_pipe AS
    SELECT *
    FROM TABLE ( pkg_getdata.f_get_vbase ( ) )
    View created.
    SQL> -----------------------------------------
    SQL> -- this would grant select on the 2 views, one with nested view, one with nested pipeline function
    SQL> -----------------------------------------
    SQL> GRANT SELECT ON vsecure TO test_user
    Grant complete.
    SQL> GRANT SELECT ON vsecure_with_pipe TO test_user
    Grant complete.
    SQL> explain plan for
    SELECT *
    FROM vsecure
    WHERE MESSAGE LIKE 'HELLO%'
    Explain complete.
    SQL> SELECT *
    FROM TABLE ( DBMS_XPLAN.display ( ) )
    PLAN_TABLE_OUTPUT
    Plan hash value: 3905984671
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 16939 | 2365K| | 3098 (3)| 00:00:54 |
    |* 1 | HASH JOIN | | 16939 | 2365K| 2120K| 3098 (3)| 00:00:54 |
    |* 2 | HASH JOIN | | 24103 | 1835K| | 993 (5)| 00:00:18 |
    |* 3 | TABLE ACCESS FULL| TABLE_1 | 24102 | 1529K| | 426 (5)| 00:00:08 |
    | 4 | TABLE ACCESS FULL| TABLE_2 | 1175K| 14M| | 559 (3)| 00:00:10 |
    | 5 | TABLE ACCESS FULL | TABLE_3 | 826K| 51M| | 415 (3)| 00:00:08 |
    Predicate Information (identified by operation id):
    1 - access("B"."ID"="C"."ID")
    2 - access("A"."ID"="B"."ID")
    3 - filter("A"."MESSAGE" LIKE 'HELLO%')
    Note
    PLAN_TABLE_OUTPUT
    - dynamic sampling used for this statement
    23 rows selected.
    SQL> -----------------------------------------
    SQL> -- note that the explain plan shows the predicate pushed down into the base view.
    SQL> -----------------------------------------
    SQL> explain plan for
    SELECT count(*)
    FROM vsecure_with_pipe
    WHERE MESSAGE LIKE 'HELLO%'
    Explain complete.
    SQL> SELECT *
    FROM TABLE ( DBMS_XPLAN.display ( ) )
    PLAN_TABLE_OUTPUT
    Plan hash value: 19045890
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 2 | 15 (0)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | 2 | | |
    |* 2 | COLLECTION ITERATOR PICKLER FETCH| F_GET_VBASE | | | | |
    Predicate Information (identified by operation id):
    2 - filter(VALUE(KOKBF$) LIKE 'HELLO%')
    14 rows selected.
    SQL> -----------------------------------------
    SQL> -- note that the filter is applied on the results of the pipeline function
    SQL> -----------------------------------------
    SQL> set timing on
    SQL> SELECT count(*)
    FROM vsecure
    WHERE MESSAGE LIKE 'HELLO%'
    COUNT(*)
    19999
    1 row selected.
    Elapsed: 00:00:01.42
    SQL> SELECT count(*)
    FROM vsecure_with_pipe
    WHERE MESSAGE LIKE 'HELLO%'
    COUNT(*)
    19999
    1 row selected.
    Elapsed: 00:00:04.11
    SQL> -----------------------------------------
    SQL> -- note the difference in the execution times.
    SQL> -----------------------------------------

  • How to  create i view  in visual composer give details screenshots

    how to  create i view  in visual composer give details screenshots

    Hi,
    Go through these threads
    VisualComposer
    http://help.sap.com/bp_epv170/EP_US/HTML/Executive_Cockpit.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e019d290-0201-0010-f186-8630a949800a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30987099-a74c-2a10-70b5-a2751ce79359
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/content.htm
    Tarak
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b9ba6d-1291-2a10-208d-bd27544e7939

Maybe you are looking for

  • Issue with calling Web Services from Adobe Interactive Forms

    Hi, I have created Web Services for remote enabled function module and imported it in the data connection in adobe form. In the adobe form created the button (Drag&Drop from Data Connection) as HTTP submit button. In the submit URL I have given the W

  • Edit the [LDF] database file

    Hi, I'm searching a way that can edit the database file *.ldf, cause some customers wouldn't put the Signal_endcoding_types in the ldf file. I need a way to save the "encoding" in the file with labview UI. I've found some old APIs for ldf file, but I

  • Embedding/linking director in flash?

    hi there, i have searched this forum and google but can't find a way to embed/link a project i did in Director MX to a Flash 8 movie. I found loads of ways to do it the other way around i.e. Flash in Director but not the way i need. Is there a way to

  • What is the standard labview color palette

    Hi i am using an VI icon extracter to obtain the icon of a VI. I wish to save this icon as a *.bmp but i do not know what to use for the palette. If i send the image to the LabVIEW picture functions they draw it correctly as they contain the default

  • Cannot use create user as j2ee_admin

    Hi, All: The system is: double stack, ABAP & Java, NW04s SR2 SP12, BI + EP, AIX + Oracle. After successful installation, we logon the portal as j2ee_admin, when choose User Administartion -> Identity management, error occurs with message: "A required