Web dynpro break point

hallow
i declare in COMPONENTCONTROLLER a new metod and i dont now how to set
a break point to now if metod get value
how i do that?
regards

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
Debugging ABAP Code from Within the Developer Studio
Let us assume you have a Web Dynpro application that calls function modules using Adaptive RFC, and you want to debug the corresponding ABAP code from within the Developer Studio.
You can do this quite simply, provided that the SAP GUI is installed on your local machine and the ABAP system is connected to via a dedicated server (no load balancing). You then only have to activate the relevant setting for external debugging in the ABAP Workbench and set the breakpoint in the ABAP code before starting the Web Dynpro application on the J2EE Engine. 
Prerequisites
You have debugging authorization in the ABAP Workbench in the relevant system.
Since debugging in the ABAP system via load balancing is not supported, you must reconfigure your JCO destinations so that the calls take place on a dedicated ABAP application server. For Web Dynpro, this is done in the Web Dynpro Content Administrator. In the destination maintenance, specify Single Server Connection as the Destination Type.
Step-by-Step Procedure
Use the SAP GUI to log on to the system or server to which the RFC call is to take place.
You should log on with the same user with which the call will take place.
Due to the large amount of parallel calls, using a collective user is not recommended.
You should try to execute the application with a dedicated user throughout the duration of the debugging session.
Activate external debugging in the ABAP Workbench.
To do this, call the ABAP Workbench using one of the transactions SE37, SE38, or SE80.
Choose Utilities à Settings and then the ABAP Editor tab followed by Debugging.
Enter the user for which the debugging session is to take place. Select the Active checkbox and deactivate IP-Matching.
Save your settings.
Set an HTTP (external) breakpoint in the ABAP code.
Display the source code of the relevant function module.
Position the cursor at the place in the source code where execution is to be stopped.
Choose the external breakpoint icon  from the toolbar. 
The relevant line is highlighted.
Note that the validity period for the external breakpoint is limited to 2 hours. If you require more time to debug, you must set the breakpoint again.
Start the J2EE Engine and – if you have not already done so – deploy your application.
Start your test application on the J2EE Engine.
The following example of a Web Dynpro application is used to display flight data from the SAP system in a table.
The J2EE Engine establishes a connection to the SAP GUI and starts the ABAP Debugger in a new GUI session. The Debugger is stopped at the line in the ABAP code at which the breakpoint is set.

