Mismatch in linenumbers of ABAP editor and debugger

Hi all,
although the ABAP program is shown as active in our editor, we sometimes have a mismatch in line numbers between ABAP editor and debugger.
E.g.: FORM ITEM_PRINT in report RVADOR01 starts at linenumber 1403 in our ABAP editor. Debugger shows line number 1410 as startline.
When I try to set a breakpoint in editor at line 1403, the breakpoint is displayed in line 1410 of the editor.
I cannot navigate forward to FORM ITEM_PRINT and when I select FORM ITEM_PRINT in the objects tree in SE80, cursor jumps to line 118 of source code.
We use new editor and debugger and have installed SAP ECC 6.0 EHP3.
Any      suggestions?
Regards,
Hubert
Edited by: Hubert Heitzer on Jul 30, 2009 7:36 AM
Edited by: Hubert Heitzer on Jul 30, 2009 7:41 AM

Hi Lakshman,
thx a lot  for your help, nearly all my Problems are solved.
Generating a new navigation index cleared problems with forward navigation and objects tree in SE80.
I applied OSS Note 1279209.
SAP Note 986915 is for SAP_BASIS 640, we are at 700, so I didnt apply it.
Mismatch in line numbers between ABAP editor and debugger in some source codes still remains.
I take report RVADOR01 again as example - like in my startpost:
In my editor FORM ITEM_PRINT starts in line 1403 of RVADOR01
When I set a breakpoint in this form, eg.
CALL FUNCTION 'WRITE_FORM'           "First header
and my debugger stops at this BP, I see that FORM ITEM_PRINT starts at line 1389 (now!!! unlike before at my startpost, which was 1410).
Regards,
Hubert

