How to Create Inline Table to Display Detail Data in a Master Table in 11g?

Hi,
I have a requirement to create inline table inside master table to show data.
I found this 10g article for this http://download.oracle.com/docs/cd/B31017_01/web.1013/b28967/web_masterdetail006.htm#BABCDCGE
I couldn't find such option in 11g. Am i missing something? Please let me know where i can find more details.
Required Output:
[+] DepartmentId DepartmentName
[-] DepartmentId DepartmentName
EmployeeId FirstName LastName
EmployeeId FirstName LastName
EmployeeId FirstName LastName
[+] DepartmentId DepartmentName
Also, I tried creating the Page as below (Departments -Employees Relation). i.e I have tried using the ADF treeModel in the bindings and then created a table/inline table manually to populate. The data is available in the iterators (i found using sops in back bean), but the inline table is not showing any data. I tried enabling PPR on detail based on master. But no luck.
<af:table rows="#{bindings.Departments1.rangeSize}"
emptyText="#{bindings.findAllStaff1.viewable ? \'No rows yet.\' :
\'Access Denied.\'}"
var="row" value="#{bindings.Departments1.treeModel}">
<af:column headerText="#{bindings.Departments1.labels.DepartmentId}"
sortable="false" sortProperty="DepartmentId">
<af:outputText value="#{row.DepartmentId}"/>
</af:column>
<af:column headerText="#{bindings.Departments1.labels.DepartmentName}"
sortable="false" sortProperty="DepartmentName">
<af:outputText value="#{row.DepartmentName}"/>
</af:column>
<f:facet name="detailStamp">
<af:table rows="#{bindings.Departments1.rangeSize}"
emptyText="No rows yet." var="detailRow"
value="#{row.children}">
<af:column headerText="#{row.children[0].labels.EmployeeId}"
sortable="false" sortProperty="EmployeeId">
<af:outputText value="#{detailRow.EmployeeId}"/>
</af:column>
<af:column headerText="#{row.children[0].labels.FirstName}"
sortable="false" sortProperty="FirstName">
<af:outputText value="#{detailRow.FirstName}"/>
</af:column>
<af:column headerText="#{row.children[0].labels.LastName}"
sortable="false" sortProperty="LastName">
<af:outputText value="#{detailRow.LastName}"/>
</af:column>
</af:table>
</f:facet>
</af:table>
Thanks in Advance,
Harikiran

Hi,
After reading the above links end-to-end twice, I'm finally able to establish the relationship in UI. I've used iterator for my specific purpose, although it can be done using a table/forEach.
1) Create VOs for Dept and Emp, i.e. DeptVO and EmpVO.
2) Then a View Link on deptID, i.e DeptEmpVL
3) Drag and drop the Dept as AdfTreeTable, b'coz it will create the treeBinding and also add the emp accessor by selecting it in the binding window. (refer to above doc links from BaiG)
4) In my Page UI, i've created a new table and an iterator in the detailStamp.
Dept Table ->
o Value = #{bindings.Departments1.treeModel}
o Var = dept
o varStaus = deptVarStatus
Add these:
Column1-> OutputText -> #{dept.DepartmentId}
Column2-> OutputText -> #{dept.DepartmentName}
Insert into TableFacets -> detailStamp -> iterator
Iterator ->
o Value = #{dept.children}
o Var = emp
o varStatus = empVarStatus
Add these:
OutputText -> #{emp.EmployeeId}
OutputText -> #{emp.EmployeeName}
OutputText -> #{emp.Salary}
This iterator/forEach comes in handy for having n Number of regions inside a layout.
Thanks,
Harikiran