Similar Messages

  • Does Web Dynpro support adding Enhancement Points/Sections

    Hi,
    Can someone answer whether the ABAP Web Dynpro framework is supposed to support add enhancement points/sections to code within a component method?
    Cheers
    Michael Arter

    hi,
    check out this link :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/c21ba177be3376e10000000a421937/frameset.htm
    also check out the foll post:
    Pre-Exits and Post-Exits for WDA
    hope this will surely help you!!!
    Thanks & regards,
    Punit Raval.
    Edited by: punit raval on Jul 9, 2009 10:53 AM

  • Break Point is not working on Web UI

    Hi guys,
    i have a problem with Break Points in combination with the Web UI:
    After setting a Break Point in a Function Modul or Method and starting and working with the Web UI the Break Point will not reached. So the Debugger does not open. When i activate the Debugging with the Transaction Code SICF the Break Point is working normaly and the Debugger opens. But ater 30 min the Break Point will not work again. After activating the Debugger over SICF again very thing is ok. Thus i have to activate the Debugger with SICF 10 times per day.
    Could somebody tell me how to fix this Problem? I would like to activate Debugging permanently.
    Thank you very much. And i am sorry for my bad english ^^ I hope you understand my problem. Don't hesitate to ask for a better understanding. If you like to do it, don't hesitate to correct my gramma and spelling xD, because i need better english skills.

    Hi,
    Try this..
    Activate breakpoints for http debugging..go inside component workbench trxn for any bsp component.. And select activate from the menu option debugging.. This will activate http breakpoints and it will stop in get/setter etc.
    i believe this is required to do only once when you login to the system..
    Hope this helps..
    Cheers,
    Sumit Mittal

  • :-)Vote for Web Dynpro : take 2 points

    Hello all,
    I saw two excellent Web dynpro proposals for the Tech ED, which would be useful for all web dynpro/ESS/Portal community.
    They are titled as
    "Custom development of web dynpro ESS applications using Floor Plan Manager (Las Vegas)
    Dynamic generation of Portal navigation and Self-Service Homepages (Las Vegas)".
    Vote for "Harald Reiter" to give him the opportunity to present at the Las vegas, Tech ED 2006.
    p.s: just reply with some message so that this thread will be alive and will stay on top.
    Thanks & Regards,
    Raj.
    Message was edited by: Raj
    Message was edited by: Raj

    Harald's session can be found here
    SDN Day session in Las Vegas: Custom development of Web Dynpro ESS applications using Floor Plan Manager
    The link to the example in the blog is broken, however, it can be downloaded here
    SAML Response from SAP ID Service

  • Problem with breakpoints in Web Dynpro components

    Hello experts,
    I have problems with breakpoints in methods of Web Dynpro components. Sometimes everything works as expected and a new window with the debugger comes up. Sometimes the breakpoints are ignored, and debugging is impossible. It even happens that a colleague can debug and I can't or vice versa.
    I am setting breakpoints with button "Set/Delete External Breakpoint", and the message always is "Breakpoint is set for user xxx". But sometimes when I display a method there is a warning that external debugging is not active. What does that mean and what is the reason for that?
    As adviced in the SAP help document "Debugging Web Dynpro ABAP Applications" I have enabled the new Front-End Editor and the new debugger, but still the problem exists. Does anybody experience similar problems or have an explanation for this?
    A second question concerns the different types of break points. My Web Dynpro component has an assistance class, and if I want to set a breakpoint there, I can choose between a session breakpoint and an external breakpoint. What exactly is the difference between these types? And here in the forum I sometimes read about internal breakpoints. Is this even a third type, or the same as session breakpoints?
    Thanks, Karsten

    Hi Kartsen.
    External Breakpoint -> can be started from outside the SAP GUI (e.g. WebDynpro)
    Session breakpoints are used if you start a programm or something like that in SAP GUI.
    I have the same problem ... sometimes he does not recocnize a new break point ... so I just reload the page and the break point works.
    If external debugging is not active, you habve to activate it in SE80 Utilities->External Breakpoints.
    Also make sure that in your Settings the correct debugging user is set:
    Utilities->Abap_Editor->Debugging.
    Cheers,
    Sascha

  • 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

  • Short dumps in Web Dynpro

    Hi Experts,
    Problem is:
    We created an interactive form with web dynpro abap for one of our client and integrated it into portal sytem. We tested in our development system and it was working fine.
    After go live we started getting following short dumps in the production system which we never got in our development system.
    For some of the users it is working fine. Where as for some users following short dumps are coming. Is it some thing to do with adobe version the user has or any basis settings? Please suggest me.
    Some users getting this error:
    u201C$$$/com/adobe/document/xmlform/msg.XFA=Invalid version: The current version of the XFA template model exceeds the capability of Acrobat / Adobe Reader 7.0.5.u201D
    1. ASSERTION_FAILED exception in method IF_WDR_UPDATE_SERVER_PEER_DATA~CLOSE_WINDOW of class CL_WDR_CLIENT_APPLICATION.
    Error Analysis: The following checkpoint group was used: "No checkpoint group specified"
    If in the ASSERT statement the addition FIELDS was used, you can find
    the content of the first 8 specified fields in the following overview:
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    " (not used) "
    2. CX_WDR_RT_EXCEPTION exception in method ADD_VIEW_CONTROLLER of class CL_WDR_COMPONENT.
    Error Analaysis:
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WDR_RT_EXCEPTION', was not caught
    and
    therefore caused a runtime error.
    The reason for the exception is:
    Instance of the view WND_EXTENDED_OPTIONS already exists in component
    3. OBJECTS_OBJREF_NOT_ASSIGNED exception in method IF_WDR_ADAPTER_EVENT_HANDLER~HANDLE_EVENT of CL_WDR_CONTEXT_MENU_HANDLER class
    Error Analysis:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: " ").
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    Error in the ABAP Application Program
    The current ABAP program "CL_WDR_CONTEXT_MENU_HANDLER===CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    Please let me know what can be the issue and how to fix this at the earliest.
    Thanks a lot in advance,
    Regards,
    Phani.

    Hi Shankar,
    The NULL object ref error occurs when you try to use an object reference that has not been created.
    For example : if you want to bind data to a node and write code some like this
    lo_nd_table->bind_table( lt_table ).
    if there is no instance of lo_nd_table availabe at this time the program will dump. to avoid this you can code some like this
    if not lo_nd_table is initial.
      lo_nd_table->bind_table( lt_table ).
    endif.
    just check ue code to see if any access is made to an obj ref which is not yet created. put a break point in ur code and debug to see where exactly it fails.
    Thanks,
    Abhishek

  • Reg : adobe in web dynpro

    hi ,
    I am working on Adobe Online Interactive Form using webdynpro for ABAP.
    Steps followed for development:
    In WD I have created a service call and added the bapi   to create  sale order.
    Mapped the context from component controller to view controller.
    From the view layout, I have configured the UI element properties.(data source, pdf source, onsubmit,templatesource etc.)
    Inside the interactive form (ZCI type), I have binded all my UI element with the context elements that is displyed in data view.
    and then
    went to the layout of adobe form, in the menu Utilities->Insert web dynpro script.
    i have a button in my view.
    I put a break-point on the action handler method.
    when i enter the data on adobe form and click the button on vuew...it is not going into debigging mode.
    it is saying WAIT...and thats it,
    can any one help plz.
    regards
    Arjun

    Hi,
    Check out these links-
    https://www.sdn.sap.com/irj/sdn/adobe
    https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3
    Regards
    Lekha

  • Break Point in Webdynpro JAVA and SAP

    Good Morning.
    I am creating a development for web dynpro Java using Function Module RFC in ABAP.
    I want know how can put a break point in the system SAP ERP (Backend) and run an application in web dynpro java?
    I did this steps:
    1.) SE37--->name RFC
    2) button Display
    3) Set/Delete external Break point.
    4) In the SAP Netweaver Developer Studio >Name of project>Webdynpro>Applications>Name Appplication-->deploy new archive and run.
    But this not stop.
    The question is :
    How can do this?
    Kind Regards

    Hi,
    Refer this article: [Debugging ABAP Code from within Web Dynpro Application|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30&overridelayout=true].
    I hope it helps.
    Regards
    Arjun

  • Web Dynpro Navigation to previous screen

    Hello all,
    We have a requirement of displaying a Adobe form using Web-Dynpro for ABAP. This is perfectly fine and is done. Now it is like we have 2 Views in a Web-Dynpro
    1. Main
    2. Adobe Form display
    On the 1st Page user is asked to enter certain details and then he can navigate from 1st page to the display of Adobe form. Form is also being displayed on the 2nd View. All this is absolutely fine and working.
    Issue: We want to navigate back to the Main View from the Adobe form view. I have done all the required settings of plug and the navigation link from 2nd to 1st view. However, its not working at all..
    I have also tried putting a break point on the button event but some how the event itself is not getting triggered. I am not able to figure out the problem as otherwise navigation is working fine with the normal web-dynpro screens.
    Please help.
    Regards,
    Kunjal

    Hi Arjun,
    Thanks for the reply...
    No the control is not passed to the ONACTIONBACK event as well...
    This is what is creating confusion in my mind about some settings missing for the Navigation.
    However, I have done following settings in the web-dynpro:
    1. Define out-plug in the 2nd view.
    2. Define in-plug in 1st view.
    3. create navigation link in the window between 2nd view and 1st view.
    4. In the Action on the button define the call to the out-plug... (in 2nd View).
    Yes, it is Framework Controlled....
    Please let me know if something is missing for the navigation to work.
    Regards,
    Kunjal

  • Problem setting External break point..

    Hi All,
          I am using EP6 SP14 and R/3 4.6C.  Java Webdynpro aRFCs to connect to R/3 BAPIs. I am having problems setting up external break points. I don't see Debug option in "Utilities -> Settings -> ABAP Editor". Do we have this option in R/3 4.6C? If yes how to enable the option? If no, what is the work around to debug the BAPI through Portal.
       Helpful answers will be rewarded.
    Regards,
    Uday.

    Hi,
    Pl go through this
    Debugging ABAP Code from within Web Dynpro Application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
    It explains step by step process
    Regards
    Ayyapparaj

  • Browser Hangs iFbA in Web Dynpro Abap

    Hi Support,
    I'm developing an Abap Web Dynpro with Adobe Interactive Form inside.
    I have setting these parameters: InteractiveForm.enabled = true, InteractiveForm.readonly = false.
    Web Dynpro Page open correctly with iFbA but when I click one button in WD Page the event freeze Browser.
    My system is ECC sp06, SAPKB70009 and SAPKA70009, but I can't patch the
    system.
    I implemented these Note:
    1- Note 981638 - Dynamic forms are not supported in Web Dynpro ABAP
    2- Note 1018060 - Adobe: Locale has invalid country/language combination
    3- Note 999997 - Setting usage rights unnecessary with Adobe integration
    Help me

    Hi Enrico,
    As per my understanding, you are able to view the interactiveform in your webdynpro and when you click on the button,  it is getting hanged?
    Have u created an event (onSubmit) in your webdynpro? set a break point in your submit event and see whether the request is reaching up to there or not?
    And also.. set your form layout type as ZCL layout and activate it once.
    Let me know if you still face the problem.
    Regards,
    Ravi.D

  • ABAP web dynpro Debugger

    I want to know how to debugge for AWD.
    I know the normal one, which you set the break point and so on.
    My point to to run Web Dynpro Debugger

    hi Ali ,
    The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
      Selecting the New Debugger
           1.      In the menu, choose Utilities -> Settings.
           2.      A dialog box now appears that contains two nested tab page areas. Choose the u201Cparentu201D tab page ABAP Editor.
           3.      The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
           4.      Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
           5.      Save your changes and close the dialog.
    reference :
    Debugging Web Dynpro ABAP Applications
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/95a6c84f7c60b7e10000000a11466f/content.htm
    pls refer the useful article :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30;jsessionid=(J2EE3414700)ID1604793850DB11193400944542901527End
    as well
    regards,
    amit

  • What is External Break points?

    Hello,
    What are external Break points...?
    My issue : I need to check a condition in the Source code...
    What do I need to do to get control at that condition directly to check whether the data is passing in those tables or not?
    Any suggestions would be appreciated...
    Regards,
    Krishna Chaitanya

    Hi,
    Breakpoints
    Setting and editing breakpoints, too, in the new Debugger is almost identical to the classic Debugger. However, several breakpoints can be set simultaneously in the new Debugger if you choose the path Breakpoint ® Create Breakpoint. Afterwards, the system displays a window in which the following options are available.
    Here it is obvious that, in contrast to the classic Debugger, all the input fields u2013 with the exception of those in the ABAP command tab u2013 have a search help function (function key F4). For example, under the Method tab you enter a certain class. Then, in the search help, all the methods that belong to this class are proposed.
    There are also certain differences when setting and deleting breakpoints. A double-click within a source code line creates a breakpoint in this line in both Debugger types, provided the cursor was not positioned on an ABAP keyword. A second double-click in the same line deletes this breakpoint in the classic Debugger, while it is only deactivated in the new Debugger.
    Breakpoint Types
    When you set a breakpoint in the Debugger, it is created as a debugger breakpoint by default. A debugger breakpoint is only valid while the Debugger instance, in which it was set, is active. When the Debugger is closed, all debugger breakpoints set in it are deleted.
    If you set a breakpoint in the ABAP Editor, for example, this breakpoint is a session breakpoint. Session breakpoints remain active independently of the existence of a Debugger and are valid for all external sessions of a logon. Within the Debugger, you can convert a debugger breakpoint into a session breakpoint and vice versa.
    If the setting Session Breakpoints Active Immediately is checked (via Utilities ® Settings ® ABAP Editor ® Debugging in the ABAP Editor or Object Navigator), you can set a session breakpoint in an external session of a logon to force a running program into the Debugger that runs in the same logon (for example, in an external session) and will process the point at which the session breakpoint was set.
    User breakpoints (previously known as external breakpoints) are valid for all user logons on the current server of the current system. User breakpoints are specifically required when debugging BSP or Web Dynpro applications. In these cases, you do not log on using the SAP GUI but via a browser, for example. Therefore, any breakpoints must be set before logging on.
    User breakpoints are only valid for a period of 2 hours.
    As of Release 7.00, user breakpoints set for BSP or Web Dynpro applications are also valid for SAP GUI logons.
    Within the Debugger, you can convert debugger or session breakpoints into user breakpoints and vice versa.
    External Debugging
    Use
    You can use debugging in order to carry out detailed troubleshooting. With the debugger, you check a given section of code in the Request Handler or an ABAP function module for errors.
    Basically, there are two different types of debugging:
    ·        With conventional debugging, you can analyze programs that you call up within your own user session on the server, with breakpoints being set at corresponding points in the coding.
    ·        With external debugging, you can analyze programs that are called up by an external user with HTTP. For the purpose of external debugging, special breakpoints (external breakpoints) are set on the target server.
    Two variants are available for conventional debugging: the classical variant and the new (2-processor) variant, which creates a separate session for the debugger. At present, external debugging can only be performed with the classical variant.
    This section deals especially with external debugging, as it is generally makes sense to call up an external user completely (with all sent parameters) in one step when investigating ICF processes.
    Prior to Release 640, the external debugging described below was known as HTTP debugging.
    Prerequisites
    ·        If you use load distribution for your system environment, the server group (logon group) is reduced to one server before debugging commences.
    ·        Ideally, the user who performs the debugging should not be a collective user.
    Activities
    Note that the troubleshooting method described here can affect your system performance. You should therefore only activate it if you really need it. You are advised to monitor the corresponding settings regularly and to deactivate any functions you no longer require.
    In transaction SICF, you can use the external debugger to set external breakpoints and check the debugging of the relevant section of code:
           1.      Select the required service in the service hierarchy.
           2.      Choose Edit ® Debugging ® Activate Debugging.
           3.      Enter the required data (if you have selected the service previously, the system will propose the service path for you). 
    Reward If Helpfull,
    Naresh.

  • Error when break-point is set

    Hi,
    When ever is set a break point,and run the BSP application , it displays an error page saying '500 internal server error'.Can anyone tell me what could be the problem?
    Thanks.

    Hi Eddy,
    The short text shown in St22 is "Templateinterpretation abgebrochen, Template nicht vorhanden."
    Error analysis as shown in St22
    "Sie können testweise den Service Parameter ~generateDynpro = 1 setzen,
    dann wird für diesen Service die HTML-Seite ohne Template generiert und
    Sie können zumindest sehen welches Dynpro vom Web AS gesendet wurde.
    Bitte vergessen Sie nicht, den Parameter wieder zurück zu setzen."

Maybe you are looking for

  • How to make the "place"key active??

    If I want to open an image from a map, the "place" key appears not te be active...how come???

  • ODI Supports ELT technology..How it is best when compared to ETL?

    In any Convensional ETL tool we are able to perform complex logics very easyly by using the componets inside the tool. I have not found any such components or transformations in ODI. But when I am reading the documents it says that ODI supports compl

  • Lagging scrolling for everything in Mac OS X And Apps

    hello. I just got a MBP. Out of the box it seemed slow so i used onyX to clean it up. Everything went great and it speed up alot! Now it seems the scrolling its jagged/ laggy and it quite annoying... I just re-imaged the computer today and same outco

  • Couldnt launch JROCKIT 3.1.2

    Hi, I have trouble launching JROCKIT, It thows following exception while connecting to weblogic prod managed server. At the same time i am able to do JRA recording on Pre-Production servers. JVM parameters in Pre-Production and Production are exactly

  • Help me with keyboard hotkeys

    I have a presario compaq CQ62-238DX notebook My laptop has built in keys for my f1,f2,f3,f4,f5,f6,f7,f8,f9,10,f11,f12. They all do random stuff that help new users. I want them gone and theres no simple setting where i can turn them off. I have to pr