How do I edit the file created by code generator?

hi all,
I want to modify a java file that is generated when you create the webdynpro, but I can not change.
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
how can I disable the file to modify
thanks!

Hi Pablo.
There's no way to modify it, NW2004s and its IDE has a code compilation based in some internal scripts based on eclipse plugin architecture.
In your code you must consider this.
1 - Try to find in your declared methods, importing directives, packages declarations  some like this:
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package com.sap.teste;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateTesteApp).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import com.sap.teste.wdp.IPrivateTesteApp;
import com.sap.myimport.MyClass;
//@@end
//@@begin
//@@end
it means that between begin and end...you can add what you want..and the code will not be removed after class compilation....
  //@@begin javadoc:wdDoExit()
  /** Hook method called to clean up controller. */
  //@@end
  public void wdDoExit()
    //@@begin wdDoExit()
    //@@end
int this case too....if you implement something between //@@begin and //@@end in the method scope...all part of your code will be surely safe.

Similar Messages

  • How can I edit the file name of the home page?

    How can I edit the file name of the home page?
    Gr Ammani

    I have a similar issue with regards to the filename...
    When I navigate to my website, it doesnt work unless I actually type the filename at the end of it. Example: type in "www.whitelion.com" (this is my real domain name) and it doesnt work. When I type in "www.whitelion.com/index.html" then it works.
    This is obviously inconvenient because my clients will never know to add the filename to the end of the site.
    Is there any setting or way to get the page to appear by just typing the original domain name without adding the extension?
    Thanks,
    Emelia

  • How do I edit the file where sites which I have typed in on the command line are stored? These are sites which I no onger use.

    At times I type in a site name on the command line which I want to visit. This goes into a file which is accessed by highlighting the triangle on the right side of command line. This file contains previous sites which were accessed in the past. How do I edit this file and and remove previous site URLs?

    Use these steps to remove saved (form) data from a drop down list:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    *https://support.mozilla.com/kb/Clearing+Location+bar+history
    *https://support.mozilla.com/kb/Cannot+clear+Location+bar+history

  • How do i edit the file i just converted

    How do i edit a file i just converted

    Hi christiandavidwood,
    Did you convert a file to or from PDF? If you want to edit a PDF file, you'll need to use Acrobat. If you converted a PDF to Word, and are unable to edit it, please try triple-clicking in the text block that you want to edit.
    If you're still running into trouble, please let us know what type of file you're working with, and what problems you're experiencing.
    Best,
    Sara

  • How do I edit the file cluswmi.mof

    i am trying to edit the file cluswmi.mof under
    c:\windows\system32\wbem but even with an elevated prompt I cannot edit the file
    any idea?
    permission denied

    Hi,
    It seems like you don't have permission to edit this file.
    Could you check the file permission?
    Did the user have administrator permission?
    Regards.
    Vivian Wang

  • How do I edit the file

    I scanned a document in Adobe then converted it to microsoft but it still will not let me type new

    Hi attorney mjsk,
    If you're not able to edit the text in Word, it could be because that scanned PDF was treated as an image in the conversion. By default, ExportPDF performs optical character recognition (OCR) on scanned images to convert image text to editable text. If you're converting from within Reader, however, OCR could have been disabled. When you convert, make sure that you see "Recognize Text in <language>"  in the ExportPDF pane. If not, click Change, and select this option.
    Please let us know how it goes.
    Best,
    Sara

  • How to download/update the file in t-code file?

    Hi, Expert
    Is it any tool to download/upload the file in SAPGUI?
    I know I can use CL_GUI_FRONTEND_SERVICES to access.
    Thanks,
    Barton
    Moderator message: please search for available information/documentation, or ask more specific questions, provide more details about the problem.
    Locked by: Thomas Zloch on Jun 15, 2011 10:48 AM

    What is your exact requirment ?

  • How do I edit the "Content Created" date?

    I've been storing all of my DSLR video in Aperture 3, and would like to import that video (as referenced Events) into Final Cut Pro X.  So far, I've noticed that some of my video is showing a very inaccurate "Content Created" date; is there any way to edit this and set the correct date?

    I'm looking for the same thing.  I would hope that creation date, and EXIF data could be manually edited inside this "Pro" software, but so far I can't figure out how to do it.  I would like to fix a couple dates that for some reason are off.

  • How I can edit the file web.xml in JSC2??

    this is my only quiestion again...

    Use "Files" view of project (if isnt visible, go to menu "View" and select "Files"), then expand web node, then WEB-INF node and here you will found web.xml.
    Regards.

  • I received a psd file created in CS6 for MAC, I am unable to find the layers when I open it in photoshop in Windows. What can i do to edit the files?

    I received a psd file created in CS6 for MAC, I am unable to find the layers when I open it in photoshop in Windows. What can i do to edit the files? What can be done so that I can either open and see the layers or how can the sender save it in a way that it doesn't "merge" the layers in some way to just one?

    Could try saving as tiff provided layers and transparency are chosen at the time of saving. But it's hard to give a definitive answer as it depends on the final usage. For example PSD's tend to work better in applications like In Design in comparison with tiff.

  • How do I edit the wording in file or add to wording in file or Doc.

    Hoe di I edit wording in a file or doc.

    Thanks but I can edit in word without Adobe defeats the purpose.
           From: Sara.Forsberg <[email protected]>
    To: Samuel Iglecias <[email protected]>
    Sent: Monday, February 23, 2015 12:43 PM
    Subject:  how do I edit the wording in file or add to wording in file or Doc.
    how do I edit the wording in file or add to wording in file or Doc.
    created by Sara.Forsberg in Adobe Acrobat.com Services - View the full discussionHi samueli11326032, Do you have  PDF file or a Word document (.doc or .docx file) that you're trying to edit? To edit a PDF, you need to use Acrobat. If you have Word doc that you converted from PDF, you can download the file from your account at https://cloud.acrobat.com, so that you can open it and edit it in Microsoft Word. If you've made that far and are having trouble selecting/editing the text in Word, try triple-clicking in the text block that you want to edit. And, if I've completely misunderstood your question, let me know a bit more about the file that you're trying to edit it, and what software you're using, and I'll do what I can to get the issue resolved. Best,Sara If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7222389#7222389 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7222389#7222389 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Acrobat.com Services by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • When I import my Sony video, which is in m2ts format, the file size is a few times larger.  This affects the volume of clips for creating the blu-ray or DVD discs.  How can I squeeze the file size without sacrificing the quality of output?

    When I import my Sony video, which is in m2ts format, the file size is a few times larger.  This affects the volume of clips for creating the blu-ray or DVD discs.  How can I squeeze the file size without sacrificing the quality of output?  Is there any other ways of achieving this?

    wongrayd wrote:
    Thanks.  I do not have the experience on burning discs from iMovie for the movie after editing (ie for video discs players).  It seems that i cannot find the relevant command in the tool bar for this purpsoe.  Would you please show me the way?
    The command is gone because iDVD has been discontinued by Apple. After Apple discontinued iDVD they removed the iDVD burning link from iMovie. I still use iDVD sometimes, only because I have an old copy.
    wongrayd wrote:
    You have mentioned about Handbrake as a converter.  What is the RF no. (under Constant Quality) meant?  It seems that the smaller the no. is, the better quality will be.  What is the optimal no.? or should we use the Average Bitrate? Again, what is the best rate?  Furthermore, which format is more suitable or the best: H264 or mpeg 2/4?
    I don't know what RF means. When I have used HandBrake, I've used presets that apply to what I want to do, so I don't know the meaning of each individual setting. However, it appears that many of them are listed in the HandBrake User's Guide that is linked from the Help menu in the program:
    https://trac.handbrake.fr/wiki/HandBrakeGuide
    wongrayd wrote:
    For iMac, except iMovie, what other software is the best for the amateur?  I have read Photoshop.  Can this support m2ts files and user friendly?
    Photoshop is not amateur-level software, and although it can edit a video, it cannot burn a DVD. Unfortunately, because I still use iMovie, I haven't tried anything else. You might want to read the reviews of various DVD-burning applications in the Mac App Store.
    And maybe another forum member will jump in and help us here!

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

  • I downloaded a vector file from Shutterstock. How do I edit the text in Photoshop? If i enlarge the image- the pixels are awful and the image is distorted.

    i downloaded a vector file from Shutterstock. How do I edit the text in Photoshop? If i enlarge the image- the pixels are awful and the image is distorted.

    jessicae28493569 wrote:
    i downloaded a vector file from Shutterstock. How do I edit the text in Photoshop? If i enlarge the image- the pixels are awful and the image is distorted.
    What is the file format of the vector you downloaded?  Custom Shapes have a .PSP extension, and are placed according to this table.
    Preference filenames and locations in Photoshop CC
    They will then be loadable from the Custom Shapes drop down — click on the cog icon > Load shape > Find your downloaded vector.
    Once placed in the image, it will appear as a Shape layer, and can be edited with the Path, and Direct Selection tools (black and white arrows on the toolbar)

  • How do I edit the text in a pdf file that has been converted to a Word doc

    How do I edit the text in a pdf file that has been converted to a Word doc?

    Hi BridgetteJean,
    Please go through this video this explains how to edit text in a pdf document.
    http://tv.adobe.com/watch/acrobat-tips-and-tricks/editing-text-with-the-typewriter-tool/

