How to get rid of '#' in ABAP program ?

Hi, Gurus:
Our ABAP report reads flat file, the file is created by a legacy system.
Previously, it works fine.
Recently, the each line of file ended with symbol '#'.
We want to get rid of it, but not lucky:
We have tried using replace it with '', and tried using SHIFT by one space, all does not work.
Any one have good suggestion ?
Thanks in advance.
Liang

Hi,
Get the length of the record for each line & reduce the length by 1.
loop at gt_tab into watab.
delete trailing spaces of wa_tab-data.........
lv_len = strlen(wa_tab-data),
lv_len = lv_len - 1.
lv_data = wa_tab-data+0(lv_len).  " lv_data will have the data without #
endloop.
Best regards,
Prashant

Similar Messages

  • How to get rid of a malware program - iMunizator

    I picked up a malware from somewhere and now I cannot get rid of it. Any suggestions.
    Thanks in advance

    iMunizator is a repackaged MacSweeper and is nothing but "scareware". First, run Activity Monitor and look for the "iMunizatorDaemon" process and force-quit it. That should allow you to quit and trash the iMunizator application. Then look in this folder:
    youruser -> Library -> Contextual Menu Items
    and delete the iMunizatorCMI.plugin file.
    Finally, do a Finder search (Command-F from Finder), setting it to search system files - pull down the menu that says "Kind" to System files and set to "include" - for "iMunizator" and delete all the preference and cache files you find.
    That should clear that junk off your system.
    Hope this helps.
    P.S. Note that the only way to acquire this malware is for a user to download and run it him/herself. It cannot spread to your computer by itself. So for the future, be very careful about what you download and run on your computer, particularly anything that purports to "scan" or "tune up" your system.
    Message was edited by: Dave Sawyer

  • How to get the layouts in ABAP program/Query

    Hi -
    I had created some layouts for a ABAP query and I can see them in the table LTDX as well.
    But I had deleted the layouts while changing the query settings.
    How can I get those layouts back in my query? Please suggest. Thanks.

    Hi,
    Did you check with the below function modules,
    ALV_LAYOUT_GET
    REUSE_ALV_VARIANT_F4
    Also try executing the report, RSVARDOC_610, which will enable the variants sometimes after some modifications.
    I am not sure, but may be you can have a look.....

  • How to get Access key for ABAP Program development in HANA Studio

    Hi,
    I have got instance for ABAP on HANA development system.
    But while creating new program it is asking me for Access key, since I do not have user id pwd for service market place I couldnt able to create the access key.
    Can any one suggest the way to create ACCESS KEY??
    Thanks,
    Ram

    Dear Ram,
    it seems that you need to follow the chapter 6.1 in the documentation...:
    Kind regards, Stephan

  • How to get rid of the "time out" when using DAQ AI in the example program

    I try an example file called "AcqVoltageSamples_IntClkDigRef" (Visual C++ .NET). It works great. However, if the program has not recieved the data, it sent out a timeout message. How to get rid of the "time out"? I cannot find anywhere in the code. Is this a property I have to reset somewhere else?
    Thank you,
    Yajai.

    Hello Yajai,
    The example program will use the default value for timeout, 10 seconds. To change this, you will have to set the Stream.Timeout value. I inserted this function into the example and set it equal to -1, and the program will wait indefinitely for the trigger signal without timing out. Please see the attached image to how this was implemented.
    I hope this help. Let me know if you have any further questions.
    Regards,
    Sean C.
    Attachments:
    SetTimeout.bmp ‏2305 KB

  • I'm using movie program how do get rid of background noise and put music over top of video

    I'm using movie program how do get rid of background noise and put music over top of video

    Niel,
    Thanks for your suggestion about using RCDefaultApp. I am hesitating to do this because it seems like I'd be installing still another piece of software to fix the original mistake---downloading Reader.
    About 20 years ago I maintained---with considerable handholding---UNIX systems of various sorts. Can you suggest how I might find the plist that seems to require changing?
    BTW, Preview is called whenever I open some random .pdf file. The problem appears when I want to get a file from the web. If the site permits a "download" I can get the file, but if I want to "view and print" the file, the evil dark-grey Adobe screen appears with the whirling black ball. Then Safari quits. I'm wondering if the reference to Reader is in a "cookie" sent from the website, when I first was installing Reader. Is this possible?

  • There are many complaints about iMesh, but no answers as to how to get iMesh OFF the browser after it's been uninstalled. Can Firefox PLEASE direct us how to get rid of this program. Thank you. Lucille H

    Many complaints in ASK QUESTIONS about getting rid of iMesh in a browser, but no answer is provided. Please instruct your users how to get rid of this program. I got the install information from iMesh directly but my browser will not clear it, even if I change my home page. It's an impossible program to get rid of. This can't be legal. Thanks,
    Lucille Hunt
    Mack Avenue Records.

    Hi St. Peter. Thanks for your advice. I tried entering firefox.exe as you suggeted, but got the Just Ask Jeeves page again. You suggested uninstalling Just Ask Jeeves, but I`m not sure how to go about this since it doesn`t appear in my programmes. Thanks for your help.

  • How to get rid of Safari !!!!!

    I must have missed the message to install Safari during one of the many iTunes updates and now I'm stuck with it on my computer taking up 60GB of space! I've tried removing it through Control Panel -> Uninstall Programs, but get the message that I don't have administrator privilages - which I do. Thinking I may have had this installed while I was logged in under my main administrator name, I logged off and logged back in under my only other user name and tried again - same message. So I went to the Safari folder and changed all security privilages to full access for both accounts and it still won't uninstall. How can this program claim I don't have administrator privilages when I used the only two user accounts on my computer?? So in a fit of defiance and desperation, I deleted the Safari folder and then ran the name "safari" in Vista's search box under the Start menu (I even included the wildcard .* to catch all examples). Guess what? Rather than find all traces of safari on my computer so I could delete them manually, Safari started running again!! I cancelled the program before it finished loading and went to recheck the Program Files folder and Safari was back there with a full 60GB of files again! I CAN'T GET RID OF IT!!
    Safari is a malicious software program as bad as any Malware or Adware I have ever seen! How can I get rid of it??
    (and no, I really do not want Safari - I don't care if you think its the greatest thing since sliced bread - I make the choices on my computer, not some software engineer or marketing division and I DON'T WANT SAFARI!!)
    Any suggestions on how to get rid of it? Did I miss something?
    Thanks all,
    LH

    The Safari update is not clear what it is and provided no explanation of what it was - it simply states "Safari". For all I know it could have been an indexing file for iTunes. There was no explanation as to what is was and the install checkbox was already checked so the unsuspecting may quickly and accidentaly hit install along with the iTunes update, thinking it was a required part of iTunes. Regardless of how it got there, I'm trying to get rid of it and it won't uninstall.
    Now you may fancy yourself as some kind of wunderkind software expert, but you apparently do not know Vista because it really does take up 60 GB and every time I delete it, it tries to reinstall itself. These are not multiple installations and I am the only user on this computer. You haven't offered me any help - only insults. If you aren't willing or able to offer help or assistance in the most sincerest form this request was intended, than stay out of this thread. Your actions and insults reinforce the prevailing belief that Apple users are unkind, rude, self-important snobs.

  • I've got OSX/Genieo.A virus on my mac and don't know how to get rid of it and why I have it

    I've got OSX/Genieo.A virus on my mac and don't know how to get rid of it and w I have it

    There is no need to download anything to solve this problem.
    You installed the "Genieo" malware. The product is a fraud, and the developer knowingly distributes an uninstaller that doesn't work. I suggest the procedure below to disable Genieo. This procedure may leave a few small files behind, but it will permanently deactivate the malware (as long as you never reinstall it.)
    Malware is always changing to get around the defenses against it. These instructions are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    Triple-click anywhere in the line below on this page to select it:
    /Library/Frameworks/GenieoExtra.framework
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.
    If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder should open with an item named "GenieoExtra.framework" selected. Move that item to the Trash. You'll be prompted for your administrator password.
    Move each of these items to the Trash in the same way:
    /Applications/Genieo.app
    /Applications/Reset Search.app
    /Applications/Uninstall Genieo.app
    /Library/LaunchAgents/com.genieo.completer.update.plist
    /Library/LaunchAgents/com.genieo.engine.plist
    /Library/LaunchAgents/com.genieoinnovation.macextension.plist
    /Library/LaunchDaemons/com.genieoinnovation.macextension.client.plist
    /Library/PrivilegedHelperTools/com.genieoinnovation.macextension.client
    /usr/lib/libgenkit.dylib
    /usr/lib/libgenkitsa.dylib
    /usr/lib/libimckit.dylib
    /usr/lib/libimckitsa.dylib
    ~/Library/Application Support/com.genieoinnovation.Installer
    ~/Library/LaunchAgents/com.genieo.completer.download.plist
    ~/Library/LaunchAgents/com.genieo.completer.update.plist
    If there are other items with a name that includes "Genieo" or "genieo" alongside any of those listed above, move them as well. Some of these items will be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    Restart and empty the Trash. Don't try to empty the Trash until you have restarted.
    Step 2
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including ones called "Genieo" or "Omnibar," and any that have the word "Spigot" or "InstallMac" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Your web browser(s) should now be working, and you should be able to reset the home page and search engine. If not, stop here and post your results.
    Make sure you don't repeat the mistake that led you to install this trojan. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad has a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If youever download a file that isn't obviously what you expected, delete it immediately.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that this Internet criminal has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    Finally, be forewarned that when Genieo is mentioned on this site, the attacker sometimes shows up under the name "Genieo support." He will tell you to run a fake "uninstaller." As he intends, the uninstaller does not completely remove the malware, and is in fact malware itself.

  • New item icon in iCal suddenly appears and don't how to get rid of it.

    I have a little number 1 in my iCal next to my Home calendar on the left side of iCal. It resembles the little number 1 I'd get in the Mail program if I had one new email.
    I have no idea where it came from and want it GONE. Can you help?

    I just figured out how to get rid of the numbers. Click Notifications on the bottom left part of the Ical screen and some blank invitations will show up. Click one and a box shows up that gives you the option of deleting the Notification/Invitation. I did that for the 4 little boxes and the number is gone.

  • How to get rid of the reference lines on the front panel

    I forgot how I created a couple of horizontal and vertical reference lines on the front panel. It looks like the origin lines on the front panel. When I move my program to another monitor with different resolution, all the layout is messed up because of the reference lines can not change with the resolution. Did anybody meet this before? How to get rid of them?
    Attached are the 2 creen shot of front panels.
    Thanks in advanced.
    Solved!
    Go to Solution.
    Attachments:
    front panel.png ‏63 KB
    front panel2.png ‏42 KB

    You will have to click on the top menu and choose options see below
    when you do this window will pop up and you scroll down until you get to the front panel options. See below
    Tim
    Johnson Controls
    Holland Michigan

  • How to get rid of the default playlists?

    Hello! I'm using an iPhone 4S on iOS 8.3 and I went into iTunes on my desktop computer and removed the default playlists (90's Music, Recently Added, Recently Played, Top 25 Most Played) and for some reason they won't go away on my phone. Before today they weren't on there and must have added themselves after I synced my new music. The playlists are not on iTunes anymore and there is no way to remove them via my iPhone. Does anyone know how to get rid of them???

    Type about:config in as URL
    Then search for "yahoo" in the long list that you see. I found 3 references. Right click each one and "reset". That stopped my problem of yahoo search showing up in each new tab. I too got dumped on by a so called safe installer and ended up with unwanted programs.

  • How to make a transport of ABAP Program to a QA environment

    Hi forum and sorry for my easy question, but i am a newby in ABAP
    How can i a transport an ABAP program to QA environment?... is the same machine only changes the mandant.
    Thnks
    Josue Cruz

    You need have transport request for ABAP program.
    Transport Request are two types :
    1.customizing
    2 work bench
    customizing - it is related to SPRO Transaction and Functional people will create Customizing request
    Work Bench Request - normally irt realeted to ABAP Develper. and all about SE38 Programs ,Data dictinary and so on..
    If you want to to release transport request ,then you need to use SE10 or SE09 Transaction.
    Goto SE10 and see ur transport request -.it will have sub request #
    Select Sub request #->overall check -Syntax check
    then Activate check
    then click on release dirctly button(Looks like Bus)
    activate
    now select main request and click on release directly button.
    check the status - by using transport logs at SE10 transaction,you need to have sy-subrc eq 0
    when you get sy-subrc eq 4 then you deleted something in ur program ,sy-subrc eq 8,sy-subrc eq 12 these all status of ur transport request.
    once you done then you need import to Tst Box,use STMS Transaction.
    Reward Points if it is useful
    Thanks
    Seshu

  • How to get rid of duplicate addresses all over the place?

    Duplicate addresses appears all over the places: on my mac (in the mail program) and in my ios devices.
    I suspect that it occurs during some synchronisation activities but how to get rid of this once and for all?
    Thanks for your help. It helps also if some tell me that I am not alone in that kind of trouble

    iCloud- Resolving duplicate Contacts after setting up iCloud Contacts

  • "Open In Tabs." How it got there and how to get rid of it?

    I've searched the forums and tried all I can think of but cannot figure out:
    1) How an "Open in Tabs" item got in my Bookmarks Menu -
    When I go to Main Menu>Bookmarks, at the very bottom is a dividing line and below it, "Open In Tabs." Yet, when I Show All Bookmarks, I cannot find it anywhere. It's not a folder, it's not a link or site, its not in the Bookmarks Bar or the Bookmarks Menu - but it's there when I drop down from Main Menu>Bookmarks.
    2) How to create my own "open in tabs" with only two bookmarks in it that I can set to open at starting up Safari.
    Right now, when I click it, it tries to open everthing in my Bookmarks Menu.
    Can anyone explain (how it got there and how to get rid of it) - and help me do what I'm trying to do (open two sites at startup)? Thanks.
    (Safari 1.3.2-OS 10.3.9)
    nÔÔdle--hëad Per-rrr-plexed

    I have to apologize, I accidently gave the link to Safari Enhancer when I mentioned Safari Extender.
    Safari Enhancer and Safari Extender are two different programs with two different purposes.
    Enhancer is a free standalone program to adjust some of the features in Safari that can not be adjusted using Safari's Preferences. It also alows you to make these changes without having to use the Terminal.
    Extender is a shareware Safari plugin that adds its own items to the control-click contextual menus in Safari and includes menu items to work with tabs, mail, user agents, printing, and other functions.
    Both are useful programs. I have and use each of them.

Maybe you are looking for