Tree implementation in webdynpro project

Hi,
i want to devlop an application that shows a tree that gets data fron RFC .
user will logged from portal & application will show all his/her subordinates in tree & on click on a
subordinate, all other levels get displayed(if level are in system).
plz help.
Regards,
Amit

Hi Amit,
If the hierarchy of the tree is know at design then you can implement the NonRecursive tree. Refer to the help.sap.com on this:
http://help.sap.com/saphelp_nw70/helpdata/EN/c2/abfceffbacd24185ec7af8a3a2e76a/frameset.htm
However if the hierarchy is not known, then you will have to implement the Recursive Tree. Please refer to the following link in help.sap.com for info:
http://help.sap.com/saphelp_nw70/helpdata/EN/16/1ec1814e566f4baf943c53ccf48552/frameset.htm
The above links also have code to explain how the tree can be populated.
Populate the tree to the necessary level on initialization of the screen or the required action. The remaining tree can be filled when the user clicks on the nodes.
If the child nodes/items are to be populated on click of the parent node, then you can use the onLoadChildren action. When a node is click the action linked to the onLoadChildren is called and the necessary processing can be done to load the data if present.
Regards,
Kartikaye

Similar Messages

  • Application Deployment issue in Webdynpro project

    Hi,
    I have created an sample Webdynpro project which just displays the name. EAR file has been transformed to SCA file using NWPACKTOOL for deploying the application in JSPM.
    When i tried to deploy the SCA file i am getting an exception as,
    Deployment Items -
         1. Client path 'C:\usr\sap\WP1\SYS\EPS\in\test1.sca'
              Deploy status is 'Aborted'
              Description:'1. Item is skipped because of failed deployment of item 'test.com_test' and because the applied error strategy is OnErrorStop
              2. Contains Aborted deployment component:
    test.com_test'.
              SCA : name 'test', vendor 'test.com', location 'local', version '1000.1.0.1.0.20110810105342'
              Contained DCs:
                   1.1 : Relative path 'C:\usr\sap\WP1\SYS\EPS\in\test1.sca --> test.sca.ear'
                        Deploy status is 'Aborted'
                        Description:'1. ASJ.dpl_ds.006193 Error while deploying ear file C:\usr\sap\WP1\J00\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\56\test1_sca1312954437078\DEPLOYARCHIVES\test.sca.ear; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception while [validating application test.com/test.
         The test.com/test application was processed from [developmentserver] containers, but none of them returned information about deployed components.
         The registered containers in this moment were [BRMS_Content_Archive, z_com.sap.security.policy-configurations, utl_handler, developmentserver, Monitoring Configurator, component.info_handler, servlet_jsp, connector, classification_handler, CTCContainer, JDBCConnector, PortalRuntimeContainer, dbcontentcontainer, scheduler~container, Content Container, src.zip_handler, PCD Content Deployment Handler, ConfigurationsContainer, orpersistence, appclient, JMSConnector, Cluster File System, Cache Configuration Upload, com.sap.security.ume, SCA Composites Container, metamodelrepository, textcontainer, eden_handler, Galaxy_Content_Archive, uddi_handler, MigrationContainer, com.sap.security.login-modules, webservices_container, EJBContainer, dbschemacontainer, MDRContainer, com.sap.security.policy-configurations, app_libraries_container].
         Possible reasons :
         1.Empty or incorrect application, which is not recognized by registered containers.
         2.An AS Java service, which is providing a container, is stopped or not deployed.
         3.The containers, which processed it, are not implemented correctly, because the application was deployed or started initially, but containers didn't return information about deployed components in the application deployment info].'.
                        SDA : name 'test', vendor 'test.com', location 'local', version '2', software type ('J2EE', s
    Can some one help me in deploying the SCA file?
    Please let me know how to resolve this issue.
    Thanks in Advance!!
    Regards
    MG
    Edited by: madhanssmile on Aug 10, 2011 2:34 PM

    go to "DC Metadata" "used DC"  , and "Properties" in context menu
    for all you your components.
    problematic component reference probable has check box "deploy time" checked.
    remove that reference.
    usually only "Build time"  check box must be checked. try to do so.

  • Out of memory error importing a JPA Entity in WebDynpro Project

    Hi All!
    We are having problems importing JPA entities in a WebDynPro project, this is our escenario.
    We have two entities, entity A that has a ManyToOne relationship with entity B and at the same time entity B has a OneToMany relationship with entity A. When in the controller context we try to create a node usign a model binding to Entity A we got an Out of memory error from NetWeaver DS. Trying to figure out the problem we identified that in the model that we imported we got the following.
    Entity A
        Entity B
            Entity A
               Entity B
                  and so on....... without and end
    What are we doing wrong? Or how can we avoid these behavior?
    Regards,

    Hi Kaylan:
    Thanks for your reply. You are rigth about the error that we are getting. This is our scenario.
    We have a ejb that in some of his method uses the entity Lote, and this entity has a relationship with entity Categoria. When we import the EJB using the model importer netweaver imports the EJB methods and the entities that they use.
    So after doing this besides the ejb's methods we got these two entities that are the ones that are generating the error, when we try to create a context node using the Categoria entity.
    @Entity
    @Table(name="TB_LOTE")
    public class Lote implements Serializable {
         @EmbeddedId
         private Lote.PK pk;
         @ManyToOne
         @JoinColumn(name="CO_CATEGORIALOTE")
         private Categoria coCategorialote;
         @Embeddable
         public static class PK implements Serializable {
              @Column(name="CO_LOTE")
              private String coLote;
              @Column(name="CO_ORDENFABRICACION")
              private String coOrdenfabricacion2;
                   ^ this.coOrdenfabricacion2.hashCode();
    @Entity
    @Table(name="TB_CATEGORIA")
    public class Categoria implements Serializable {
         @Id
         @Column(name="CO_CATEGORIA")
         private String coCategoria;
         @OneToMany(mappedBy="coCategorialote")
         private Set<Lote> tbLoteCollection;
    Regards,
    Jose Arango

  • Cannot deploy webdynpro project from SP11 of developer studio

    Hi All,
    I have recently upgraded was java from SP09 to SP11 of netweaver 2004s. I have also upgraded developer studio to SP11. Now I cannot deploy webdynpro project from upgraded developer studio. SP09 developer studio can still deploy webdynpro projects.
    Please help.
    Thanks in advance .
    Raktim

    Hi,
       R u trying to deploy an old DC in the upgraded studio? Is the same happening for deploying any newly created local webdynpro project? Create a simple local project and check if same problem occurs.
    Regards,
    Vijai

  • I Want to Implement MS Office Project like functionality in Portal

    Hi Experts, I am having a requirement to implement MS Office Project functionality in Portal, Does any one know from where should I start , for creation of application . Does any one have implemented such functionality in portal,
    Thanx in Advance.
    Regards

    hi,
    i think post these query under portal option ..there u can get a solution...

  • How to add the property file..ie(default.properties) to a webdynpro project

    Hi All,
    How to add the property file..ie(default.properties) to a webdynpro project.
    I urgently require the solution. Kindly get it for me.
    Regards
    DK

    Hi DK,
    this is described in the second Web Dynpro Java Tutorial
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b1a3e990-0201-0010-aeb2-a2ef5bc3da8e">creating an Extended Web Dynpro Application</a>
    Regards, Bertram

  • Creating a WebDynpro Project in Studio

    Hello,
       I am involved in creating a WebDynpro project in Netweaver studio. I am using Get_Flight_List example project(I got it from the net).
    Whole process of creating attributes and operations is performed.But,when i add teh relavent java code from the example, it gives compiler error.
    Errors are :
    1.getMessageManager() is undefined for the type IWDViewController,
    2.bapiInput is not resolved and
    3.wdGetFlightListComponentController() is undefined for type IPrivateFlightListView.
    Kindly help me in resolving this issue/Suggest a way to create a simple WebDynpro project.

    Hi
    In case there are no errors in the code, CtrlShiftO and a ctrl+space wherever it is highlighting the error should resolve the problem.
    bapiinput must be a object created in the code for the model class.
    Have you created an object with this name.
    In webdynpro section of SDN , you will have e-learning section which has detailed tutorials with sample projects.
    Please look into it.<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">WebDynpro Developer Area in SDN</a>
    In case you have done all this and still the issues are unresolved, please revert back.
    Regards
    Bharathwaj

  • Can't add a webdynpro project to DTR...

    Hi at all,
    I've posted this already to WebDynpro but I don't know how to move it because it is maybe better to post it here.
    I have created a local webDynpro application and as I got access to my DTR I added it to it. Everything was looking fine until I said that I want to remove the application from my client and created the project again.
    On creating the WebDynpro project, the NWDS give me some error messages that some files are readonly!
    (Web Dynpro Generation: Existing output file .../roadmap/RoadmapComponent.java is read-only!)
    After that I removed the readonly flag in the windows explorer and rebuilded the project. But on the next checkin and sync from the DTR I got the same message.
    I deleted the webdynpro project from the DTR and made sure that all files of my local copy were writable.
    But still, if I create the project on the DTR, there are some files that are readonly if I sync them from there...
    Does anyone know what the DTR is doing there, why it's automatically setting some files to readonly and how to solve that problem???
    I read a lot in SDN how to add a project in the DTR, but all that doesn't solve my problem. I have no idea what I can do else.
    I'm appreciated for answers.
    Regards,
    Dennis

    Hi Roy,
    usually you need all your source folders, whatever they are named. For a Par I would assume src.api, src.core and dist. for a regular Java project src (or src/packages).
    If you are working with development component you must include the .dcdef file and the def folder. If the cfg contains files you should also add that.
    As negative list: you should not include the bin folder (where NWDS/Eclipse puts generated classes), nor any folder starting with gen (e.g. gen_wdp for WebDynpro projects should not be checked in. The gen folder itself should never be checked in either, it contains the build results from a local DC build).
    Marc

  • How to add one poi jar file into webdynpro project

    Hi all:
        We would like to add one poi jar file into one webdynpro project, however, what should we do ?
        Its one external 3rd party jar file.

    Hi,
    To add a jar file you need to have an external library DC.
    Hope the below link will help you:
    [http://help.sap.com/saphelp_nw70/helpdata/en/46/3ce3e4df201d63e10000000a11466f/frameset.htm]
    thanks & regards,
    Manoj

  • Navigation between  two applications under a single webdynpro project

    Hi All,
    Here i needs to work with a webdynpro project which has two application which needs navigation one view form the first application to one view in the next application. I have already tried with "EXIT URL" concept and its working fine. Is there any alternative way to accomplish that task. I am looking for valuable reply from you.
    Regards
    Ravi

    Hi Ravi..
    Try this link..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/webdynpro/wd%20java/wd%20tutorials/inter-application-navigation%20in%20web%20dynpro.pdf">Application Navigation</a>
    Urs GS

  • Classpath errors while creaing a WebDynpro project

    hello,
         I am creating a WebDynpro project. When i try to build the project code/ while deploying, i encounter error saying " Project was not built due to classpath errors).
         It also provides the list of missing libraries.
    Where should i add these libraries?
    Kindly help me sort out this issue asap.

    Hi,
       are u saving the metadata before building ur application ....are the error due to usage of some external libraries other than standard...then u have right click on projecct and in liberary reference add the libraries.....please post in some details.....
    Regards,
    Yash

  • Default system names for several RFCs in a WebDynpro project

    Hi , I have a doubt, currently I am adding several RFCs to a WebDynpro project , all of them with the same "Default system logical name" for model instances and RFC metadata..
    It is ok to give the same "default system logical name" for all my RFCs" or should I give a different name for each RFC I add to my project ?
    Which way do you recommend to configure all RFCs in my project?
    Thanks in advance....

    Hi ,
    check the below link reg Effective Web Dynpro - Adaptive RFC Models , hope it will help you
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    Regards,
    Sunitha Hari

  • Internal architecture of R-tree implementation

    Does anyone know where I can get whitepapers which describe the architecture of R-tree implementation in Oracle?
    I need it for my undergraduate thesis. It will be a case study of R-tree implementation in Oracle Spatial. Actually I want to focus on why R-tree is implemented while scientists still shape it into a more applicable and reliable state.
    But ya, if it is too hard, perhaps I will focus on the architecture itself.
    Anyone can help?

    Several papers were published in the last few
    ICDE, SIGMOD and SSTD conferences about how R-trees are implemented in Oracle.
    You can get most of the architecture details from those papers.

  • Implementation SBO for Project management

    Dear all expert,
    our company need to implement SBO for project management company. Is there any one has the documentation or experience about it ? Or maybe have a link, so I can find out the information ?
    Thanks a lot for the help

    There is a Parner, Tandon Information Solutions Pvt. Ltd., Mumbai who has a solution towards Construction Vertical.
    Check these links for further information
    [http://tandoninfo.com/sap/images/CO1_Brochure.pdf]
    [http://tandoninfo.com/sap/images/CO1_WalkThrough.pdf]
    Also, there is a Construction Company in Chennai called as 'True Value Homes' http://www.tvh.in/ who have implemented SAP B1.
    For project management they used an addon called 'Icon' from 'Xenolith Technologies Pvt. Ltd'. You can check the following link for the addon
    [http://www.xenolithtechnologies.com/icon.shtml]
    You can contact SAP Teritory Manager in your locality to identify the partner who had done this implementation, so that you can discuss with the Partner Directly regarding the implementation.
    Also check these threads for more information
    [Re: SAPB1 COMPTABILITY FOR CONSTRUCTION COMPANIES.]
    [Re: SAP B1 Compatibility for Construction Industries]

  • How can i deploy webdynpro project

    Hai,
    I want to deploy my webdynpro project from the command line . Is there any way to deploy wdproject.
    I deployed ejb project using deploymentmanger.
    But now i  need the way to deploy the webdynpro project.
    regards,

    Hi Naga,
    You candeploy our Web Dynpro application(.ear file) using Software Deployment Manager.
    If you are using portal on Unix machine there is a command for deploying your ear code from command line.
    Thanks,
    Samta

Maybe you are looking for

  • I can't copy my old iPhoto library from a external HD to my new mac?

    Hi. I just bought a new mac and want to have all my old iphoto pictures from my old mac into my new iPhoto library. I've tried to copy the old iPhoto library into a external HD(works fine), but the problem is that I can't copy it out from the externa

  • Can't boot HDD. "PXE-M0F: Exiting Intel PXE ROM." Error

    Hello, and thank you in advance for your help. My Toshiba Satellite U840 is receiving the following error at startup: Check cable connection! PXE-M0F: Exiting Intel PXE ROM. No bootable device -- insert boot disk and press any key I had a Hitachi HTS

  • G3 B&W and Sawtooth use different memory?

    Hi. I tried to add some memory modules to my new-to-me Sawtooth that were pulled from my older B&W. They didn't seem to work. Am I correct in surmising that the memory is a different type in these two machines, and hence incompatible? MTIA...Matt Pow

  • Printer (not computer printer) for 10,000 piece 8 page brochure??

    I have created this brochure in Pages. It is 8 pages 8X10 and I need a commercial printer. Having a little problem with my local printer because he has never worked with Pages and I do not see that as a problem for him in that I am sending him a .pdf

  • Purple "smudges" in camera app, only in rear camera

    I have these two purple "smudges" when I use the rear camera in the camera app. This image shows an unaltered image (except for cropping in order to show up here) of a picture I shot from my iPhone. Interestingly, if I zoom in  far enough when I take