Debugging into web dynpro

Hi there,
How can I step into web dynpro component while debugging a process?
Regards,
Ricardo Giacomin

Hi
1.Enable remote debugging(external breakpoint) on function module
2. Use same UserID that enables debugging and used in JCo Connection.
3. Run your application, it will take you to SAP GUI screen when breakpoint found.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30

Similar Messages

  • Couldn't complete tutorial u0091Integrating EJB 3.0 into Web Dynpro ... '

    Hi All,
    I am trying to complete the “Integrating EJB 3.0 into Web Dynpro Using the EJB Model Importer” tutorial that goes with SAP NetWeaver Composition Environment 7.1 SP3 Developer Studio.
    Does anyone ever completed this tutorial because I have problems completing it. The result is very important for me because I need to use this technology for my essay.
    In this tutorial you create a button that calls the method StudsBean.getStudent(String). In this method the object student is created and it will be returned. In several labels the information of the returned student should be displayed. But that doesn’t happen, when I push the button no error occurs but the labels are still empty. When I try to debug the Enterprise Bean and Web Dynpro application I see that the method StudsBean.getStudent(String) is called and the property’s are set and the student object is returned, but still it isn’t displayed.
    After discussing this with a colleague I tried to search for a solution on the SDN and of course Google. First I thought I would be a bug but I only found 2 people with the same problem. I found it remarkable because it’s one of the key subjects of Java EE 5 and it’s a tutorial displayed in the welcome page of the Developer Studio.
    So do you people think it’s a bug in WebDynpro? Because I am sure that I followed all the steps mentioned (a colleague checked it even).
    Regards,
    Sander

    Hi Vesselin,
    Thank you for the quick replay, this is the code I'm using:
    public void onActionGetStudent(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGetStudent(ServerEvent)
              try {
                  // executes the corresponding method on the session facade
                  wdContext.currentRequest_StudsLocal_getStudentElement().
                  modelObject().execute();
                  // forces Web Dynpro to re-create the Request model object
                  // in order to clear the InputField
                 wdContext.nodeRequest_StudsLocal_getStudent().invalidate();
                  // updates the UI elements bound to the Response node
                  wdContext.nodeResponse().invalidate();
                  //Code for trying something out
                  //wdContext.nodeReturn().invalidate();
                  //wdContext.nodeAddress().invalidate();
               } catch (Exception e) {
                  throw new RuntimeException(e);
    Have you tried this example yourself, or is replay based on experience?
    Kind Regards,
    Sander

  • Couldn't complete tutorial 'Integrating EJB 3.0 into Web Dynpro ...'

    Hi All,
    I am trying to complete the “Integrating EJB 3.0 into Web Dynpro Using the EJB Model Importer” tutorial that goes with SAP NetWeaver Composition Environment 7.1 SP3 Developer Studio.
    Does anyone ever completed this tutorial because I have problems completing it. The result is very important for me because I need to use this technology for my essay.
    In this tutorial you create a button that calls the method StudsBean.getStudent(String). In this method the object student is created and it will be returned. In several labels the information of the returned student should be displayed. But that doesn’t happen, when I push the button no error occurs but the labels are still empty. When I try to debug the Enterprise Bean and Web Dynpro application I see that the method StudsBean.getStudent(String) is called and the property’s are set and the student object is returned, but still it isn’t displayed.
    After discussing this with a colleague I tried to search for a solution on the SDN and of course Google. First I thought I would be a bug but I only found 2 people with the same problem. I found it remarkable because it’s one of the key subjects of Java EE 5 and it’s a tutorial displayed in the welcome page of the Developer Studio.
    So do you people think it’s a bug in WebDynpro? Because I am sure that I followed all the steps mentioned (a colleague checked it even).
    Regards,
    Sander

    Hi Sander,
    I guess, it's not a bug in Web Dynpro, maybe it's a bug in the tutorial
    I tried something similar, but not following the tutorial and it works. I wasn't able to call the model from the view controller and I guess that's the problem. Take the code from the init-method of the view controller and put it to the component controller's init -method and the code inside the onActionGetStudent and put it into a method you create in the component controller, too. From onActionGetStudent just call this method in the component controller with some code like this:
    wdThis.wdGet<your component controller's name>.<your method's name>;
    Hope this helps
    Kind regards
    Stefanie

  • Debug a Web Dynpro Java Application.

    Hi All,
    I am trying to debug a Web Dynpro for java application, however I am getting this error whenever i try to do
    Failed to connect to remote VM. connection refused.
    I tried the following options that were suggested in few Threads
    1) I have the J2EE server running in Debug mode,
    2) I also ensured that there is no one else using the NWDS in debug mode
    3) I restarted the NWDS and the portal server several time.
    Are there any other suggestions apart from the ones mentioned above?
    the following thread talks about locking of port [link|NWDS: Debug: Failed to connect to remote VM. Connection refused.;. I doubt if that could be the issue.
    Can someone suggest how to identify the port is locked and how to unlock it?
    Thanks
    Bharath mohan B

    Hi Bharath,
    1) Check if you are following the procedure as mentioned at the following link:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5
    2) Please do check whether the Server Instance Debug Mode is "ON"
    You can check it from NWDS >J2EE Engine View>Server Instance>server0
    If its not then you need to change it and any Basis Team can help you.
    3) If it is running in the debug mode then please ensure that there is no one else debugging on the same server node. Generally there is only one instance configured for debugging. If someone is using the same server node instance for debugging then you might have to ask for closing that debug session to continue with your debugging.
    4) Check whether you are using the correct server for debugging. Most of the we make mistake while configuring the debug server
    5) Check this discussion:
    NWDS: Debug: Failed to connect to remote VM. Connection refused.
    Regards.
    Rajat

  • Import web service from service registry into web dynpro

    HI, when i import web service into web dynpro model, it asks me to create service group or if i choose no service group configure, it ask me the destionation for metadata and excution. i import service from service registry. what does the service configuration mean? and if i choose no service group, where should i configure the destination?thanks

    Hi Lei,
    The metadata and execution destinations are relevant for runtime. On runtime you web dynpro application will access the web services you imported via these two destinations.
    You can configure the metadata and execution destinations in the following location:
    login on the CE system Netweaver Administrator: http://hostname:portnumber/nwa
    On NWA navigate to SOA Management --> Technical Configuration --> Destination Template Management.
    In this section of NWA you can define the Metadata and Execution destinations for your web services.
    Please check the following blog for more information:
    How to Consume an Enterprise Service from the ES Workplace in Web Dynpro in the new SAP NetWeaver Composition Environment 7.1
    Regards,
    Yasar

  • How to call a method of a zclass into web dynpro application

    How to call a method of a zclass into web dynpro application

    Hi,
    if the method is of type static then u can access it directly as below.
    call method class_name=>method_name
    If the method is instance method then U need to create the object of that class. then through this object u can access the method.
    CALL METHOD Obj_name->method_name

  • How to inject external configuration into web dynpro application

    Hi colleagues,
    I've a web dynpro application, which has some hard coded hostnames in the source code.
    All hard coded hostnames should be moved to some else place, either engine parameters or external configuration file.
    Searching over the project, hard coded hostnames were found in following file types:
    - wdmodel files
    - properties files
    - java files
    How to inject external configured hostnames into web dynpro applications, especially wdmodel and property files? Are threre best practices?
    Thanks for any hint!
    Best regards
    Daniel

    property file is supposed to do that job, you can configure the value at nwa after the application is deployed.
    Configuring a Web Dynpro Application (Java) - IT Scenarios at a Glance - SAP Library

  • Debugging a Web Dynpro Application (e-recruitment)

    Hi Experts,
    I have an error in SLG1 coming from web dynpro application ERC_A_DEL_EXT_CAND
    I am not sure how to debug this issue.  Where do I put the breakpoint to get the debugger to launch?
    Thanks in advance.
    Shane

    Hi,
    Here is the error:
    The error occurred in program CL_HRRCF_SEARCH_MASK_GROUP====CM003 line 19
    Customizing table T77RCF_SMG_ASM contains no corresponding entry for GROUP_ID=0021
    The error occurred in program CL_HRRCF_SM_CUST_TABS=========CM006 line 20
    The issue is, I have no entries in table T77RCF_SMG_ASM for GROUP_ID=21
    Any thoughts?
    Shane

  • Debugging a web dynpro application

    Hi,
    I need to debug a abap web dynpro application from the internet browser.  I only have the application URL and i don't know the component name and application name. So i can't put a break point in the methods.
    I there a way by which we can call a debugger dynamically from the browser without knowing the WD component.
    Thanks & Regards,
    Ravi Aswani

    Hi Pooja,
    First of all, I am not sure about the more fieldinfo authority thing, I'm only guessing
    I think you got your answer to your original post answered from Patrick and my earlier post (about what application is used in URL etc)
    About the More Field-Info:
    I checked the said scenarios again:
    User with only my Basis ESS Roles: No Field Info available.
    User with SAP_ALL: Field Info Available
    User with my Basis ESS Roles and Content-Admin and System-Admin: No field Info available
    It seems to be dependant on some authority from R3, and since you say it works for you if the user has sysadmin and content-admin roles, I would take a look at the identity management in portal for your sysadmin and content admin portal roles. Take a look at the assigned R3-Roles and look within these which authorities are given. Maybe this will unveil something. I cannot check this in my system since our portal identity management works differently.
    Alternatively, maybe somebody with deeper knowledge pops up and delights you with the sample solution )
    Cheers, Lukas

  • Problems using remote debugging for Web Dynpro applications

    Hello All,
      Have anyone ever encounter the above mentioned problem ? I am not able to step through my codes nor break @ my breakpoints using the debugging features despite many attempts following the tutorial on "Debuggng Web Dynpro applications". The problem always occur when I click on the Run -> Debug -> "Click on Debug". The debug perspective will show the threads running but my application window dows not appear. Should attempts  be made to "Terminate All" threads and relaunch my apllication again, I will get an error message   saying "Deployment of archive file already running : XXX.ear" Then I will need to wait some 15 mnutes or so before I can try again. Any suggestions ? Thank you.
    The status of my J2EE engine is as stated in the tutorial:
    1) State = "Debugging"
    2) Debug Mode = "On"
    3) Restricted Load Balancing = "Yes"
    4) Productive Use = "No"
      I have posted similar queries under "JDI" and "Web AS General" but did not receive and sugestions.
    from
    Kwok Wei

    Hi
    You should Create and Deploy if you want to reflect the code changes that you just did. However if you just want debug to an existing code then you need not Create and Deploy.
    This can also be done as a two step process where you first deploy from NDS and launch Debug without create and deploy.
    Is the issue that after you launch debug that it does not launch the application window.
    Regards
    Pran

  • Importing EJBs into web dynpros

    I have created EJBS and I would like to use these EJBs in
    web dynpros. How do I do it.
    I think I can create a jar file for the EJBS and reference them in my Web Dynpro project but I think that is not the right way to do it.
    Thanks,
    PKK.

    Hi Simon + Praveen,
      I will try to walk you through how to do it but I think you may need a bit of experience with EJB's, Web Dynpro and NWDS to understand it right away. <i>The following assumes you have created a session and entity bean.</i>
    First you need to make sure your table is deployed in the database that you created(dictionary perspective).
      Second deploy your EJB (.ear file) to the J2EE engine (J2EE development perspective)
      Third switch to Web Dynpro perspective and goto your project properties (right click on the project and click properties)
       Now goto Java Build Path - libraries - add external jars and add the EJB-Jar file. then choose the tab called "order and export" and move the jar file to the top.
    <b>THIS IS A LITTLE TRICKY</b>. Next you need to add the sharing reference. In the same properties wizard where you add the java build path select Web Dynpro References and then select the Sharing references tab. Click on Add and enter the vendor name and name of the ear file like this <vendor name>/<name of the ear file>, This is how your web dynpro knows where the ear file is on the j2ee engine. <b>IF YOU ARE NOT SURE WHAT IT IS</b> you need to access the J2EE visual administrator. and goto SERVER 0/Services/Deploy then select the "runtime" tab then look under <i>Server 0/EJBContainer</i> save all your meta data. your WD application now accesses your EJB logic.
    Good luck!!
    -wael
    *plz dont forget the rewards?

  • How to intrigrate ALV report into Web Dynpro

    Hi Experts,
    I Done one ALV Report and the same thing should be developed on web dynpro also...so, i want to intigrate the alv in web dynpro is this possible..if so, pl. let me know..asap. Thanks & Rewards,
    Satish

    Hi
    ALV in Web Dynpro ABAP is different from Dynpro ALV.
    In WebDynpro ABAP ALV is SAP's standard component SALV_WD_TABLE
    You have to use this component inside your component.
    the following tutorial will help you
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/60ea94e5-0901-0010-c3bb-aad5ea9620d8 [original link is broken]
    Abhi

  • How to import an image icon into Web Dynpro for Java project

    Dear Experts,
    I would like to have a "select all" button which has an image of a standard "Select ALL" icon in SAP R/3. Where do I store the icon in my Web Dynpro for Java Project? 
    Any help would be very appreciated.
    regards,
    Shoira

    Hi Shoira!<br>
    <br>
    You have to use the following path:<br>
    <your workspace>\LocalDevelopment\DCs\demo.sap.com\<your UI component>\_comp\src\mimes\Components\<your component><br>
    <br>
    Best regards,<br>
    <br>
    Christoph

  • How to debug during Web Dynpro Test...from SAP Pop-Up Window?

    How can I go into SAP logic in test mode when my WebDynpro is being displayed with an SAP Pop-up? I want to jump into SAP debug from there into SAP code....Thank-You.

    In the Popup application that opens in the web, right click on any UI element in the window.
    The right clicked context window displays an option "More help field"
    Click on that.
    Here you are given the Technical Information for UI Element.
    Here you would be given the webdynpro Component name and the webdynpro view name
    Now logon to the SAP system, click on SE80
    Select the menu tab repository browser
    In the drop down select the WebDynpro Comp/Intf
    Input the webdynpro name here
    Look for the view that was displayed in the technical component under this component
    Click on the view and navigate to the Methods tab.
    Double click on the WDDOINIT method and place a breakpoint here. This is the first point thats hit after the event handler of the inbound plug is executed.

  • Transaction CKECP into Web Dynpro component

    Hi,
    I have created a dynpro component, and via the 'Code Wizard' have imported the different screens under the SAPLCK_ECP_GUI program. The GUI is all setup, but I have a problem in implementing the function modules that are behind each of the three select buttons. I actually thought that Dynpro would import this, because it imports calendar and F4 search functions etc in other fields.. Via debugging in the 'CKECP' transactions I have documented some function modules etc. I have tried calling some of these functions in an action that I have mapped to the correct pushbutton, but I cannot get it to work. It results in rabax_state error messages, and "cannot find functkonmodule" etc....
    Does anyone have any tips in general about creating dynpro components from existing R/3 programs?
    Thanks!
    Best Regards
    Arne Jakob
    Edited by: Arne Jakob Hidle on Apr 1, 2008 11:12 AM

    There is a exercise # 24 in BC400 document. Please follow it. This exercise helps to call your own function module.  If you have more question, please reply to this mail.

