Hierarchical table in Adobe

Hi All,
          I want to know is there any work around to create a Hierarchical table in Adobe Interactive Forms?I need 2 levels of hierarchy(means 2 master columns in a single table)
regards
Sumit

hi Sumit...
This might be helpful for you... See this PDF file URL;
If it will be helpful for you means reward some points...
<b>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c29a4d25-0c01-0010-50ae-e69d0e1c61f3</b>
Urs GS

Similar Messages

  • How can I use one hierarchical table as a node of another hierarchical tabl

    I have a requirement where I have two hierarchical tables and one table should  work as node for other table . How to achieve this??
    To elaborate more the structure is like
    Main Table (Company Structure)
    Sub table “Consolidation Groups” which has got hierarchical structure
    Sub table “Entity” which is also hierarchical.
    The Entity table should act as a node for table “Consolidation Groups”
    How can I achieve this functionality??
    Thanks
    Suvarna

    you misunderstood me apparently. I said you can't organinze to tables so one serves as a node's value of the other. Let me show you wnat I suggested by an example.
    First table has such values:
    -A
    |-B
    |-C
    and the second one is
    -x
    |-y
    |-z
    -p
    |-r
    |-s
    I thought you wanted to confine relationships between them so fo B node be able to select only x's branch and for C - only p's branch. If it's similar to the truth then let's create another table with two fields. Field one points to table containing capital letters and field two - lower case letters. Both fields are of type lookup pointing to an hierachial tables. Now when you populate this table you'll create records like (I list two columns):
    B - y
    B - z
    C - r
    C - s
    from your orinal table from now you should point to the above table. So instead of having two fields each pointing to its own table and compeling you to think how to organize two hierarchies, now you have only one field pointing to a table with all valid combinations. When you populate this table though YOU have to decide what such combinations are. It may make sense (if you have different users) to restrict access to this table on read-only level  for regular users to preserve the valid combinations.
    Hope it helps but if I understood your wrong give a concrete example.

  • How to use nested tables in adobe form

    Hi All,
    I have to use nested tables in adobe form for table display. I have used Subforms for displaying table data. I have changed accessibility of the subforms. Currently i am able to print print the table correctly if there is single material record in table 1 and single corresponding record in table 2. But the requirement is that i will have multiple lines in table 1 for single material and only one record in table 2.
    EX: form is for Sales order. in line items if the order is for 100 units then we if we have delivered material as 80, 10, 10, then table 1 will have 3 lines for this. Table 2 will always have only 1 corresponding record.
    item--materialdescription-ordered qty--delivered qty--delivery date-price  
    xxx--xxxxxxx-xxxxxxxxx-10080xxxxxxxxxx-xxxx
    10----
    xxxxxxxxxx
    10----
    xxxxxxxxxx
    yyyyyyyyyyyyyyyyyyy------yyyyyyyyyyyyyyyyyyyyy 
    xxxxxx is table 1 and will have multiple lines
    yyyyyy is table 2 and will have only 1 entry for item xxx
    and this group will be repeate as per no of items. table 1 can have any no of lines per item.
    I am currently able to display 1 line for table 1 and 1 line for table 2.
    But how to show multiple lines for table 1 and 1 line for table 2.

    HI,
          Set the body page as flowed and set the tables also flowed.
    go to bodypage>object->subform-->select flowed option.
    I thihnk this will work..if u are getting all the records properly into the tables 1 and 2.
    Thanks,
    Mahdukar

  • How do I get to have more than 20 columns in a table in adobe form?

    I see that there is limitaion to not have more than 20 columns in my table in adobe form, Is there any way I can have more than 20 columns in a table in adobe form in landscape mode.

    Hi,
    That only relates to the Table Wizard. Once the table is placed on the page, you can add columns manually, from the menu or right-clicking on a column.
    You can also use fields within a repeating subform (instead of the table object).
    Good luck,
    Niall

  • Merging of cells of a dynamic table in adobe form

    Hi,
    I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row.
    if (this.Cell4.rawValue == " ")
    this.Cell3.colSpan = "2";
    this.Cell4.presence = "hidden";
    Note : Since above code was not working , i used the below code in my subform also but it did not returned desired output.
    if(Table22.Row1.Cell1.rawValue == " ")
    Table22.Row1.Cell3.colSpan = "2";
    Table22.Row1.Cell4.presence = "hidden";
    The problem is that in my dynamic table , its the second row where the requirement is fulfilled ie in the 2nd entry of my table the column4 is blank (the exact row number might change depending on input data).
    is there a way to loop in the dynamic table and check if column 4 is empty for a particular row.
    the above code does not help to fulfill my requirements. kindly help.
    Thanks
    Aditi

    Hello Aditi priya,
    Hope you are doing good..
    Please go through my recent blog..
    http://scn.sap.com/community/interactive-forms-by-adobe/blog/2015/01/02/merging-internal-table-cells-dynamically-in-sap-adobe-forms-using-java-script-code
    I hope you will find all answers from this blog..Reward if helpful...
    Thanks & Regards,
    B Raghu Prasad

  • Problem with table in Adobe Form in Web Dynpro JAVA??

    Hello all,
    I have an issue with the table displaying all the node values in the Adove Form. Right now it displays only the first element of the Node even if there are multiple entries.
    Not sure what is going wrong here.
    How is the table created in a interactive form? Any help is appreciated.
    Thank you, John

    Siva,
    I referred to the website, but still having issues with generating tables in Adobe Form. I can get all the table rows in the adove form, but the pdf doee not add new pages to display all the table rows. It just createa one page with the table inside it, display few of the rows and truncates rest of the table data.
    Here is the heirarchy of the page with the properties set
    Master Pages ---
            ||--> Page 1
                     ||--> content area
                     ||--> subfrom (properties:: Content - Flowed / Flow direction - top to bottom...pagination tab is greayed out completly)
                                ||--> Table
                                          ||--> HeaderRows (Object: Row - Type: Header Row)
                                          ||--> Row1 (Object Tab/Binding: Repeat Row for each data item - checked)
    Can't make it wor, not sure what's wrong here
    I am using NDS 7.0 SP18 and Adobe LiveCycle 8.0. Does that could be a problem.
    Appreciate your help
    John

  • Restricting visibility of table in Adobe form in WdJava when node is empty.

    Dear Experts,
    We have a requirement for Formcalc or Javascript code for making the table on adobe form invisible when the node corresponding for the table in the form is empty.
    Please suggest ASAP. Thanks in advance.
    Regards,
    Mahesh.

    Hi
    In the table's layout ready event write the following.
    //formCalc
    if(data.Page.<table>.<Row1>.<field>.rawValue == null or data.Page.<table>.<Row1>.<field>.rawValue == "" ) then
    $.presence = "hidden"
    //this.presence = "hidden"
    endif
    Kind Regards
    Mukesh
    Edited by: Mukesh mani on Nov 23, 2009 1:26 PM

  • How to query 2 hierarchical tables and join?

    Hi
    I've been bashing my head against a well to get this to work efficiently in 10g. I can solve the following writing some pretty horrible SQL, but can't figure out how to do it elegantly and optimally.
    We have two hierarchical tables as follows:
    select * from data_categories dac
    dac_code name parent_dac_code
    10 MANAGEMENT
    20 MEDICATION 10
    30 PROCEDURE 10
    40 SURVEY
    50 ASSESS
    60 NATURE 50
    70 OBSERVE 60
    select * from data_elements des
    des_id name parent_des_id dac_code display_seq
    100 DOSE MEDICATION 1
    110 1MG 100 1
    120 2MG 100 2
    130 3MG 100 3
    140 ROUTE MEDICATION 2
    150 ET 140 1
    160 EM 140 2
    170 RESPONSE MEDICATION 3
    180 IMPROVED 170 1
    190 NOCHANGE 170 2
    200 FILED MANAGEMENT 1
    210 INPUT OBSERVE 1
    You'll note:
    1) We have hierarchies in both tables, and a fk from data_elements to data_categories via the dac_code.
    2) The depth of both data_categories and data_elements is unlimited.
    3) There is no single root node record in either table.
    4) The appropriate PK and FK indexes exist.
    We need to write a query that returns the following results:
    root_dac_code parent_dac_code des_level des_id name display_seq
    ASSESS OBSERVE 1 210 INPUT 1
    MANAGEMENT MEDICATION 1 100 DOSE 1
    MANAGEMENT MEDICATION 2 110 1MG 1
    MANAGEMENT MEDICATION 2 120 2MG 2
    MANAGEMENT MEDICATION 2 130 3MG 3
    MANAGEMENT MEDICATION 1 140 ROUTE 1
    MANAGEMENT MEDICATION 2 150 ET 1
    MANAGEMENT MEDICATION 2 160 EM 2
    MANAGEMENT MEDICATION 1 170 RESPONSE 3
    MANAGEMENT MEDICATION 2 180 IMPROVED 1
    MANAGEMENT MEDICATION 2 190 NOCHANGE 2
    MANAGEMENT MANAGEMENT 1 200 FILED 1
    You'll also note we need to return the data in order of the root_dac_code, then parent_dac_code, followed by the display_seq.
    Does anybody know how to write this query in an elegant and optimal manner?
    Many thanks for any help!
    Cheers,
    CM.

    Flakey model.
    Why does data_elements.dac_code appear to refer to data_categories.name rather than data_categories.dac_code?
    You do not appear to be ordering by root_dac_code, parent_dac_code and display_seq (if you were MANAGEMENT/MANAGEMENT would not be at the end). Did you perhaps mean ORDER BY root_dac_code, des_id, display_seq?
    Something like this perhaps?
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> CREATE TABLE data_categories (
      2    dac_code NUMBER,
      3    name VARCHAR2 (30),
      4    parent_dac_code NUMBER);
    Table created.
    SQL> INSERT INTO data_categories VALUES (10, 'MANAGEMENT', NULL);
    1 row created.
    SQL> INSERT INTO data_categories VALUES (20, 'MEDICATION', 10);
    1 row created.
    SQL> INSERT INTO data_categories VALUES (30, 'PROCEDURE', 10);
    1 row created.
    SQL> INSERT INTO data_categories VALUES (40, 'SURVEY', NULL);
    1 row created.
    SQL> INSERT INTO data_categories VALUES (50, 'ASSESS', NULL);
    1 row created.
    SQL> INSERT INTO data_categories VALUES (60, 'NATURE', 50);
    1 row created.
    SQL> INSERT INTO data_categories VALUES (70, 'OBSERVE', 60);
    1 row created.
    SQL> CREATE TABLE data_elements (
      2    des_id NUMBER,
      3    name VARCHAR2 (30),
      4    parent_des_id NUMBER,
      5    dac_code VARCHAR2 (30),
      6    display_seq NUMBER);
    Table created.
    SQL> INSERT INTO data_elements VALUES (100, 'DOSE', NULL, 'MEDICATION', 1);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (110, '1MG', 100, NULL, 1);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (120, '2MG', 100, NULL, 2);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (130, '3MG', 100, NULL, 3);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (140, 'ROUTE', NULL, 'MEDICATION', 2);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (150, 'ET', 140, NULL, 1);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (160, 'EM', 140, NULL, 2);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (170, 'RESPONSE', NULL, 'MEDICATION', 3);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (180, 'IMPROVED', 170, NULL, 1);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (190, 'NOCHANGE', 170, NULL, 2);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (200, 'FILED', NULL, 'MANAGEMENT', 1);
    1 row created.
    SQL> INSERT INTO data_elements VALUES (210, 'INPUT', NULL, 'OBSERVE', 1);
    1 row created.
    SQL> SELECT dc.root_dac_code, de.parent_dac_code,
      2         de.des_level, de.des_id, de.name, de.display_seq
      3  FROM  (SELECT LEVEL des_level, des_id, name, parent_des_id,
      4                CONNECT_BY_ROOT (dac_code) parent_dac_code, display_seq
      5         FROM   data_elements da
      6         START WITH parent_des_id IS NULL
      7         CONNECT BY PRIOR des_id = parent_des_id) de,
      8        (SELECT CONNECT_BY_ROOT (name) root_dac_code, name dac_code
      9         FROM   data_categories
    10         START WITH parent_dac_code IS NULL
    11         CONNECT BY PRIOR dac_code = parent_dac_code) dc
    12  WHERE  de.parent_dac_code = dc.dac_code
    13  ORDER BY dc.root_dac_code, de.des_id, de.display_seq;
    ROOT_DAC_CODE  PARENT_DAC_CODE   DES_LEVEL DES_ID NAME    
    ASSESS         OBSERVE                   1    210 INPUT   
    MANAGEMENT     MEDICATION                1    100 DOSE    
    MANAGEMENT     MEDICATION                2    110 1MG     
    MANAGEMENT     MEDICATION                2    120 2MG     
    MANAGEMENT     MEDICATION                2    130 3MG     
    MANAGEMENT     MEDICATION                1    140 ROUTE   
    MANAGEMENT     MEDICATION                2    150 ET      
    MANAGEMENT     MEDICATION                2    160 EM      
    MANAGEMENT     MEDICATION                1    170 RESPONSE
    MANAGEMENT     MEDICATION                2    180 IMPROVED
    MANAGEMENT     MEDICATION                2    190 NOCHANGE
    MANAGEMENT     MANAGEMENT                1    200 FILED   
    12 rows selected.
    SQL>

  • Printing data from table in Adobe Form.

    Hi all,
        How can i print all data from my internal table in adobe form.currently only last record from table is getting printed.i have put my table is in sub form and content i have made 'Flowed'. is there anything else i have to do to make all data from my internal table appear.
    Thanks & Regards,
    Anjana Rao

    HI Nimesh,
    This looks ok and works well, but the problem is its not printing the header data, all the headings its leaving that place as blank. Do you have any suggestion for this. This is the code is used.
    DATA: pgm LIKE sy-repid,
            tc  TYPE cxtab_control.
      pgm = sy-repid.
      tc  = tab.
    CALL FUNCTION 'FITRV_PRINT_TABLE_CONTROL_DATA'
        EXPORTING
          TABLE_CONTROL                        =  tc
          CALLBACK_PROGRAM                     =  pgm
         CALLBACK_TOP_OF_LIST                 =    'TABLE_TOP_OF_LIST'
        CALLBACK_TOP_OF_PAGE                 =
        CALLBACK_END_OF_PAGE                 =
        CALLBACK_END_OF_LIST                 =
         OPTIMIZE_COLUMN_WIDTH                = 'X'
         GET_CURR_QUAN_FIELDS_FROM_DDIC       = 'X'
        WINDOW_TITLE                         = 'PRINT TABLE'
          PRINT_IMMEDIATELY                    = 'X'
        TABLES
          PRINT_DATA                           =  ITAB
       EXCEPTIONS
         COLUMN_INFORMATION_MISSING           = 1
         PRINTING_NOT_POSSIBLE                = 2
         OTHERS                               = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks,
    Venkat

  • Create multiple tables in adobe form

    hi,
    Is there anyone can tell me how to create multiple tables in Adobe Form using SAP Netweaver Developer Studio. Are there any steps i can follow?

    Hi,
    Define  the tables in subforms and then wrap them into another subform and make it the subform as type flowed.
    Regards,
    Raju.

  • How to avoid overlapping of Table on another table in Adobe Form

    Hi Experts ,
                  Can anyone tell me how to do this scenario,When I am inserting 3 flowable tables in Adobe form ,issue is one form is overlapping over another, All the internal tables has 10 records minimum. Requirement is after one table is printed Next table should be start printing without overlapping on next further table... Please let me know How to avoid overlapping of table on another table.Advance thanks.
    Thanks & Regards
    Sandesh

    Hi Sandesh.
    Put your table in subform. (one for each)
    And than add one more subform and include all 3 table's subforms in single subforms.
    All subforms should be flowed.
    With Regards,
    JP

  • Hierarchical Table Commands in MDM API

    Hi,
    I found only RetrieveLimitedHierTreeCommand,RetrieveLimitedHierChildrenCommand in MDM API for hierarchical tables.
    So how can we add a child or a sibling, delete a child or sibling to the nodes of the tree.
    Can anyone please give me links or some documentation on how to proceed with this.
    The other problem we are facing when retrieving the children using RetrieveLimitedHierTreeCommand
    When we add a search on the command it does not retrieve the children. it says the children for the level one node are null but if i donto set search it retrieves the children for all the nodes.
    Is there any specific setting that has to be done for using the search.
    Please let me know
    Thanks,
    Padmaja

    Hi Greg,
    I am adding the code snippet below. Can you please look into this and check if there are any problems
    RetrieveLimitedHierTreeCommand hr=new RetrieveLimitedHierTreeCommand(conAccessor);
    Search ser=new Search(repoSchemacmd.getRepositorySchema().getTable("New_Code").getId());
    FieldId fldId =repoSchemacmd.getRepositorySchema().getTableSchema("New_Code").getField("New_Code").getId();
    StringValue fldVal = new StringValue("G0440");
    ser.addSearchItem(new FieldSearchDimension(fldId),new TextSearchConstraint(fldVal.getString(),TextSearchConstraint.EQUALS));
    hr.setSearch(ser);
    ResultDefinition rd=new ResultDefinition(repoSchemacmd.getRepositorySchema().getTable("New_Code").getId());
    rd.setSelectFields(repoSchemacmd.getRepositorySchema().getTableSchema("New_Code").getFieldIds());
    hr.setResultDefinition(rd);
    hr.setSession(userSessionID);
    try {
         hr.execute();
    } catch (CommandException e) {
        e.printStackTrace();
    When i execute this part of code and get the children. i get the children as null.
    Thanks,
    Padmaja

  • Navigate to needed row in hierarchical table

    Hello everyone.
    I have a problem related to Table UI Element. In my case it has hierarchical structure. By default, all nodes are collapsed. I need to provide user with ability to find nessesary element: if it's leaf, then all parents above have to be expanded and row is selected. I did this. Unfortunately, if found row has big index, it isn't displayed and I have to scroll down to find my selected row. I know that I can set "FIRST_VISIBLE_ROW" property of table. But how can I determine index? Internal table which is the source for hierarchical table has different number of rows. For example my internal table has 700 rows, when in the UI table only 120 rows are displayed.

    Does anybody know?

  • Hierarchical table

    Hi experts,
    I have a hierarchical table.  This is a normal Table with a mastercolumn, and the mastercolumn is binded to a recursive context node. The context node has a supply function which reads the data when the tree is selected in the table.
    My question is:  Is there a was to expand all  nodes of the table? As I see this cannot be done, because even if I call the supply function, with the parent element, I cant provide the "node" parameter of the supply function..
    Am I right?
    Thanks
    N.

    Hello everyone,
    It's possible here is the solution (You start calling this recursive method form an action where you get the root of your tree):
    METHOD rec_subobj .
      DATA: ls_nodes      TYPE wdr_context_child,
            lt_nodes      TYPE wdr_context_child_map,
            lt_all_nodes  TYPE wdr_context_child_map,
            lt_elements   TYPE wdr_context_element_set,
            lref_element  TYPE REF TO if_wd_context_element,
            lt_subobj TYPE wd_this->elements_bonus_sub_obj,
            ls_subobj TYPE wd_this->element_bonus_sub_obj,
            lv_counter TYPE NUMC3.
      LOOP AT pt_nodes INTO ls_nodes.
    *    First set the expanded flag.
        CALL METHOD ls_nodes-node->get_static_attributes_table
          IMPORTING
            table = lt_subobj.
        LOOP AT lt_subobj INTO ls_subobj.
          ls_subobj-expanded = abap_true.
          MODIFY lt_subobj FROM ls_subobj.
        ENDLOOP.
        ls_nodes-node->bind_table( lt_subobj ).
    *   We've expanded on the current level, now colect the subobjects and recall this function
        CALL METHOD ls_nodes-node->get_elements
          RECEIVING
            set = lt_elements.
        LOOP AT lt_elements INTO lref_element.
          lref_element->get_static_attributes( IMPORTING    static_attributes = ls_subobj ).
          CALL METHOD lref_element->get_child_nodes
            RECEIVING
              child_nodes = lt_nodes.
    *     lt nodes is a hashed table
          LOOP AT lt_nodes INTO ls_nodes.
    *       lt_nodes is a hashed table, so we have to change the name :)
            CONCATENATE ls_nodes-name lv_counter INTO ls_nodes-name.
            INSERT ls_nodes  INTO TABLE lt_all_nodes.
            lv_counter = lv_counter + 1.
          ENDLOOP.
        ENDLOOP.
      ENDLOOP.
      IF lt_all_nodes IS NOT INITIAL.
        wd_this->rec_subobj(  pt_nodes =  lt_all_nodes    ).
      ENDIF.
    ENDMETHOD.
    I should be able to give points to myself

  • Looping through table in ADOBE TABLE...HOW?

    Hi,
    I'm having a problem with writing scripts on looping through a dynamic table in adobe and disabling certain cell in the table.
    can some one write me the script to help me out...please.... here is my email add. [email protected]
    Regards,
    Vinod

    Hi Denise
    You can use tableView for this which is available in htmlb.
    There is a attribute in tableView called visibleRowCount.
    The integer value that u give for this attribute , only that number of rows will be visible on your BSP page.
    This is the sample code :
          <htmlb:tableView id              = "tb1"
                           headerText      = "Communication"
                           headerVisible   = "true"
                           design          = "alternating"
                           visibleRowCount = "4"
                           fillUpEmptyRows = "true"
                           table           = "<%= itab %>" >
                    <htmlb:tableViewColumn
                     columnName     = "CURRENT_STATE"
                     title          = "CURRENT STATE"
                     edit           = "TRUE" />
    .                     </htmlb:tableView>
    Here tableview id  and table is mandotory field.
    Give as many tableViewColumn as u have column in your internal table ( Here CURRENT_STATE is the name of the Column that I have in my internal table).
    Here visibleRowCount is 5, so only 5 rows will be visible at a time .For other entries u have to click on
    my click handler which is like a footer in a tableView, and next 5 entries will become visible and like that.
    Before implementing this, fill your internal table
    in OnCreate in Flow logic ( in do_init in case of MVC).

