ADF Issue with Tree Table , Child Row not getting rendered.

Hi All,
I am trying to show a single Level Master-Detail Table via ADF Tree Table.
I have MasterVO : InventoryVO (1 SubInventoryCode)
DetailVO: SubInventoryVO (n :SubInventoryCode)
Both VOs are SQL query based VO with bindVariables.
I have a viewLink between MasterVO and ChildVO (1:n relationship)
I dragged and drop the MasterVO as a tree Table. I added the Rule in the Tree Binding too.
I have the Tree table under a Tab , I execute the AM impl method when the Tab is clicked where I set the bindvariables of the MasterVO and ChildVO and execute it.
when I run the Page , the VO query gets executed but the I am able to see only the MasterVO Datas, and when I click MasterVO ROW , the Table doesnt expand and it doesnt render any ChildVO ROws.
Please find the Page Definition and Jspx Page Code Below
Page Definition Code
<tree IterBinding="ItemsLocatorIterator" id="ItemsLocator">
      <nodeDefinition DefName="xxplp.oracle.adf.items.model.view.ItemsLocatorVO"
                      Name="ItemsLocator0">
        <AttrNames>
          <Item Value="SubinventoryCode"/>
          <Item Value="Openorderqty"/>
          <Item Value="Openwoqty"/>
          <Item Value="Qoh"/>
        </AttrNames>
        <Accessors>
          <Item Value="ItemSubInventoryVO"/>
        </Accessors>
      </nodeDefinition>
      <nodeDefinition DefName="xxplp.oracle.adf.items.model.view.ItemSubInventoryVO"
                      Name="ItemsLocator1">
        <AttrNames>
          <Item Value="Locator"/>
        </AttrNames>
      </nodeDefinition>
    </tree>Jspx Page Code
<af:treeTable value="#{bindings.ItemsLocator.treeModel}"
                                      var="node"
                                      selectionListener="#{bindings.ItemsLocator.treeModel.makeCurrent}"
                                      rowSelection="single" id="tt2"
                                      styleClass="AFStretchWidth"
                                      rowDisclosureListener="#{backingBeanScope.TabListenerBean.LocationTableRowDisclosureListener}">
                          <f:facet name="nodeStamp">
                            <af:column id="c110">
                              <af:outputText value="#{node.SubinventoryCode}" id="ot116"/>
                            </af:column>
                          </f:facet>
                          <f:facet name="pathStamp">
                            <af:outputText value="#{node}" id="ot117"/>
                          </f:facet>
                          <af:column id="c111"
                                     headerText="#{bindings.ItemsLocator.hints.Qoh.label}">
                            <af:outputText value="#{node.Qoh}" id="ot118"/>
                          </af:column>
                          <af:column id="column1"
                                     headerText="#{bindings.ItemsLocator.hints.Openorderqty.label}">
                            <af:outputText value="#{node.Openorderqty}"
                                           id="outputText1"/>
                          </af:column>
                          <af:column id="column2"
                                     headerText="#{bindings.ItemsLocator.hints.Openwoqty.label}">
                            <af:outputText value="#{node.Openwoqty}"
                                           id="outputText2"/>
                          </af:column>
                          <af:column id="column3"
                                     headerText="Locator">
                            <af:outputText value="#{node.Locator}"
                                           id="outputText3"/>
                          </af:column>
                        </af:treeTable>

I was able to find the issue which is causing the problem, both the VOs are SQL Query Based VOs.
The ChildVO (SubInventoryVO) is has a bindvariable in its Query, which is losing its value when the viewlink accessor query gets appended to it.
Please find the query below
SELECT * FROM (SELECT MOTV.ORGANIZATION_CODE, MOTV.SUBINVENTORY_CODE  
FROM MTL_ONHAND_TOTAL_V MOTV
WHERE INVENTORY_ITEM_ID = :P_INVENTORY_ITEM_ID) QRSLT  WHERE ORGANIZATION_CODE = :Bind_OrganizationCode Though I am setting the VO query before the Table is rendered, ":P_INVENTORY_ITEM_ID".
Its Losing its value, when the above whereclause "ORGANIZATION_CODE = :Bind_OrganizationCode " gets appended to it.
I am thinking to use ExecuteWithParams Operation on SelectionListener method of the Tree Table to set the ":P_INVENTORY_ITEM_ID" bind variable, but I also want the viewLinkAccessor rule also to be applied ..
Please suggest me how to retain the implicit bindVariable of the Query.

