At first and at new

hi,
   Can anybody tell me wats the difference b/n at first and at new events?

Hi,
  AT FIRST is used for the first record in the internal table processing. This is similar to checking
   IF SY-TABIX = 1.
   ENDIF.
  AT NEW means the new set of record for the particular field in the internal table.
  EX.
  DATA: BEGIN OF ITAB OCCURS 0,
          MATNR TYPE MATNR,
          VBELN TYPE VBELN,
        END OF ITAB.
  SORT ITAB BY MATNR.
For AT NEW is sort is required on the field.
  LOOP AT ITAB.
    AT NEW MATNR.
If the material number changes from the previous one '
the statements between AT NEW MATNR and ENDAT will be *triggered.
    ENDDAT.
  ENDLOOP.
Note: If the "AT NEW field" is not the first field in the internal table structure then you have to sort with those fields also.
    EX.
  DATA: BEGIN OF ITAB OCCURS 0,
          WERKS TYPE WERKS_D,
          MATNR TYPE MATNR,
          VBELN TYPE VBELN,
        END OF ITAB.
  SORT ITAB BY WERKS MATNR.
For AT NEW is sort is required on the field.
  LOOP AT ITAB.
    AT NEW MATNR.
If there is a change in the WERKS also this piece of code will be triggeredt.
    ENDDAT.
  ENDLOOP.
Hope this helps.
Thanks,
Naren

Similar Messages

  • Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.   When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and

    Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.
    When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and last name).
    I changed the computer name in Preferences/Sharing to a new name and Preferences/Accounts to just be Mike. I can right click on my account name, choose advanced, and see that everything looks right.
    However, If I do a scan of my network with my iPhone using the free version of IP Scanner, it lists my computer as First-Lasts-MacBook-Pro! And it lists the user as First-Last.
    So even though another Mac just sees my new computer name, and my home folder is Mike, somewhere in the system the original setup with my full name is still stored. And it's available on a network scan. So my full name might show up at a coffee shop.
    Can I fully change the name without doing a complete re-install of Lion and all my apps?

    One thought... you said the iPhone displayed your computer's old name? I think that you must have used the iPhone with this computer before you changed the name. So no one else's iPhone should display your full name unless that iPhone had previously connected to your Mac. For example, I did this exact same change, and I use the Keynote Remote app to connect with my MacBook Pro. It would no longer link with my MacBook Pro under the old name, and I found that I had to unlink and then create a new link under the new name. So the answer to your question is, there is nothing you need to do on the Mac, but rather the phone, and no other phone will display your full name.

  • Hi guys i added a new mail account and now she i click new mail i can see 4 accounts, the first is right below the subject, and it' the old one and the new one, the other one is on its right and it's the old one and the new one. is it normal? Thanks.

    hi guys i added a new mail account and now she i click new mail i can see 4 accounts, the first is right below the subject, and it' the old one and the new one, the other one is on its right and it's the old one and the new one. is it normal? Thanks.

    sorry, correction,
    hi guys i added a new mail account and now if i click new message on the mail field  i can see 4 accounts, the first is right below the subject, and it' the old one and the new one, the other one is on its right and it's the old one and the new one. is it normal? Thanks.

  • I need to reinstall my original factory disc and reset my computer to the beginning. It currently has lion. Do I need to erase my HD first to clear and make new room for the install disc.

    I need to reinstall my original factory disc and reset my computer to the beginning. It currently has lion. Do I need to erase my HD first to clear and make new room for the install disc.

    Prepare Your Mac for Sale
    Boot from the OS X Installer Disc One that came with the computer.  After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.  After DU loads select the startup volume from the left side list then click on the Erase tab.  Set the format type to Mac OS Extended (Journaled) then click on the Options button.  Select the one pass Zero Data option and click on the OK button.  Then click on the Erase button.
    Note: You can skip the Zero Data option if you are not concerned about removing sensitive personal data from the hard drive.  If you choose to skip this part of the process then it is possible for others to recover data from the hard drive.  The Zero Data procedure will prevent others from getting access to your personal information.
    This process will take 30 minutes to several hours depending upon the size of the hard drive.  After formatting has completed quit DU and return to the installer.  Now complete the OS X installation.  At the completion of the installation do not restart the computer.  Instead just shut it off.  The next user will be presented with the Setup Assistant when they turn on the computer just as it would if new out of the box.

  • Just installed itunes on new windows 7 system  Cant get it to import cd's when it is open.  I have to close it first and then insert cd to import

    just installed itunes on new windows 7 system  Cant get it to import cd's when it is open.  I have to close it first and then insert cd to import. any one know how to fix this?

    If your library was working on your computer and then popped up empty all of a sudden then this might be what you need...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Help apple help me, at first I was new to iphone registration 1 apple ID account but because I hardly use icloud account. so I do not remember the password and login name, my computer crash when I decided to run the software on ios7.1, but do not expect m

    help apple help me, at first I was new to iphone registration 1 apple ID account but because I hardly use icloud account. so I do not remember the password and login name, my computer crash when I decided to run the software on ios7.1, but do not expect me to be locked iclou account, I hope this mail unlocked apple for my apple account. I'm currently using the machine iphone 5, IME: ********. thank you ... ask yourself? machine is in warranty period warranty icloud error not send mail to me at mail
    <Personal Information Edited by Host>

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Hi i haven't updated my iDVD seen 2005 and to get the new one i need 7.0.4 first and i downloaded it from the apple website and when i go into the updating process its says "An eligible iDVD application was not found in the location /Applications." why"

    Hi i haven't updated my iDVD seen 2005 and to get the new one i need 7.0.4 first and i downloaded it from the apple website and when i go into the updating process its says "An eligible iDVD application was not found in the location /Applications." why

    Because you need to buy iLife 08 or newer on DVD first. If you're using iDVD 05, you probably have a PowerPC Mac and can't use iLife 11.
    (69573)

  • I burned my first iDVD andpicture quality is not good.  Originals are excellent.  My photos are shot in raw or jpeg, both are not sharp when I view my DVD.  I viewed it on my 1080 dpi tv and my new apple computer.

    I burned my first iDVD andpicture quality is not good.  Originals are excellent.  My photos are shot in raw or jpeg, both are not sharp when I view my DVD.  I viewed it on my 1080 dpi tv and my new apple computer.

    There are many ways to produce slide shows using iPhoto, iMovie or iDVD and some limit the number of photos you can use (iDVD has a 99 chapter (slide) limitation).
    If what you want is what I want, namely to be able to use high resolution photos (even 300 dpi tiff files), to pan and zoom individual photos, use a variety of transitions, to add and edit music or commentary, place text exactly where you want it, and to end up with a DVD that looks good on both your Mac and a TV - in other words end up with and end result that does not look like an old fashioned slide show from a projector - you may be interested in how I do it. You don't have to do it my way, but the following may be food for thought!
    Firstly you need proper software to assemble the photos, decide on the duration of each, the transitions you want to use, and how to pan and zoom individual photos where required, and add proper titles. For this I use Photo to Movie. You can read about what it can do on their website:
    http://www.lqgraphics.com/software/phototomovie.php
    (Other users here use the alternative FotoMagico:  http://www.boinx.com/fotomagico/homevspro/ which you may prefer - I have no experience with it.)
    Neither of these are freeware, but are worth the investment if you are going to do a lot of slide shows. Read about them in detail, then decide which one you feel is best suited to your needs.
    Once you have timed and arranged and manipulated the photos to your liking in Photo to Movie, it exports the file to iMovie  as a DV stream. You can add music in Photo to Movie, but I prefer doing this in iMovie where it is easier to edit. You can now further edit the slide show in iMovie just as you would a movie, including adding other video clips, then send it to iDVD 7, or Toast,  for burning.
    You will be pleasantly surprised at how professional the results can be!
    To simply create a slide show in iDVD 7 onwards from images in iPhoto or stored in other places on your hard disk or a connected server, look here:
    http://support.apple.com/kb/HT1089

  • AT NEW AND AT FIRST AND AT LAST

    WHAT IS THE FUNCTION OF AT NEW AND AT FIRST AND AT LAST?
    Title edited by: Alvaro Tejada Galindo on Dec 24, 2007 7:46 AM

    They are used inside loops to evaluate the value of a field....The value if the first, is it a new value, and so on...
    Greetings,
    Blag.

  • I want to upgrade my old airport express to the new express. Can I just switch out the old for the new or must I delete the old network first and start from scratch with the new express?

    I want to upgrade my old airport express to the new express. Can I just switch out the old for the new or must I delete the old network first and start from scratch with the new express?

    It is not necessary to delete your old wireless networks first, but doing so may eliminate confusion. If you wish to do that, open System Preferences > Network, and select Wi-Fi from the left column. Click the Advanced... button, then select your old wireless networks and delete them with the "–" (minus) button. Make sure the "Remember networks this computer has joined" remains checked.
    OK then Apply.
    This prevents your Mac from searching for your previous network which will no longer exist.
    A new Express creates an open wireless network that you must select before you can configure it. It appears in your Wi-Fi menu like this:
    Select it. AirPort Utility will load and walk you through its configuration.
    Edit: If you are really using OS X 10.5.1 as shown in your profile, the above screenshot is not applicable. Instead, select the network called "Apple network nnnnnn" and then launch AirPort Utility.

  • While trying to sync my calendar to my new mac, I lost all my calendsr events on my iPhone. Best guess is I calends't set up icloud on my phone first and my computer delted them. Is there any way to recover them from iCloud?

    While trying to sync my calendar to my new mac, I lost all my calendar events on my iPhone. Best guess is I didn't set up icloud on my phone first and my computer deleted them. Is there any way to recover my calendar from iCloud?

    Your music will only be where you put it.
    Did you copy all of your music from your backup copy of your old computer to your new one?

  • I-tunes is note letting me access i-tunes store without first dowloading the new version of i-tunes. The problem is that my older operating system won't work and is not allowing the newer i-tune versions to work.  How can I just get use the old i-tunes?

    I-tunes is note letting me access i-tunes store without first dowloading the new version of i-tunes. The problem is that my older operating system won't work and is not allowing the newer i-tune versions to work.  How can I just get use the old i-tunes?

    Hi,
    Not sure if any of you above have managed to solve your problem or not but after coming across this same problem myself today as I am currently 'sofa bound' I decided to make it my mission to find a way around it.
    Initially I did think, having ready what seemed like a million questions and people with the same problem, that the only way was to buy OS X 10.5 ... HOWEVER, no. In among all these threads I found a jewel - Download I Tunes 9.2.1 which gets rid of the download itunes 10 advert and allows you to then buy from itunes again :-)  I am now one very happy lady.
    I apologise to all those that dont have older versions of OS X that maybe wont support even this upgrade but certainly for those like me with just 4yr old lap tops at least it means it not longer means buying a new one.
    Hope this helps son very frustrated people like myself - so much for apple support!

  • Tried synching iphone for the first time on new PC and got error followed by itunes logo and USB cable picture. No idea what went wrong and now phone is in this screen locked. please help!

    tried synching iphone for the first time on new PC and got error followed by itunes logo and USB cable picture. No idea what went wrong and now phone is in this screen locked. please help!

    I tried connecting to iTunes and neither the PC nor iTunes recognizes the device. I went through all the troubleshooting on the Apple website for this issue and nothing worked. I've reinstalled iTunes, the driver, everything and still can't get either the PC or iTunes to recognize the phone.  I don't know what else to do :-( any help or suggestions are highly appreciated!
    I would hate to have lost all my info, especially contacts and calendar items since I have no idea what was backed up prior to the phone getting locked on this screen. I've been told that my only option is to go to the phone carrier and they will reset it for me, but that means it will wipe out all the info.
    I hope someone has a fix other than that one.

  • Made a new iTunes address, and added new payment details, old apps won't update because my old signin pops up! Even tho in settings on on first page it's my new name? How can I remove the old signin name even if it takes all apps paid and free with it!!

    Made a new iTunes address, and added new payment details, old apps won't update because my old signin pops up! Even tho in settings on on first page it's my new name? How can I remove the old signin name even if it takes all apps paid and free with it!! Don't care if I have to lose all previous apps just don't want to be hassled with updates!

    You can't all apps are tied to the apple id that was used to purchase/download it.

  • When i open my emails with outlook first and then with my ipad 4, the ipad does not show me that i have new mail despite that it actually downloads them. iphone 3g and 4s used to do that. any suggestions please?

    when i open my emails with outlook first and then with my ipad 4, the ipad does not show me that i have new mail despite that it actually downloads them. iphone 3g and 4s used to show them as new emails. any suggestions?

    1. Open iTunes.
    2. Click the View option in the iTunes menu.
    3. Select the Show Sidebar option.
    Connect your phone, select it in the Sidebar...the various tabs will now show as before.