Maybe you are looking for

  • Some Performance Counters are not displayed in PerfMon

    I have SQL Server 2014 installed in my machine. I need to monitor some performance counters like \SQLServer:Database Mirroring\Log Send Queue KB. When I open the Add Counter dialog of PerfMon, the counter is displayed in the list. But when I add the

  • Two VPNs, one accesses DNS properly, one does not.

    I have two Offices with two separate RRAS servers setup in each one on Windows 2012 Office 1 DHCP server on separate VM from RRAS server. RRAS Server on VM Office 2 RRAS and DHCP servers on same VM Both DHCP servers and RRAS servers are configured ex

  • How to invoke dll from Java applications

    Hello Friends, I am new to JNI application and I never tested it before. Now I have to interact with dll�s Which is running on AS400 machines. Currently our application, which is mainly retrieving the data and passing some parameter to the dll�s thro

  • Using Aperture with Yosemite

    When you install Yosemite, Aperture won't work. What can I do? You can try to update Aperture. But if you bought it in a shop, rather than through the on-line store, it won't update, because it is not associated with an Apple ID.. What can I do? The

  • Can I mirror my ipad mini to my new imac with Yosemite (or Mavericks?)

    Hello! I would like to mirror what is on my ipad mini to my new imac with Mavericks 10.9.5 or Yosemite. (In about this Mac, it says 10.9.5, so I guess my question would apply to either Mavericks or Yosemite, since I can update if needed.) I have seen