How to localize "Target Unreachable, identifier 'row' resolved to null"

Hi everybody
How can I localize "Target Unreachable, identifier 'row' resolved to null" message?
Thanks!
Version
ADF Business Components 11.1.1.56.60
Java(TM) Platform 1.6.0_18
Oracle IDE 11.1.1.3.37.56.60

Hi Barbara,
I do not know how to customize the message, but I can tell you how you can make the primary key attributes updateable without receiving such errors.
ADF Faces use the primary key attributes to produce a rowkey that is used as a row ID in a table model. If you modify the value of a primary key attribute of a row in an <af:table> then the ADF Faces could not be able to find that row after that. In our projects we workaround this problem as follows:
1) Define in the EO a "service" primary key consisting of a single ROWID attribute of a datatype oracle.jbo.domain.RowID. Base this attribute on the ROWID pseudocolumn of the corresponding DB table and mark the attribute as "Refresh After Insert";
2) Modify the real primary key to become an alternate key (not in the DB table but in the corresponding ADF Business Components);
3) Mark the RowID attribute as a key attribute in the VO instead of the real primary key attributes.
In this way you will never modify at runtime primary key attributes (from ADF's point of view), so you will never lose the corresponding rowkeys and you will never get such errors. Note, that this approach does not require creation of a surrogate (for example, sequence based) primary key in DB.
Dimitar

Similar Messages

  • ADF Tree table :  Target Unreachable, identifier 'node' resolved to null

    Hi, we are using a tree table:
    <af:treeTable value="#{bindings.FacilitySummaryVO1.treeModel}"
    var="node"
    emptyText="#{bindings.FacilitySummaryVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    selectionListener="#{bindings.FacilitySummaryVO1.treeModel.makeCurrent}"
    rowSelection="#{pageFlowScope.facilitySummaryHelper.tableSelectionMode}"
    id="tt1" width="100%" contentDelivery="immediate"
    binding="#{backingBeanScope.facilitySummary.facilityTree}"
    autoHeightRows="#{pageFlowScope.facilitySummaryHelper.tableHeight}"
    columnStretching="column:c6">
    <f:facet name="nodeStamp">
    <af:column id="c8" width="5px" headerText=""></af:column>
    </f:facet>
    <af:column id="c5"
    headerText="#{facilitySummary_rb.COLUMN_LABEL_SELECT}"
    width="40" align="center"
    rendered="#{pageFlowScope.facilitySummaryHelper.showColumnSelect}">
    <af:group id="g1">
    <af:panelLabelAndMessage label="" id="plam1">
    <af:selectBooleanCheckbox text="" autoSubmit="true"
    rendered="#{node.ShowSelectCheckBox}"
    valueChangeListener="#{backingBeanScope.facilitySummary.facilitySelectCheckboxEventListener}"
    label="" id="sbc1"
    value="#{node.bindings.SelectedFacilityLandingPage.inputValue}"/>
    </af:panelLabelAndMessage>
    </af:group>
    </af:column>
    <af:column id="c6"
    headerText="#{facilitySummary_rb.COLUMN_LABEL_FACILITY}">
    <af:group id="g2">
    <af:panelGroupLayout layout="horizontal" id="pgl2">
    <af:spacer width="#{node.IndentationWidth}" height="10"
    id="s2"/>
    <af:commandLink text="" textAndAccessKey="#{node.FacilityName}"
    disabled="#{pageFlowScope.facilitySummaryHelper.itemReadonly}"
    visible="#{(node.NodeType == facilitySummary_rb.ACCOUNT_VALUE)? false : true}"
    actionListener="#{backingBeanScope.facilitySummary.treeExpandDiscloseActionListener}"
    id="cl2">
    <af:image source="#{node.NodeImgPath}" id="i2" shortDesc=""></af:image>
    </af:commandLink>
    <af:spacer width="10" height="10" id="s1"/>
    <af:commandLink text="#{node.FacilityName}"
    textAndAccessKey="#{node.FacilityName}" id="cl1"
    actionListener="#{backingBeanScope.facilitySummary.showDetailsActionListener}"></af:commandLink>
    </af:panelGroupLayout>
    </af:group>
    </af:column>
    <af:column id="c12"
    headerText="#{facilitySummary_rb.COLUMN_LABEL_ACTION}"
    width="110"
    rendered="#{pageFlowScope.facilitySummaryHelper.showColumnAction}">
    <af:selectOneChoice valueChangeListener="#{backingBeanScope.facilitySummary.nodeActionValueChangeListener}"
    value="#{node.bindings.SelectActionValue.inputValue}"
    label=""
    unselectedLabel="#{origination_rb.LBL_IB_UNSELECTED_VALUE}"
    readOnly="#{pageFlowScope.facilitySummaryHelper.itemReadonly}"
    id="soc1" autoSubmit="true">
    <f:selectItems value="#{node.NodeAction ==null? pageFlowScope.facilitySummaryHelper.defaultSelectItems : node.NodeAction}"
    id="si2"/>
    </af:selectOneChoice>
    </af:column>
    </af:treeTable>
    af:selectOneChoice has an option to remove the row in the tree table by clearing the VO and populate new data into it. (with the exception of the removed row)
    The row get removed from the vo and the screen but i got this error Target Unreachable, identifier 'node' resolved to null
    No stack trace got printed in the stack trace.
    It works with jdev/adf 11.1.1.1.4. only with jdev/adf 11.1.1.1.5 (JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013) we're having this error. FacilitySummaryVO doesnt have primary key attribute.
    Data got populated to VO programmatically
    All VO attribute value updatable value is always

    Hi,
    hard to say. Actually the "node" variable reference is only available during tree rendering. So if you have any reference to the "node" variable that is invoked after tree rendering then this would explain the exception
    Frank

  • Error: Target Unreachable, identifier 'userMenu' resolved to null

    Hi,
    I wonder if any one could help me please. I am trying de resolve my error from the morning but no result.
    I got an error when I click to my panelMenuItem, the panemenu data works well but the panelMenuitem Action is not.
    the error is as follow:
    javax.el.PropertyNotFoundException: /pages/users/Customer.xhtml @76,72 binding="#{userMenu.addControls()}": Target Unreachable, identifier 'userMenu' resolved to null
            at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:95)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:244)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)
            at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:193)
    What i would like to do is to display on the outputPanel the characteristic of the panelMenuItem's option.
    here is my java code:
    public HtmlPanelMenu addControls() {
             FacesContext context = FacesContext.getCurrentInstance();  
             Application application = context.getApplication();
             panelMenu.setId("panelMenu");
             panelMenu.setStyle("width:200px");
             panelMenu.setMode("ajax");
             panelMenu.setIconExpandedGroup("disc");
             panelMenu.setIconCollapsedGroup("disc");
             panelMenu.setIconExpandedTopGroup("chevronUp");
             panelMenu.setIconGroupTopPosition("right");
             panelMenu.setIconCollapsedTopGroup("chevronDown");
             panelMenu.setIconGroupTopPosition("right");
             List childrenMenu = getPanelMenu().getChildren();
            if(authenticatedUser.getProfile().getAccessRight().equals("customer") ) {
                customerProducts();        
                 HtmlPanelMenuGroup panelMenuGroup = new HtmlPanelMenuGroup();
                 panelMenuGroup.setId("Products");
                 panelMenuGroup.setLabel("products");
                 List childrenGroup = panelMenuGroup.getChildren();
                 Iterator it = userProducts.iterator();
                 while(it.hasNext() ) {
                     Product prod = (Product) it.next();
                     HtmlPanelMenuItem panelMenuItem = new HtmlPanelMenuItem();
                     panelMenuItem.setId("panelMenuItem"+prod.getProductId() );
                     panelMenuItem.setLabel(prod.getName() );
                     panelMenuItem.setRendered(true);
        application.createMethodBinding("#{characteristicServiceProduct}", new class [] { ActionEvent } );
                     ELContext eLContext = context.getCurrentInstance().getELContext();
                     MethodExpression me = application.getExpressionFactory().createMethodExpression(eLContext,
                                                                        "#{this.searchServiceProduct(prod)}", null, new Class[]{ActionEvent.class} );
                     panelMenuItem.setActionExpression(me);
                     childrenGroup.add(panelMenuItem);
                     childrenMenu.add(panelMenuGroup);
                     updateOutputPanel();
    return panelMenu;
    public HtmlAjaxOutputPanel addOutputPanel() {
            outputPanel.setId("outputPanel");
            outputPanel.setAjaxRendered(true);
            outputPanel.setTitle("Products caracteristic");
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue("");
            outputPanel.getChildren().add(outputText);
            return outputPanel;
        public void updateOutputPanel(){
            HtmlDataTable dataTable = new HtmlDataTable();
            UIColumn columnName, columnAmount;
            dataTable.setValue("#{characteristicServiceProduct}");
            dataTable.setVar("chSePr");
            columnName = new UIColumn();
            HtmlOutputText outputTextName = new HtmlOutputText();
            outputTextName.setValue("#{chSePr.characteristic.name}");
            columnName.getChildren().add(outputTextName);
            columnAmount = new UIColumn();
            HtmlOutputText outputTextAmount = new HtmlOutputText();
            outputTextAmount.setValue("#{chSePr.amount}");
            columnAmount.getChildren().add(outputTextAmount);
            dataTable.getChildren().add(columnName);
            dataTable.getChildren().add(columnAmount);
            outputPanel.getChildren().add(dataTable);
        }my .xhtml page is as follow
    <rich:panelMenu binding = "#{userMenu.addControls()}"/>
                   <rich:panel>
                        <a4j:outputPanel ajaxRendered="true" binding="#{userMenu.addOutputPanel()}">
                            <!--<h:outputText value="service #{userMenu.service}"/>-->
                        </a4j:outputPanel>
                    </rich:panel>thank you so much
    regards
    bibou

    Well i didn't define the scope. Now it's look better. T've got the followuing error:
    javax.el.PropertyNotWritableException: /pages/users/Customer.xhtml @76,72 binding="#{userMenu.addControls()}": Illegal Syntax for Set Operation
            at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:98)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:244)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)
    contact1 >> 09:46:37,663 ERROR [ExceptionFilter] handling uncaught exception
    javax.servlet.ServletException: /pages/users/Customer.xhtml @76,72 binding="#{userMenu.addControls()}": Illegal Syntax for Set Operation
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
    Caused by: javax.el.PropertyNotWritableException: /pages/users/Customer.xhtml @76,72 binding="#{userMenu.addControls()}": Illegal Syntax for Set Operation
            at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:98)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:244)
            at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)

  • Target Unreachable, identifier 'viewBundle' resolved to null

    I'm using Jdev 11g to develop JSF application. it works well when I'm run the application within default server within Jdev. but it fails when i deploy it to weblogic server which i've installed ADF libraries.
    it says: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'viewBundle' resolved to null
    which my code in page is like: <c:set var="viewBundle"
    value="#{adfBundle['com.dstintl.hiport.unitpricing.view.ViewBundle']}"/>
    but it works when I use " <f:loadBundle basename="" var=""/>"
    Is it some libraries missing within my war?
    thank you.

    Hi,
    don't think you are missing something.
    Frank
    Edited by: Frank Nimphius on Dec 29, 2008 1:24 PM

  • Identifier 'row' Resolved to Null !!

    Dear All
    i have a Business Component Exist in my JSF Interface as a Table and i made one att Auto Submit = true
    and this true property makes error message for me *"Identifier 'row' Resolved to Null"*
    Please Advise

    Hi,
    row is the default variable that is used to build the table when it initially is rendered. Adter this the row is null as it is no longer needed. In your case the erro points to a wrong referene of his variable in your page source
    Frank

  • Resolved to null

    Hi,
    I'm able to show a list through an ADF table, but once I've clicked 'Edit' button, I've got
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'Controller' resolved to null
    How can I know where the problem is within the Java class?
    Best Regards

    I guess you have added the backing bean for the component... the bean that will get displayed in the option will be in backingbean scope.. in your adfc-config.xml or in your task flow.. the scope can be changed when you go to overview tab -> managed bean - > of your taskflow or adfc-config.xml..
    here you will find the list of beans associated.. and the option to change the scope for the bean..

  • Target unreachable 'row' resolved null

    What are the cases of error "*Target unreachable 'row' resolved null*"
    I am using choice list as one of the filed in grid and also a button in that same grid.
    while clicking the button i am getting a popup has error like "*Target unreachable 'row' resolved null*"
    Edited by: user8776490 on Aug 13, 2010 6:02 AM

    1. Define Lov on the attribute which you would like to see as choice list.
    2. Drag and drop the VO as af:table
    3. In the table wizard remove the columns you don't like to see
    4. For the attribute( you would like to see as choicelist ) make sure it has 'ADF Select One Choice' select under Component To Use column.
    That's it.
    OR if you already have table dropped in you page and need to add the attribute:
    1. do step 1 of above
    2. Select table in structure window, go to properties tab, select column... add a new column (one you want) and make sure it has 'ADF Select One Choice' select under Component To Use column.
    Amit

  • How to solve: PropertyNotFoundException: Target Unreachable

    Hi all,
    I have an outputLabel with the "value" property set to "#{backingBeanScope.myPage.showDetailItem.disclosed}"
    When I run my application, it returns :
    PropertyNotFoundException: Target Unreachable, 'showDetailItem' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.getType(AstValue.java:56)
         at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValueExpressionType(ValueRenderer.java:172)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getDefaultConverter(ValueRenderer.java:178
    I have not automatically create the javaBean when I created the .jspx page, so I think I forgive to set some properties.
    Any suggestion?
    Thanks
    Andry
    Edited by: user10799119 on Jul 8, 2009 8:07 AM

    Hi,
    backingBeanScope is the right scope for your usage, but I think you forgot to bind the showDetailItem to it using the "binding" attribute. That being said, why do you want an outputLabel showing a boolean property?
    Regards,
    ~ Simon

  • PropertyNotFoundException: Target Unreachable, 'null' returned null

    Is there a way to identify which propterty (which el) is not found?
    From the stack trace, it's hard to find out where is wrong on earth.
    javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'null' returned null
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:548)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:167)
    at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
    at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:342)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1022)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:264)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:238)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:375)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:64)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)

    This is a truntime issue.
    The problem here is the log is not clear: "null" returned null, it should be "some_expression_or_property_name" returned null.
    Edited by: Leon Zeng on Mar 22, 2012 12:59 PM

  • Target Unreachable, 'firstField' returned null

    Hi everybody!
    Before I begin, I'm sorry but my english is bad.
    I'm using JDeveloper 11.1.1.3 to develop an application.
    My application is linked with database.
    I created a Train with 2 pages: In the first, you can fill out the form. And in the second, we see the data filled
    in the first, and there you can click a button to submit the form.
    Then I create a method in my class "TestServiceImpl.java" which is the method of application module. This method
    add a new row in a table in the database.
    And finally, I'd drag and drop this method in my "confirmationPage". The value of each field of this method is that
    of the corresponding fields the first page where the form was completed (example: # {} backingBeanScope.backing_firstPage.firstField.value).
    I have hidden filds so they are not visible to the user, and I left the button in this method visible (to create item).
    When I run the application, I fill the fields in the form, I click Next, I preview my form;
    BUT when I click on the button (which is the method that I have hidden filelds), I have the following error:
    Target Unreachable, 'firstField' returned null
    Any help is welcome.
    Thank's

    Yes, but it still seems that the value is null when the method attempts to retrieve it.
    Unless there is some other problem in your page or the bindings.
    If you were to try using pageFlowScope parameters, all that you would have to do would be to set the component values in the virst page equal to the pageFlowScope parameter it corresponds to
    something like this:
    <af:inputText id="var1"/>
    value="#{pageFlowScope.variable1}"
    />then you could get the values in the second page using #{pageFlowScope.variable1}.
    Gabriel.

  • How can I create an empty row on a #TempTable based on an input parameter

    So if my Line of Business is 'MC' or 'MG', I have to go over to Oracle and get its data accordingly. Then, when I create my final report result set, I think I'll want to UNION in that result set if my Parameter is 'MC' or 'MG'. I don't think I can UNION
    based on the value of the Parameter. So my thought process was to create an empty row on my #TempTable so when I UNION and my parameter is NOT 'MC' or 'MG' then it will have nothing to UNION in. My struggle is how do I create an empty row in my #TempTable
    if my parameter is NOT 'MC' or 'MG'
    If I am wwwaaayyy off here, please tell me so.
    This is my #TempTable Creation SQL...
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    SELECT *
    INTO [#TempTable_Market_Prominence_Member_Data]
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    If I add an ELSE, it always comes back and tells me the #TempTable_Market_Prominence_Member_Data already exists. As if it's creating it regardless of the Top IF.
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    The error came back from your ELSE Statement most probably caused by the reason mentioned in Hoffmann's post.
    Regarding your requirement, I would suggest you CREATE the [#TempTable_Market_Prominence_Member_Data] explicitly.
    CREATE TABLE [#TempTable_Market_Prominence_Member_Data]
    NAME_ID INT,
    MEMBER_ID INT,
    HIC_NUMBER VARCHAR(99),
    NAME_FIRST VARCHAR(99),
    NAME_LAST VARCHAR(99),
    START_DATE DATE,
    END_DATE DATE,
    COUNTY_CODE VARCHAR(99),
    PART_A_PAYMENT MONEY,
    PART_B_PAYMENT MONEY,
    STATUS VARCHAR(99),
    ORG_ID INT,
    PALN VARCHAR(99),
    ENROLL_DATE VARCHAR(99),
    PBP_ID INT,
    VALUE INT
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    INSERT INTO [#TempTable_Market_Prominence_Member_Data]
    SELECT *
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    Explicitly creating the temp table will offer below benefit in this case.
    The ELSE statement is no longer needed, if the no rows get inserted into that table, it has nothing to union an empty table.
    With the column datatype defined, you can avoid such conversion error
    SELECT NULL AS COL1,NULL AS COL2 INTO #T
    SELECT COL1,COL2 FROM #T
    UNION
    SELECT 1,'ABC'--Conversion failed when converting the varchar value 'ABC' to data type int.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How to Customize the Message "No Row Returned" from a Report

    Hi,
    I've been trying to customize the Message "No Row Returned" from a Report.
    First i followed the instructions in Note:183131.1 -
    How to Customize the Message "No Row Returned" from a Report
    But of course the OWA_UTIL.REDIRECT_URL in this solution did not work (in a portlet) and i found the metalink document 228620.1 which described how to fix it.
    So i followed the "fix" in the document above and now my output is,..
    "Portlet 38,70711 responded with content-type text/plain when the client was requesting content-type text/html"
    So i search in Metalink for the above and come up with,...
    Bug 3548276 PORTLET X,Y RESPONDED WITH CONTENT-TYPE TEXT/PLAIN INSTEAD OF TEXT/HTML
    And i've read it and read it and read it and read it and can't make heads or tails of what it's saying.
    Every "solution" seems to cause another problem that i have to fix. And all i want to do is customize the Message "No Row Returned" from a Report. Please,...does anyone know how to do this?

    My guess is that it only shows the number of rows it has retrieved. I believe the defailt is for it to only retrieve 50 rows and as you page through your report it retrieves more. So this would just tell you how many rows was retireved, but probably not how many rows the report would contain if you pages to the end. Oracle doesn't really have a notion of total number of rows until the whole result set has been materialized.

  • How to delete an unused INITIALIZED row from VO

    Hi All,
    I have created three custom pages. 1. To Query Warranty records 2. to Create a new Warranty record and 3. to Update a Warranty record
    Both create and update pages can be navigated from the Query Warranty page.
    I am getting an error when I do the below:
    1. navigate to create page
    2. and then navigate back to Query page without creating a warranty record in create page
    3. and then navigate to Update Warranty page
    4. Click on Save
    Error message:
    <!--StartFragment-->oracle.apps.fnd.framework.OAException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO XXX_PO_WTY_TRACK_WARRANTY(CONSIGNEE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE) VALUES (?,?,?,?,?)".
    I understand what is causing this issue. When in navigate to create page, I do the following:
      Row prow = vo2.createRow();
       vo2.insertRow(prow);
       prow.setNewRowState(Row.STATUS_INITIALIZED) ;
    and then default a value for a mandatory field in the UI based on user preferences.
    So when I navigate to update page there is a row with everything null except for a single field. This is causing the error.
    My question is how do I remove this UNUSED INITIALIZED row.
    Any feedback will greatly help me.
    Many thanks.
    Dj

    I just want to mention that I am using the same VO for both Create and Update pages.

  • How to read a alv grid row data from standard program

    Hi All,
    I am working on transaction LBK1. Actually when you will open this transaction in the left hand side it will show you the data in tree. When you click on a notification node it will show the relevant data in right side. In which there is a operation tab . In this tab the data comes in alv grid. If user selects a row then I have to get that selected row value. There is also a toolbar above on the tree side. There are some buttons which execute our implementation class where I can put the code.  
    Can anyone please help me out? How I can read that selected row in our class/method?
    Thanks in advance.
    Best Regards
    Ritu

    Setting and getting selected rows (Columns) and read line contents
    You can read which rows of the grid that has been selected, and dynamic select rows of the grid using methods get_selected_rows and set_selected_rows. There are similiar methods for columns.
    Note that the grid table always has the rows in the same sequence as displayed in the grid, thus you can use the index of the selected row(s) to read the information in the rows fronm the table. In the examples below the grid table is named gi_sflight.
    Data declaratrion:
    DATA:
    Internal table for indexes of selected rows
    gi_index_rows TYPE lvc_t_row,
    Information about 1 row
    g_selected_row LIKE lvc_s_row.
    Example 1: Reading index of selected row(s) and using it to read the grid table
      CALL METHOD go_grid->get_selected_rows
        IMPORTING
          et_index_rows = gi_index_rows.
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines = 0.
        CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
             EXPORTING
                  textline1 = 'You must choose a valid line'.
        EXIT.
      ENDIF.
      LOOP AT gi_index_rows INTO g_selected_row.
         READ TABLE gi_sflight INDEX g_selected_row-index INTO g_wa_sflight.
        ENDIF.
      ENDLOOP.
    Example 2: Set selected row(s).
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines > 0.
        CALL METHOD go_grid->set_selected_rows
            exporting
              it_index_rows = gi_index_rows.
      ENDIF.

  • How do I repeat the same row more than once in report 10g

    How do I repeat the same row more than once in report 10g
    So I can print the bar code more than once
    in report;
    Edited by: user11106555 on May 9, 2009 5:50 AM

    GREAT THAN X MAN
    It is already working, but with the first ROW
    select ename from emp
    CONNECT BY ROWNUM<=5
    ENAME
    SMITH
    SMITH
    SMITH
    SMITH
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    BUT I want this result
    Item1
    Item2
    Item3
    to
    Item1
    Item1
    Item1
    Item2
    Item2
    Item2
    Item3
    Item3
    Item3

Maybe you are looking for

  • How to open a jspx in a popup from managed bean.

    Hello, I'm using Studio Edition Version 11.1.1.4.0. I have a JSPX that is to be used as an application monitor screen. So it contains 5 af:tables with plenty of columns & query search criteria. Each of the tables has context sensitive menus as well a

  • Space and URL in table while generating PDF

    Hi Gurus, I am generating a PDF document via WebDyenpro ABAP (SE80), I am facing a following problem's 1. While populating data in a particular record there comes a extra space [or i dont know what] which occupies full page below it causing disturban

  • DNG SDK not working on Mac (Leopard)

    Hi, I am writing a program to create dng files via the latest adobe dng sdk. I follow the same basic recipe as outlined in the example dng_validate code. On a Windows PC, the created thumbnails and previews appear just fine. However, the same code on

  • Restriction_Payment for Rs. 1 Crore

    Hi All, Iam facing one problem I wrote one validation to restrict a FI/CO documents more than 1 crore.I wrote the validation but now my client is asking to put authorizations to one or two people how do put i dont no. the validation is: Prerequisite:

  • Burned photos to dvd - they printed fuzzy

    I have many photos on my mac that I need to print and back up. I have my library backed up on an external hard drive but I would feel better to have them on cd's as well. I burned a dvd of some photos ( I didn't have a cd) . I took it to the store to