Error when trying to update UserField in 9.0 PL11

Hi experts,
I'm currently tring to update userfield in the table ORDR,RDR1,OWTR and WTR1 using the DI API and each time an error occurs.
For the ORDR and OWTR table the error description is
Cannot drop the index 'dbo.OIEI.OIEIMRO_SO', because it does not exist or you do not have permission
For the RDR1 and WTR1 table the error description is
Cannot drop the index 'dbo.IEI1.IEI1MRO_SO', because it does not exist or you do not have permission
Do you know why this error occurs and why sap try to drop an index in the table OIEI or IEI1 when i'm updating a field in ORDR or RDR1?
Thanks.
Best regards

hi.
you have to use get by key method for updating the user defined fields..like below..
sales order i am upating.
    Dim vOrder As SAPbobsCOM.Documents
                    vOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
              Dim s As String
                    If vOrder.GetByKey(150) Then
'here  150 is the  doc entry i am going to update the  fields.
Header:
oDocument.UserFields.Fields.Item("U_XYZ").Value = "Test";
Line:
oDocument.Lines.UserFields.Fields.Item("U_XYZ").Value = "Test;
Somet times you have to convert it to string.
myVar = oDocument.UserFields.Fields.Item("U_XYZ").Value.ToString();
MessageBox.Show(s)
                    End If

Similar Messages

  • Error when trying to update or download any app

    I'm getting an Error when trying to update or download any app from Mac App Store
    Every time I try to update xCode to version 6.2 but I get this error :
    The server gave an error during download: 503 Service Unavailable.
    So I tried to download a random app from the App Store but I got the same error message.
    So any advices ?

    Hello HusseinAlBehary,
    Sorry to hear your troubles updating and downloading apps from the Mac App Store. Based on when you were doing that, it looks like the Mac App Store was experiencing difficulties. It is not currently so you should be able to upgrade with out issues now. If you experience this in the future, look at the page below to start you on figuring out if it is something on your end or Apple’s end. 
    Apple Services, Stores, and iCloud
    https://www.apple.com/support/systemstatus/
    Regards,
    -Norm G.  

  • I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work)

    I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work) since I use iCloud and I tunes match

    YAY!!! Saved it in my Mac's Firefox Bookmarks for easy future access!
    Hope you are having a lovely afternoon today! I'm about ready to go bobo....I have an early meeting, and I don't want to oversleep! The nice part is that I work remotely, so I only have to wake up 15 minutes or so before the meeting.... I don't even use an alarm clock anymore (really, my iPhone alarm, which is much more pleasant), unless I have to get up at 6:30 or something....
    TMI?
    GB

  • Getting an "u43m1d204" error when trying to update Illustrator CS6

    I keep getting an "u43m1d204" error when trying to update Illustrator CS6 to 16.2.1 as part of my Creative Cloud subscription.
    I'm updating via the Adobe Applicatioin Manager (Version 7.0.0.233 (7.0.0.233)).
    I've tried it several times now over the past few days.
    Best regards,
    Erik

    Same problem here, and I have waited more than a few minutes as asked by the Adobe Application Manager, but I am still getting the same error.
    Mac OS X Mountain Lion (10.8.2)

  • HT4623 I keep getting an error when trying to update my iPad 2

    I keep getting an error when trying to update my iPad 2

    http://support.apple.com/kb/HT4623
    Can you please describe this error? What, exactly, is happening? What, exactly, does the error message – if any – say?

  • Errors when trying to update cs6 13.4 (I think) on Mac osx 10.8.4

    Errors when trying to update cs6 13.4 (I think) on Mac osx 10.8.4.
    I have a purchased copy. Downloaded patch which also does not work. Very frustrating.

    is that photoshop cs6?
    if yes, and you're trying to update to 13.1.2 from 13.0.1.2, uninstall ps cs6.  reinstall using adobe application manager.  close aam immediately after ps cs6 completes its installation.
    open ps cs6, click help>updates and select 13.1.2. do not update to 13.0.1.2, first.

  • U44M1P7 error when trying to update Photoshop

    HI all
    I'm getting the U44M1P7 error when trying to update Photoshop CS6 to the new Creative Cloud version via AAM.  Anyone know what is causing this and how I can get the update to load
    Computer
    Third gen i7, 8GB RAM, Windows 8, 2GB NVIDIA 650M

    Try this manual download link, it worked for me.
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5595&fileID= 5604
    Scott

  • Getting an error when trying to update payment information on iTunes

    Getting an error when trying to update payment information on iTunes

    If you would like help from these user forums then saying what the error message was would be useful.

  • Getting error when trying to update apps

    I'm getting this error when trying to update CC apps on my iMac:
    Update Failed
    Unable to write to file/folder. You may exit now, try after disabling your anti-virus, or contact customer support.
    Has anyone experienced/resolved this issue?

    Ggallowaycb it would appear that your current User account's file permissions have become compromised and you are unable to write/modify a specific directory.  Please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html for information on how to adjust your file permissions.

  • Getting a U43M1D204 error when trying to update After Effects and Premiere Pro

    Getting a U43M1D204 error when trying to update After Effects and Premiere Pro. I have tried reinstalling the cloud installer and all of my programs with no luck. HELP!! I need the update because I have no direct link from Speedgrade back to Premiere Pro

    See if the following posting helps: http://forums.adobe.com/message/4629442#4629442

  • HT201210 Error when trying to update my ipad

    I got an error when trying to update my ipad saying it could not be updated and gave an error 6.  Has anyone else had this happen and how did you rectify it?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Permissions error when trying to update

    permission error when trying to update.

    Hi,
    If you already have Admin Rights and still getting the permission error then please try installing the update manually from following link:
    http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows
    For Acrobat 11 - 11.0.6
    For Acrobat 10 - 10.1.10
    Regards,
    Anoop

  • Visual C++   Errors When trying to update ITunes on Win 8.1

    Visual C++   Errors When trying to update ITunes on Win 8.1

    Steve, glad that you solved it yourself, but it might be worth taking on board that the steps you mention have not been sufficient for many people which is why Apple and others like myself have been offering somewhat deeper advice. Perhaps reiterating what has often already been suggested in such threads is not really necessary.
    Not that you've asked for a critique of your style, but the first sentence of your post above that you are copying elsewhere is appropriate in this thread where you are replying directly to me, anywhere else it perhaps suggests that others should have been able to do likewise and comes over a tad arrogant, though I'm sure that isn't the intention. I wouldn't include it...
    All the best.
    tt2

  • Hi - keep getting a DW040 error when trying to update photoshop

    Hi
    I keep getting a DW040 error when trying to update photoshop

    CitusPhotography can you please paste the portion of the log file which contains the error?  Also which operating system are you using?

  • TS1702 I am getting an unknown error when trying to update or purchase apps from the apps store. This is new, after the new OS update. Help

    Hi, I get this unknown error message, twice when trying to update or purchase new apps. It was working fine, then just stopped. I changed my password, but that hasn't worked. Help!

    Sign out of your account, restart the iPad and then sign in again.
    1. Settings>Store>Apple ID.
    2. Tap your ID and sign out.
    3. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off.
    4. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>Store>Sign in and then try to download again.

Maybe you are looking for

  • Path in Search results

    How can I see the full path under File when doing a search of a site or folder? Seeing the file name and folder it is in is not all that helpful when you have lots of other directories with the same named sub directories and files. A search shows the

  • Camera Raw dnload for Photoshop CS

    I work in Photoshop CS and recently downloaded the versions of Camera Raw 2.1 to 2.3. (The latest version of Camera Raw is 3.3. which is only compatible with PS CS2). Though I exchanged the Plug-Ins as advised, the results in PS are the same as befor

  • When should I attach my own SET OF BOOKS

    Hello All, I tried attaching my set of books at purchasing immediately after creating set of books,business group,operating unit.It was done successfully. But when I wanted to create a new requisition I was getting numerous errors like 1)APP-PO-14142

  • Problems with 1-Step RoboPDF

    I am using RoboHelp X5. It seems I can't get RoboPDF to start. Neither can I uninstall it to reinstall it. I want to be able to directly generate PDF without going through Word first. I have the RoboHelp 6 upgrade, but I wanted to finish my current p

  • CR4E 2.0 + Teradata 12.0

    Hello! I have recently upgraded to Teradata 12.0, which I have successfully deployed with Crystal Reports for Eclipse 1.0.  I am now attempting to upgrade my CR plugins to 2.0, but am running into difficulty.  I have the appropriate Teradata JARs in