Maybe you are looking for

  • PA40 user exit?

    Hello, i want to achieve the following: for the personnel action Family event, when the user selects a reason (in this case number 09, decease of a child), i want a pop-up to appear so that the user can select the name from a list. but i don't know w

  • What to put in x3 ultrabase in the ultrabay 2000?

    I have discovered there is a blu-ray device 43n3200 but it requires an Ultrabay Enhanced to Ultrabay 2000 adapter 73P3268. Further, some say the 16mb GPU (VPU) of the x31-2672XXL will not support blu-ray well. Any thoughts? My x31 is a P-IV-M1.4 w/2g

  • Possible to import PAL and edit in PAL using FCE?

    Hi - I shot 25p PAL footag abroad. Before I purchase Final Cut Express I wanted to make sure I'll be able to edit it in FCE. I'd have to rent a PAL deck to capture from, but will FCE be able to handle the frame rate? Has anybody ever worked with 25p

  • Selling my Airport, do I need to do anything special??

    I'm getting ready to box up Airport and ship it off. Do I need to do anything to it before I put it in the box, any settings or anything that are stored in it that I need to remove? Michelle

  • REUSE_ALV_GRID_DISPLAY standard data validation routine

    I am using REUSE_ALV_GRID_DISPLAY to display data from a custom table and allowing users to edit some fields. When the save button is clicked SAP automatically validates some data fields (for example MATNR) and alerts the user if there is an error. T