Serious Problem with BAPI_USER_CHANGE please help

Hi experts.
I am using a Test system (Child system). The child system is attached to the CUA.
I have used the BAPI_USER_CHANGE to update the SNC of one user. But surprisingly, all
the emails addresses in the CUA of all users in the child system have been changed.
I think the system user chanegs this in a way.
My code is very simple written.
I have written a program that updates the SNC Name of a user. In this program I used the following BAPIs:
1)     BAPI_USER_GETLIST --> to get the user name of a certain user
2)     BAPI_USER_GET_DETAIL --> to get the other information of the User
3)     BAPI_USER_CHANGE -->     to change the SNC Name of the User.
Does any body have an idea as to why the system user changes all the email addresses in CUA for all Users that are in the child system?
I am relentlessly in search for answers please.
Thanks
Nadin.

Hi (Frank and Rob),
Thank you for your input. The note implies for release 4.6 but the release I am using is the basis release 7.0(SAP NetWeaver 2004s). I don't know if this matters in this release.
The system (TS) that I call the BAPIs in has two clients. Client 01(Test Monitoring) and Client 02(Test CUA). Now Client 02 is attached to the PRD (Master CUA system). But I run the BAPIs in Client 01.
The CUA settings for both Clients (01 and 02) in TS system is set to Global (Global button is ticked) in  transaction SCUM. Also Internal-mail is set to Redistribution in both Clients in TS system and in PRD(Redistribution is ticked) in transaction SCUM.
The code below shows the form with the BAPI_USER_CHANGE:
FORM snc_update.
  DATA: lw_snc        TYPE bapisncu.
  DATA: lw_sncx       TYPE bapisncux.
  DATA: lw_return     TYPE bapiret2.
* Initializing the Flags
  lw_sncx-pname   = 'X'.
  lw_sncx-guiflag = 'X'.
* Check for which button is clicked
  CASE sscrfields.
    WHEN 'CL1'.  "When update button is clicked
      CLEAR w_return.
      CLEAR t_return.
      FREE  t_return.
        MOVE p_snc   TO lw_snc-pname. "p_snc is parameter field & with the SNC for the user
        lw_snc-guiflag  = 'X'.  " No Passwordsr -only SNC-data
*       Change only the SNC of the User
        CALL FUNCTION 'BAPI_USER_CHANGE'
         EXPORTING
            username = gw_bname       "User clicked from Index. Only one user is given
           snc           = lw_snc
            sncx        = lw_sncx
          TABLES
           return       = t_return.
        IF sy-subrc = 0.
          READ TABLE t_return INTO w_return WITH KEY type   = 'S'.
*         Status message when SNC-Name is successfully changed
          MESSAGE ID w_return-id TYPE w_return-type NUMBER w_return-number
          WITH w_return-message.
          LEAVE TO SCREEN 0.
        ELSE.
          CLEAR w_return.
          READ TABLE t_return INTO w_return WITH KEY type   = 'E'.
*         Error when unsuccessful.
          MESSAGE ID w_return-id TYPE w_return-type NUMBER w_return-number
          WITH w_return-message .
          LEAVE TO SCREEN 0.
        ENDIF.
            ENDIF.
    WHEN 'CL2'.
      LEAVE TO SCREEN 0.
    WHEN OTHERS.
      LEAVE TO SCREEN 0.
  ENDCASE.
ENDFORM.                    " SNC_UPDATE
Also one important NOTE: After the program runs, I receive the message user XX has been successfully updated. But then I looked at the t_return table in debugging I saw the following 4 Messages (3 of type 'W' and 1 of type 'S'): All the messages came from the Message class SNC(SE91)
Num 005 of TYPE W with message "Unable to determine the canonical SNC name"
NUM 006 of TYPE W with message "User name SNC-Name: with the value"
NUM 003 of TYPE W with message SNC error RC= 19 ( message 19 says "Logon with external ID not activated in this system")
NUM 039 of TYPE S with message "User was successful changed".
Any help to explain this mistery will be highly appreciated.
Thank you all
Nadin