Maybe you are looking for

  • PP - Cube for Actual Capacity Utilization (in hours per confirmation)

    Hi, I need to extract the exact operation confirmation times for PP orders from ECC6. For example, if a single order started at 11:00am and then was confirmed twice before being finished in the evening, the client wants to see the actual times used f

  • Can't create Ringtones

    I moved to Mac Last February and I got the subscription to .Mac which assigned me a new apple account (@apple.com ). All my purchases with my previous (@msn.com) account I was able to transfer from my IPhone to my new IMac but the problem is that whe

  • Camera causes Iphone to crash in colder weather

    Now this is an odd one. My Iphone 3GS since latest firmware update has a weird "feature" When outside for a while and I try to take a photo , the whole thing just crashes and restarts for minutes. Thought at first it was happening only in really cold

  • Is there a way to export 2 different pdf's in one export command? Mac IND CS3

    Hi. I was just wondering if there is a way, via script or some other way to export my layouts done in Adobe InDesign CS3 (Mac) into two different kinds of pdf's - one in low-resolution pdf, and onother in press ready high resolution pdf -- both done

  • No cursor appears when I try to type a message to send from Earthlink Web mail

    The cursor appears in the TO: line as well as the TOPIC line. The cursor does not appear when i left click on the send space. This occurs both with mu computer and my wife's computer using Fire Fox. We are able to type messages and send them using In