Similar Messages

  • Problem to use new abap editor and new abap debug.

    HI experts.
    currently using 640(patch 19) and GUI 640(patch 23).
    but when I activate new abap editor in se80 server dumps error
    ' Runtime Errors         MESSAGE_TYPE_X
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).'
    and new debug does not activating even though I switch to new debug.
    it works well both new editor and debug if I turn on new options when  I connect ECC6.0 with same GUI
    guess 640 server has not propery installed new editor and debug or something has to be checked.
    can anyone help me to activating these new functions?
    thank you.
    Lee

    There is a separate forum for the SAP GUI, please post your question over there and close this thread here.
    Thx

  • New ABAP editor - opinions

    I am interested to know other people's opinions on the new ABAP Editor and Debugger. I just started to use the new editor and I am kind of dissapointed:
    - the code completion feature is a far cry from the Java editor. It shows only one element in the code completion list based on a strange rule (I think it is first in the alphabetical order, and then based on the previously selected item)
    - it does not provide code completion for types
    - the code completion dissapears after a short period of time (why isn't the code completion triggered on a CTRL-key ?!)

    It appears that you are focusing on the code completion as the source of your disappointment. Let me brighten your day a bit by saying that the real code completion has not yet been shipped.  In a future release of Netweaver, there will be full code completion very similar to what you have in the java area, where you will type a class name and get a list of methods to choose from.  This functionality is not there in NetWeaver 7.0, but if you pay close attention when working in the editor you will see small pieces that will evolve into the full blown code completion.  For example, in your editor type.....
    at selection-screen o
    After you typed the "o", there should have been a dropdown box with a bunch of suggestions to complete the statement.  (This may not work depending on the gui, but it does in my system,  NetWeaver 7.0 SP10, using Gui 7.10 Patch 1.
    So again, you are right, the code completion is not really up to par, and never really claimed to be, but just wait, the real code completion is coming.
    Regards,
    Rich Heilman

  • Your thoughts on the new ABAP editor

    I am interested to know other people's opinions on the new ABAP Editor and Debugger. I just started to use the new editor and I am kind of dissapointed:
    - the code completion feature is a far cry from the Java editor. It shows only one element in the code completion list based on a strange rule (I think it is first in the alphabetical order, and then based on the previously selected item)
    - it does not provide code completion for types
    - the code completion stays on for a short period of time, after that it dissapears. Is there a key combination that can launch the code completion on demand?

    Hello Tiberiu,
    With the new Editor, you can launch the code completion with the combination "Ctrl + Space".
    Regards,
    Walter

  • Sneak preview Was 6.20 and New Abap Editor

    Hi to all,
    i've just installed the MiniWas 6.20 on my home pc.
    It works great (wowowow!!!) but ... i'd like to work with new Abap/4 editor (included in the NetWeaver Sneak preview 2004 's' Abap).
    Is it possibile install editor (and use) on the miniwas 6.20 system? Is there a weblog/post that describes how to do that (possible a step-by-step procedure)??
    Thx a lot for your answers/hints/comment (the most usefull, will be surely rewarded).
    Andrea

    Hi Andrea,
    The only reason I could keep the 6.20 version is the memory requirement.
    I installed 6.20 on 256MB, it was slow, but it was running. On 512MB it was quite fast.
    7.00 won't work on 256MB, with 512MB is quite slow, with 1G it's OK.
    Considering the default miniwas SP level, which is around 25 and the new editor would need 59, it would be a huge amount of work.
    I'd suggest to save all of your work in transport requests and release it. Copy the data and cofile files to a save place and uninstall 6.20 and install 2004S/700. You can import all of your work back to release 700.
    This way you would get a much more ABAP tool /6.40: Shared memory, Assertions and dynamic breakpoints, new debugger, Adobe forms, etc 7.00: New ABAP editor, Webdynpro ABAP, Enhancement Switchwork, Regex, etc /.
    Never the less, I'd suggest to apply SPs on 700 as well, so you'd get the Regex demo toy and the New BSP editor and several cool features of the ABAP webdynpro /eg debuuger integration/.
    Cheers,
    Peter

  • Where are the buttons gone File upload and Download in New ABAP Editor

    Where are the buttons gone of File upload and Download in New ABAP Editor in ECC 6.0.
    Or some new utility added for this feature.
    Kindly guide.
    Thanks,
    pradeep

    Go to Utilities>more Utilities>upload/download is there.
    Amresh.

  • Discussion of Weblog:  ABAP Look and Feel Service

    <a href="/people/brian.mckellar/blog/2005/06/12/bsp-in-depth-abap-look-and-feel-service In-Depth: ABAP Look and Feel Service</a>
    <i>The three minutes routine to change any SAP-blue theme to the new theme that is required for you next demo!</i>
    If there should be any questions, comments, etc on this weblog, please post it here, so that it is easier to handle the traffic. We are also interested to see if anyone does actually use the tool.

    Hiya,
    I saw this blog posted a while back and have only now had a chance to use it - very cool work there Brian and Steffan!
    The only thing is I'm having what looks like the same problem as Maximilian!
    We're on 620 sp45.
    Everything installed fine, I tweaked the mime version code for 620 (me->ifur_d2_system~css_version) and the left hand side of the screen, the editor itself, looks and works fine - but the preview screen doesn't work, the BSP is displayed with no theme at all.
    I opened the BSP in a new page with default theme and set the theme manually with paramters and this doesn't work either.
    i.e.
    http://<host>:<port>/sap/bc/bsp/sap/it05/entrypoint.htm?sap-themeRoot=%2fsap%2fpublic%2fbc%2fur%2fdesign2002%2fthemes%2falfs1000202FFE4C43B2D1B7D674EDAA520565656
    But if I try with an SAP standard theme everything works fine and the new theme is picked up correctly
    i.e.
    http://<host>:<port>/sap/bc/bsp/sap/it05/entrypoint.htm?sap-themeRoot=%2fsap%2fpublic%2fbc%2fur%2fdesign2002%2fthemes%2f~sap_standard
    I've checked the URL encoding (using program BSP_DECODE_URL) and with the alfs theme this looks fine.
    In the source code the stylesheets are referenced using the correct themeRoot i.e.
    <link id="urstyle" rel="stylesheet" type="text/css" href="/sap/public/bc/ur/design2002/themes/alfs1000202FFE4C43B2D1B7D674EDAA520565656/ur/ur_ie6.css">
    When I set a break point in the ALFS HTTP handler this is not picked up.
    BUT the one really puzzling thing about all this is that whilst I've been trying to fix this and work out what is going wrong I've made small changes to the ALFS class, i.e. to change the default BSP application used in the editor, and sometimes after generating the class code, refereshing both browser and system caches, everything worked fine - even the debugging of the HTTP handler - for some generated themes - and then stopped working again!
    Now I know how this reads - and I've worked with enough users in my time to know you must be thinking - well she must have changed something! But I really can't work out what it could have been.
    I've been round and round trying to reproduce what ever it was to get this working.
    I've tried all the following in various combinations:
    - restarting ICM
    - removing ALFS HTTP handler from ICF service
    - starting with a completely new copy of the class
    - adding alert statements to the ALFS editor page to track themeRoot values
    - changing the code relating to me->ifur_d2_systemcss_version and me->ifur_d2_systemur_version so that there is a version number (tried 'urversion=DAT<date>' and plain 'DAT<date>'), changed the code so there is no version number used at all.
    - even (don't laugh!) put the ALFS HTTP handler on node SAP/BS/BSP just to make sure the external debugger was still working (it was). At this point I could see each time it was called, and since each call did not have the alfs string in it, all the internal class processing was correctly skipped.
    All of the above in combination with cache refreshing on both server and brower side and logging on/off.... and still feel no closer to resolving this.
    From what I understand, the ALFS HTTP handler is called everytime a MIME or theme object is requested from the theme root - as this is the only time that a request would pass via SAP/PUBLIC/BC/UR. And I understand that if the requested object is already cached, there will be no request passing via this node, so the ALFS HTTP handler won't be called - but think that there must be some important point relating to caching that I must have missed ...
    So that's my first question... help!
    Also, Brian, what you have mentioned before, this patch you have to take a theme, patch it with ALFS then import it into the theme editor - this sounds like exactly what we need to do ... I couldn't see any weblogs relating to this - so could you point me in the right direction??
    We have no portal so I'll be trying the standalong theme editor plug in for Eclipse.
    Thanks in advance,
    Cathy

  • 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

  • I imported a video I make in another program and I played it back in the video editor and I like the pan and zoom that was added by the program how do I save a copy with the effect of Premiere elements 12

    I imported a video I make in movie maker program and I played it back in the premiere video editor and I like the pan and zoom that was added by the program how do I save a copy with the effect of Premiere elements 12
    all I did was played it back how do I save that and make a new version of the video beacause when I save a copy the effect look I was trying to save was not there.
    Rodney
    [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    [If you are posting using email, please turn your 'sig file' function OFF for posting]

    silkman1
    I would be glad for the opportunity to customize a Premiere Elements 12 answer to your Premiere Elements 12 issue.
    But, I want to make sure that we are together on the details. This is my understanding of what you have written. Please review and let me
    know if I am misinterpreting anything that you have written.
    You have a video created in Windows Movie Maker.
    How did you output the video from Windows Movie Maker...wmv or mp4, what was the frame size and frame rate of that export?
    Next you import that video into Premiere Elements 12 (can we assume that this is on Windows 7, 8, or 8.1 64 bit?)
    From what you wrote, you have applied a pan and zoom effect to your video in Premiere Elements.
    Now you go to export the Premiere Elements 12 Timeline content with your video with the pan and zoom applied.
    But, the pan and zoom effect is not seen in playback of the export.
    Is all of the above correct so far?
    If so....we are going to need some more details from you...
    a. What is the project preset that you or the project are setting to match the properties of the video coming from Movie maker? See Edit Menu/Project Settings/General and the readings for Editing Mode, Timebase, Frame Rate, and Pixel Aspect Ratio even if the fields look grayed out.
    b. Are you applying the pan and zoom effect with the Pan and Zoom Tool, fx Effects Presets, or keyframing the Scale (for Zoom) and
    Position (for Pan) in the Motion Panel expanded?
    c. What are you selecting as your export in Publish+Share/. Please give details...are you using default settings or customizing the export
    setting under the Advanced Button/Video Tab and Audio Tab of the preset selected?
    I am suspecting some sort of mismatch of your project settings or some problems with working with the Pan and Zoom tool. I need
    your answers to help me help you. If I have written anything that you do not understand, please let me know. I will re-write if necessary
    so that we are in sync to resolve the issue.
    Thanks.
    ATR

  • Saving bookmarks in the new ABAP editor?

    Hi experts,
    either I'm stupid or something but I don't see how I can save my code boomarks for future usage. I mean the bookmarks which can be created by CTRL + ALT + number and navigation to them by CTRL + number.
    The similar problem I have with saving my break-points set in the new ABAP editor.
    Could you please give me a tip how I can save it  I'm using SAP GUI 710 patch level 4.
    Thanks in advance!
    ZDENEK STASTNY
    ABAP programmer
    We are now in upgrade process 4.6C to SAP ERP 2005

    Hello,
    Use "Tab" instead of "ENTER"

  • Commenting a Line in ABAP Editor when using SAP GUI for java

    Hi,
    In ABAP editor we can highlight the line which are to be comment and use cmd+< sign to comment those lines. What will be the command to be used to achieve the same functionality when using SAP GUI for JAVA on an iMac.

    Hello Kedar,
    please check with SAP GUI for Java 7.20 rev 5 before submitting a bug report.
    Also please verify, that cmd-< and cmd-> are not assigned as "Keyboard Shortcuts" in the "Keyboard" control panel of "System Preferences".
    Bug reports can be submitted with the [SAP Message Wizard|http://service.sap.com/message], for SAP GUI for Java please use component BC-FES-JAV.
    Best regards
    Rolf-Martin

  • Problem in calling abap editor with the program name in Web Dynpro ABAP

    Hi,
    I have to caal ABAP Editor screen with the display of program after clicking a button from web dynpro abap application.
    I am able to call the ABAP Editor initial screen, but i want the editor display screen with a program.
    How to do that?
    Please find my code below:
      DATA : FINAL_URL TYPE STRING,
             URL TYPE STRING.
      DATA: LV_HOST TYPE STRING,
            LV_PORT TYPE STRING.
    DATA V_TCODE TYPE TCODE.
      DATA:  LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
      DATA:  LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
      DATA:  LO_WINDOW         TYPE REF TO IF_WD_WINDOW.
      DATA:  LD_URL TYPE STRING.
    V_TCODE = 'SE38'.
    *Call below method to get host and port
      CL_HTTP_SERVER=>IF_HTTP_SERVER~GET_LOCATION(
         IMPORTING
           HOST = LV_HOST
           PORT = LV_PORT ).
      CONCATENATE 'http'
      '://' LV_HOST ':' LV_PORT '/sap/bc/gui/sap/its/webgui/?sap-client=&transaction=' V_TCODE '&OKCODE=SHOW'
      INTO URL.
      LO_API_COMPONENT  = WD_COMP_CONTROLLER->WD_GET_API( ).
      LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
      LD_URL = URL.
      CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
        EXPORTING
          URL    = LD_URL
        RECEIVING
          WINDOW = LO_WINDOW.
      LO_WINDOW->OPEN( ).
    Now, how to pass my Zprogram name into the URL.
    I need to get the editor screen with the display of the program.
    Thanks,
    Radhika

    Hi Kiran,
    Please find my code below:
    DATA :   URL TYPE STRING.
      DATA: LV_HOST TYPE STRING,
            LV_PORT TYPE STRING.
      DATA:  LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
      DATA:  LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
      DATA:  LO_WINDOW         TYPE REF TO IF_WD_WINDOW.
      DATA:  LD_URL TYPE STRING.
    *Call below method to get host and port
      CL_HTTP_SERVER=>IF_HTTP_SERVER~GET_LOCATION(
         IMPORTING
           HOST = LV_HOST
           PORT = LV_PORT ).
      CONCATENATE 'http'
    '://' LV_HOST ':' LV_PORT '/sap/bc/gui/sap/its/webgui/?&transaction=se38&RS38M-PROGRAMM=Y2PSOLTREE&~okcode=shop'
      INTO URL.
      LO_API_COMPONENT  = WD_COMP_CONTROLLER->WD_GET_API( ).
      LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
      LD_URL = URL.
      CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
        EXPORTING
          URL    = LD_URL
        RECEIVING
          WINDOW = LO_WINDOW.
      LO_WINDOW->OPEN( ).
    Here,, Y2PSOLTREE is the program, that should show in SE38 screen.
    I used the above code, but still it is showing the SE38 initial screen.
    Thanks,
    Radhika

  • Is it possible to call a class method using pattern in ABAP editor.

    Hi,
         Is it possible to call a class method using pattern in ABAP editor.
    Thank U for Ur time.
    Cheers,
    Sam

    Yes,
    Click patterns.
    Then choose Abap objects patterns.
    Click on the Tick
    It will give a new screen
    Here Give the name of the class first.
    Then the object (instance of the calss)
    And finally the method ..
    it will give you the pattern
    Hope this helps.

  • Unable to open any programs in ABAP editor

    Hi folks i'm unable to open any programs in ABAP Editor.
    When ever i try to open any program it goes to short dump.
    Even when i try to open STO4 to view error log.
    it shows following message
    Short text
        Runtime error, short dump could not be written.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program " " had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
        Unfortunately, the system cannot carry out a detailed analysis of the
        error, as the table SNAP (which gathers information at the time of
        termination) does not contain a suitable short dump.
    Information About Termination Point in XSLT Prog.
        Termination occurred in the XSLT program " ".
        The call took place using CALL TRANSFORMATION from the ABAP
        program specified below.
        In the source code, the termination point is in line " "
        of the (Include) program " ".
    Internal notes
        The termination was triggered in function " "
        of the SAP kernel, in line " " of the module " ".
        The internal operation just processed is " ".
        Internal mode was started at " ".

    hi,
    check whether any exit has been implemented for se38 and because of some statements in that it may goto dump.
    also try to open ur program from SE80.if u have access to se80 then u can do it from there itself.
    reward points  if hlpful.

  • How to change the width of ABAP editor...???

    Hi all,
            Can anyone let me know to inc+/dec- the width of coding span of ABAP editor.?
    Thanks & Regards,
    Rajeev

    Hi,
    You can not change the width of ABAP editor, You can only change the compatibility because the older ABAP editor only supports 72 char length, so in your new ABAP editor you can go to utilities->ABAP EDITOR->EDITOR and check the "Downward-Compatible line length(72)" .

Maybe you are looking for

  • Spry Menu not working correctly

    Hopefully this is the right part of the forum to post this question, if not, I apologize. I have created a site in dreamweaver and am using a single Spry Menu Bar. I have read tons of forum postings about Drop down menus not working in IE, however, m

  • Can I download to a memory stick

    Can I down load from my iPod to a thum drive

  • My IPod turning on automatically

    My iPod Turning on automatically during night. Could anybody help? Thanks.

  • Gnome 3 in VM

    I've installed Arch with Gnome 3 in both VMware player and Virtualbox and I can't get the hot corner(or the notifications bar) to work in either of them.    I can get it to work in Virtualbox if I disable mouse integration but the mouse pointer disap

  • I installed version 7.0.01 and lost my Google Toolbar. Can I get it back?

    I loaded the new version of ff, 7.0.01, and lost my Google Toolbar, along with all of my bookmarks. Can I get it back?