Similar Messages

  • How to create and execute a function whose return value is  a table

    hi folks ,
    i would like know how to create and execute a function whose return value is a table ,
    am new to pl/sql ,
    my statement for the function is
    SELECT ct.credential_code, c.expiration_date
    FROM certifications c, credential_types ct
    WHERE ct.crdnt_id = c.crdnt_id
    AND c.person_id = person_id;
    i would like to have the result of the above query as return value for the function.
    Thanks in advance ,
    Ashok.c

    hi Ps ,
    Can you please do small sample ,
    that would help me in clear understanding
    thanks in advance
    ashok.c

  • How to create a event to display records depend on selection ofdropdownlist

    BSP
    how to create a event to display records depend on selection of dropdownlist box,
    Using BHTML,
    thank you,
    regards,
    jagrut bharatkumar shukla

    1) Copy this script to the code
    <script type="text/javascript">
    function displayVacationDates() {   
        for (var i=0; i < document.forms[0].Status.length; i++) {
            if (document.forms[0].Status[i].checked && document.forms[0].Status[i].value=='Vacation'){
              document.getElementById('startDateRow').style.visibility='visible';
              document.getElementById('endDateRow').style.visibility='visible';
             if (document.forms[0].Status[i].checked && !(document.forms[0].Status[i].value=='Vacation')){
             document.getElementById('startDateRow').style.visibility='hidden';
              document.getElementById('endDateRow').style.visibility='hidden';
    </script>
    2) Set initial style to 'hidden'
    <tr id="startDateRow" style="visibility:hidden">
    <td align="left"><blockquote>
      <p><span class="style16 style8"><strong>Start date:
      </strong></span></p>
    </blockquote>                 </td>
    <td align="left"><script>DateInput('VacStart', true, 'DD-MON-YYYY')</script></td>
    </tr>
    <tr id="endDateRow" style="visibility:hidden">
    <td align="left"><blockquote>
      <p><span class="style16 style8"><strong>End date:
      </strong></span></p>
    </blockquote>                      </td>
    <td align="left"><script>DateInput('VacEnd', true, 'DD-MON-YYYY')</script></td>
    </tr>
    3) Call the display script
    <input name="Status" type="radio" value="In the Field" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="Vacation" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="Sick day" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="Admin Day" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="DSR Ride Along" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="ServiceCall" onclick="displayVacationDates()">

  • How to create infospokes   please  give me details steps screeenshots

    how to create infospokes   please  give me details steps screeenshots

    hi,
    Document on Infospoke with screeshots: [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/eb462104-0701-0010-07ae-d866630e0989]
    [https://websmp209.sap-ag.de/~sapidb/011000358700002201112003]
    [https://download.microsoft.com/download/f/3/7/f371bbba-2341-41bf-822d-2c7dd4174756/IT_SAPBW.ppt ]
    Procedure
           1.      In the main menu of the Data Warehousing Workbench, choose
                Tools ->Open Hub Service ->Edit InfoSpoke
    Enter a technical name for your InfoSpoke.
    You can also select a template.
           2.      Choose  Create InfoSpoke.
           3.      Enter a description for your InfoSpoke
    [http://help.sap.com/saphelp_nw70/helpdata/EN/66/76473c3502e640e10000000a114084/frameset.htm]
    regards,
    NR
    Edited by: N R Pradeep Reddy on Apr 4, 2008 7:36 AM
    Edited by: N R Pradeep Reddy on Apr 4, 2008 7:39 AM

  • How to create a RFC destination for extracting data to HANA

    Hello All,
    Could someone help me in providing a document or note on how to create a RFC destination for extracting data from SAP data source to HANA using SAP LT replication server ?
    I am able to create a data base connection while transforming data from non SAP data source,but wasnt able to transform data which is from SAP abap tables .

    Hi Venkatesh,
    In SM59 t.code we create RFC destinations.
    Go thru the video link for creating RFC destinations step by step
    How to setup a trusted RFC connection between SAP systems: a step-by-step guide - YouTube

  • Proper method to fire off some code to create a default set of detail data.

    Greetings, fellow nerds. First, I'd like to thank the folks that have helped me out in the past. I don't always return back to the topic to give kudos, and sometimes I even figure out my problem before anyone says anything. And I try to find reference to my problem by doing a search on it beforehand. Which often works.
    Anyways...
    I've got a mater/detail form that I set up using the wizard. Every time a new master record is created, I'm gonna want to set up 62 generic rows of detail records to be associated with it. The detail section defaults to an 'add row' button, which may actually be used, and even the delete function. But, I don't want the user to have to enter 62 rows.
    I've created a table of the generic rows, and have written the sql to populate the details table, using the bind variable that is the id of the master table/row.
    If the user is looking at the master table 'report', and clicks create, it fires off the add process for the master table. No details. Filling in the various master fields, and clicking create, a master record is created, and the page stays there with no re-direct back to the 'report'. And the options are now 'apply changes', and 'cancel'. Cancel takes you back to the 'report', with no details created. At the same time, the details become available for this new master record. But again, with the option to add a single detail row.
    At what point should I fire off the code that will generate the 62 rows of template detail records? Do I just add a button beside the 'add row' button, that will fire off the code, and return them to what they are looking at, with the 62 rows staring back at them to edit? Do I hook it to the 'create' button on the master portion of the page? If so, I'd want it to fire after all of the validations for the master data, and the master record was in fact inserted.
    I'd like to do this the 'correct' way.
    Thanks in advance,
    Clayton

    I can't say anything about a correct way of doing this. Your descriptions doesn't
    point to any critical issues if doing it this or another way. What I can say is that
    this looks like a perfect case for utilizing collections.
    Denes Kubicek

  • To Display a date field in TSTCT table

    Dear Experts,
    Recently we got a request to have a date field in TSTCT table. So, that when ever the new transaction is created the date will automatically display  in TSTCT table. Now there is only three fields in the table. There is no further settings to regarding the display of date field. Is there any possible cases/BADI's which helps to display the Date field in TSTCT Table. Please help me with possible solutions.
    Thanks in advance, Regards,
    Harsha.

    Dear Eswara,
    It is not possible adding field through BADI or exit. But you go into /nSE11 for this table and go to Technical Settings, if the check box 'Log Data Changes' is set then you may be able to display a log of changes made to entries in this table using /nSCU3.
    Regards,
    Abbas.

  • How to create automatic creation of BP from customer and vendor master data

    Hi gurus,
    can any one tell how to create automatic creation of BP from customer and vendor master data.
    Please give me the steps.
    Thanks
    Sasikanth.

    HI,
    Goto SPRO\ Cross application components \ Master data synchronization \ Synchronization control.
    Assign account groups of customer and vendors to respective BP grouping. This setting is enough to create BP in background while creating customer / vendor. But the fields groups are very much important, ensure mandatory fields should be sync.
    rgds,
    Srini

  • How to Create an Input Schedule Comparison with Data Using EVDRE

    Hello,
    I try implement the scenario described in "How to Create an Input Schedule Comparison with Data Using EVDRE".
    Once I am using the "Insert Function" from the panel and selecting the EVTIM function Excel crashes (see page 8 How to paper).
    Systems:
    BPC 7.0 NW SP02
    Office 2007
    BPCADminClient and BPCOfficeClient up to date
    Have anyone a solution?
    Thanks
    Oktay

    Hi Oktay -
    This function works in my BPC70NW SP02 system. Your issue might be that you are trying to access a TIME member that does not exist. Please make sure the offset value is a valid dimension member.
    I can confirm that EVTIM does allow the offset for base members (such as 2009.MAY) as well as parent nodes (such as 2009.Q1 or 2008.TOTAL)... BUT...the offset result of the EVTIM function needs to be a valid dimension member!
    Regards,
    Sheldon

  • When I add a date to a cell, how can I let another cell display a date that is 30 days later?

    when I add a date to a cell, how can I let another cell display a date that is 30 days later?

    =[cell reference] +30

  • How to create and use a node globally  as well as internal table

    HI,
    Kindly let me know how can I create a node & internal table globally and which I can use them in various methods in view and controller as well, if u can provide an example it could be very help full.
    my requirment is uploading a multiple files in wdp ABAP for this I just followd the link below
    http://wiki.sdn.sap.com/wiki/display/WDABAP/UploadandDownloadfilesinWebdynproABAP
    which for single upload and for making this for multiple upload I need a node could be usefull globally or a IT please check my code below
    DATA lo_nd_n_upload TYPE REF TO if_wd_context_node.
        DATA lo_el_n_upload TYPE REF TO if_wd_context_element.
        DATA ls_n_upload TYPE wd_this->element_n_upload.
        DATA lo_nd_n_file_download TYPE REF TO if_wd_context_node.
        DATA lt_n_file_download TYPE wd_this->elements_n_file_download.
        data ls_file_upload TYPE ZFILE_UPLOAD1.
       ZFILE_UPLOAD_1 = wd_componentcontroller->Elements_ZFILE_UPLOAD_1.
         t_file_upload = ig_componentcontroller->ITAB1.
       t_file_upload = wd_this->zfile_upload1.
       navigate from <CONTEXT> to <N_FILE_DOWNLOAD> via lead selection
         lo_nd_n_file_download = wd_context->get_child_node( name = wd_this->wdctx_n_file_download ).
      navigate from <CONTEXT> to <N_UPLOAD> via lead selection
        lo_nd_n_upload = wd_context->get_child_node( name = wd_this->wdctx_n_upload ).
      get element via lead selection
        lo_el_n_upload = lo_nd_n_upload->get_element( ).
      @TODO handle not set lead selection
        IF lo_el_n_upload IS not INITIAL.
      get all declared attributes
        lo_el_n_upload->get_static_attributes(
          IMPORTING
            static_attributes = ls_n_upload ).
    ls_n_upload will contain the File name file type and file contents *
       ls_n_upload-file_size = xstrlen( ls_n_upload-file_content ).
       ls_file_upload-FILE_NAME = ls_n_upload-FILE_NAME.
       ls_file_upload-FILE_TYPE = ls_n_upload-FILE_TYPE.
       ls_file_upload-FILE_SIZE = ls_n_upload-FILE_SIZE.
       ls_file_upload-FILE_CONTENTS = ls_n_upload-FILE_CONTENT.
       append ls_file_upload to t_file_upload.
       clear ls_file_upload.
    lo_nd_n_file_download->bind_table( new_items = t_file_upload set_initial_elements = abap_true ). 
    ENDIF.
    so here I would like use t_file_upload(node or IT ) to use globaly which can keep the previous data and I can add the existing data and in another method I would like to submit the data in t_file_upload to table
    Regards
    raj

    Hi Chandra,
    Resloved, I createa table type in SE11 by giving my table name as a line type and I used that as a Global IT in view "attributes" tab and I made the my code as follows its working now
        DATA lo_nd_n_upload TYPE REF TO if_wd_context_node.
        DATA lo_el_n_upload TYPE REF TO if_wd_context_element.
        DATA ls_n_upload TYPE wd_this->element_n_upload.
        DATA lo_nd_n_file_download TYPE REF TO if_wd_context_node.
        DATA lt_n_file_download TYPE wd_this->elements_n_file_download.
        data ls_file_upload TYPE ZFILE_UPLOAD1.
        data t_file_upload TYPE standard table of ZFILE_UPLOAD1.
       navigate from <CONTEXT> to <N_FILE_DOWNLOAD> via lead selection
         lo_nd_n_file_download = wd_context->get_child_node( name = wd_this->wdctx_n_file_download ).
      navigate from <CONTEXT> to <N_UPLOAD> via lead selection
        lo_nd_n_upload = wd_context->get_child_node( name = wd_this->wdctx_n_upload ).
      get element via lead selection
        lo_el_n_upload = lo_nd_n_upload->get_element( ).
      @TODO handle not set lead selection
        IF lo_el_n_upload IS not INITIAL.
      get all declared attributes
        lo_el_n_upload->get_static_attributes(
          IMPORTING
            static_attributes = ls_n_upload ).
    ls_n_upload will contain the File name file type and file contents *
       ls_n_upload-file_size = xstrlen( ls_n_upload-file_content ).
       ls_file_upload-FILE_NAME = ls_n_upload-FILE_NAME.
       ls_file_upload-FILE_TYPE = ls_n_upload-FILE_TYPE.
       ls_file_upload-FILE_SIZE = ls_n_upload-FILE_SIZE.
       ls_file_upload-FILE_CONTENTS = ls_n_upload-FILE_CONTENT.
       append ls_file_upload to ME->wd_this->gt_file_upload .
       clear ls_file_upload.
    lo_nd_n_file_download->bind_table( ME->wd_this->gt_file_upload ).
       endif.
    thanks for the support.
    Regards
    Raj

  • How to create a batch by adding a record to any Z Table

    Hi Experts,
    I am doing online billing info system. I need to quey the NAST table for unprocessed entries. One of the  requirement is to create a  batch  What is meant by creating a batch by adding a record to a Z Table?
    If anyone is aware, please tell me how to do it.
    Thanks
    Dan

    I think this is a question you should ask the person that gave you the specs.
    Rob

  • How to create selections-screens to display PO using module pool program

    All,
    I'm new to module pool programming. Can any one please provide me where to create selections screens to display existing purchase orders using the below selection criteria in thr module pool program.,
    SELECT-OPTIONS : S_LIFNR FOR EKKO-LIFNR,
                     S_BSART FOR EKKO-BSART,
                     S_BUKRS FOR EKKO-BUKRS,
                     S_WERKS FOR EKPO-WERKS OBLIGATORY,
                     S_BEDAT FOR SY-DATUM,
                     S_EINDT FOR EKET-EINDT,
                     S_EBELN FOR EKKO-EBELN,
                     S_MATNR FOR EKPO-MATNR.
    provide me step by step to do this.

    Hi,
    Thanks for the reply can you please let me know.
    How can I create the ranges
    like low and high in the selection.
    Using se51 i was able to do only one i,e
    example I need
    purchase order number----
    f4 -
    f4
    Can please tell me how to do this

  • HOW TO CREATE A CUSTOMER NO (sales view)THAT STOERS IN KNVV TABLE

    HI ,
      how to create a customer no(sales view) that stores in tabel knvv, i able to create in kna1 table but not storing in knvv table, please provide with tcode

    Hi,
    I believe while creating customer you must be maintaining sales area if you are not maintaing then only customer's genaral data will be created and only KNA1 table will be populating.
    Rgds
    San

  • How can I get Firefox to display details about a JavaScript error when one occurs?

    When in Internet Explorer I can set it up to display JavaScript errors as follows. Select Tools then Internet Options… then the Advanced tab. Under Browsing, find '''Display a notification about every script error '''and be sure its box is checked.
    I cannot find out how to do this in Firefox. I would like for it to display details about JavaScript errors when they occur instead of doing nothing.

    *Web Developer: https://addons.mozilla.org/firefox/addon/60

Maybe you are looking for

  • Convert the XML file into XSD format?

    Hello All, I got XML file and i need to convert into XSD format and import it into PI system, so no need to create the structure. Please let me know how to convert XML format into XSD format. Regards, chinna

  • Problem with playlist in Jikebo

    When I reboot after shutting down the Jukebox 3, it does not emember where it left off on any of my playlist, is there a fix for this. I have the latest firmware. I have to assume that other owners have had this problem, or is this just the way it is

  • WCF RIA wrapper for SOAP service that is compatible with Lightswitch Data Source

    I have a WCF RIA wrapper around a SOAP service and all the simple entities work just fine. Unfortunately Lightswitch does not like my represenation of complex entities like SalesInvoice that contains a list of SalesInvoiceLines. How should I represen

  • Transport option in BI7

    We are in BI7, and would like to disable to transport pop up window where we have to give the package name and create transport request for any new objects in development system. Is there a table or t-code I can disable this option. Thanks.

  • Trying to boot iMac in 64 bit mode, but not successful

    Hello: I am trying to boot my iMac in 64 bit mode. I have done some research and I am getting conflicting answers. Most of what I am finding says: 1. Must have an Intel Core 2 Duo: I do 2. My efi must be 64: It is 3. Must have Snow Leopard installed: