Variable preceded with exclamation mark

A colleague of mine just noticed something that I have never seen before and can't see the purpose of - preceding a variable with !.
DATA:
  mydate TYPE d.
mydate = sy-datum.
ADD 1 TO !mydate.
WRITE: mydate, !mydate.
The memory reference is identical, changing MYDATE changes !MYDATE too.  Works for internal tables too.
Odd.
Scott

Hi Christian,
from my point of view, you are perfectly right.
One should try not to use "reserved ABAP words" at all(even if ABAP doesn't have "reserved words" in a technical sense9. And to be perfectly sure to do so, one must follow some naming conventions because you can never be sure that a unprefixed word, that is not an ABAP word today, will not become an ABAP word in a future release.
But this is my personal opinion. Officialy, ABAP does not enforce naming conventions and names that are equal to ABAP words are allowed. In some cases like
DATA i TYPE i.
this can be okay (different namespaces for types and data objects). But other declarations that lead to  syntactically correct statements like
READ TABLE TABLE WITH TABLE KEY TABLE = TABLE.
should of course be avoided, even if you do not have to use the escape symbol!
So, it is the developers own responsibility to keep his or her source code readable. Naming conventions can be a great help, but are no necessity. But in fact there should never be a situation, where you use names that force you to use the escape symbol (introducing ! into above READ TABLE statment is not mandatory but would make it more readable).
Regards
Horst

Similar Messages

  • In iMovie: I open a project that has been finalized. source fragment is missing. I see a yellow triangle with exclamation mark. Why is that and how do I solve the problem?

    in iMovie:
    I open a project that has been finalized. source fragment is missing. I see a yellow triangle with exclamation mark. Why is that and how do I solve the problem?
    please help.
    J. Aalbers

    Shouldn't really be the MPE at fault here ... what is the codec of the footage/sequence/project?
    Second, can you create a new project in PrPro, then in the media browser, import that sequence from the other project?

  • How to delete the tracks with exclamation marks?

    I have just moved about 10 gigabytes of music I don't listen to off my hard disk to an external hard drive. This was to declutter my hard drive and get me down to about 50% free. Itunes now has all the moved tracks still listed with exclamation marks next to them all now. I want rid of these songs from my Itunes view. How can I get rid of these moved tracks now without manually deleting the batches. Annoying that exclamation mark field is not sortable or would be easy to mass delete.
    Anyone got a neat solution out there?
    Thanks in advance.
    Lorne

    Yes, but now you have lost all your regular playlists, ratings, play counts, last played dates, non-embedded artwork etc.
    Hope you don't miss them. If you do it might be possible to restore an earlier version of your library file and then bring it up-to-date with the free scripts at Doug's site.
    An all iTunes, no loss of data approach would have been as follows:
    Create a playlist called Found, select everything in Music and drag it into the Found playlist. Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist. You can delete them all with a Command-A to select them and Option-Delete to remove them. You can then delete the Lost & Found playlists.
    I normally recommend the scripts as being an easier way to do things that you may want to do again.
    tt2

  • Syncing ipod to itunes with exclamation marks

    Hi,
    I was wondering if I sync my ipod with exclamation marks on some of my songs in itunes, will those songs disappear from my ipod if I sync it? There are quite a few songs in my playlist that have exclamation marks next to them saying that they can't be found, however they are already on my ipod. I have been afraid to hook up my ipod to add new songs I've added for fear the ones I already have on it that now can't be found will dissappear. I did move some of the songs to an external hard drive to make some room on my computer hard drive, but some I can't find. Can you help me?

    You should understand how iTunes managed your music.
    If you move, edit, delete or otherwise change a music file listed in the iTunes Library with a program or tool other than iTunes, you may end up with a "!" in front of the song name or a message like “the original file could not be found. Would you like to locate it?" It is important to note that iTunes does not keep track of music file changes made outside of iTunes.
    See these Threads for ways of finding &/or removing the Broken Links:
    http://discussions.apple.com/message.jspa?messageID=818692#818692
    http://discussions.apple.com/message.jspa?messageID=607582
    EASIER:
    Download this to your Desktop: http://ottodestruct.com/itunes/FindDeadTracks.txt (right-click, save-link-as)
    and this, as well: http://ottodestruct.com/itunes/RemoveDeadTracks.txt (right-click, save-link-as)
    Rename each to FindDeadTracks.js & RemoveDeadTracks.js respectively.
    Run iTunes.
    1) While iTunes is running, double click FindDeadTracks.js to run the script.
    It will give you a list of all the exclamation marked tracks.
    2) While iTunes is running, double click RemoveDeadTracks.js to run the script.
    It will remove all the exclamation marked tracks.
    This well-written iLounge Article is a must-read for anyone who wants a better understanding of how iTunes manages your music.
    Best of Luck

  • ITunes Match sometimes skips / plays songs with exclamation marks

    Using iTunes Match (v10.5.3) from my MacBook (OS X 10.6.8) I synched about 60G of music located on an external hard drive connected to my home-based AirPort Extreme base station into Apple's cloud. It works great from my iPhone and the iMac in my remote office, but occasionally when I connect with my MacBook I get these confounding exclamation marks between the song list number and the selection check box.
    When this happens and I attempt to play a song with an exclamation mark sometimes iTunes prompts me to connect to the hard drive connected to the Airport and when I don't the exlamation points appear. Other times I can play the songs, but only if I individually select them; otherwise it skips all the songs with exclamation marks until it finds a local song (or recording) (i.e. without an exclamation mark).
    Sometimes restarting iTunes gets rid of the exclamation marks, sometimes it doesn't. I've noticed that I often have this problem when I upload new music to the Airport-connected hard drive. But sometimes it happens without me uploading.
    Through trial and error I'm starting to get a sense of what's happening but it still feels kind of arbitrary. Can someone explain what's happening?
    Many thanks in advance.

    The problem is that iTunes thinks the external HDD is not connected so it can't find the actual song files. So the problem you need to solve is why is the external HDD not connected.

  • Red stopsign with exclamation mark when I try to open iTunes!

    When I click on the iTunes icon in the dashboard, a window comes up that has a stopsign with an exclamation mark. This can't be good..... What does this mean and how can I get back my iTunes?
    Help!
    Thanks.
    PS: I just did the last software update a few days ago and remember there was something regarding iTunes there. Not sure if that is relevant. I also had a system crash a couple of days ago and got nothing but the blue screen until I removed my battery and reinserted it....again, not certain if this is relevant either.....

    Thanks for responding Chris. I repaired permissions (there were alot) but not sure how to run Disk First Aid as the repair permissions area is actually under the "first aid" button. If there is another step, can you walk me through it?
    After I repaired permissions I rebooted but I still cannot open iTunes - the same stopsign with exclamation mark and iTunes logo come up....

  • I'v downloaded a tv series,paid for it, its in my itunes but with exclamation marks next to it, every time it tries to download the series it says "part of the file seems to be corrupted" and tells me to redownload it.Tried that and it comes up the same.

    I'v downloaded a tv series,paid for it, its in my itunes but with exclamation marks next to it, every time it tries to download the series it says "part of the file seems to be corrupted" and tells me to redownload it.Tried that 8 times and it comes up the same. What do I do?

    Clear the contents of ...iTunes\iTunes Media\Download and try one more time.
    If the problem recurs use the "report a problem" links in your account history and explain what has happened so far. There may be a problem with the source rather than your download of it.
    tt2

  • File with exclamation mark and cannot connect

    My ipod stopped working. I had a low battery so I charged it. Now when I try to turn it on, it just churns and churns and then the file with exclamation mark comes on the screen. Also, when I try to connect it to my computer, the computer doesn't recognize it.

    Unbelieveable, since last Saturday, I needed to fix up 3 iPods with similar problems from family members and friends, 2 connected with PC and 1 with Mac. I guess it will be a good idea if I can share with you all and hope that it can give you some hints when you try to fix yours before sending it for repairing.
    Before you do anything I suggest that you should read the following carefully..
    http://www.apple.com/support/ipod/index.html
    Most problems came from the iPod not being recongzied by the computer (mainly PC and I find it less often with Mac). Second issue is iPod not being charged for quite some time.
    I must say that I am not an expert but I did learn something during the past experience on fixing for more than 10 iPods but none of them are shuffle.
    The first thing you need to do is plug your iPod directly to the AC charger not the USB of your computer, and leave it for 2-3 hours and most of the time you will able to wake up your iPod.
    Secondly, do a reset of your iPod when it hangs, it is simple just press "Select"+"Menu" keys, which will not erase your data of your iPod.
    In case the above both do not manage to fix your iPod problem then you may force to do the following, but it will erase all your data therefore it is always to be wise to have a backup before your iPod got problem.
    1. Reinstall the latest iPod updater after the reset
    If 1 still not able to recongize your iPod by the computer then you have to put your iPod to DiskMode i.e. plug your iPod to the AC charges, do a RESET and press "Select"+"Play" keys, you will see the message "Disk Mode" in few sec. Then you need to connect your iPod with your computer, and hope that it will be recongized. If you are lucky to reach this stage then you simply need to restore your iPod updater, and your iPod should be back to normal.Please note that You may need to plug and unplug few times in order to let your iPod to be recongized.
    If your iPod still not able to be recongized then you have to format your iPod while it is in a Disk Mode, you need to use the Disk Utility software (for Mac - I am not sure about PC) to erase the Partition of your iPod then do a formatting and disk verify straight after. Then you should able to reach the final stage i.e. restore the latest iPod updater and sysc your iPod with your iTune.
    Additional hints which may help your during the fixing ..
    1. Try to do few attempts, which could take you as long as 1 hour
    2. Try to exchange cables to connect with your computer i.e. USB and Firewire
    3. If you fail to solve your iPod with your PC then try to fix it with Mac and vice versa. Surprisingly, I do have experience that the iPod got recognized by my Mac after I connected it with a PC
    Above are my experience and I am glad that more than 90% chance I am able to solve the iPods' problem with only one iPod Mini needed to be repaired.
    Good luck and hope it works in your case

  • Syncing hebrew notes with icloud distorts them by replacing spaces with exclamation marks. how do i fix this?

    syncing hebrew notes with icloud distorts them by replacing spaces with exclamation marks. how do i fix this?

    I'm syncing my iPhone 5 and my iCloud account. I open the account on my PC with a Google Chrome browser.
    iPhone:
    The same note on iCloud:
    So.. Any ideas?

  • Re iphoto: when I double click on a thumbnail i get e grey screen with exclamation mark..can't access my photos to edit, order prints etc

    Was wondering if anyone can help...I am not very computer friendly but want to be able to edit my photos, use them as jpegs, order prints etc. When I double click on a thumbnail ( am presuming the thumbnails are the small photos ) I get a grey screen with an exclamation mark on it. I cannot drag the thumbnail onto the desk top it just pings back. This doesn't happen with all the thumbnails and has been a problem since we upgraded to snowleopard. I recently reinstalled photos from the memory card from my camera and they are alright. I am presuming that the old photos are stuck in there somewhere if only I knew the right buttons to press to get them out. Thanks, Jane Thomas

    Easiest: Restore from your back up.
    Otherwise:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> 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 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.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 6* library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Triangle with exclamation mark instead of my photo - what does it mean??

    New to iPhoto, loaded photos from my camera and I can see the thumbnails but when I click on a photo it won't show up, I get a black screen with a big triangle around an exclamation mark. Obviously, I can't include them in projects or edit them or even see them full screen. Where have they gone? 5 out of about 60 are fine but I don't know why. The vast majority are somewhere in the ether. My Macbook Air 11" is the latest one, purchased Sept8.

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.

  • Assign hexadecimal value to an Integer variable preceding with zero

    hi
    i need to pass an hexadecimal value, preceding with zero (0).
    like 0775
    the above hexadecimal value should be assigned to an integer variable. While i am trying to assign it, the output could be truncate the preceding zero value. Is it possible to do my requirement without truncating the preceding zero.?
    Edited by: sasi on Jul 23, 2012 7:09 PM

    I agree on that, this can not be carried out the way you explained.
    Either you store the hexadecimal value as a string, and convert it before arithmetic operations:
    int number = Integer.parseInt("0775", 16);
    Or you store it as an integer (no leading zero) and convert it to string as you display it:
    int number = 0x0775;
    System.out.printf("%1$04x", number);

  • Trying to create a new playlist but several songs are marked with exclamation mark and will not transfer into playlist - any advice?

    I have never had trouble creating playlists before but quite a few songs will not transfer and ate marked at the side with an exclamation mark.  I know ZERO about technology so if you can help me in very simple language, I would be very grateful!  I am wondering if it may have something to do with the fact that I have had to start new accounts when I have moved countries, on order to be able to use the credit card of the new country in the Itunes store of that country... I am in Aus and have bought a lot of tunes here but last year I was living in Brunei and, in order to use my brunei credit card ( as it was the only one with money in it) , I had to set it up as different to my Aus account.  Could this be the issue?  prior to Aus my account was in Ireland.  I have paid for all these songs but it seems I cannot now use some of them... Please help!!!  Thanks in advance for any assistance you can offer, Lisa

    The exclamation mark next to a song means it is no longer where iTunes is looking for it. iTunes won't let you add such "missing" songs to a playlist. Possible reasons for a song going missing are that you or some third party software has moved or deleted it, or a folder that contained it, or that the drive it lives on has had a change of drive letter, or a configuration file has changed making iTunes look in a slightly different place from before.
    Select one of the songs with an exclamation mark, press CTRL+I to Get Info, say no when prompted to locate it, then note down the location from the Summary tab that begins file://localhost/ - please post back this path as given. Hopefully you can find the file this entry in your library is supposed to be connected to. Assuming you can please post back this path as well. These two items of information may suggest a fix through folder manipulation or a configuration change.
    If things have got a little more disorganized then, as long as the tracks still exist to be found, my FindTracks script should be able to reconnect them to iTunes. FindTracks uses some fuzzy matching routines and searches for multiple potential locations. For more details see this thread. Start by selecting the tracks of a single album and then run the script. Your media folder should normally be detected automatically, e.g. as C:\Users\<User>\iTunes\iTunes Media, but you can edit the path if it is wrong or a particular batch of lost files are stored at another path. If it works as expected you can then move on to fixing the rest of the library in bigger batches.
    tt2

  • I have duplicates, triplicates and songs with exclamation marks.

    I keep an external drive for iTunes. When I reinstalled iTunes and pointed it to that drive, it imported my playlists, but the songs have exclamation marks. When I click on a song a window pops up asking if I want to locate that list; then the beachball kicks in and I have to perform a force quit.
    Now I have three of every playlist and in the Music library, duplicate songs, some with [!] and some without.
    Can/should I start over? If so, what are the steps?
    Thanks.

    to take care of dupes:
    _*How to find and remove duplicate items in your iTunes library*_
    or [_*Araxis Find Duplicate Files*_|http://www.araxis.com/find-duplicate-files> (free trial)
    or [Dupin|http://dougscripts.com/itunes/itinfo/dupin.php] (commercial).
    JGG

  • I cant email photos from iphoto, i just get an error picture of a camera with exclamation mark

    i cannot share photos from iphoto on my macbook pro anymore, since i upgraded to mountain lion.
    i just get an icon of a camera with an exclamation  mark next to it regardless of whether i select one or several pictures

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    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 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. .
    When you upgraded to 11 you were warned and you agreed that the Library would be unusable by earlier versions. You explicitly gave your permissions. It wasn't something Apple set up, it's a necessary part of the upgrade process.
    You can easily revert to iPhoto 09, all you need is to use the back up you made before upgrading. After all you wouldn't do something like upgrade without backing up first, right?
    Regards
    TD

Maybe you are looking for

  • How do I stop facebook syncing back to iphoto?

    Everytime I open iphoto the photos seem to go in both directions ie: they are re-loaded to FB and everyone gets spammed with tags but also all the dates change in iphoto like they are freshly downloaded, not just in the FB album but in the event as w

  • Keynote video - no sound

    I'm teaching students to use Keynote on the ipad.  We created a presentation with imbedded videos they took using Camera. When playing imbed video in slide, sound is barely audible. Audio is fine in Camera app.  I don't have this issue on my ipad. Is

  • How to handle unknown root node type when parsing?

    Hello all, hoping someone knows how to accomplish this... I'm trying to use XMLBeans to parse RIXML 2.0 documents. This schema allows for multiple root node types, so I don't know when I'm trying to parse a file if the root node is a Research node or

  • ABAP Report with INCLUDE for subroutine.

    Dear All, I have ABAP report list. I have the following code: SELECT-OPTIONS: s_date FOR oijne-astdtt. PARAMETERS : p_time LIKE sy-uzeit DEFAULT sy-uzeit. SELECT-OPTIONS : s_soldto FOR oijnomi-soldto. in my program i have INCLUDE ZER0100F. as incude

  • Problems seeing my swf file after it's loaded on my server

    Hello! I loaded a swf file in a dreamweaver cs3 and tested it on a browser and works fine. However, after I uploaded everything on my server.. I don't see the swf anymore.. I loaded the scripts AC_RunActiveContent.js.. Can't find the solution for thi