Regarding Tree structure display in Webdynpro ABAP

Hi Experts,
I am very new to webdynpro ABAP , I was asked to implement some functionalities of RWBE transaction in webdynpro , in RWBE transaction list can be displayed as Tree structure , in webdynpro how i can implement this ? using ALV UI element is it possible . Please help .
Regards,
Ratheesh BS

Hi ,
I need an output like the below
<material number                 a1           a2        a3
          < plant                       b1          b2        b3
             . org                        c1          c2        c3
<material number                 A1          A2       A3
is it possible to show the output as in this format using ALV ?.
I have tried with the help provided by SDN , but not succeed .
also i need to capture double click event and show the currosponding result in a seperate view.
here material number is the parent node , plant and org were child nodes
Regards,
Ratheesh BS
Edited by: Ratheesh Bhaskaran on Oct 7, 2008 4:22 PM
Edited by: Ratheesh Bhaskaran on Oct 7, 2008 4:26 PM
Edited by: Ratheesh Bhaskaran on Oct 7, 2008 4:29 PM

Similar Messages

  • How to display summation of a field in table displayed in Webdynpro ABAP

    Hi,
    I am displaying a table in Webdynpro ABAP. This consists of data for different PERNRs.
    I need to display the sum of a particular column for each PERNR, after the end of each PERNR data. (table sorted by PERNR).
    Is there any way to display this in the table? If so then please let me know.
    Regards
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Mar 7, 2011 9:20 AM

    Hello,
    I believe you have created the query in SQ00.
    Go to SQ00.
    Select your Query.
    Click on Change
    On the Top Left Hand Corner, you will find "BASIS MODE"
    Click on the Basis Mode Button
    Once you click on Basis Mode Button, you will get "Title"
    Change the title what you are intended to change.
    SAVE the entries.
    Execute the Query.
    You will be able to see new Heading on the Query.
    Hope this helps you.
    Regards,
    Ravi

  • SE80 : Source for the tree structure display for any type of Object

    Hi Experts ,
    I have developed a report which takes in a TR .Given a TR , I get the list of objects under it from table e071 table .
    Now , I need all the objects (includes,screen,status,etc) related each of this object  . SE80 perfectly does this in the form of a tree structure but now sure how.
    Is there any Standard Table in which this information is stored or any FM/Method using which these details can be retrieved ?

    Hi,
    You may use this tool : [SDN wiki: ABAP program to read where-used lists|http://wiki.sdn.sap.com/wiki/display/ABAP/ABAPprogramtoreadwhere-used+lists ]
    Sandra

  • Hi! regarding the singleton property in webdynpro abap

    Hi experts ,
    Could anyone explain me in detail the property of singleton and wht r the conditions tht we should use wht will represents..
    plz explain me in detail......rather than sending links plz do explain me in detail....
    Regards,
    Sana...

    Cardinality : number of possible elements within the node.
    Singleton property means whether or not all instances of this node get created at runtime or not.
    Singleton property is mostly used to save memory & increase performance. we would go for singleton nodes in cases where UI needs only display from one-instance of data from my node.....
    What happens when you set singleton property to YES for a node??  Assume you have context structure like
    Context
         Vehicle( parent node )
           ( attribute veh-ID primary key for all types of vehicles, dealer, area )
              twowheeler( subnode of vehicle with cardinality-0..n singleton-NO)
                        ( attributes veh-ID, regno, model, color)
              fourwheeler( subnode of vehicle with cardinality-0..n singleton-YES)
                       ( attributes veh-ID, regno, model, color)
    At design time you fill the data within this context. Now you have 100 entries under the subnode  twowheeler & 90 entries under the subnode fourwheeler . You create UI elements to display the node twowheeler details in a View . At runtime when user selects the veh-ID and identifies that a twowheeler data needs to be fetched/displayed all the 100 entries for the twowheeler node get created in the background although you are displaying only the ONE corresponding to the veh-ID.
    if Veh-ID selected coresponded to fourwheeler( singleton property -yes) only ONE row of the data from the fourwheeler entries would have been fetched and ONLY Once instance of the fourwheeler would be created by background process!!
    thus saving memory & processing time.
    Scenarios singleton-YES
    If i were required to display details of only ONE vehicle based on the entered Veh-ID , i will make twowheeler & fourwheeler nodes singleton-YES.
    Scenario singleton-NO
    if i were required to show all the vehicles that belong to one particular Area.

  • Regard Tree Structure In Forms

    Hi..
    I want to add a ICON in a tree for each node ....please help me

    Hi,
    I don't think you need to store icon names in the database. It's all about the SELECT statement and the record group.
    you should have noticed that the record group used to populate the tree has to include the following columns:
    State | Level | Label | Icon | Value
    now, when you make the select to build the record group decide and explicitly state the icon name for each node like this
    SELECT 1 as state, LEVEL as level, xx.yyyy as label, 'icone_file' as icon, xx.zzzz as value;
    in case of having different icons for different node types use DECODE in place of 'icone_file'.
    I am supposing that you are using the tree walking method to select the data from the database.
    if you were adding nodes to the tree on the fly at run time then have a look on this thread
    Hierarchical Tree with Static Record Group
    hope that helps.
    regards,
    Nasser Asiri

  • Make tree structure persitent

    Hello,
    i have a tree structure in my Webdynpro.
    For example a project of buildings, levels, floors and rooms.
    This works fine with recursive nodes in the context and the WD-Tree-UI-Element.
    Now i want to make this persistent in my Database.
    I use CAF with Application Services, WebService and Business Objects.
    What is the best BO-Structure ? One BO with an association to himself ?
    I test it, but i doesn't work.
    Or better a BO with a parentKey-Field and no assocation ?.
    What is the best way ?
    What ist the best container to transfer the tree-date to the Application-Service to store and load it.
    Can anybody help me ?.
    Thanks.
    Best regards
    Klemens

    Hi, please read the FAQ before posting again.  Following those guidelines will yield better results and sooner.
    See this link for some great examples of APEX Trees:
    http://apex.oracle.com/pls/apex/f?p=36648
    Jeff

  • Error in Webdynpro ABAP Table Tree

    Hi,
    I am using Table UI element in Webdynpro ABAP. I am showing data in tree format using element Treebykeytablecolumn.
    I have full tree structure loaded in begining of the code so don't need to load child on expansion of key. Since I have data already loaded, am setting attribute CHILDREN_LOADED as true.
    First row comes in table perfectly, but on expansion its giving error "The Entered Value Is Not on the List of Valid Values." Please  let me know your valuable input on this.
    Thanks and Regards,
    Praveen.

    Hi Shaira,
    I have removed all values from table and left only row key and Parent key then also I am getting the same issue. Could you please let me know what kind of data mismatch can be. Please let me know some example, if you have faced this issue.
    Thanks and Regards,
    Praveen.
    Edited by: Praveen Kumar on May 19, 2011 7:17 AM

  • ALV Tree in WebDynpro ABAP

    Hi,
    In my present project we have requirement for developing ALV tree output using ALV configuration model in WD4A. Please provide sample code or tutorial related to ALV Tree development in WebDynpro ABAP.
    Best regards,
    Alleiah

    There is no hierarchy of nodes when building an ALV or Table Tree in WDA.  You still provide a flat structure of a single node.  What you do is specify certain columns to be hierarchy columns.  The framework then builds a sorting/grouping around these columns and turns them into the "pesudo nodes" of the tree. 
    This can be done via configuration or via coding:
    http://www.flickr.com/photos/tjung/2802287945/
    For instanace, taking the same flat SFLIGHT structure I can just define certain columns and create two different hierarchies:
    http://www.flickr.com/photos/tjung/2802287971/
    http://www.flickr.com/photos/tjung/2802287989

  • How to Map 2 structures in webdynpro ABAP?

    Hi Group,
    I am facing an issue while I was trying to map the fields in Source structe to the Target structure fields.
    My requirement is like as under:
    I have 2 different structures ( Source Structure on the left side with some fields and Target Structure on the right side with some fields ) as:
    eg.,
    Source structure ( in Tree format ):
    Main Source Structure( source structure header )
      - Structure1
         - field1
         - field2
         - filed3
           - Sub structure1.1
            - field1
            - filed2
      - Structure2
         - field1
         - field2
      - Structure3
        - field1
        - field2
    Main Target Structure( target structure header )
      - Structure1
         - field1
         - field2
      - Structure2
         - field1
         - field2
           - Sub structure2.1
             - field1
             - filed2
      - Structure3
        - field1
        - field2
    now, I want to map the fields of Source structure fields to that of Target Structure fields.
    the user chooses like Arrows.... from one souce structure field he will drag and drop to one of the fields of the target structure to which it has to be mapped and this Arrow now should be disabled.
    again the user will do the same task until he maps all the strutures of the source is finished.
    this all has to be done using webdynpro ABAP.
    Please let me know if anybody has worked on the same kind of issue.
    thanks in advance.
    regards,
    Vishnu.

    Hi,
    I have not worked on such requirement. But in the latest versions there is a new feature for
    drag and drop. I think this would be helpful in your case.
    Please check the WDR_TEST_DRAG_AND_DROP for this new drag and drop feature.
    Please check out these links -
    WD for ABAP: Drag and Drop: How can I copy an icon by Drag and Drop
    Regards,
    Lekha.

  • WebDynpro ABAP tree node collapse trigger event of row selection

    Hello expert,
    I have a table in my WD abap view, I use MasterColumn to display the tree structure, everything works just fine.
    However I encounter one problem:
    If I open the tree structure and select one node (table row selection), the event onLeadSelectis triggered, this is correct. However if I collapse any  parent nodes (along the tree path) of the selected node, WD puts the selection on the clicked parent and thus the event onLeadSelect is triggered for the parent. This is a strange behavior, because when I collapse a node, I certainly don't want to trigger the onLeadSelect event for the node, becaseu this would invoke the function linked to the event which is only supposed to be triggered when you explicitly select the table row.  (BTW, if you don't select any child nodes, then collapse the parent, it does NOT trigger the event).
    I've looked into the wdevent data to see if I can differentiate between the event of node collapsing and row selecting, event data is exact same for both cases, thus I have no way to stop the event handler in case of node collapsing.
    Anyone had this issue and a solution for this?
    Thanks
    Jayson

    Hi Jayson,
    Its the behavior of the tree element, the lead selection of child is carried over to the parent.
    Whenever there is lead selection set and on toggling of tree node, first OnToggle event triggers and then OnLeadSelect triggers. So you can control the execution of onLeadSelect by using EXPANDED parameter of event OnToggle.
    Please refer the below steps:
    Create an action ON_TOGGLE for the vent OnToggle of tree element and it will be having parameter EXPANDED
    Create an attribute in view-->attributes tab GV_EXPANDED
    Collect the parameter EXPANDED into gv_expanded
              wd_this->gv_expanded = expanded.
    Now, you can use wd_this->gv_expanded to control the execution of LEADSELECT logic
    Hope this helps you.
    Regards,
    Rama

  • Display Tree structure using EVS or OVS

    Hi All,
        Here we have a requirement like display tree structure when I press F4. currently the sample application (using Object Value Selector or Extended Value Selector) is displaying the values in table, instead of table here we have to display it in tree.
       If it is not possible using either OVS or EVS please tell me what is the other way to solve the problem.
    Please give me any suggestion.
    Regards
    Suresh

    Suresh,
    You can emulate the behaviour by having a separate view for the tree structure.
    1.) Create a new view and put your tree structure UI + related logic in that view.
    2.) Create an input field and a linkToAction / button (with the text "Search".) aligned side by side.
    3.) On click of the search button, show the view containing tree as pop-up.
    You may develop upon this hint to meet your requirement.
    ~ Bala

  • Organizational Structure Search Help in Webdynpro ABAP

    Hi,
    I need an organizational structure search help in webdynpro abap.
    It should list the organizational structure in tree view like RH_OBJID_REQUEST lists.
    I tried to use RH_OBJID_REQUEST function in webdynpro but I got " A RAISE statement in the program
    "CL_GUI_CUSTOM_CONTAINER=======CP" raised theexception condition "CNTL_ERROR" short dump.
    Is there such a function for webdynpro abap and  how can I achive this with select options?
    Thanks in advance..
    MERAL

    Great article.  I also had this probelm a year ago. My problems questions are:
    Is it possible to select more then one entry in the tree?
    What about selecting all childrens with one click?
    In my solution I inserted this tree, into a table and the table had a checkbox, row, so the user can check the required org units, (more then one) and there was a separate button, for "select all children"

  • How can we display photo of particular person on webdynpro abap view

    hello gurus,
                     i am very new to webdynpro abap.i have one requirement.could any one can suggest me to overcome my requirement.
    in my requirement i have one view.in that view i need to display one photo image which ever saved on my desktoop.if i click on save button i should generate one doc number and update what ever the photo image i have displayed in the view against this doc number.after some time if give the doc number in to docnumber field and click on display button it should display what ever the photo we have saved previously against this doc number.this is my exact requirement.i think for this we need to maintain one Z table to stroe the photo and respective doc.number.for this how can we stroe photo against doc number in ztables.what is the type i supposed to give for photo image field.
    could you please any one suggest me on this and could any one send me the sample code if possible.
    regards,
    babu.

    Hello Babu,
    I doubt whether you can directly display the image from your desktop into the webdynpro application using Image UI Element. Only solution what I can think of is to load the image into the MIME folder and then bind the path of image in the Source property of the image UI element. But if you ask me this is not a good solution. Let me propose my solution. If no one get back to issue with better approach then you can follow the same
    1. whenever the image the is uploaded from the desktop, create this image in the MIME folder ( you search in SDN for creating objects in MIME folder )
    2. then bind the path of the image in Mime folder to the Source property of the Image UI Element
    3. Once the image is persisted in the DDIC table, delete the image from the MIME folder.
    4. to persist the image in DDIC table, create an attribute of type RAWSTRING.
    5. Whenever you want to display image from DDIC table into the UI, then again create the image in MIME folder and delete the image from MIME folder when you are existing from the application.
    Alternative would be to use the Mime repository for storing the image and in the DDIC table just maintain the Mime folder path for the document number.
    Hope this helps you.
    BR, Saravanan

  • Display pdf file using webdynpro abap

    Hi Friends,
    My requirement is to display pdf file in the second page with the input  text  entered in the fisrt page when clicked on action
    button( in the first page) using webdynpro abap.
    Can anybody explain the step by step procedure as I am new to this area.
    Thanks in advance.
    Reagrds,
    Nagaraju

    Hi,
    Check this.,
    Creating a PDF file in webdynpro abap.
    Web Dynpro ABAP display pdf
    hope this helps u.,
    Thanks & Regards
    Kiran

  • Standard program to display which tables are used by Webdynpro ABAP program

    Hi Gurus,
    I am working on a couple of enhancements in SAP Promotion Management for Retail (SAP PMR) which works on the principle of Floor Plan Management.
    I was wondering if anyone would know of a standard program to display the tables used by Webdynpro ABAP?
    (or)
    Where can I get info of SAP Tables associated to SAP PMR?

    Hi,
    I am not aware of any standard reports that displays the tables.
    If I have to view the tables, I would go to se80, give the package and view all the tables in the package.
    Regards,
    Daz.

Maybe you are looking for

  • ORA-00936 Missing expression - error in composite statement

    I'm using the following statement to call a function which uses a number retrieved from a table i.e. SELECT GETNEXTBUSINESSDATE(TO_DATE('28/08/2003','dd/mm/yyyy'), TO_NUMBER(SELECT VALUE1 FROM PARAMETERS WHERE PARCODE = 'CCR1' AND ATTRIBUTE1 = 'CCRNR

  • Redirecting documents to seperate Content Server

    Hi all, We have set up a seperate content server to store attachments to business activity documents. Currently our systen is set up to save the documents to the content server in the CRM box's web AS. How can I redirect the documents to the new serv

  • My nano displays a folder and exclamation point

    please help me solve my problem and tell me what to do any help is appreciated Thanks, John

  • 1.5TB drive in a Macbook pro 13"

    Why? Because I need the space inside the Macbook. Does it fit? Has anyone ever done it yet. The drive is the Seagate Free Agent Goflex 1.5TB. Thanks!

  • IPhoto book disappointment

    I know there are many posts on this, but I can't resist adding to the list. I recently ordered my first hardbound photobook through iPhoto (I have printed a hardbound book in the past through the Sony imagestation and have been more satisfied than wi