How to use JDI with Web Dynpro

Can any one help me with detailed steps on how to put my Webdynpro development components into JDI?
We are already done with the development work. Now we have JDI installed and want to source safe the project in JDI.
So, my requirement is only to put them in JDI, to be able to check-in and check-out any future changes and use the JDI to deploy the applications into QA and production systems . No team development or anything.
For this case, which of the 3 tutorials ( Team oriented development, Development with track, Development with layers) given in help.sap.com will be ideal?
Please help.

Hi Aditya,
Step for creating Webdynpro:
1. Open Development Configuration Perspective in NWDS. In the “Local DCs” view, right-click on “Local Development” and choose “Import
Configuration…”
2. Login remote with your username and password. It will create development infrastructure in Inactive DCs. There you can create the component like webdynpro, Java, J2EE, Enterprise Portal, etc.
3. Creating Webdynpro in the DTR perspective.
Step 1: Right click on Inactive DCs -> Create new DC.
1. By default vendor name is SAP. You can change vendor name according to your requirements.
2. create a new Web Dynpro DC with desired name.
Name should not exceed eight characters (Recommended)
create a new Web Dynpro DC with desired name.
3. Select the language
4. Select the domain
5. Select the component type
3. Copy the file structure from your existing local project to DC.. These will be under an activity..
Step 2:
  1. Build and Deploy and test your new DC.If it works fine then in DC perspective..Right click on src folder->add subtree ->create activity.
See this thread discussing about how to migrate local project to JDI..
How to migrate local Web DynPro projects into the DTR?
Regards
Suresh KB