Similar Messages

  • I have a serious problem with GridBagLayout please help

    I have an working code of an Swing application that has used gridbaglayout it works very well in desktop pc on 2000/xp with 800 x 600 screen resolution but the problem is when i change the screen resolution to higher say at 1152 x 864 resolution then the same code all the components are left align and not properly distributed even though i have GridbagConstraints.BOTH for the fill variable of the Gridbaglayout. Also i am facing similar problem when i run the code on the laptop.
    Please help me and can anyone tell me what to do in case i want the layout to show in the same manner for higher resolution as it is showing for lower resolution.

    you may have to setPreferredSize to a calulation from the screen resolution, if there is 1 thing that is 1 pixel too big for it, i find it stuffs the entire container
    Drogo

  • Serious problem with itunes, please help!

    ITunes gives me an error when I try and open it, says windows has encountered an error. I tried uninstalling it and it gives me another error but says iTunes has uninstalled and asks me to restart. iTunes is gone from my add/remove menu but quicktime remains and refuses to uninstall. The uninstall box simply closes halfway through opening the uninstallation program. Help please!

    hi matt!
    gaah. okay, first of all, make sure your
    b antivirus and antispyware
    are switched off during installs and uninstalls.
    lets try using the Windows Cleanup utility to remove the QT clog in your Add/Remove:
    http://support.microsoft.com/kb/290301/
    ... and also use it to make sure you've got rid of any last vestiges of itunes from your system (i don't like the sound of that crash on the uninstall).
    then use the instructions on uninstalls given here as a guide to manually removing itunes and QT program files and folders:
    http://docs.info.apple.com/article.html?artnum=93976
    now download and save to your hard-drive a standalone QT installer (well run the installation from there rather than online). there's a link to a standalone inside here:
    Scott Patrie, "Installation hangs on "installing QuickTime"", 10:33pm Oct 7, 2004 CDT
    once that is properly installed, reboot. then download and save an itunes 5.0.1.4 installer to your hard-drive, and then run that.
    keep us posted on your progress. if you get any further errors, describe them as fully as you can (include error message numbers if you're getting any).
    love, b

  • I have adobe premiere elements 10 and I am having some problems with it please help

    So here are the problems I'm having with Adobe Premiere Elements 10:
    1. Transitions will not load. The word loading pops up and it won't come up.
    2. The videos won't play smoothly. When I press play it skipps in a way it won't play smooth which makes it really hard to edit.
    3. Keeps closing out on me. It will have a thing that pops up that says "Adobe premiere elements has stopped working and closes out of the program. It does it constantly.
    Please help me I don't know what is wrong with it.

    The first two issues sound like a video driver problem.
    What is the make/model of your video card/chip?
    What is the installed video driver number and date?
    For the last issue, it could be many things, including the video driver. I'd look over this ARTICLE, and if there is nothing in the first part, then move on to tuning up the OS an computer in the second part. That would probably be a good time to post the full specs. of your computer, and also both your Project and Source footage. Finally, part three covers many troubleshooting tips, and furnishes many links.
    Good luck,
    Hunt

  • "Serious Problem in Struts" + "Please help me"

    Hi all,
    I m facing one problem in struts. I have A DTO with Attributes(data transfer Object) which contains one Array List. In that Arraylist i have other B DTO with Attributes.
    In my Screen I have fields which are using some of the attributes from A DTo and B Dto
    In the JSP
    I m creating controls like this
    <html:text name="facilityForm" property="dto.installationSite" />
    in the ActionForm I m setting values which are typed in the screen to the dto.
    I have to create one control(textbox) which is using B DTO Attribute..
    How to do that?
    if its the attribute of DTO i can create like this
    "dto.installationSite"
    But A Dto contains ArrayList that contains B Dto objects
    <html:text name="facilityForm" property="dto.ARRAYLIST(B DTO).Attribute" />
    Please help me...

    try this... (not sure though)
    <html:text name="facilityForm" property="dto[0].Attribute" />
    or is it this:
    <html:text name="facilityForm" property="dto(0).Attribute" />
    ... I'm not really sure about this, however. ...Maybe instead, loop thru the outer list and create a field for each object.

  • Lenovo S205 & Windows 7 64bit. Problems with graphics, please help

    Hi, 
    I recently bought a Lenovo s205:
    AMD E-350
    It came with 1GB but I upgraded it to 4Gb RAM (1333 running at 1066)
    Windows 7 64 Ultimate.
    I have tried also Windows 7 32 (Professional, ultimate) and all versions give me the same problem, I will explain here:
    I have tried in AHCI mode and IDE mode from the bios and done fresh installs of Windows. Still the same.
    After installing all the drivers, I get randomly in different programs "black" or sometimes "white" menus. Whenever I set the cursor on the menu (White or black part), the letters start showing up.
    On Firefox for example, it happened where you write the address (Ex: www..) And when searching images too.
    I have tried the original drivers that the Lenovo's website has for the S205 and the latest from Ati/AMD and nothing solves the problem.
    What can this be? Faulty ram? Faulty OS? Problem with the graphic card drivers?
    Please help, it is so frustrating. 
    Thank you so much. 

    Thank you very much for your help. 
    I will try capturing some screenshots if that helps.
    I can discard the problem with the ram at the moment. I have tried a new set of ram (two 2gb modules = 4gb in total). The problem persists, even when they are tried individually. I also tried the original ram module the Lenovo came with (1module of 1gb), alone. Problem persists too.
    However, I do not have a problem trying the VGA output. Will this help too? As I do not have any screen with HDMI at the moment. 
    What I will do too, is to try a Windows 7 from another disc, a Home version 32 bit. I hope this can get the problem fixed.
    The main issue is that I bought this computer from Germany (From a store on eBay) and came with DOS. I will have to return it to the seller, I assume, if the rest fails to show any improvements.
    Thank you for your reply and any more suggestions are welcome.

  • Another person who has a problem with Flash - Please Help!!

    I have a Dell Dimension 4700 Intel (R) Pentium (R) - 4 CPU   2.80 GHz    2.79 GHz    504 MB of RAM
    For a few years now I would have to restore the computer to an earlier time after an update was done in order to view youtube, etc.  It seemed that when my computer did an automatic update it would mess up the flash player.
    My husband just recently did another update and now the flash isn't working and the computer won't restore anymore.
    I keep getting the following messages:  adobe flash player active x set up failed to install 19166
    program error:  failed to register      status installation complete
    I have uninstalled and installed the flash several times
    everytime i go to install flash it says:  Adobe Flash Player 10:  This application has been downloaded before.  Reload?
    Then I get:  Your security settings do not allow websites to use ActiveX controls installed on your computer.
    I don't want to take this somewhere because I have a feeling that will just wipe the computer clean and I have a feeling it is something stupid that I'm not doing.
    Please Help.

    OK...Check, check...did all that. I am cutting and pasting a segment from the flash troubleshooting page because its exactly what is happening to me. There were no responses to help this person.
    "I've tried installing flash player 9 but am not able to do so. It will begin installing but when it gets to 'items remaining: 4' the progress bar continues to move and underneath says searching but nothing happens. I tried leaving it on all night but same thing when I came back in the morning. When I close the installer it then says 'stopping now may result in an incomplete set of software' Also, when I tried uninstalling previous versions, the uninstaller does nothing. It says 'items uninstalled: 0' and 'processing', but same thing, the thing spins but nothing happens. i tried the other steps given to see if that helped but nothing seems to work."
    Here is the page...
    http://sdc.shockwave.com/cfusion/webforums/forum/messageview.cfm?forumid=44&cati d=184&threadid=1267248&enterthread=y#4577694
    I tried some of the suggestions above the last two posts. But it looks like my problem is the same as those.
    I even tried to post on there but from what I see it looks like I have to have flash to do it...I get the page with the blue lego brick.
    I'm pulling my hair out. I didn't realize how much of the internet ran on flash.

  • Problems with iTunes, please help

    Hey:
    This is my problem... I just bought and iPod Nano and installed the iTunes software, and at the beginning it was working perfect, then my computer started doing weird stuff every time iTunes was on and it even got me the blue screen of death (I have a PC and my OS is Windows Vista Ultimate) so I had to restart my computer.
    After doing it, I cant open iTunes anymore. Each time I do I get first a message that says "iTunes has stopped working. Windows is looking for a solution to the problem.", after that I get a message that says "iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if any solution is available."
    Then I get a windows that says this:
    "Download updates for iTunes
    This problem was caused by iTunes. iTunes was created by Apple Inc..
    Solution
    A newer version of iTunes is available for download that will address this problem. Apple Inc. recommends updating to the latest version of iTunes to take advantage of security and stability improvements.
    Go to the Apple Inc. website and install the latest version of iTunes:
    Apple Inc."
    But Im already running the last version and Ive even desinstalled and installed the software twice. I dont know what else to do and without iTunes, my iPod Nano is worth nothing.
    These r the details of the problem Im getting:
    Problem signature
    Problem Event Name: APPCRASH
    Application Name: iTunes.exe
    Application Version: 7.5.0.20
    Application Timestamp: 472bcf3d
    Fault Module Name: QuickTime.qts
    Fault Module Version: 7.3.0.80
    Fault Module Timestamp: 473be8d5
    Exception Code: c0000005
    Exception Offset: 00055e30
    OS Version: 6.0.6000.2.0.0.256.1
    Locale ID: 1033
    Additional Information 1: 720c
    Additional Information 2: 87abfdde4e44868a2d32f6948e899598
    Additional Information 3: 9842
    Additional Information 4: 44f9b0c24d5b0e3b47d19db09c196961
    Extra information about the problem
    Bucket ID: 582161050
    So, can anybody help me please??????
    TIA
    Antonio R.

    What happens if you try to start Quicktime? Does it work normally? I am guessing that it doesn't, but describe what happens with any error message in full.
    I am jumping the gun with the troubleshooting sequence here, but ...
    Have installed any of the following - ACE & K-Lite mega codecs package, QT alternative, Storm codec, also WinAVI video converter. These are know to cause problems with QUicktime and need to be uninstalled.
    ANyway I suggest you do a complete removal of iTunes and associated programs followed by a phased install of QUicktime then iTunes.
    Download a new copy of iTunes and the stand alone Quicktime installer:
    http://www.apple.com/quicktime/download/win.html
    http://www.apple.com/itunes/download/
    Use the follwing method to remove the programs:
    XP
    http://docs.info.apple.com/article.html?artnum=93698
    Vista
    http://docs.info.apple.com/article.html?artnum=305409
    Install Quicktime and check if it works, then install iTunes.
    Does it work now?
    This has been based on the assumption that QUicktime doesn't work, if it is OK here is an iTunes troubleshooting link:
    XP
    http://docs.info.apple.com/article.html?artnum=302856
    Vista version
    http://docs.info.apple.com/article.html?artnum=305491

  • SERIOUS PROBLEM...PLEASE HELP!!!

    Okay, so my iPod has been having a few issues lately and I want to know if anyone has any idea what's wrong with it.
    A few days ago I was getting the "Please wait, very low battery" message constantly. I know my iPod was charged so I don't know why it kept saying that. Every time I plugged it into the wall, it wouldn't charge so I tried charging it in my iHome, which seemed to be working. The problem is, the iPod isn't charging right. I can keep it in the iHome for hours, and it always says it's charging. Then as soon as I take it off the iHome, it says it's charged. If I put it back into the iHome, it says it's charging again.
    On top of that, when the iPod isn't plugged into anything, I can still use it, but the "Charged" icon stays on the screen 24/7. When I turn it off, the screen turns off for about 3 seconds and then the "Charged" or "Charging" icon shows up (it varies) and the screen is not lit up. So my iPod basically never turns off, so the battery ends up dying.
    I've reset my iPod countless times, and restored it a couple times, and nothing seems to fix it. There have also been times when neither my iTunes nor my computer recognize my iPod. I think I've come to the conclusion that it needs to be in disk mode, but I've never had that problem before.
    If anyone has any idea what the problem is, please let me know. Or if you've had a similar problem...I hate to think I'm the only one experiencing this.
    I've thought about going to an Apple store to have them look at it, but my warranty is up. I do, however, have a warranty with Best Buy, but I'm not completely sure what it covers. I really don't think there's a problem with the battery, I mean, it holds a charge, but my iPod just refuses to shut off. Not to mention, my iPod doesn't seem to recognize when it's actually charging and when it isn't.
    Any help would be much appreciated.
    Message was edited by: Breane
    Message was edited by: Breane

    I am using a Dell with Windows XP.
    When I plug the iPod into my computer, the iPod screen does not change (it still shows the "Charged" icon, which stays on the screen all day until my iPod eventually dies). After about 2 minutes, it says it's charging, but iTunes does not recognize it, nor does my computer.
    If I put the iPod in Disk Mode, iTunes recognizes it, and my iPod syncs. The iPod Summary window says my software is up to date. After I unplug the iPod from my computer and take it out of Disk Mode, i reset the iPod. The iPod works like it normally would, except that the battery icon in the top right of the screen has the picture of the plug in it which isn't supposed to be there...it should just say the battery is full. While my iPod is in use, that plug stays in the battery icon 24/7. When I "shut" my iPod off, the display turns off for about 3 seconds, and then the "Charged" screen shows up (the one that shows up when the iPod is actually plugged into something). The thing is, the screen isn't really off. If I scroll my finger on the click wheel, as if to adjust the volume, the screen lights up. So my iPod is never really off, causing it to die within a few hours.
    I haven't tried using my computer to charge the iPod, so I can't tell you how long it takes. I will leave it plugged in overnight and let you know what happens.

  • Huge problem with battery: PLEASE HELP!

    Please when you read this try to help, responses are appreciated.
    I have an iPod radio/clock/charger combo and for a while it has been working to charge and play. Just recently, as I disconnected the iPod to take it with me I noticed that as soon as I turned it on and the menu popped up the battery instantly drained and said "No battery remains. Please connect to iPod power source." So, I left it alone for about and hour and a half and tried again. This time the menu popped up and I could shuffle the songs but as soon as I pushed the next button it drained and I recived the message again. When I got home, I connected it to my computer and let it charge all night and the next day. I have been trying everyday but it seems as soon as I push two buttons it drains the battery. I have looked up topics and I get things like turning off the EQ, blacklight, and when not in use holding the play button. I do all of these things and I don't leave it in heat or extreme cold. Some of the topics suggested purchasing a new battery but the consequense of losing all playlists and songs is alarming to me. My iPod is completly full and I DO NOT want to add the all back. Yes, I have them backed up. It WILL play and charge on the docking station and the cord to the computer.
    Is there any other ways out there for me to fix this problem?
    Should I download the 7.1 version of iTunes?
    Is it because I use Limewire in addition to iTunes?
    Please help me, I will be needing my iPod soon on my NYC trip.
    Thank you!
      Windows XP  

    Step One: Did you try doing a RESET on the iPod to see if that helps?
    When connected to a power source, are you able to use the iPod, navigate the menus, play tunes?
    In the meantime, you might try the diagnostics menu on the iPod (while plugged in of course). I forget what is in that menu, but you do a reset and as the iPod starts up with the Apple logo screen, push and hold the center and left (back) buttons at the same time. It should dump you into a diagnostic menu and you can either run automatically through the tests or manually pick which tests.
    If you get stuck in any menu or test, you can always dump out by holding down the center and menu buttons again to do another reset.
    Patrick

  • Various Problems With N95 - Please Help!!

    Ok well I opened a new contract on the 2nd of June with Orange and got a Nokia N95.
    Since the 2nd of June, I have had a total of 5 different N95's because of all the problems I am having. Got the current one last sunday and these are the problems so far:-
    - Phone randomly turns off (only once or twice so far)
    - Take about 2 hours to send a text, or is says "unable to send text message")
    - My reception is full, then will automaticaly drop to zero bars
    - People try and ring me, it goes straight to my answer phone and then i get a text saying I have a missed call (happened twice)
    Does anyone have any suggestions as to what I can do? This is driving me crazy.
    I love the phone, but this is not what should be happening.
    Like I said, this is now the fifth Nokia N95 I have had!
    I'm not sure how I check which software I have, so if someone tells me where to look I will be able to tell you.
    Please help!
    Many thanks, Holly x

    Be patient calm down
    Like I said the updates are on MODEL NUMBER
    the Orange version will be a few weeks behind because they test every thing them selves They are paranoid about phones that run on their network In the good old days they had to aprove every phone on their network so if you had a sim free you had to ask them if you could use it Thay dont do that now but all the phones they sell for their network are supposed to be full tested to be working OK Thats why not all models and phones are not on Orange
    They dont seem so much bothered if the phone crashes but they dont want you to crash the network lol
    As soon as they have fully tested V12 it will be released for the updtae Orange have one or two mods to the basic software IE there own themes, screen savers, orange world, and the omission of voip. They also have ALS (line 2)
    I use Orange but since the early probs I manged to get the unbranded sim free for Orange. On my one ALS (line2 2 lines 2 numbers 1 sim card Business and personal) is working OK so there are only the screen savers and Orange world they need to test fully All I can say is just wait
    A service centre may get the update earlier or try looking in Orange shops at their current stock press *#0000# on their newer stock to see if they get V12 then the service centre will have it for repairing those ones and it will soon be on the update site
    Nokia user / modder since Nokia Orange and Mobira user too before that

  • 6 weeks of problems with Ical- Please help

    For 6 weeks now I have been having problem after problem with Mobileme, Ical, and contacts synchronizing with my imac, laptop, and iphone after at least two years of no problems. I have been to the Apple store over 6 times and have had 3-4 hour long chats with Apple technicians and have had 3-4 emails with an advanced technicians. Everyone is quite nice and really seems to be trying to help fix the problems, sadly, this situation is still not resolved. My confidence that Apple knows what is going wrong or knows how to fix it have really taken a hit and I'd ask anyone who has the savvy to help me with this to PLEASE help me out here.
    The current situation is:
    Cannot log into Mobile me to get my calenders - Apple can't either. We both can log in to idisc, contacts, etc. though all are duplicated 2-3 times.
    If you try to sync with the phone, including after re-setting what appears to be a correct calender on to mobileme first, the phone calender will appear completely blank.
    Manual sync with the USB works. However, even if you totally wipe the whole iphone and then install just what is on the computer, some appointments are missing on the iphone! I have verified that there are just the correct calenders listed on the imac so the appointments missing on the iphone are part of the calender listed on the imac. (When I wiped the iphone and choose automatic sync, numerous calenders were seen. Part of the reason there were so many calenders at all was part of the problem I initially had and the result of apple technicians trying to fix it!)
    I now have. mac and .me mail accounts listed on my iphone despite the fact that the .mac account had been replaced with the .me account of the same name by at least two technicians at the Apple Store and Ichat.
    I need help immediately and cannot either wait for Apple or have much confidence they know what is going on.

    Yes this has been a nightmare for me and started with duplicate dates, followed by duplicate calenders, and 2 years of lost data, followed by duplicate contacts. I am clear that some of this is the direct result of how I was advised to fix my problems.
    I have seen 2-3 people report problems around this same time frame. The techs at apple have denied a system problem from that time but like you it is odd that a system that seemed to work perfectly went wrong at that for at least the two of us and three other people that I know of. I have only reviewed a portion of the posts.
    My conclusion is that Apple does not provide adequate warnings or instructions regarding how to interface with ical, syncing with mobile me, or what needs to be backed up even though one is putting one's data on the cloud and 1-3 other devices. Further, the protocols Apple techs use to deal with these kinds of issues seem to be leading to more problems.
    I have saved a comprehensive log of my chats with Apple and my interactions with the "genius bar" at Apple that I'd be willing to post here or share via email that shows how this process evolved and what choices were made to remedy the situation.
    To briefly illustrate my point consider these things I've learned in the process:
    1). Apple does not design all of it's key software with auto back-up like they do with Final Cut, or Intuit does with "Quicken". Apple told me that they expect someone would use the "export" or " back-up iCal" from the file menu. They also said that I had the option of using the utility "back-up" or "Time Machine" if I wanted "auto" back up.
    I must admit to feeling pretty stupid about all of this until I remembered that Apple emphasized the automatics of "the cloud" as next step after the "Palm". Even the "Missing Manual" bills it that way. So... I just plugged and played as they say and did not actively make sure that I needed to back Ical up! I also thought that since my iphone backs everything up when you synchronize that everything would be saved. Anyone have any ideas how to get your calender off the iphone back up if the cloud and your computer files are wrong? I've been told that you cannot. I am also a bit unclear about what files need to be backed up if I want to use Time machine or back up to protect my Calenders? Again can't they just say so?
    2). It has come to my attention after talking to 4 different Apple reps that the Itunes interface is a bit unclear. I was told that IF YOU USE MOBILE ME, YOU CANNOT HAVE THE SYNC BOXEXS CHECKED FOR ICAL, MAIL,CONTACTS, OR YOU WILL HAVE DUPLICATE ENTRIES. I am not sure if this is true or what started the whole problem. It does kind of make sense given there are Mobile me options in the system prefs for what to do with them as well.
    Apple should have told me the above after they tried to resolve this duplicate problem last December by resetting my mobile me with my laptop, deleting and reinstalling my account on my phone and syncing with Mobile me. If they had, I would not have had the duplicate entries and as well as accounts a few weeks later. I also would not have tried using the same method to re-fix the problem leading to all my calenders prior to mid December being destroyed!
    Why wasn't that warning in the itunes sync dialogue box to begin with?

  • Search problem with ActiveDirectory - please help

    Hi,
    I've tried to get a list of the users out of the Active Directory.
    But I just can't get my code to work. It returns nothing back.
    The problem should be simple. But I can not figure out why.
    Please help!
    Raymond
    import javax.naming.*;
    import javax.naming.event.*;
    import javax.naming.directory.*;
    import javax.naming.ldap.*;
    import java.util.Hashtable;
    import java.util.Vector;
    import java.util.Enumeration;
    public class AdClient {
    public AdClient() {
    getUsers();
    public static void main(String args[]) {
    Client client = new Client();
    private void getUsers() {
    // domain = utest
    String INITCTX = "com.sun.jndi.ldap.LdapCtxFactory";
    String HOST = "ldap://192.168.128.50:389";
    String SEARCHBASE = "ou=Users,dc=utest,dc=com";
    String FILTER = "cn=*";
    try {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    env.put(Context.PROVIDER_URL, HOST);
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
    env.put(Context.SECURITY_CREDENTIALS,"admin");
    DirContext ctx = new InitialDirContext(env);
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    NamingEnumeration results;
    // now search for the users
    results = ctx.search(SEARCHBASE, FILTER, constraints);
    while (results.hasMoreElements()) {
    SearchResult sr = (SearchResult)results.nextElement();
    System.out.println(sr.getName());
    ctx.close();
    } catch(Exception e) {
    e.printStackTrace();
    }

    I tried your code...
    There were two issues I saw, when I changed them it worked!
    1) public static void main(String args[]) {
    Client client = new Client();
    should be
    public static void main(String args[]) {
    AdClient client = new AdClient();
    2) String SEARCHBASE = "ou=Users,dc=utest,dc=com";
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
    Should be
    String SEARCHBASE = "ou=Users,dc=utest,dc=newcom,dc=com";
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");

  • Serious problem with database need help

    hello experts
    i am working with MS-ACCESS and connecting it with java programing
    now the problem with me are
    according to my need i have to create a table that contain Autonumber field
    but when i insert element in this table by query
    String query1 = "insert into Forum (Subject,Author,Date,Reply) values('"+param1+"','"+username+"','"+dateformat+"',"+reply+")";
    st1 = con1.createStatement(); it gives sql exception but when i remove
    autonumber field and make it simple field it works ok but i want to keep autonumber field and thn want to insert it
    is it possible to create a dynamic table in ms-access through java query like
    String query3 = "create table"+"topicId"+"( message varchar(1000) NOT NULL,author varchar(50) NOT NULL, date varchar(30) NOT NULL)";
    here topic id some variable that contain table name
    i think problem is that MS-ACCESS has no varchar data type plz help me
    The complete code i written is as follow
    <html>
    <%@ page language="java" import="java.sql.*,java.text.*"  %>
    <head>
    <title> Processing the post request </title>
    </head>
    <body background ="images/modbkgnd.jpg" bgproperties="fixed" >
    <%
       String param1="",param2="",topicId="";
       Connection con1=null;
       Statement  st1=null;
       ResultSet rs1=null;
       int a=2,reply=0;
       java.util.Date date = new java.util.Date();
       DateFormat df ;
       df = DateFormat.getDateInstance(DateFormat.FULL ,java.util.Locale.UK);
       String dateformat = df.format(date);
       String username = (String)session.getAttribute("forumlogin");
       param1=request.getParameter("Subject");
       param2 =request.getParameter("message");
    try
       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
       con1 = DriverManager.getConnection("jdbc:odbc:lingua");
       String query1 = "insert into Forum (Subject,Author,Date,Reply) values('"+param1+"','"+username+"','"+dateformat+"',"+reply+")";
       st1 = con1.createStatement();
       out.print("hello i am here");
       boolean posubject = st1.execute(query1);
       out.print("hello i am here");
       String query2 = "select *from Forum";
       rs1 = st1.executeQuery(query2); //retriving table id for creating
        out.print("hello i am here");  //  message table
       while(rs1.next())
           topicId = rs1.getString(1);
       String query3 = "create table"+"topicId"+"( message varchar(1000) NOT NULL,author varchar(50) NOT NULL, date varchar(30) NOT NULL)";
       boolean createtable = st1.execute(query3);
       out.print("hello i am here");
       if(createtable)
          String query4 = "insert into"+"topicId"+"values('"+param2+"','"+username+"','"+dateformat+"')";
          boolean insertmess = st1.execute(query4);
    }catch(SQLException ex){
        out.print("sql exception");
    finally
       st1.close();
       con1.close();
    %>
    </body>
    </html>

    hello experts
    first i change my Date to date and thn try but it was not working.
    and thn i try as dinesh_tcs said
    i change my query as
    String query3 = "create table"+"topicId"+"( message string NOT NULL,author string NOT NULL, date string NOT NULL)";
    but nothing help me
    one more thing actually i don,t want to insert manually the field of autonumber what i want that my query work when i leave the autonumber field to insert values in the table ( or whatever way i want to insert values in that table by keeping autonuber given by MS_ACCESS)
    plz do the change in code i have maintained above or if not possible thn write the query that u have tested

  • Big problem with neo2, please help

    Hi
    I just got my new neo with bios 1.4already in it and a 3000 winchester.
    i did a clean install of windows, then newest 5.10 nforce from nvidia.com, I did not installed firewall.
    And everything was cool except ethernet because it was not recognized (I mean the Nvidia was recognized but realtek gigabit was not recognized). here is the first question, Do I really need gigabit lealtek enabled in bios to connect to internet???
    i have a comcast high speed internet and on other boards I don't need to configure anything, just install the windows and internet was working. unfortunately here is different, after installing windows and drivers n-force I don't have acces to the internet!!!!!!! I don't know what to do. On the back of mobo there arwe 2 lan connections slot. When I plug my cable to the first one, I don't see any light coming from the cable (you know the orange light bipping frequently) but windows is recognizing that cable was plugged in. When I plug it to the secong lan slot the orange light are binpping but the windows is saying "internet cable unpluged"!!!1
    What a heck is going on??? please help me!!!!!!
    I hope you can help me
    Thank you

    nevermind. I reset modem and everything works !!!!!!!!!

Maybe you are looking for

  • Report S_ALR_87012050 - Asset Acquisitions

    Hello, The report S_ALR_87012050 - Asset Acquisitions is bringing only information from the "current year" acquisition - Tty 336, and it's not bringing information from the "prior year" - Tty 331. Is it a customizing in the report to change it, or is

  • How to find out how many concurrent users using web application?

    Hi all, I have a web application deployed using 9iAS. I am trying to find out how to find out how many concurrent users are using this application at any one time. According to Oracle there is no way to see this information using the enterprise manag

  • Discoverer -- Pass parameter to viewer in URL

    I would like to pass a parameter to viewer via the URL. In plus this is possible using &param_. Is anything like this possible in viewer?

  • What Ethernet cable is best for connecting hub to ...

    Does it matter which ethernet cable is used to connect the vision box for the extra channels?, is it just a normal ethernet and can anybody recommend a good one please (possible 15 or 20 metres). Background: The engineer was supposed to install visio

  • Critique my backup solution please, suggestions?

    My system generally looks like this:- /home/data has the majority of my 'work', its a separate partition (by far the largest). /home is also a separate partition. /home/ngoonee doesn't have much, just configs and stuff I was lazy to move (about 20 MB