Error Code "-5002" While adding a Goods Issue Document

Hi,
While adding a goods issue document for only a specific combination of items I get "Internal Error (-5002) occured" message.
The scenario is i am adding 5 rows with following specification
Row1- Serial Managed Item
Row2- Batch Managed Item
Row3- Managed by none
Row4- Batch Managed Item
Row5- Serial Managed Item

Hi I had the same Issue,
What my problem solved was setting the baseline number for each serial and batch number on each specific line to the line number of that specific line.
like this:
doc.Lines.SerialNumbers.SetCurrentLine(doc.Lines.SerialNumbers.Count - 1);
doc.Lines.SerialNumbers.InternalSerialNumber = 2;
doc.Lines.SerialNumbers.BaseLineNumber = doc.Lines.SerialNumbers.Count - 1;
Regards

Similar Messages

  • Error Code :-5002 Error Message :Enter valid currency  , '51100000-01-001-0

    Hi all,
             I have found a error "Error Code :-5002 Error Message :Enter valid currency  , '51100000-01-001-01'" while adding the DELIVERY document.
    I have made a customer and assign then "EURO" currency and add delivery document then it prompts error.
    Could anyone solve this problem. is there any setting which i am missing..??
    Regards
    Sandesh

    HI Sandesh,
    Check Sap note :1252328
    and also check below thread of similar issue:
    Re: 'Invalid Currency' error when attempting to deliver order
    Hope this will solve your issue.
    Thanks,
    Neetu

  • Error code 5002 help requi

    I am trying to install Creative MediaSource Player/Organizer 5.0.38 ([size="2" color="#3300ff">CMS5_PCAPP_LB_5_0_38.exe) for a Zen Micro?on a friends computer, having downloaded it from Creative whever I run the program it all extracts but once the install starts I get the "Error code 5002". I have also tried to install from the net with the same error, not surprisingly. I have also tried to install while in safe mode it gets further but then obviously doesn't see the player so then won't let me go further. Any ideas anybody, please?

    I think this error can be for several reason, mainly about master data.
    I'm sure one of them is a customer issue. the customer is not good. It can be also a wrong item code.
    Try to use the SBO application, entering in the form excactly the same data than you try using the SDK. it may be revelant.
    Sebastien

  • Can not sign into itunes get error code 5002

    I was able to sign into iTunes, but when attempting to download a song I received error code 5002 and to try back later. Now I Can not sign into ITunes at all and am still getting the code 5002. I've changed my credit card info via store.apple.com but this did not fix the problem. ran diagnostic check and everything is fine. Is this a problem on their end?

    I fixed this error for my daughter after a while by working out that the address in her login profile was a different country from the iTunes and App store that she was logging into...
    I also blogged about it to try to help others as this took out a good 6 hours of my Christmas evening trying to set up my kid's MBP.
    http://blog.adaptovate.com/2014/12/fixed-itunes-5002-error-and-unknown.html
    Doug

  • Why is the Error Code 0x8002006E While Burning the Disc?

    Hey there! I don't seem to get through this Issue. I was trying to burn content to a Disc and it failed with the error code 0x8002006E, while the process was almost complete. I came across a few forums and nothing helped much to resolve this problem. Is there someone who knows the exact cause? Is this is a known-issue or anything already being addressed by Apple? Or a work-around to get this resolved? because i also read (did not try) that no third-party applications, as an alternative, solved this Issue. Disappointed! Help!
    Model: iMac (21.5-inch, Mid 2011)
    OS: Lion OS X 10.7.4
    I have the latest software updates and Firmware updates installed.
    Thank you,
    Sivarama Krishnan (kvsrkrishnan)
    <Edited by Host>

    I found this article excerpt:
    The few solution that where found where by calling at Apple and get technical support. There are a few solutions that might work.
    The first one would be Go to users > your computer name / user name > library > Preferences > com.apple.finder.plist and delete this file. Also it’s advised to keep the burn speed at 8x.
    The second solution found that Apple technical support gave is to unplug everything, including the AC power cord and then remove the battery. Press the power button for 10 seconds without replacing the battery or attaching the AC power cord and after the 10 seconds are up replace the battery. After the battery is in slot hold down the following keys with the left hand: Option + Apple (command) + R and with the right hand hold down the following keys: P + Power Button. You will need to hold all 5 of these buttons at the same time until you hear both sets of startup chimes Release all of the 5 buttons after you hear the two startup chime sounds.
    Hope this helps

  • While doing the goods issue system is thruoghing an erro message no VL621

    hi ,
    actually while doing the goods issue we had put a validation if that filed(serial number) is not valid.like AVAILABLE then the system has through to an error message.but after that error message system is throughing an nother error.
    Risk of posting several mat.documents for one delivery->long text
        Message no. VL621
    Diagnosis
        Processing has been terminated because there is the risk that the system
        creates several material documents for this delivery.
    Procedure
        If this message occurs frequently, please note the exact situation and
        procedure as well as error messages and inform the system administrator.
    and we changed that error to warning also still we are getting that error message.
    how to stopthis error message.

    hi actually not for serial number check.
    there is a Z field in serial number master which is used for SIM number.
    that SIM number will be validated with available SIM number from another Z table.
    after this SIM error system is throughing this VL621 error after transaction terminated message.

  • Error Code 8024200D while installing update KB3000850 for Windows 8.1

    Error Code 8024200D while installing update KB3000850 for Windows 8.1
    I have been prompted for the last 10 days to install the important update KB3000850 in my laptop, but the installation fails every time.
    Two days ago, on March the 12<sup>th</sup>, I installed 31 updates without any problem. What is wrong with this particular update?
    You will find below my dialogue with Microsoft Support Engineer, Mr Niranjan Manjhi, who referred me to you:
    Hi Michelle,
    Thank you for posting your query in Microsoft Community.
    I understand that you are unable to install the a specific update KB3000850. I will be happy to assist you with your query. Let me ask you;
    Is your computer connected to domain?
    Which security software is installed in the      computer?
    Do you remember making any specific change in the      computer prior to the issue?
    This November update rollup also includes all previous updates since the previous image update in April 2014 and this includes performance and reliability
    improvements.
    Cause:
    This issue occurs because a process keeps a file in the component store open. Therefore, the file cannot be deleted or overwritten. Let's try the methods below and
    check the status.
    Method 1: Depending on the architecture of your
    Windows 8.1 operating system, I would suggest you to install the following package first and then try installing the KB3000850.
    All supported x86-based versions of Windows 8.1: [link] Download the package now.
    All supported x64-based versions of Windows 8.1:
    [link] Download the package now. 
    Restart is required.
    Method 2:
    If the issue still persists, run the Windows Update Troubleshooter and check the status.
    Click to run
    [link] Windows Update Troubleshooter
    Also refer to:
    [link] Troubleshoot problems with installing updates
    Hope this information is helpful. Please feel free to reply in case you face any other issues with Windows in future.
    Regards,
    Niranjan Manjhi
    Dear Niranjan,
    Thank you for your answer.
    To answer your questions:
    1) Yes, my laptop is connected to the domain,
    2) My security software is McAfee Total Protection, the same I use for my PC running Windows 7 XP,
    3) I did not make any specific change to the laptop. It is true though that I run regularly McAfee´s QuickClean.
    In your answer, you suggested 2 methods for resolving the problem.
    I chose to apply first the second one, i.e. I ran once again the Windows Update Troubleshooter, which revealed again the following status:
    Potential Windows Update Database error detected Ox800F08F: Not fixed
    Windows Update components must be repaired: Fixed
    And a last information: Yesterday, McAfee´s Vulnerability Scanner was automatically activated, showing as "critical" the update in question ("important" according to Windows)!
    As for applying the first method you suggested, I will need the services of a professional, someone more IT literate than myself.
    Michelle
    Hi Michelle,
    Thank you for keeping us updated on the issue.
    Since the computer is connected to domain, I would request you to post your query in the TechNet forums as your question is beyond the scope of what
    is typically answered in this consumer forum and would be better suited for the IT Pro audience on TechNet.
    Please post your question in the link TechNet Forums.
    Regards,
    Niranjan Manjhi

    Hi there @Achintya-only
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel.
    I see that you are getting an error code, when you try to install Windows 8.1 from USB or DVD. I am happy to assist.
    Just to clarify, you are using a standalone Windows installation disk, you are not using a factory recovery image. Is that correct?
    Have you run the hardware diagnostics on your notebook? HP Notebook PCs - Testing for Hardware Failures (Windows 8)
    What operating system was on the system before, and have you made a set of recovery media, for your original factory installation?
    Please let me know what you find.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Error code 50 while trying to download a font from adobe creative cloud

    I received a error code 50 while trying to download a font from adobe creative cloud saying that the "Creative Cloud desktop failed to update" and that I should contact customer service. How should I resolve this issue?

    Read here.
    http://support.apple.com/kb/TS1279

  • Error code -5002

    Hi ,
    I've tried to update a sale order (ORDR), but it returns the error code "-5002,msg=” Document rows cannot be closed concurrently with the other document modifications you have made[RDR1.LineStatus][:Line:0]”
    the code is the following:
          Dim Irow As Integer
            Dim lErrCode As Long
            Dim sErrMsg As String
            Dim rnt As Integer
            Dim cnt1 As String
            Dim cnt2 As String
            Dim rrnt As Integer
            Dim grnt As Integer
            Dim errcode As String
            Dim errmsg As String
            If oCompany.InTransaction Then
                Else
                    oCompany.StartTransaction()
                End If
            'Sales order object
            oOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
            'Retrieve by Docentry       
            grnt = oOrder.GetByKey(sOrderNum)
            'detail row count
            Irow = oOrder.Lines.Count
            If Irow > 0 Then
                If Not bReversal Then
                    oOrder.Lines.SetCurrentLine(sOrderLine)
                    oOrder.Lines.LineStatus = BoStatus.bost_Close
    rnt = oOrder.Update()
    oCompany.GetLastError(errcode, errmsg)
    System.Windows.Forms.MessageBox.Show("Final " & errcode & " " & errmsg)
                End If
                rnt = 0
            Else
                rnt = -1
            End If
    anybody can help me??
    A150

    Hi,
    I am sorry, but this is the forum around Solution Certification - not about general SDK questions or issues.
    Please use the "regular" Forum (SAP Business One SDK)!
    Thanks

  • Getting error code 5002 in itunes

    Getting error code 5002 in itunes and tried the recommendations.  Makes no sense!  I can enter my account in safari and on iTunes store, but not through Itunes software!

    Hello jmmairs,
    It sounds like you are getting error code 5002 when trying to use the iTunes Store. Take a look at this info from the following featured discussion:
    iTunes Store Error message 5002
    https://discussions.apple.com/thread/4852016
    This alert is often the result of an issue with verifying your billing.
    Quit iTunes.
    Open iTunes.
    Test the issue.
    If it persists, sign in to store.apple.com using your iTunes account.
    Change your country if necessary
    Click on Change account information
    Modify or remove your credit card information.
    Click Continue.
    Test the issue.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • HT1918 why do I keep getting error code 5002 when trying to make a purchase? Has been almost a week now!

      Why do I keep getting Error Code 5002 when trying to make a purchase from the Itunes store? I am using Vista Home edition> havent had any problems before. This has been going on for a week.

    This alert is often the result of an issue with verifying your billing.
    Quit iTunes.
    Open iTunes.
    Test the issue.
    If it persists, sign in to store.apple.com using your iTunes account
    Click on Change account information
    Modify or remove your credit card information.
    Click Continue.
    Test the issue.

  • Why do I get an error code 5002 when trying to redeem an iTunes gift card?

    I have an iTunes gift card and everytime I enter the redemption code I get an error code 5002.  Sure would like to be able to redeem my card.

    This alert is often the result of an issue with verifying your billing.
    Quit iTunes.
    Open iTunes.
    Test the issue.
    If it persists, sign in to store.apple.com using your iTunes account
    Click on Change account information
    Modify or remove your credit card information.
    Click Continue.
    Test the issue.

  • Why I encountered error code 50 while installing the app?

    I was using the trial version and just purchased the app via online. However ,when I try to install the desktop app, it shows error code 50 in which it encountered issue while installing.

    For Windows :
    1)End all Adobe process from Task Manager
    2) Open C:drive and navigate to C:\Program Files (x86)\Common Files\Adobe.
    Open Adobe folder and delete folders named Adobe Application Manager and OOBE.
    3) Navigate to C:\Program Files (x86)\Adobe.
    Open Adobe folder and if present delete Adobe Creative Cloud folder.  [ Important step]
    4) Press Windows button (located between Ctrl and Alt buttons) along with R button together at a time , you will get a run command window.
    Type in below command and hit 'Enter' key.
    appdata
    Then navigate to Local>Adobe.
    Open Adobe folder and delete folders named AAMUpdater and OOBE.
    5) Click on the below link and download Creative Cloud setup file and use the same to install the Creative Cloud Desktop application.
    https://creative.adobe.com/products/creative-cloud

  • HT3204 unable to purchase music - keep getting error code 5002 on - using Vista

    Unable to purchase songs - keep getting error code 5002 - using Vista

    I am having the EXACT same problem. It started on June 16th also. I found out that code 5002 is supposedly a billing issue. The article directed me to edit my billing information (even though it was correct). I tried to submit the new information and was told my request could not be processed, try later. I have been trying for 3 days. Was in contact with customer service. first they said it was an Itunes Stores issue with the software. they told me it was resolved. Then they had me uninstall and then reinstall Itunes, which still didnt resolve it. I am starting to think its still an Itunes Store issue. Still trying to cintact customer service about this.

  • ITunes won't allow me to download anything. I get unknown error code 5002

    ITunes won't allow me to download anything. I get unknown error code 5002... what do I do?
    I am entirely updated.
    I have rebooted.
    I have exhausted this support website....
    help.

    I quote:
    This alert is often the result of an issue with verifying your billing.
    Quit iTunes.
    Open iTunes.
    Test the issue.
    If it persists, sign in to store.apple.com using your iTunes account
    Click on Change account information
    Modify or remove your credit card information.
    Click Continue.
    Test the issue.

Maybe you are looking for

  • Long CLOBS with VB

    Hi, We are using VB Components from ASP to read/write data to CLOBS. The trouble is, we are having problems with text over 4k. We get the following error trying to insert text > 4k using the latest Oracle ODBC driver: Ora-01704: String Literal too lo

  • Before a trip, my Mac Book Pro didn't shut down completely.

    When I arrived and opened the Mac, the clock was wiped out and showed 1, 1, 2000. Now my email has incoming dated March 25, 2014. Yes, Mac Mail. What can I do? I did my disk utility 3 times. Got some of the other functions corrected. The MacMail is s

  • Oracle Text for Traditional Chinese

    I would like to ask how can i specific keywords in Chinese and whenever i type sometimes in Chinese, the Oracle Text's token is indexed very interested and the stop word is definite not sometimes rational in Traditional Chinese. Anyone can help? (DR$

  • User exit of va01

    need help in user exit coding i.e. the requirement is like this. Exit is V09A0004. After entering the sold to party in VA01,one pop up comes when we press enter. In that pop up we can see SH,BP,PY.From that if we select SH and that SH having account

  • My add on icons have dissappeared

    i have a few add-ons, but they are not showing on the bottom right of my screen like they did a few minutes ago. where are they, how can i put them back there?