Similar Messages

  • How to use Cookies in Web DynPro?

    Hello,
    Is there a way to use Cookies in Web DynPro like a regular Servlet uses in it's response Object?
    If yes, I could use a code example...
    Roy

    Hi Roy,
    1. This will create a Request Objec containing all the client's request just like in a regular Servlet or does it have special considerations I should worry about?
    A: If you have portal and webdynpro components, both have to use the same runtime. If you are using only webdynpro components then you can use the "Task" class. But it is a non-standard API.
    Task.getCurrentTask().getWebContextAdapter().getHttpServletRequest()
    2. Where do you recommend putting this statement? I assume at the wdDoInit() method right?
    A: Don't put this statement in the doInit(), if you are handling some event within the component and refreshes the view, your doInit() will not get executed.
    3. Is there a Response object I can create as well?
    A:
    HttpServletResponse response =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletResponse()
    Regards,
    Santhosh.C

  • How to use ALV  in web dynpro for ABAP?

    Hi,
    I am new to web dynpro. Now I want to create a table using ALV to display. I have no idea how to use it.
    I only know I need to add the SALV_WD_TABLE for component usage. Can anyone give me some hints
    or step-by-step procedure?
    Thanks.
    Awards will be provided.
    Best Regards,
    Chris Gu

    Hi,
    Please go thru this set of [tutuorials|https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/webcontent/uuid/60ea94e5-0901-0010-c3bb-aad5ea9620d8].
    Its really good for ALV.
    I also used this as I am also new to WD ABAP.
    Revert back with issues.
    Regards,
    Sumit

  • How to use multilanguage in web dynpro

    Hi experts,
    I want to use multilanguage feasility in my Web Dynpro application.
    It means, several language option are available in my application,
    if user click any option from the list of option, then application's contains will changed  to the corresponding language selection.
    How can i achive this? can any one help me?
    Advance thanks,
    P.J.Balaji

    Hi Balaji..
    Check this ..
    These links are abt internationalization...
    http://help.sap.com/saphelp_nw04/helpdata/en/2d/e7381138a8d2458f1f4fac32614f71/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/8e/7ce87a2aede645ae3cdc857b791590/content.htm
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#59
    /people/karin.schattka/blog/2007/03/12/new-web-dynpro-java-tutorial-and-sample-list
    /people/prashant.patalay/blog/2006/12/20/internationalization--i18n-of-webdynpro-java-application
    This will help u.
    Urs GS

  • How to mapping Bapi_EeCatimesheet with Web Dynpro iview

    I have problem with CATS:
    1. mapping field from Web Dynpro iview with Bapi_EeCatimesheet_Worklist
    Column: Activity = Bapi_EeCatimesheet_Worklist_input_Out.???
    Column: xxx = ???
    Variable as TimeSheet of SAP Easy View
    2. How to insert Employee timesheet into SAP System by Bapi

    Hi,
    At first time the ApplicationParameter was not displayed among the mappable properties. After that I changed the ApplicationParameter property of the WD iView (so it became different from the default one) and created a new room template. What happened ? At the new template I could map to room_id to the ApplicationParameter. Interesting, not?
    One other thing: What do you think about the following ?
    1. First creating a "Concat Strings" extension to create a string like "room_id=<room_id>"
    2. Creating an other extension and mapping the newly created string to the ApplicationParameter property
    3. Getting the parameter from WD with the help of getRequestParameter(java.lang.String key)
    I have not tried it yet, but I plan to do it.
    Regards,
    Ferenc

  • Using css with web dynpro

    Hi
    I have an application, where i have to use my own css files. regarding this i found one post (with the same heading as this post)  in the forum where the method was specified and also it was mentioned that in the visual admin, in the property sheet of the application, the property for this has to be set true.
    When we checked here, we are able to find the path and corresponding property sheet in SP9. But we are using SP14.  In this version the specified path for the application and property sheet of that application couldn't be traced.
    Is it possible that in SP14 version, the path might  be somewhere else? If so,can anybody please provide with the updated path.
    Thanks & regards,
    Puneet

    The source of Web Dynpro generated files aren't *.java files, but *.wdcontroller files
    I'm not familiar with PMD, but you might need to add the extra file extension
    (Being it Java source encapsulated in XML, you may run into a plethora of other issues, but you could give it a try)

  • How to use JSP in Web Dynpro

    Hi
         I want to use JSP and servlet pages in my web dynpro application
    how can we add the JSP pages in web dynpro aaplication or how can I achive this functionality?
    Thanks
    Ninad

    Hi,
    Have a look at this thread,
    Re: web dynpro jsp
    Regards,
    Saravanan K

  • How to use JAXB with web services

    Hi All,
    I am new to JAVA WS and read the sun jee tutorial on JAX-WS and SAXB. Now I can create simple JAX-WS passing simple parameters. Now I want to create a service which take java bean as a parameter or returns a java bean (complex type). I think this is where JAXB should come. However I can understand JAXB seperately, but still could not find how JAXB is work together with my web service. Could someone help me or point to a simple tutorial/example on using JAXB with JAX-WS. Or simply a tutorial that use Complex data type in JAX-WS.
    Thanks
    Nalaka
    Edited by: nalakayoyo on Mar 27, 2008 11:39 PM

    Hi,
    When you are using JAX-WS, there is a tool wsimport, with which you are going to generate the artifacts required to implement the web service.
    When you pass the WSDL as a parameter to the wsimport tool, it will be create the required beans also(JAXB Objects).
    So need of any other external implementation of JAXB when you are working with JAXWS
    Thanks,

  • Using PMD with Web Dynpro

    Hello,
    We've been trying to integrate PMD (http://pmd.sourceforge.net/) with NetWeaver Developer Studio, but all we've been able to accomplish is it checking our own java classes. PMD completely ignores java classes generated by Web Dynpro. Is there a way to make it see those classes as well?

    The source of Web Dynpro generated files aren't *.java files, but *.wdcontroller files
    I'm not familiar with PMD, but you might need to add the extra file extension
    (Being it Java source encapsulated in XML, you may run into a plethora of other issues, but you could give it a try)

  • How to Use BAPI in Web dynpro?

    Hi SDN,
    I am trying to use BAPI_FLIGHT_GETLIST in my web dypro application but my result table doesn't showing any data.
    can you please tell me the reason behind this?
    Regards,
    Rahul

    hi rahul.........
             steps to be followed:
                Right click on your component and click create->service call.
                give the bapi name you want to access.
                give the rfc destination name..
                if you have all the rights, then whatever name you give, an rfc destination will be created automatically.
                 otherwise you have to specify an already existing rfc destination name.
                 in your view you create input fields for binding the importing parameters.
                 bind the changing parameters to your table.
                 <b>make sure you call the method which will calls the bapi</b> either when you initialize your window or have a button and call the method, inside its action.
                 <b>embed your view to the window</b>.
    note:
             the method and the respective codings would be automatically generated when you created your service call.
    ---regards,
       alex b justin.

  • How to use BREAD CRUMB / WEB DYNPRO

    Hello Experts......
         My requirement is.. i have certain task numbers which will be displayed as multiple links ( i used multilple links option in BREAD CRUMB to display them ). When i click on each task number i must get some data from ztable (like Person Responsible for RS,UTD..... )  and displayed under the task number.
         Iam successfull in displaying my task numbers as :
    101>102>104>.............. but iam not able to code to get data displayed for the task number (when clicked on it).
         Plz ... can any one help me out with sample code.. or some examples...on BREAD CRUMB

    hi sandhya.......
              when the bread crumb is clicked, read the attribute that is bound to the bread crumb.... and get values accordingly.
    ---regards,
       alex b justin

  • How to use Archivelink in Web dynpro?

    I want to add some upload and download function on my website.How should I  realize these functions?How to built some connection between an database's attribute and an Archivelink file?

    Hi,
    see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/09/a5884121a41c09e10000000a155106/frameset.htm">FileDownload</a> and <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b3/be7941601b1d09e10000000a155106/frameset.htm">FileUpload</a>
    Regards, Heidi

  • Oracle as Back-end with Web Dynpro

    hello
    i wish to know how to use oracle with web dynpro as database store
    initially we have been using R/3 system as our store with
    backend of r/3 as oracle
    but now we directly want to communicate with oracle

    Hi Mitesh,
    Initially I had tried few ways to connect directly from WD to Oracle, but nothing worked for me. Finally I could achieve it only through ejbs & even today I stick to that. I tried out many things for connecting directly including accessing the JDBC connector service of the server, but don't know why nothing worked for me.
    Anyway, I'll send you the step by step process to create the ejb & use it in your WebDynpro application to connect to the database (you might find it a bit long, but I believe I have included every step). If someone knows a better way to connect pls let us know, cos it is tiresome to write ejbs each time we need to connect.
    1)     Open the J2EE perspective
    2)     Create an EJB Module project
    3)     Right click on ejbModule, create a new EJB (select your EJB type)
    4)     While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml  ->  <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5)     Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6)     Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7)     Create an Enterprise Application project.
    8)     Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9)     Right click on the EJB project, select ‘Build EJB Archive’
    10)     Right click on the EAR project, select ‘Build Application Archive’
    11)     Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    •     Java Build path  - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    •     Project references – select the EAR project
    •     WebDynpro references – select ‘sharing references’ tab, click add & make an entry as :     <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12)     Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
              Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
              MyEJB mybean = home.create();
              int a = 0;
              a= mybean.add(10,15);
         wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Hope this helps & pls do let us know if you have any further queries,
    Best Regards,
    Nibu.

  • Problems using Visual Composer with Web Dynpro runtime

    I am currently trying to build a Visual Composer iView and we need to use the Web Dynpro runtime rather than Flash because it needs to work with a screen reader for users with sight problems.  Which is a pity because Flash works fine. But when I use Web Dynpro runtime I'm getting the following problems:
    a) When I define fields and pushbuttons in forms where Align Contents is set to Absolute, they do not appear at runtime in the positions in which I've placed them - all form elements are aligned vertically.  The only other options are to align all fields vertically or align all fields horizontally.  This lack of flexibility makes it rather difficult to create a good screen design; the only option seems to be to create a separate form for each set of differently aligned fields, which leads on to the next problem.  . 
    b) When I define more than one form on a page, again at runtime the forms do not always appear in the positions in which I've placed them; the compiler seems to calculate how much space it needs to display the screen elements and then re-sizes and  re-positions the forms accordingly, ignoring what I've told it to do. 
    c) Toolbar pushbuttons do not appear on forms (they do appear on tables).  Irritating, but at least I can still create pushbuttons on the form itself. 
    There are other issues, but the main problems is that it appears that when I use VC with Web Dynpro I cannot trust the editor layout at all and the only way I can build something that looks decent is to fiddle about with  field / form sizes and positions, checking every change on the output, until hopefully I get it looking ok.  Having to do this will dramatically increase the time taken to develop VC applications.  Has anyone else experienced these problems with VC and Web Dynpro?  Has anyone managed to overcome them?

    Thanks, but neither of these describes the problems I've been having.  And they are misleading since they say that you can use VC with Web Dynpro only with Web Services ie not directly with BAPIs / RFCs, but using it with BAPIs / RFCs is one of the few things that works well in our system. 
    The most recent problem I've found is that if you make a form or table read-only it will stay read-only in Flash but the fields are editable in Web Dynpro.  The individual field disable option does work for Web Dynpro, but it turns the fields from black to a vey pale and almost invisible grey (this doesn't happen in Flash).  And you can't seem to change this. 
    It does seem to be a bit pathetic that input fields can't be made read only.  I've tried expression boxes, which are read-only anyway, but they appear in as pale a grey as the disabled input fields.  And although plain text fields can be added to tables, they are pretty useless since they can only hold a single value and so all the lines will contain the same value. 
    I guess I should resign myself to the fact that I am never going to be able to produce a decent screen using VC and Web Dynprp.

  • MDM with Web Dynpros

    Hello,
    I am new to MDM, Can anybody please let me know how could I use MDM with Web Dynpro's? I have read the article "MDM connectivity to java application" that could be the way to use if the sda are available!
    Regards,
    Dharmi

    Dharmi,
    This is excellent, in fact we are also working on a similar scenario. We already have developed some web dynpros which call the API's exposed by MDM and display the data. (Very soon we will write a blog on the same). However the problem is these web dynpro's become very specific with the respository you are dealing with. If that is all you want they that should be fine.
    However, if you want to come iViews just like SAP then we mihgt have to think out of the box.
    Have you seen the example of Applied.com? the back for these sites is SAP MDM. However these are the J2EE applications which are accessing the API's of MDM and also with other applications for placing the order.
    The ideal solution that I can think of is to publish a catalog using MDM API's, give additional functionality of shooping cart, once everything is done, place the order which will create a sales order (SAP R/3 or any other ERP) via SAP XI (SAP EP communicating with SAP R/3 via XI.
    Regards,
    Ravi

