Add Comment in the very start of every Custom Program Automatically

Hi, Friends,
I have more than one thousand custom program and I have a requirement to add 4 to 5 lines of  comment in the very start of every program, means if code of the program is starting from the 1st line than this line must go to number 5 if I enter the 4 line comments. Because of large number of program it is very difficult to open every program and than add comments line and save it to request I want to save all these program to one request.
I have searched but not found such requirement from any one before.
Is it possible through any FM or if some one have sample Code Please Guide me.
Thanks and Kind Regards,
Faisal

Hmm,
Thanks for your reply i am doing the following way but it directly insert the lines in the source code.
DATA: pro_line(255),
      it_pro LIKE TABLE OF pro_line.
READ REPORT 'ZFSL_TEST' INTO it_pro.
pro_line = '*&H*********************************************************************'.
INSERT pro_line INTO it_pro INDEX 1.
pro_line = '*&H        Requested By : Sales and Distribution Department            *'.
INSERT pro_line INTO it_pro INDEX 2.
pro_line = '*&H         Approved By : GM(S&M) and PM(SAP)                          *'.
INSERT pro_line INTO it_pro INDEX 3.
pro_line = '*&H         Tables Used : kna1, pa0001, zsdotr, zsdo, zsdo_ded         *'.
INSERT pro_line INTO it_pro INDEX 4.
pro_line = '*&H Program Description : Fix Sampling Report For Standard Pack        *'.
INSERT pro_line INTO it_pro INDEX 5.
pro_line = '*&H*********************************************************************'.
INSERT pro_line INTO it_pro INDEX 6.
INSERT REPORT 'ZFSL_TEST' FROM it_pro.
its ok for now but my Requirement was to insert the lines and also save to the Given request as a active copy with the inserted lines.
Thanks and Kind Regards,
Faisal