Maybe you are looking for

  • Re-Installing Windows 7 Using Recovery Media (DVD's)

    Notebook: HP-430 Notebook OS: Windows 7 (64-bit) HDD: 298 GB When i newly bought my HP-430 notebook, I re-partitioned HDD using some other third party software.I created one additional partition (M:\). Here is the info, of how i had repartitioned....

  • Order of the Merged Prompts with Multiple Queries

    Hi, I have a WEBI XI 3.0 document that contains multiple queries. One of the queries in the document has the following prompts in this order: "Date:" "Time:" "Time zone:" "Address:" Another query in the document has the following prompts in this orde

  • Getting error as :  log4j : WARN No appenders could be found for logger

    Hi all, I am using IBM - Rational Application Developer (RAD) for the development of my project service task. I am trying to use log4j to log various events like errors and warnings and so on .... But I am getting following errors in console window o

  • Input File browse button missing

    The browse button is missing for the input file component where MaximumFiles is set to a value > 1. All that is displayed is the box for the list of files and a blank white space where the input field and browse button should be. Any thoughts? JDevel

  • OLE - Translate from VB to Abap

    Hi All, I'm writing a program in OLE that creates a Word document with a table inside. I want to change the rows width. I run a macro in Word and I got this VB code : Selection.Tables(1).Rows(3).SetHeight RowHeight:=33.85, HeightRule:= _ wdRowHeightA