Maybe you are looking for

  • SAP Gui Logon - application server shutdown

    Hi! I'have installed SAP Netweaver 7.0 Abap TRIAL on my Windows XP Service Pack 3. After lunching NSP-->Start Application Server, all is ok. But when i try to Logon with Sap Gui 7.10, i get this error : application server shutdown Component     DPTM

  • I seem have two apple IDs - on for an icloud address and one for everything prior.

    I seem have two apple IDs - one for my new icloud email address and one for ipad/purchases which has been active for 6 months. Can I change this to simplify it, or should I follow instructions to ensure everything is matched?

  • 'Days of Our Lives' Multi pass not working

    I have a multi pass to Days of Our Lives, and it has not downloaded a new episode since March 17th, despite 12 episodes being available for individual purchase since then. I have contacted support and received no reply and based on the recent comment

  • Why isn't apple support calling me?

    I scheduled a phone call with apple support for 9:30 am. I got a phone call at 9:33, with a recorded voice asking me to press 1 to speak to a support person. I pressed 1 and waited on the line. After many minutes of complete silence on the line from

  • Java functions with Oracle 10g

    I have browsed through other related message threads on this forum and it seems that the general recommendation is to develop stored procedures and functions using PL/SQL. I need to implement a set of functions that perform date related processing an