Similar Messages

  • Background noise removal takes about 3 seconds into each clip in timeline to kick in, so each clip has noise in the first few seconds.  How do you get this to remove noise from the very start of the clip?

    Background noise removal takes about 3 seconds into each clip in timeline to kick in, so each clip has noise in the first few seconds.  How do you get this to remove noise from the very start of the clip?

    insert a 5 second gap in the beginning of the timeline.

  • [svn:osmf:] 17480: 1. Add comments to the fixes in CompositeTimeTrait. as and FMSURL.as

    Revision: 17480
    Revision: 17480
    Author:   [email protected]
    Date:     2010-08-25 10:56:31 -0700 (Wed, 25 Aug 2010)
    Log Message:
    1. Add comments to the fixes in CompositeTimeTrait.as and FMSURL.as
    2. Remove unnecessary code from FMSURL.as
    3. Add checks for additional streamName prefix, mp3 and id3 for FMSURL.as
    4. Add unit tests for FMSURL.as fixes.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/CompositeTimeTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/FMSURL.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestFMSURL.as

    Meta X works great for editing the metadata.
    -> http://www.kerstetter.net/index.php/projects/software/metax
    I'm putting together a bunch of home videos for my parents
    How are you giving them these videos? As a regular, playable DVD (such as burned with iDVD)?
    If so, tags are not needed as they are not written to the playable DVD.
    However, it is good to add the metadata so you have the info in the file on your computer.

  • Stuck in the very start

    Hi.
    I'm new to ActionScript and tried to solve this problem by
    using google and so on, but all answers i got are like "check if
    server running" and "check if application folder exists" and "check
    your firewall settings". Tried all this, nothing works.
    The description of the problem is as follows:
    I'm trying to start with MediaServer making a simple
    tutorial, like tutorial_hello, which is supposed to send a message
    to Media Server and echo it back.
    I create a flash file with an input field, push button and
    text field for echo messages. See the attached code - I've just
    copypasted it from the tutorial.
    The problem is that i got "Level: error Code:
    NetConnection.Connect.Failed" every time I try to connect. No
    matter how I try to connect, either rtmp:/tutorial_hello or
    rtmp://127.0.0.1/tutorial_hello/, or
    rtmp://localhost/tutorial_hello/room_01/, or
    rtmp://192.168.0.4/tutorial_hello, you name it. I do have the
    application directory in my Flash Media Server applications/
    directory and i have main.asc file there containing server-side
    code (see attach), but I guess this code is not the point.
    The most confusing part of that is that I do see the
    connections to server in the administration console, like
    Connects Disconnects
    12 12
    and those numbers increase every time I try to connect and
    get a connection error.
    Firewall settings are ok too - i've even turned off the
    firewall to test it.
    Please help me debug this issue as I just can't move on to
    the more complex stuff from this very start. Thanks.

    Thanks to everyone trying to help, i've found the problem. It
    appeared to be a http sniffer software installed on the server.
    Server installation instructions say
    "Software designed to make network connections mimic modems
    or DSL lines in order to save bandwidth, such as NetLimiter, can
    intercept system calls and break Flash Media Server socket actions.
    The error message "Failed to Attach Completion Port, the parameter
    is incorrect" appears. Before installing Flash Media Server, remove
    this type of software."
    Uninstalling sniffers solved the problem.

  • Why does Firefox 8 show the getting started screen every time I start it?

    Whenever I start Firefox 8 it checks compatibility of my add-ons and then goes straight to the getting Started screen. How do I make it go to my home page instead?

    That's weird. It could be that you are currently set to open multiple tabs on start-up. Try restoring to default, by using the "Restore Default" button (under the General tab) and then reenter your Home Page URL.
    Here is Firefox Help page on: [https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page#w_set-what-pages-open-when-firefox-starts How to Set the Home Page] for additional help.

  • Can you add comments to the XML reports other than one Block Comment and one Test Comment?

    I know how to use Block Comments and Test Comments but if I need to add more comments to my XML report in a test other than one Test comment, is there a way to do this?  In other words, I would like to be able to add say 5 comment lines for a single test.  Also, can a Test Comment or Block comment be more than one line in length?  If so, how do you do that?

    What version of TS do you have?  If you have 4.1 or better (might be possible in 4.0 I can't remember) you can just use the additional results.  So in the step properties you will see Additional Results.  Then just add as many as you want. 
    Then you will see it show up in the report like you want.  I couldn't get multiple lines to work in one comment.  I tried \n but that didn't seem to be supported here.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    StepComments.JPG ‏38 KB

  • How to add comment on the top of concurrent request report

    We have developed customize reprot. This reprot parameter are mapped in very wide area in term of functionality, therefore i want to put some remarks/comment for end-user, so he can put the parameter accordingly.
    Thanks.

    We want to display the content on the top of concurrent request Programm instead of Report. when we register concurrent programm with the multiple parameter but no have any comment/reprot option to be displayed at the top of programm while submitting request which help user as hole concurrent comment.
    thanks.

  • Flex DataGrid - Ability to add comments to the cells like MS Excel

    I was wondering if there is a way or ready made component in flex for data grid where in a user can punch in comments for any of the grid cell he wants; much similar to what we have in MS Excel 2003/2007/2010. Any thoughts?

    SOLUTION :
    set in your renderer the border of the component you return to the following
    class ATSBorder extends LineBorder {
              public ATSBorder() {
                   super(Color.RED);
              public void paintBorder(Component c, Graphics g, int x, int y,
                        int width, int height) {
                   g.setColor(lineColor);
                   int[] xPoints = new int[]{width - 7, width,width};
                   int[] yPoints = new int[]{0,0,7 };
                   int nPoints =3;
                   g.fillPolygon(xPoints, yPoints, nPoints);
         }

  • Time Machine not backup up anything, from the very start

    Hello,
    I have recently purchased a 1 TB external drive for use as a backup drive. I plugged it in, reformatted it as HFS+ and set up Time Machine to use it as a backup drive.
    Time Machine has supposedly been running for almost a week now, but all of the backups are emtpy - they are simply backups of "Macintosh HD" as an empty folder. Clicking "Backup now" results in a half second backup, which is supposedly successful, but which is empty.
    I've turned TM off, ejected the disk, deleted the Time Machine .plist and restarted the Mac Pro and then the process of setting up Time Machine, and yet the initial backup lasts mere moments and turns out to be empty.
    I've verified the startup disk and the drive being used as a backup in Disk Utility. The disk is 1 TB, empty, verified, and working. Time Machine is for some reason not. Help?

    Bizarre.
    About the only other things I can think of are (loooong shots, of course):
    Try the Terminal command in the yellow box of #11 [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum).
    If there's any extra space on your internal HD, make a very small partition on it temporarily, copy a handful of test files to it, and see if they get backed-up. If they do, then change some things and run a second backup. See #3 in [Formatting, Partitioning, Verifying, and Repairing Disks|http://web.me.com/pondini/AppleTips/DU.html] (or use the link in *User Tips* at the top of the +Using Snow Leopard+ forum) if by chance you don't know how to do that.
    Something may be corrupted/damaged in your installation of OSX. I'd suggest downloading and installing the "combo" update. That's the cleverly-named combination of all the updates to Leopard since it was first released, so installing it should fix anything that's gone wrong since then, such as with one of the normal "point" updates. Info and download available at: http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate Be sure to do a +Repair Permissions+ via Disk Utility (in your Applications/Utilities folder) afterwards

  • Iphoto quits at the very start

    Hello out there!
    When I double click on the iPhoto ap icon to open it, it goes right into automatic quit! Any thoughts?
    Thanks

    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    *What's the plist file?*
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.
    If that fails:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Brand new mac air and can't get beyond the voice over at the very start ... Clicked on Ireland but nothing happening please help...also can I use my existing wifi modem or do I need apple export ??? Help help !!!!

    Just got the macair it wouldn't all me to do anything but listen to the voice control demo ???? What am I doing wrong guyz

    1. Hard press the trackpad to register the click until "Tap to Click" is enabled.
    2. You can return a new Mac within 14 days of purchase.
        A new Mac comes with 90 days of free tech support from AppleCare.
        Call AppleCare.
    Best.

  • How do i get to the very start of a long text message conversation without hitting load earlier messages?

    i have a vert long convo of over 6 months with my bf and I wanted to get to the begining. Is there any way other then load earlier messages a million times?

    No, sorry.

  • Connect SP1 Installation Problem at the very start

    Hi,
    I have did update of Connect 7 to Connect 7 SP1 on various
    servers but i have 2 servers that are giving the following
    notification after running the SP1's setup.exe and selecting the
    language.
    ScreenShot
    Here is the URL in the Notification
    http://www.adobe.com/go/msde_upgrade_en
    In short:
    It says i need to upgrade the embeded MSSQL server to 2005.
    But Connect 7 already uses MSSQL 2005 and the technote is about
    upgrading from 2000 to 2005. This only happened in 2 servers
    upgrade process and the others upgrade went flawless.
    Does anyone having the same issue or the have the solution?

    Hello,
    Have you called Connect support on this issue? Try uprading
    the Express version of SQL to a new release - in my experience, it
    doesn't go over well. You must backup your Connect database,
    uninstall the Express Edition, and either install the latest
    version of 2005 with SP2 (there is an installer available from
    Microsoft with this) or let Connect install it, then restore your
    database.

  • How to track the Last Execution of a Custom Program

    Hi all,
    I want to know the last execution date of a Cutom Z program. Kindly tell me as where do we see the same. Is there any table where this is being saved.

    Hello Nikesh,
    EXIT_SAPLS38E_001 is related to the user exits for the ABAP editor (Please read the documentation for details)
    EXIT_SAPLSABE_010 is triggered everytime the report is started, i mean before INITIALIZATION (i laymans terms before selection-screen is displayed).
    Please have a look @ [How to find First Program run in the Current Month in Foreground?|How to find First Program run in the Current Month in Foreground?]. You can very well implement this methodology as well
    BR,
    Suhas
    Edited by: Suhas Saha on Jan 15, 2010 2:11 PM

  • How to call the print method from a custom program

    Hi,
        I need to print the text thats displayed in a custom area. Its added to a custom container. Can anyone help me out to do this?
    Thanks
    Lilan

    Hi
    U should create an abap list and print it, so a possible code could be:
    * Leave the MODULE POOL
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN <SCREEN>.
    * Create a new page to be printed immediataly
    NEW-PAGE PRINT ON.
    * Create the list
    WRITE: 'TEXT'.
    * Back to MODULE POOL
    LEAVE LIST-PROCESSING.
    Try and let's know the result
    Max

Maybe you are looking for

  • How to add drive space from one drive to another drive in Solaris 10

    This is something I have never done in Solaris. I have a mounted drive (UFS) with a dir being used for a samba share. The dir is near full. I have another drive right beside it that is empty. 1. How can I add the drive space from the empty drive to t

  • Can I use 640g HD with my 3000 G430?

    My HD just died and I wanna replace it with WD640g HD.  Can anyone confirm me if I can replace my old one(WD 250g) with WD 640g HD?  Thank you very much

  • How to pass user input in automator to a variable?

    I want to ceate a workflow/application to -create a new folder eg Batch001 in directory B -grab a group of folders in directory A -and move them to Batch001 -create an archive of Batch001 -create a new set of empty folders in directory A I thought I

  • Wiered table showing up - how to drop it

    I saw a Wiered table showing up in my database. This schema is solley controled by me and I do not know how this table with t strange name show up in my schema. Table name is showing as = 'BIN$II+78l2ZRj+uQlVax+tHPQ==$0' When I try to Drop the table,

  • Server for SCCM 2012 SP1

    Dear All, I want to ask about installing SCCM on Windows Server 2012, whether it should be installed on the Domain Controller Server? Then, is it okay if not installed on a Non-DC? Can anybody give the reason? Please enlightenment. Thank You.