Moving Local Web Dynpro project from Dev to Prod

Hi,
i have a scenario where there is a small application to be developed. And m the only developer to work on it.
I need to a create local web dynpro project for the same and deploy it to the deveopment server. and test it here. However, the client for whom i am developing this service, is based somewhere else. How do i deploy this local application on his production server?
I dont have JDI architecture here. Can i achieve this without JDI? and How? Which is more feasible -  using JDI or not in my case ?
Regards,
Apeksha

Hi,
Genrally, it is recommended to work with JDI. But, as you said you have only project that needs to be deployed then you can change the server settings in your NWDS and make it point to the production server.
Windows>Preferences>SAP J2EE Engine--> <details of your remote production server>
NOTE: You should have sdm password to deploy this applicaiton.
Regards,
Murtuza

Similar Messages

  • Error while creating web dynpro project from DTR

    Hello,
    I am getting following error while creating Web Dynpro project from DTR,
    org.eclipse.jdt.core.JavaModelException: File /<track name><DC><package>/.classpath is read-only.
    Still project gets created but evenif I check out view , it does not allow me to edit it.
    Also I have checked in and activated some changes but active copy in DTR is not reflecting those changes.
    I tried Add subtree option in DTR perspective for folders in this project. Is it result of that?
    Please help me in this regard.
    Thank You
    Beena

    Hi Beena,
            .classpath file should not checked in to DTR(uncheck the Read only properties). It is local file it contains class path for local system.
             Generally in webdynpro project only src folder should be checked in DTR.
    Regards
    Suresh

  • Migrating Local Web Dynpro Projects to the JDI -- labels missing

    Hi all
    I am trying to Migrating Local Web Dynpro Projects to the JDI .But the labels are missing..?.
    The runtime output is coming well. Any suggestions.Do any of you come accross this problem before?.help appreciated and I promise to award full points for best solution
    Thank you
    Regards
    Maruti

    Hi Maruthi,
    Please look at this link,
    Re: How to modify ESS  ii views code which are imported from NWDI to NWDS
    Thanks,
    Raj.

  • How to create a Web Dynpro Project from Downloaded zip file?

    Hi,
    I have been working in Java Web Dynpro for last 1 month but not able
    to create any Web Dynpro from Downloaded zip file?
    Can anybody tell me how to create a Java Web Dynpro Project from
    Donloaded zip code?
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    You can add the existing zip file into your workspace by the following way -
    First open the NWDS and create a new project by clicking file -> new -> Project -> Simple -> Project
    and then File -> Import -> zipfile and then browse the zip file into the newly created project.
    or else you can also unzip the zip file into a folder and then Use the option of Import an exisitng project into workspace. You can find this in the File-> import -> Existing project into workspace. and then use the Browse option to browse to the existing folder.
    After importing the project you need to rebuild the project
    Regards,
    Raju Bonagiri.

  • Query related to Migrating non Dc Web dynpro project to DC.

    Hi All,
    I have the requirement to migrate a non DC Web dynpro project to DC.
    I have a project which involves few models.The models are nothing but BAPIs released as web services. So, when I am trying to do what i intend to do, I am getting compile time errors and I am not able to deploy.
    WHAT I AM DOING?
    I am cerating an empty DC project. I am giving the Name and keeping the domain as basis which comes as the default one.
    Later I am moving to the Navigator tab and trying to copy and paste the packages under src and the model folder.
    Coming back to the web dynpro tab, i am trying to rebuild the newly created DC project. here i am getting thousands of compile time error.I have even tried changing the domain as enterprise portal while creating the DC project. But the result is same.
    Kindly through some lime light on this.Its very urgent and I am still not very clear with componentization in web dynpros.
    Looking forward to you.
    Regards
    DK

    Hi DK,
    Follow this procedure to Migrate Local Web Dynpro to DC Component.
    <b>Creating a New Development Component</b>
    1. Create a new Web Dynpro DC Project [Page 5].
    You create an empty container for a Web Dynpro DC that does not have
    functions. The new DC should include all relevant development objects
    project.
    <b>Do not check the newly created DC into the DTR yet.</b>
    1.Copying Packages from the Local Project
    2. In the Web Dynpro perspective, switch to the Navigator view.
    3. Select the local Web Dynpro project to be migrated and expand the project
    down to the source folder: <My_Local_Project> &#61614;&#61472;src &#61614;&#61472;packages.
    4. Select all packages and choose Copy using the right mouse-click.
    <b>Inserting Packages into the New DC Project</b>
    5. Now choose the DC project that was just created and expand the project structure in
    the Navigator view, again down to the source folder.
    6. Select the Packages node and choose Paste.
    The Add Files to DTR dialog box appears.
    7. Choose OK to confirm your selection.
    8. Assign a DTR activity either by creating a new activity or choosing an existing one.
    Execute Reload
    9. Switch to the Web Dynpro Explorer.
    10. Choose the project node of the DC project and select the Reload function.
    11. In the displayed dialog box, again choose Reload.
    Reload now also reloads Web Dynpro metadata into the new project.
    Building the Project
    12. Execute a local rebuild for the entire DC project. Choose the function Rebuild
    project.
    13. If there are no errors in the task view, execute a DC-based build by choosing the
    function Development Component &#61614;&#61472;Build.
    This build is identical to the central build tool and is required to take dependencies of
    DCs among each other into consideration.
    <b>Result</b>
    You have migrated your local Web Dynpro project into a DC project. You can now deploy the
    new DC into your local environment and test it before you commence checking the assigned
    activity into the DTR.
    After all these steps, when you reload your project, if you happend to see errors in your project. Check few things.
    - All the model classes has been genreated or not.
    - Close the project and open it again, sometimes it works fine.
    - Findout what is the reason for errors, any thing is missing.
    Regards,
    Sridhar
    Message was edited by:
            Sridhar kanchanapalli

  • Migrate Web Dynpro Project to NWDI through DC

    Hi All,
            I have a requirement which i need to migrate the local Web Dynpro projects to NWDI to make it in central location.
    I have developed the Web Dynpro project which is local to my system (includes model creation - deprecated type).
    I need to integrate/migrate these Web Dynpro projects into NWDI.
    As i did copy & paste of src folder and did creating new model after deleting the existing model.
    After these I am able to build the project however I am getting the below error message while deploying it to Sandbox system.
    Error Message:-
    Result
    => deployment aborted : file:/C:/DOCUME1/gssvkria/LOCALS1/Temp/temp8746sap.comhomecountry.ear
    Aborted: development component 'home/country'/'sap.com'/'NWD_FASTPRJ_D'/'20111214124617'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/homecountry.. Reason: Clusterwide exception: Failed to deploy application sap.com/homecountry. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/home~country. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine? (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Please someone help me to understand this deployment exception and to resolve as well.
    Thanks in advance.
    Rgs,
    Vijay
    << moved by moderator - check out the list of other forums on top of portal forum >>
    Links to other forums
    Edited by: Anja Engelhardt on Dec 14, 2011 1:44 PM

    It seems you are using some DC references in your local DC which are missing on server...
    Please refer :
    http://help.sap.com/saphelp_nw70/helpdata/en/42/c8204dd57f136fe10000000a1553f7/content.htm
    specifically look for "Reload" in above link..
    also refer :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4032dae5-b951-2b10-d380-f4f6bedbbf37?QuickLink=index&overridelayout=true

  • DC Build Error with Web Dynpro Project

    Hi,
    I have created a DC Project and migrated all the local Web Dynpro project to the DC project which is connected to NWDI.
    When I performed a Development Component Build, I am getting tons of errors like this :
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:26: package com.sap.ip.bi.sdk.dac.result.model does not exist
    import com.sap.ip.bi.sdk.dac.result.model.BITableItem;
                                              ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:27: package com.sapportals.connector.connection does not exist
    import com.sapportals.connector.connection.IConnectionFactory;
                                               ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:28: package com.sapportals.connector.connection does not exist
    import com.sapportals.connector.connection.IConnectionSpec;
                                               ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:25: package com.sap.security.api does not exist
    import com.sap.security.api.;*
    ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:29: package com.bhpb.bi does not exist
    import com.bhpb.bi.BITable;
                       ^
    I have included a jar file BIWrapper.jar in the lib folder....
    Does it mean that some of the dependencies jar files is needed in the NWDI?
    For anyone help please.
    Thanks.

    Hi,
    Create an Dc of type external library which contains the BI Wrapper
    and refer this dc from your WD.
    This blog will help you in creating external /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
    Regards
    Ayyapparaj

  • Move multiple Web dynpro projects to one DC

    Hi all,
    I have got around twenty local web dynpro projects. Now i want to move them to a DC. I have created the domain,track,imported the Development Configuration and created the DC. Now i want to move the local projects which are there in the NWDS to the new DC. I could move one project. But how can i move multiple projects??
    regards
    Shyam.

    Hi,
    well though I would not recommend to move 20 projects into a single Dc you can still do it. Just create the DC and then goto the file navigator and copy everything from the src/packages folder from the local WD project to the src/package of the DC project. After that you should do a Reload on the DC project.
    rgds
    David

  • BW SEM-BPS API functions from a Web Dynpro project in Netweaver

    Hi,
    Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done this before? If so, do you have any examples, hints?
    Regards,
    Linda Lee

    Hello Linda,
    let me add some more remarks on this topic from the BW-BPS development perspective:
    I completely agree with Marc's statement.
    Thechnically it is possible to build a planning application UI on top of the BW-BPS API functions and we have some customers that are live with such a solution. However, I would recommend this only in 2 cases
    1. You need to create a tightly integrated application with BPS being only one part of several other components (including transactional UI, e.g. running against a CRM system).
    2. You prefer a UI technology that is not provided by SAP (e.g. Java Swing based).
    In all other cases, I would say that one should stick to the Web Interface created with Web interface Builder, mainly for cost reasons. If this tool does not fulfill all your needs there are several possibilities to enhance and extend the generated web interfaces by custom specific coding (see also several How-To guides in this area; e.g. "How to integrate a BEx Web Template into a BPS Web interface").
    Another possibility is to loosly couple several web UIs with the help of the portal.
    To my knowledge, it is not true that BSP web technology will be obsolete shortly. 
    In general, I would always prefer a tool supported, model driven approach compared to a heavy custom coding. This is also in sync with SAPs general strategy to a more pattern based approach to create UIs.
    Regards,
    Tobias Hagen
    Dev. Manager BW-BPS
    SAP NetWeaver BI

  • Accessing portal dictionary tables from Web Dynpro project

    Hi
    Am a new to whole portal and webdynpro thing, and I hope that you can help here
    I created a new dictionary project through NWDS and created a table with columns and I successfully deployed it
    I also created a web dynpro project and I added a TABEL UI to the layout
    how can I connect or access the table I created in the dictionary project from the Web dynpro project so I can query all data to fill the TABEL UI  in the web dynpro ?
    is there a driver that I can use like JDBC where I can just write regular SQL queries ?
    regards

    Hi swathi
    See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
    Relational Persistence
    =================
    SQL-based coding: expressive!
    SQLJ: for static SQL, checked at design time,
    recommended
    JDBC: for dynamic SQL, can be combined with SQLJ
    =======================
    Object-relational Persistence
    ======================
    SQL-free! Portable!
    JDO: light-weight object persistence, Java-like dynamic
    query language
    EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
    Regards,
    Venkata Kalyan Karanam

  • Open a Local File located in a Web Dynpro Project

    Hi, I'm trying to open a file saved in a new folder called (XSLT) created by me in a web dynpro project.
    When I try to do this, the following exception is thrown:
    ...java.io.FileNotFoundException: F:\usr\sap\DEP\JC00\j2ee\cluster\server0\XSLT\sad.xsl (The system cannot find the path specified)....
    The code that tries to load the file is the next:
    Document xslDoc = dBuilder.parse("XSLT/sad.xsl");
    My Question is: what should be the file path that I should use in order to be able to open a file that is saved into a folder inside my Web Dynpro Project, of course, using a relative path...
    Any ideas???

    Felipe,
    Classes from custom folders are not included in build.
    You may place "xslt" under src/packages and acces them via ClassLoader, i.e.
    Document xslDoc = dBuilder.parse
      this.getClass().getClassLoader().getResource("xslt/sad.xsl")
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Access non-DC project from a DC Web Dynpro project

    Hi,
    I have a DC Web Dynpro project that needs to access a non-DC Java project. As I cannot create a public part of the non-DC Java project then add that public part to the used DC list of the DC Web Dynpro project, I add the non-DC Java project to the build path of the DC Web Dynpro project. That way I can do the coding without any issue, but when I build the Web Dynpro DC, I keep getting building error saying that the Web Dynpro DC doesn't see the classes in the non-DC Java project.
    How can I resolve this issue without switching the non-DC Java project to a DC?
    I am on NW04s.
    Thanks and Best Regards,
    Viet

    Hi Viet,
    There is a way to achieve your purpose, but at the same time, Iu2019m not sure that it will be exactly your requirement.  Anyways, herein, Iu2019m providing you a concept which we had used in our earlier project.
    You need to create a java file with the communication parameters for DC and non DC and after that create a jar file. Now, you create an external library DC of this jar file and publish it as public part with complication and assembly.
    Now, use this external library DC in your DC.
    Thanks
    Gautam Singh

  • Add local Web Dynpro Projectts to NWDI/DTR

    I have developed projects using NWDS.  We have decided to use NWDI - Scenario 2 - Development Track to have version control and team development.  I have never used NWDI before.
    I did not use DC's when developing web dynpro projects.  I just created a new web dypro project from NWDS and deployed ito Dev/Test systems using NWDS.  Is it necessary to have Development Components when using DTR.
    If so how do I convert my local project into DC project.  Any Step by Step Documentation on adding existing projects to NWDI is greatly appreciated.
    Thanks

    check this links
    http://help.sap.com/saphelp_nw70/helpdata/en/9e/1c200ac164cf4a942f2dacdf3359e9/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/b9/7e4b6220274f739e1a67d97617bc2b/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/2b/91ae42e0fac911e10000000a1550b0/frameset.htm
    xxxxxxxxxxxxxxxxxxxxxx
    Edited by: Armin Reichert on Feb 18, 2008 7:29 PM

  • How to add a javabean Model to a web dynpro Project

    Hi all,
    I have been following the tutorial "Using EJBs in Web Dynpro Applications" for creating a customized LOCAL webdynpro application, based in javabean Model. It was made by just exporting the JAR file from a java project, as it is explained in the tutorial. OK.
    The problem comes when I want to duplicate the development but using a DC Web Dynpro Project. I have re-develop every step of the tutorial but using DC projects:
    DC diccionary project, DC ejb project, DC enterprise application project & DC java project.
    But now I DO NOT KNOW the steps for importing the development into a model for DC Web Dynpro.
    Anyhelp will be very appreciated, thanks in advance-

    Thanks Jhansi,
    Yes, you are right. I had already followed those steps. The error comes when I have to select between the JavaBean Source:
    1. project (source folder) (checkbox)
    2. public parts of used DC's (combobox)
    I have been trying both, the second one by copying first the JAR called CommandBean.jar of my DC Java Project with dependencies to EJB project into the web dynpro "lib" folder, and then selecting the new entry CommandBean.jar from that combobox.
    then i get de following error: "Invalid JAR - No JavaBeans available for import"
    So I do not know how to use any of these two options for java source.
    Thanks.

  • Using External JARs in a Web Dynpro Project

    Hi,
    I'm having some difficulties building and deploying a Web Dynpro application that uses the Apache JaxMe libraries.  We're using SP11 of Developer Studio and WebAS and we're using JDI Scenario 2+ for building and deployment.  Thus far here's the procedure I followed:
    1) Created a DC of type "External Library"
    2) Added the necessary jars to the "libraries" folder of the External Library DC project (the jars that I added were jaxme2-rt.jar, jaxme2.jar, jaxmeapi.jar, jaxmejs.jar, jaxmepm.jar, jaxmexs.jar, xercesImpl.jar, xml-apis.jar all of which were pulled from the Apache JaxMe implementation download)
    3) For each of the jars in the libraries folder I right-clicked, selected Develoment Component then clicked "Add to public part" 
    Then after reading this note:
    https://websmp206.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000038152005
    I created a J2EE Library Component DC following these steps:
    1) Created a new DC of type J2EE Server Component / Library
    2) Added the External Library DC that I had just created as a "Used DC"
    3) Edited the DC so that it is used a Build Time and Run Time
    Finally I went to the Web Dynpro application and included the J2EE Library Component DC as a Used DC at build time and run time. 
    I was able to build all of the project successfully (doing a DC build for each) then I was able to succesfully deploy the applications to my local development WebAs (by doing a DC deploy for both the J2EE Server Component and the Web Dynpro application)  The problem is that at runtime the Web Dynpro application cannot find the external libraries.  For example, I receive the following error when running the application:
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    The "missing" class is included in one of the jars but for some reason these jars are not accessible to Web Dynpro at runtime. 
    Any help you can provide on this problem is very much appreciated.
    Thanks in advance!
    Jason

    I created the <b>JAR</b> with the following class (structure):
       <b>com.sap.tc.webdynpro.tests.utils.TableSorter.class</b>
    I have followed the steps that was suggested in the forum:
    ==========================================================
    1) creating an Extneral library DC
    2) import the JAR "com.sap.tc.webdynpro.tests.util.jar" to the libraries folder of the External Library DC project
    3) Right-click on the JAR imported to the project and add them to the public part.
    This DC is now ready to be used as a build-time reference that will allow CBS to build the "main" Web Dynpro application that will use the external libraries. Next, we have to create a new Web Dynpro DC to hold the class files here are the steps:
    1) Create a new Web Dynpro DC
    2) Create a new public part, selecting the "Can be packaged into other build results" option
    3) Rename the JARs as Zip files and extrct the full content (folders and class files) to your root folder
    4) Import the folders and files to the src/packages folder
    5) Expand the public part node that was created and select the "Entities" node, right-click it and choose Edit
    6) In the Entity Type list select the "Folder" option then in the selected entities tree pick each of the folders that you imported in step 5 (above)
    7) Now do a DC build and a DC deploy of the project
    Then check-in, activate, and release any activities you have associated with creating these two projects. In the DC perspective, refresh the Active DCs and Inactive DCs to ensure that both new DCs appear in the Active list. Now we have to setup the references to these DCs in our main Web Dynpro application. To do this, follow these steps:
    1) Open the Web Dynpro perspective and right click the Used DCs node then choose "Add Used DC.."
    2) Pick the public part of the External Library DC that we created (first) and set it to have a Build Time dependency
    3) Again, right click the Used DCs node and choose "Add Used DC.." then choose the public part of the Web Dynpro DC that we created and give it a Run Time dependecy (weak) and click finish.
    4) Now, due to what I think is a bug. You must right click on the Web Dynpro "used DC" that you just added in the previous step, and set the run time dependency again (it seems to revert to the default values for some reason)
    5) Now do a DC build and a DC deploy on the "main" web dynpro application.
    6) Check-in, activate, and release any activities associated with adding these references and then others on your team may use the classes in the external libraries within the Web Dynpro project.
    However, when I executed, the following exception occurred:
    ===========================================================
    Error stacktrace:
    java.lang.<b>NoClassDefFoundError</b>: <i>com/sap/tc/webdynpro/tests/utils/TableSorter</i>
         at br.com.embraer.materiais.zdplmm001.view.Zdplmm001_0500View.wdDoModifyView(Zdplmm001_0500View.java:138)
    <b>What's missing????</b>
    Thanks
    Robson Lima
    Sao Paulo - Brazil

Maybe you are looking for