NE used multiple times doesn't work

Could anybody let me know why the below code deletes everything -
Delete ITAB1 where comp_code(1) NE '1' OR
                                 comp_code(1) NE '2' OR
                                 comp_code(1) NE 'C' OR
                                 comp_code(1) NE 'M' .
Instead of deleting only those not equal to 1,2,C orM, this piece of code gives zero output and everything is deleted once this is executed.
Please anyone let me know if anything is wrong here and any other alternatives.
Anyway I am not a good abaper.
regards
Grai

HI
In u r case if one of the statement fails then it will delete the data.
Use 'AND' instead of 'OR'. IF all are not equal then it will delete.
Regards,
raghu.

Similar Messages

  • My 80gb doesn't boot up this morning. apple logo keeps coming up for a few seconds then you hear it "wind down" and got blank. Tried reseting multiple time - doesn't work. Ideas?

    my 80gb IPod doesn't boot up this morning. Worked great last nite. The apple logo keeps coming up for a few seconds then you hear it "wind down" and got blank. Tried reseting multiple time - doesn't work. Ideas?

    my 80gb IPod doesn't boot up this morning. Worked great last nite. The apple logo keeps coming up for a few seconds then you hear it "wind down" and got blank. Tried reseting multiple time - doesn't work. Ideas?

  • Using multiple timer in the same SessionBean

    Hello,
    Is it possible to use multiple timer in the same Stateless Session Bean. In my application a user can schedule some task to execute. To do so I was thinking of creating a Session Bean which would create calendar timer on user request and, when one of the timer expires, retrieve the task to execute thanks to the information stored in the timer.
    When I tried the solution explained above, it seems that the @timeout method is synchronized on 1 timer. For example if I create a timer that will be executed every 10 seconds and another one executed every 30 seconds, the timeout callback is called every 30 seconds but 4 times.
    My code looks like that :
    @Stateless
    @LocalBean
    public class TimeManager {
        public void onUserRequest(ScheduleExpression expression) {
            Timer timer = timerService.createCalendarTimer(expression, timerCfg);
        @Timeout
        void timeout(Timer timer) {
            logger.log(Level.INFO, (String) timer.getInfo());
    }Is there a way to do what I want?
    Thank you

    This doesn't make any sense to me. If i were to write a bunch of schemas for a particular applicaion, would
    I have them all in the same namespace? You would normally have one schema that describes the information model associated with the one namespace that the different documents in your application use.
    If so, why can't I load more than one in the same name space?The parser chooses the schema based on the namespace alone. There is no other information used to decide which schema to use, so you can only have one schema for the namespace.
    They all have different root elements.You can have different root elements in the one schema.
    I don't even need the namespaces, but I can't
    figure out how to get rid of them (the schema isn't valid with out them according to XML Spy). You can set the schema explicitily before parsing, but not (AFAIK) set after parsing has begun, except by using the mapping of namespace to schema location.
    I have also tried to use the external-noNameSpaceSchemaLocationproperty, but it doesn't seem like you can pass in an array of schemas to that one. It only expects a
    String as the Object you pass in to setProperty. Yes, you can only validate a document against the one schema.
    So, how can I load all my schemas so I don't have to reference them in the XML documents? Either combine your schemas so you have one schema for your namespace that validates elements which are defined in that namespace (the formal/correct way of doing it), or construct a filter that inserts a PI to point to the schema once the root element is opened (the pragmatic/bit of a hack way of doing it).
    Pete

  • A Cocoa window which is used multiple times (for instances of a class)

    Hi everyone,
    I develop with newest xCode using Obj-C, Java and Cocoa.
    It works perfectly to create a window and connect it to some code: I just design it, and connect it to a class which has been instantiated previously.
    What I need now is a window, which is used multiple times. Means that I create a class where the window should be connected to, from which I create multiple instances.
    I've seen that it works to create a class in Obj-C and just generate the window by code: it works to generate multiple windows. But how would I be able to design a window with InterfaeBuilder for a class which is not yetinstantiated? A class for which I create the instances while my app is running?
    Thanks a lot for your answers!
    -Lucas

    Like PeeJay says, a custom window controller seems the way to go. Try creating a subclass of NSWindowController, with header something like this:
    #import <Cocoa/Cocoa.h>
    @interface MyWindowController : NSWindowController
    IBOutlet NSTextField *infoField;
    -(void)setInfoText:(NSString *)str;
    @end
    The implementation of the setInfoText would be something like:
    -(void)setInfoText:(NSString *)str{
    [infoField setStringValue:str];
    Create a nib file with your window in interface builder. Drop the header file for your custom window controller into the interface builder window. Set the custom class of the nib's File's Owner to MyWindowController. You can then hook up the window and infoField outlets from File's Owner to your window.
    In the body of your code where you open a new info window, add something like:
    MyWindowController *windowController=[[MyWindowController alloc] initWithWindowNibName:@"nameOfWindowNibFile"];
    [windowController setInfoText:@"Whatever"];
    [windowController showWindow:self];
    If you are going to have an undetermined amount of these custom window, it might be a good idea to store the window controller instances in a mutable array, rather than retaining instance variables for each one.
    Jim

  • My apple tv, all of a sudden, is no longer able to connect to my computer.  I have restarted EVERYTHING, multiple times, still not working.

    My apple tv, all of a sudden, is no longer able to connect to my computer.  I have restarted EVERYTHING, multiple times, still not working.

    Welcome to the Apple Community.
    Check your store location is set correctly, if this doesn't help, try restarting the Apple TV by removing ALL the cables for a 30 seconds.

  • [E61i] Alarm-Clock / buzzer / timer doesn't work a...

    [E61i] Alarm-Clock / buzzer / timer doesn't work anymore
    Hey there, I use an E61i with the newest firmware and since some months ago (it seems ~the installation of the new firmware) my alarm clock sounds goes off, but not hearable. It's not loud, it is almost not even hearable if you're near to it.
    All my other sounds work just fine, call rings, sms notification, ringtones, music, all fine.
    But just the alarm clock doesn't work.
    I checked ALL options at least twice, I tried to change almost every option and made several test rounds concerning the alarm clock. I just don't know what happened, why it happened and how I can repair it.
    I can provide you with more information, what do you need?
    Thanks in advance & kind regards.
    FW 3.0633.69.00 (06-02-08), RM-227
    Nokia E61i-1, Carrier: Vodafone Germany

    No idea anyone?
    Should I post it in another forum?
    FW 3.0633.69.00 (06-02-08), RM-227
    Nokia E61i-1, Carrier: Vodafone Germany

  • Face time doesn't work on iPhone. Did work but now not. Any ideas how to fix?

    Face time doesn't work on iPhone. Did work but now not. Any ideas how to fix?

    My phone is working fine.  My wife's did last week but not now.  I've turned phone off and rebooted.  Also, when I try to "sign in using apple id " it tells me it could not sign in. Check network connection and try again.  However the phone is connecting to my wifi network.  Suggestions?

  • After instal OX Maverics Face Time doesn't work

    I do not know why but after upload my OX Maverics Face Time doesn't work. It's impossiblo to signe in.
    id apple and password are both correct.
    why?

    Hello matteo.coletti,
    It sounds like you are having some trouble signing into FaceTime on your Mac. I would try the troubleshooting steps in this article named:
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/ts4185
    Activating FaceTime for Mac
    Use your Apple ID to register and use FaceTime. FaceTime registration validates your Apple ID and email address for use with FaceTime.
    If you are unable to activate FaceTime, try the following:
    Sign in to FaceTime for Mac using a valid Apple ID. After you validate the email address for use with FaceTime, other FaceTime users can connect to you using that email address. If you encounter issues registering or using an Apple ID account:
    Ensure that you have an active Internet connection.
    Verify that you are using a valid Apple ID at appleid.apple.com. You can also create an Apple ID or reset your password from this website.
    Check that your email address is verified in FaceTime > Preferences.If FaceTime > Preferences shows your email status as "verifying," follow the instructions in the verification email that was sent to complete the process.
    Toggle FaceTime off and on in FaceTime > Preferences.
    If still unable to Sign In follow the instructions in FaceTime, Game Center, Messages on OS X: Troubleshooting Sign in
    Troubleshooting FaceTime for Mac
    You can make FaceTime calls using the FaceTime app. You can call FaceTime users whose contact information is in Contacts. You can add contacts and edit contact information in either FaceTime or Contacts. To place a video call, you may use a phone number or email address.
    If you encounter issues making or receiving FaceTime calls, try the following:
    Verify that FaceTime is enabled in FaceTime > Preferences.If the issue persists, or if you see the message "Waiting for Activation", try toggling FaceTime off and then on.
    Verify that the Date, Time, and Time Zone are set correctly:
    From the Apple () menu, choose System Preferences > Date & Time > Date & Time.
    Enable "Set Automatically".
    Click the Time Zone tab and confirm the closest city is correct.
    Verify that both parties are connected to an active broadband Internet connection.
    See Mac OS X: Troubleshooting a cable modem, DSL, or LAN Internet connection.
    Consult Using FaceTime behind a firewall for necessary ports to open in firewalls, security software and routers.
    If you encounter issues using a Wi-Fi network, use standard Wi-Fi network troubleshooting to resolve interference and other issues.
    Verify the phone number or email address being used is the correct one activated for FaceTime.You can verify that you are using a valid Apple ID at appleid.apple.com. You can also create an Apple ID or reset your password from this website.
    Otherwise, could you elaborate a bit on any error messages or prompts you are getting?
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Reinstalled 10.3.4, now date/time doesn't work or open

    I had a hard drive failure, a company replaced my drive with a new one in my G4. The new hard drive works fine, they reinstalled 10.3.4 from my original disks, but the date/time doesn't work and I can't open that panel even.
    So I just resinstalled from those disks again and it still didn't fix this problem.
    Also my old password for installers doesn't work either, but it lets me bypass it.
    Any suggestions?
    Should I just try upgrading to Tiger and see if that works?
    Thanks

    blackrhino:
    Not sure what the problem is, however, before you go reinstalling or upgrading try this:
    1. Reset PRAM.
    2. a. From a cold start, boot from your installer disk holding down the "C" button. Go to the Installer Menu and open Disk Utility.
    b. Select your Mac OS X startup disk.
    c. Select the First Aid tab in the Disk Utility window.
    d. Select Repair Disk button in Main panel. If problems are found run again and again until no problems are reported.
    e. Select the Repair Disk Permissions button on the First Aid tab.
    f. After Repair Disk Permissions completes, Quit (Command-Q) Disk Utility.
    3. Update Software to 10.3.9 (Go to Apple Menu and select Software Update.
    Post back after these operations.
    Good luck.
    cornelius
    PB G3 Pismo400, 100 GB 5400 Toshiba internal, 1 GB RAM   Mac OS X (10.3.9)   Beige G3 OS 8.6

  • Toshiba 40TL838 - sleep timer doesn't work or working sometimes

    Hi
    I bought 40TL838 TV
    and i have problem with sleep timer
    doesn't work or working sometimes
    but usually you can see on the screen one minute left and TV never switch off
    i try change language and options also reset system doesn't help
    and updates of firmware looks up to date
    any suggestions or help please

    Im not sure if you are on the right forum because this forum is for Toshiba computer systems but lets see if someone with the same device can help.
    I dont know what is wrong there but how it works you can read on page 48 in Users manuals document.
    By the way: have you tried to contact Toshiba hotline and ask for help?

  • Avoid same TID used multiple times

    Hello everybody,
    I have a little problem with transaction id. What I do at the Moment:
    I have an JAVA based RFC Client that connects to SAP ECC 6.0 via JCo3. If I have a message for upload to SAP...
    1) ... I request a TID
    2) ... I add the received TID to the iDoc and store that iDoc to a database
    3) ... I send the iDoc (including the TID) to SAP, using the stored TID for the sending-process
    I store all the iDoc information in the database to be able to re-send the iDoc - in case of a connection problem or simmilar. Now I had a problem where I managed sending some iDocs twice. Basically I thought ECC would not proceed an iDoc that has an already used TID but it did. I wonder if there is a way to avoid a TID being used multiple times with JCo. Or should it be handled from ECC?
    Thanks for help
    Sebastian

    Now I had a problem where I managed sending some iDocs twice. Basically I thought ECC would not proceed an iDoc that has an already used TID but it did. I wonder if there is a way to avoid a TID being used multiple times with JCo. Or should it be handled from ECC?
    Please note that in general transactional RFC (tRFC) is used to prevent multiple execution in case of errors, not for successful calls (see for example [sending and executing tRFC LUWs|http://help.sap.com/saphelp_nw04/helpdata/en/25/bcfa40badbf46fe10000000a1550b0/content.htm]). In essence the TID reference can be deleted by the client and the server once the RFC call was executed successfully. So you cannot use it to prevent sending (and processing) and IDoc multiple times in general.
    Now, if we talk about errors for tRFC calls, we do not talk about normal errors in the IDoc processing (i.e. a failed IDoc which might be in status 51 or 56 or something like that). For IDocs it's important to distinguish between creating them on the database and processing the IDocs (in most systems configured to be done in a separate LUW, even if immediate processing is chosen in the partner profile). Most likely you don't want to resend an IDoc once it exists in SAP (as any error handling from then on should be done in SAP).
    So TID handling is not build for successful RFCs. This is why you see in some application code provisions to prevent duplicate postings (e.g. issue an error as soon as for example a duplicate reference number is encountered).
    Cheers, harald

  • My phone is being a real pain! Time doesn't work, can't sign into iMessage and only some apps work! It also kicks me off the wifi! This is not my connections problem, it happens everywhere! Apple is terrible! Phone also freezes a lot!

    My phone is being a real pain! Time doesn't work, can't sign into iMessage and only some apps work! It also kicks me off the wifi! This is not my connections problem, it happens everywhere! Apple is terrible! Phone also freezes! What should I do!?

    Did you try the basics from the manual?
    Restart, reset, restore

  • Face time doesn't work

    Face time doesn't work with my MacBook Pro, my Iphone 5s ans my Ipad 3.... What happen ?

    There have been numerous reports of FaceTime problems for the last few days. It is unclear exactly what the cause is. Following is one of many other discussions of the issue: https://discussions.apple.com/thread/6096640?tstart=120

  • ITunes (as well as Quick Time) doesn't work

    Just bought an iPod (Classic Video 160GB) and tried to install iTunes 7.5 (incl. QuickTime 7.3).
    Installation goes perfectly well. However, when I try to start the programs, the problems begin.
    QuickTime gives me a 'Buffer Overrun' when I try to start the program.
    +Buffer overrun detected!+
    +Program: C:\Program Files\QuickTime\QuickTimePlayer.exe+
    +A buffer overrun has been detected which has corrupted the program's internal state. The program cannot safely continue execution and must now be terminated.+
    I tried to uninstall Quicktime but this doesn't work as the (un)installation program does a rollback at the end of the uninstallation not completing the uninstallation (even reversing it if I'm not mistaking). Have tried uninstalling it with Zsoft Uninstaller and Revo Uninstaller without success.
    iTunes on the other hand gives an error as well. It's one of those errors in which Windows asks you if you want to send a report. If I do, the 'Microsoft Solution Website' tells me that I haven't got the latest version of iTunes, not true offcourse.
    http://wer.microsoft.com/Responses/Response.aspx/7277/en/5.1.2600.2.00010300.2.0 ?SGD=14182881-006f-4a45-b4fa-e8decdf82d56
    What I already tried:
    -Uninstalling and reinstalling iTunes
    -Deleting all temp-files through disk cleanup as well as manually
    -I have Windows XP, _fully updated_
    -Running multiple anti-virus and anti-spyware programs
    -Ridding my C:\Windows\system32\ directory of any Quicktime files other than QuickTime.qts and QuickTimeVR.qtx (as suggested in the QuickTime-forum)
    -Installing an older version of QuickTime (obviously didn't work because a newer version is already installed.
    -Cleaning my Registry with Abexo Free Registry Cleaner
    For your information, have never used or tried to install iTunes on my laptop before. I have had QuickTime on my laptop in the past but installed the Quick Time Alternative instead (which I uninstalled yesterday, hoping that would solve the problem).
    As I have tried to find a solution to my problems all day now and am not able to find any answers, I hope someone here will point me in the right direction..!! Thank you very much in advance!

    OK you need to uninstall AVI and Ace Mega codec pack and you have already uninstalled Quicktime alternative.
    Once you ahve uninstalled the codec packs
    Download the stand alone Quicktime:
    http://www.apple.com/quicktime/download/win.html
    Now Remove Quicktime using the method here (just Quicktime):
    http://docs.info.apple.com/article.html?artnum=93698
    Or for Vista
    http://docs.info.apple.com/article.html?artnum=305409
    When you come to your C:\Windows\system32\ folder you can delete any file or folder with Quicktime in the name.
    Restart you computer
    Install the stand alone Quicktime and check if it starts.
    If it does you are in a position to find out if iTunes is OK.

  • Two Finger Scrolling using track pad doesn't work.

    You know how you can drag 2 fingers down the track pad to sroll down a page. Well, it doesn't work for me using Vista through Boot Camp. I tried the update, but it wouldn't install.
    Is this as good as it gets?
    Hypnoguy

    Hypnoguy,
    Sorry I haven't used boot camp for a long time my memory is a little fuzzy. Also note I used it with XP and not Vista, but don't use it at the moment anymore.
    Here is a list of Supported Macs for 64-bit windows: http://support.apple.com/kb/HT1846
    As per your trackpad problems after the drives have been installed I would try to install the update again: http://support.apple.com/kb/HT3336
    Here are the boot camp updates and also may help with errors:
    64 bit: http://support.apple.com/downloads/BootCamp_Update_2_1_for_Windows_Vista64
    32 bit: http://support.apple.com/downloads/BootCamp_Update_2_1_for_Windows_Vista32
    Also I would look in the boot camp system tray tool to see if there are settings related to your function keys.
    Sorry I don't know of a function key that changes the startup volume, I only know of the select from the boot camp system tray (Windows)/Startup disk preference pane (Mac) or the hold option during startup. More on that here http://docs.info.apple.com/article.html?path=Mac/10.5/en/11892.html
    A good place to find a lot of Bootcamp support would be here: http://www.apple.com/support/bootcamp/
    Hope that helps,
    Weston

Maybe you are looking for