Similar Messages

  • Issues with Advance Table Add Row New Row not work in some scenarios.

    Hi,
    Wondering if there's any issue with Advanced Tables where it does not create any rows. I don't know if anyone tried this or not. I have one OA Page with Advanced Table and a button that when clicked open a new OA Page in a POP-UP Window. The pop-up page conatins one textbox where u enter a data and this gets saved in one of the VO's transient attribute. Now on the ase page if you don't click a button to open a pop-up page you can Add New Rows in the Advanced Table by clicking Add Row Button. But as soon as you open a popup window and close it Add New Rows button doesn't work and is not creating any new rows. Basically page stops working. Both the POP-UP and the base page share the same AM but have different controllers.
    POP-UP page is a custom page that I open giving the Destination URI value in the button item and target frame _blank.
    I even tried creating rows programmatically for Advance Table but this too doesn't work once u open a pop-up. Also I have used pageContext.putTransactionValue in the pop-up page and am checking and removing this in the base page.
    Any help is appreciated.
    Thanks

    anyone

  • In a popup the tree table data is not getting displayed properly

    Hi,
    I have a taskflow which contains a tree table within a panelStetchLayout. Following is the taskflow code :
    <af:panelStretchLayout id="SecurityAdminManageRoles" bottomHeight="0" topHeight="auto" inlineStyle="width:725px;height:400px;">
    <f:facet name="center">
    <af:treeTable value="#{bindings.WebCenterSecurityDCPermission.treeModel}" var="node" expandAllEnabled="true" fetchSize="150" verticalGridVisible="false" horizontalGridVisible="true" columnSelection="none" rowBandingInterval="0" columnStretching="last" contentDelivery="immediate" summary="#{uib_o_w_w_r_WebCenter.SECURITY_PERMISSIONS}" disclosedRowKeys="#{webcenterAdminSecurityBean.disclosedRowKeySet}" inlineStyle="border:none" binding="#{webcenterAdminSecurityBean.rolesTable}" id="tt2" styleClass="AFStretchWidth" autoHeightRows="150">
    <f:facet name="nodeStamp">
    <af:column width="260"
    selected="false" noWrap="false" id="c3">
    <f:facet name="header">
    <af:outputText value="#{uib_o_w_w_r_WebCenter.LABEL_PERMISSIONS}"
    id="ot5"/>
    </f:facet>
    <af:panelGroupLayout id="pgl26">
    <af:forEach items="#{bindings.getRoleHeaders.result}" var="role">
    <af:outputText value="#{role.value}" visible="false" id="ot1"/>
    <af:selectBooleanCheckbox selected="#{node.dataProvider.serviceActions[role.value]}"
    rendered="#{!node.dataProvider.serviceHeader}"
    label="#{null}"
    disabled="#{(node.dataProvider.readOnly and role.seededRole) or node.dataProvider.actionDisabledMap[role.value] == true}"
    simple="true" id="sbc2">
    <f:attribute name="permission" value="#{node}"/>
    </af:selectBooleanCheckbox>
    </af:forEach>
    <af:spacer width="5" id="s2"/>
    <af:outputText value="#{node.name}" noWrap="false" id="ot2"
    inlineStyle="#{node.dataProvider.serviceHeader? 'font-weight:bolder;': ''}"/>
    </af:panelGroupLayout>
    </af:column>
    </f:facet>
    <af:column headerText="#{uib_o_w_w_r_WebCenter.LABEL_DESCRIPTION}" rowHeader="unstyled" noWrap="false" id="c1">
    <af:outputText value="#{node.description}" noWrap="false"
    inlineStyle="color:grey;" id="ot3"/>
    </af:column>
    </af:treeTable>
    </f:facet>
    </af:panelStretchLayout>
    </jsp:root>
    This taskflow is included as a region within another page :
    <af:commandToolbarButton id="cb3"
    shortDesc="#{uib_o_w_w_r_WebCenter.LABEL_EDIT_PERMISSION_HINT}"
    icon="/adf/webcenter/edit_sm_ena.png"
    text="#{uib_o_w_w_r_WebCenter.LABEL_EDIT_PERMISSION}"
    inlineStyle="align:left">
    <af:showPopupBehavior popupId="managePopup"/>
    </af:commandToolbarButton>
    <af:popup id="managePopup" contentDelivery="lazyUncached">
    <af:dialog modal="true" type="cancel"
    title="#{requestContext.formatter[uib_o_w_s_r_Spaces.EDIT_ROLE][pageFlowScope.o_w_wa_spacesRoleBacker1.selectedRole.value == webcenterAdminSecurityBean.spacesUsersRole ? uib_o_w_s_r_Spaces.LABEL_AUTH_USER : pageFlowScope.o_w_wa_spacesRoleBacker1.selectedRole.value]}"
    titleIconSource="/adf/webcenter/empty.png" id="d4">
    <af:region value="#{bindings.editroletaskflow.regionModel}"
    id="r2"/>
    <f:facet name="buttonBar">
    <af:commandButton partialSubmit="true"
    text="#{uib_o_w_w_r_WebCenter.LABEL_SAVE}"
    actionListener="#{o_w_w_i_v_b_webCenterViewUtilsBean.saveChangesAndCloseWCLinksPopup}"
    id="cb4">
    <f:attribute value="#{bindings.editroletaskflow.regionModel}"
    name="wcRegionModel"/>
    <f:attribute value="bindings.saveRoles.execute"
    name="wcMethodToExecute"/>
    </af:commandButton>
    </f:facet>
    </af:dialog>
    </af:popup>
    In the main page, there is a table, I select one row and then click on this commandButton, which launches the popup.
    The problem here is that when I launch the popup, there are many rows in the table and hence a scroll bar appears. Scroll down the popup and close the popup.
    Again I launch the popup, I see that the popup displays in the same state as it was closed before, i.e the scrollbar is at the bottom and the first row is not displayed.

    ...also do not forget to:
    1. adjust the Active property for the task flow binding (in the pageDef).
    Set property value to the true on popupFetchListener, and to the false when closing popup
    2. for the af:popup containing region, set childCreation to deffered

  • Second level child rows not getting updated by a web service call

    hi,
    I have a web service that takes a Header object (type: Header). Below is the part of the WS schema:
    <xsd:complexType name="Header">
    <xsd:sequence>
    <xsd:element name="Segment1" type="xsd:string" minOccurs="0"/>
    <xsd:element name="SoldtoBuId" type="xsd:long" minOccurs="0" nillable="true"/>
    <xsd:element name="ChangeAcceptedFlag" type="xsd:string" minOccurs="0" nillable="true"/>
    <xsd:element name="Lines" type="Line" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Line">
    <xsd:sequence>
    <xsd:element name="LineNum" type="xsd:long" minOccurs="0" nillable="true"/>
    <xsd:element name="ChangeAcceptedFlag" type="xsd:string" minOccurs="0" nillable="true"/>
    <xsd:element name="Schedules" type="Schedule" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Schedule">
    <xsd:sequence>
    <xsd:element name="ScheduleNum" type="xsd:long" minOccurs="0" nillable="true"/>
    <xsd:element name="ChangeAcceptedFlag" type="xsd:string" minOccurs="0" nillable="true"/>
    </xsd:sequence>
    </xsd:complexType>
    So a header element can have one or more lines and a line can have one or more schedules.
    Each of those entities have are based on tables (via EO & VO).
    Header table has primary key of HeaderId,
    Line table has primary key of LineId,
    Schedule table has primary key of ScheduleId,
    These primary keys are not part of the schema however they are there in the VOs.
    A Header can be uniquely identified by combination of Segment1 & SoldToBu which are part of the header element and they are added as a Altkey on the HeaderVO,
    For a given header a line can be uniquely identified by the LineNum which is added as Alt key on LineVo,
    And for a given line a schedule can be uniquely identified by the ScheduleNum which is added as Alt key on ScheduleVo.
    LineVO is added to the Service AM under HeaderVO via a ViewLink and similarly ScheduleVO is added below LineVO via viewLink.
    When I invoke the webservice the service identifies the header and line rows and updates them. It also identifies schedule rows but they are not getting updated.
    Any Idea what the prob. can be.
    Thanks in Advance!!
    Anil

    Hi Juhani,
    Do you try to execute the Web Service with SoapUI or XMLSpy??
    I think that is not a problem with abap side, but with java. I recomend to you use the following prefix in function modules:
    IMPORTING: I_
    EXPORTING: E_
    TABLES: T_
    Regards,
    Edson Thomaz

  • ADF Query Panel with Tree Table -- Add Fields

    I created ADF Query Panel with Tree Table using JDeveloper 11G. Under Advance Search, Add Fields pull down only list the fields in the master table. My questions are,
    1) Can I search fields in detail table? If yes, how can I do it?
    2) How can I customized this pull down list? Currently it just show the entire view of master table with unnecessary id type data.
    Thanks in advance.
    Edited by: kxc on Nov 9, 2009 9:21 AM

    1) Can I search fields in detail table? If yes, how can I do it?
    Are there anyway to search the second level node?You can. But you need to evaluate if the arrangement works for you.
    I assume you have a view link from the master to detail VO.
    To do so, in your master view criteria (the one which you use in the query panel), shuttle the attributes of your detail VO (in master attributes list, you'l see the detail view link accessor - on selecting this, the detail atteributes are available to you)
    In the Add Fields, it shows as student_id AND student_name. I was unable to delete the student_id field in the view since it is PKYou can set its 'display' UI hint to 'hide' in your VO.

  • Issue with Tree view

    Hello experts,
    I am facing a very strange issue with tree view.
    I have created a custom component with a tree view. All data are coming in the tree view. But the strange thing is that the data is not getting displayed on the screen.
    I am sure about the data because, when I am selecting a line from the tree, the data from that line is coming to the main screen.
    Please help!!
    Regards
    Debolina

    Hi experts...
    Any pointers to this issue???
    Please help!
    Regards,
    Debolina

  • Issue With Tree

    Hi All,
    We have an strange problem in tree population.
    We are using ftreen.add_tree_data built-in for the population of the next level on when-tree-node-expand trigger.
    On the population of the specific data it is giving the error FRM-47337 Tree node cannot be null
    I had checked the tree query on backend it does not return null.
    But when i do the same functionalty with ftreen.add_tree_node with help of loop means now node add one by one it is working fine.
    I donot have the reason why ftree.add_tree_data giving the error and why it is working fine by ftreen.add_tree_node.
    I hope experts will help me out.

    Your thread Issue with Tree in Apex 4 is still open!
    Isn't it the same thing?
    Regards,

  • Captivate 5.5 Question: We seem to be having an issue with the screen capture piece not recording "e

    Captivate 5.5 Question: We seem to be having an issue with the screen capture piece not recording "everything".
    We're running 5.5 as an administrator on Windows 7 and my co-worker is trying to capture a webinar (GoToMeeting) with Captivate and it is not recording anything in the GTM window, except the last slide. Anyone have this problem or know a fix? Not much is mentioned in the Adobe forums.

    Captivate simply doesn't 'hear' some screen events on certain applications and you just need to resort to doing manual captures at these points.
    I usually set up my manual capture button to be F2 so that I can hit it with my left hand while my right hand is on the mouse navigating through the task.

  • Hi  have the ipod touch and having issue with the reminders app. do not have the reminders page  just the completed page

    hi  have the ipod touch and having issue with the reminders app. do not have the reminders page  just the completed page

    The problem has been fixed with the most recent OS X software update.

  • After the IOS 7.1 update I have issue with Game Center, I'm not been able to  load the  games. The apps don't seems to be able to connect to game centre. How to resolve the issue?

    After the IOS 7.1 update I have issue with Game Center, I'm not been able to  load the  games. The apps don't seems to be able to connect to game centre. How to resolve the issue?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Anyone had issues with on/off sleep button not working anymore

    Anyone had issues with on/off sleep button not working anymore?

    If there is Warranty or AppleCare make Genius reservation or set up Service and take or send to Apple for resolution. If no coverage, use virtual Lock Button, tap Settings App > General > Accessibility > Assistive Touch > ON > tap new white screen button > Device > Lock Screen. This can even turn OFF iPhone. To turn ON, connect iPhone to power, charger or USB of computer.

  • Issue regarding Planning layout is not getting rendered and is dumping at : CL_RSDRC_TREX_QUERY_LAYER ~ _GET_PARTPROVS_WITH_TREX_PART in SAP TPM IP

    Gurus,
    I am facing an issue regarding SAP TPM IP ( HANA)
    I have 3 Infoproviders
    Planning infocube, Planning DSO1, Planning DSO2 and i created multiprovider and added these 3 infoproviders into it. I have created Aggregation level on multiprovider. Created Bex Input ready query on Aggregation level.
    Issue is  Planning layout is not getting rendered and is dumping at : CL_RSDRC_TREX_QUERY_LAYER ~ _GET_PARTPROVS_WITH_TREX_PART.
    I tried debugging it and found it is trying to read   i_r_pro -> n_ts_part. It is populated with only 3 values (i.e. 2DSOs and 1 Cube), whereas <l_partprov>-partprov is referring to Aggergation level, hence read statement isn't successful, it is dumping.
    The class CL_RSD_INFOPROV_CACHE->GET() method is trying to populate the N_TS_PART.N_TS_PART uses P_R_INFOPROV table which seems to be already populated.  So, I debugged all the below methods to find out how the P_R_INFOPROV but couldn't find any clue.
    Can any one help,it would be really help.
    Thanks
    Ashok

    Hello Gregor,
    On the launch of planning layout it throws an error message:
    Planning is not possible RSCRM_IMP_CORE008.
    When I debugged, i got to a point wherein
    particular Real Time Planning DSO is
    not getting retrieved under the MultiProivder in below class.
    Class: CL_RSCRM_IMP_ACTIONS_SERVICE, Method: GET_INFOPROV is not
    returning the real time Info-Provider Name(i.e. Planning DSO)
    underlyingthe Multiprovider.
    I've also tried to run the report mentioned by you for the Multiprovider but issue still exists.
    Let me know, if you have any pointers on this topic.
    Thanks,
    Jomy

  • I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    Has your carrier been having issues with Call Display? Do the telephone numbers come up when people call, or does it just show 'Unknown Number' or 'Blocked' ?

  • I have a toshiba lap top computer with vista and I can not get my iphone to connect all the way .. it says "connected with limited activity"?

    I have a toshiba lap top computer with vista and I can not get my new iphone to connect all the way .... it says "connected with limited activity". which means I don't get on. Any help would be appreciated. Thanks.  

    Hi all,
    Guess I understand what is going on as I'm also experiencing the problem.
    Basically the issue is about the iPhone 4's personal hotspot.
    I'm trying to hook on personal hotspot to my toshiba laptop but it couldnt work as the connection is limited to local only without Internet access.
    The hotspot works well on other laptop and I-devices, but not my toshiba...
    Hope to get assistance here. Thanks

  • Bill Accounting issue  frieght clearing  provision account is not getting

    Hello Experts
    Subjcet: Bill Accounting issue  frieght clearing  provision account is not getting cleared at the time of accounting.
    Error in ZIVA for invoice parking and ZIVB for invoice posting
    my user tying to post the invoice through ZIVB with reference of PO number . So at the time of posting this transaction he is getting error like  Balance not zero: 651.25  debits: 1,378.75  credits: 2,030.00
    that difference amount stands for freight clearing - 651.25
    Before that he was posted to ZIVA for Invoice parking with reference of PO
    Can any body give me suggestion on the same
    Thanks and Regards
    vamsi

    Thanks for all
    my problem was resolved
    regards
    vamsi

Maybe you are looking for

  • ' Playlist' has no 'list view' in iTunes lastest update

    ITunes just had an update. I installed. Interface is somewhat changed, but easily learned. I use my playlists to perform as backing tracks. The playlists NEW main page has icons which are blank because there is no album for that song. How can I get r

  • My iPhone 5 is not charging properly and only the left speaker in any headphones is working

    Hi folks my iPhone 5 is not chagrin properly and only the left speaker on any set of headphones is working how do I report to apple

  • How do you edit sound in multicam (cs5)

    Hi all, I always see people raving about multi cam editing for wedding speeches but on the 10 or so occasions Ive given it a try I just give up instantly due to the fact that I feel so limited in what I can do with the audio. I would use it for weddi

  • Error Data Loading into Cube

    Hi, When I run DTP, I get the error below on SM21. I checked note  1634716 - SYB: Lock timeout or deadlocks and 1933239 - SYB: Shortdumps with resource shortage and runtime error DBIF_SETG_SQL_ERROR but they didn't solve the issue. Any help will be a

  • Please help to open PDF file in new window

    Hi! I have a My.pdf file, and file Other.pdf located in subfolder Myfolder. For example, my.pdf located on c:\Mydocs\My.pdf and Other.pdf located in c:\mydoc\Myfolder\Other.pdf I try make plugin that open Other.pdf in subfolder Myfolder, no matter in