Do you use Virtual Box VM... Please help with this.

hey everyone I'm extremely new with all this stuff...
I have a iMac 10.5.4 with the most current version of Virtual Box.
When i load Virtual Box everything is rocking and extremely cool... but after an hour or so my network/server connections dies off on the mac side.
when i go to GO >> Connect to Server >>
smb://ipaddress
I get this pop up...
error connecting to the server >>
I click OK and i get an error code -36
the only way for me to connect again to the server is to shut down everything and restart the iMac it works just fine and i load VB back up and than everything works for about another hour or so and than i have to restart everything again.
any clues to my issue?
thanks for helping a newbie!
cp

...but since you are learning, and would like to know where was the bug, I tried your code and updated it.
The only two small problems I found:
1. You have a while loop that checks if there are more tokens.. it's not needed and this while loop will only run because by the second run, you would have consumed all the tokens in the for loop, check would fail and while loop will be exited. [I have removed this while loop in my version below]
2. Now, here is the bug:your for loop has a condition that evaluates (i < st.countTokens()).
Now count tokens will only return "remaining" tokens. Assuming test string "this is a test", countTokens return 4. Then as you consume the first token, it is 3, then 2 then 1. All this while for loop's i is going 1,2...
i = 0, countTokens = 4
i = 1, countTokens = 3
i = 2, countTokens = 2, check fails, and for loop is exited.
So all you have in your array is first two tokens. Rest of the array is null as it was when you created the array.
So then when you loop back and check index 3,2,1,0.. 3 and 2 elements are still nill, that's why you get the result you are getting.
Here is the fixed code:
String sentence = "this is second test"; //String variable to hold user input
String output = ""; //String variable to enable display of output
String buffer = "";//String variable to hold output
st = new StringTokenizer(sentence);
int tokenCount = st.countTokens();
//Array to hold tokens
String tokenHolder[] = new String[tokenCount];
//Walk through the tokens
for (int i = 0; i < tokenCount; i++)
     tokenHolder[i] = st.nextToken();
String reversedTokens[] = new String[tokenCount];
//Walk through the array in reverse
for (int j = tokenCount-1; j >= 0; j--)
//Add the reversed token to the ouptut string
output += tokenHolder[j] + " ";
System.out.println(output);
}

Similar Messages

  • Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hello Priyanks,
    I found an article with steps you can take to troubleshoot issues with an iPhone not connecting to your car stereo:
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/TS3581
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    Following the fix here worked for me:
    https://discussions.apple.com/message/15680566#15680566
    except my plist file was in ~/Library instead of /Library.
    -Scott

  • I need to use my iMac to run some Windows software and was thinking of using Parallels Desktop 9 to help with this. Do you still have to partition your drive with Parallels and does this leave you open to viruses?

    I need to use my iMac to run some Windows software not available for Mac and was thinking of obtaining Parrallels Desktop 9 to help with this. If I use Parrallels do you still have to partitian your drive and does this leave you open to viruses?

    You do not have to partition your drive - Parallels creates a disk image which contains your Windows installation. You do have to exercise anti-virus measures in the Windows partition, although such malware cannot affect the Mac filesystem.
    Matt

  • Please help with this issue "To Run a SSIS Package outside of Server Data Tools You must install Drived Column of Integration sercvies of higher" From C# app

     i have searched all over the google and here on MSDN(I have read all the threads related to my problem ) , i am new to SISS and doing my clg project ,
    I have this package which loads data from  dim tables to a fact table , my Package runs without any problem in BIDS (2012)
    I have installed SQl Server integration services on SQL and service is also running in services.msc,
    the problem comes when i execute my package using my C# application i am using MSDN Method to execute a SSIS package programmatically given here.
    "http://msdn.microsoft.com/en-us/library/ms136090.aspx"
    For loading my FactTable i have used a Derived columns  and some lookups , 
    Now if i don't use derived columns and looks ups and just use source and destination component then my package runs fine from my C# application but if i use derived columns or looks ups etc it gives the following error
    "Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/SSIS.Pipeline: To Run a SSIS package outside of SQL Server Data Tools you must Install Derived Column of Integration services of higher"
    I am searching and trying to resolve this issue from previous 2 days but without any luck please help or guide me what is solution to this problem ,,i will be very thankful
    I have also found that integration services that are running on my system have version  10.0
    but the BIDS have version Version 11.0.3402.0
    IS this causing problem ?  if yes then what i have to do  ?

    Hi BlaxButt,
    The package is developed in SSDT installed by SQL Server 2012, so it is a SSIS 2012 package. However, the Integration Services you have installed is SQL Server 2008 R2 version. To run the package outside SSDT, you need SSIS 2012 installed. The reason why
    the package runs fine with only Source and Destination components is that such a simple package can be executed by the DTExec utility installed by SQL Server 2012 Data base Engine or Client Tools (SQL Server Import and Export Wizard). To run a package that
    uses other tasks/components outside SSDT/BIDS, the SSIS runtime is also required except the DTExec utility. To obtain the SSIS 2012 runtime, we have to install SSIS 2012 on the server where the package runs.
    Reference:
    http://stackoverflow.com/questions/19989099/getting-error-running-ssis-package-on-non-ssis-server
    Regards,
    Mike Yin
    TechNet Community Support

  • I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect to my MacBook it erases everything on had on there. Can someone please help with this problem?

    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.

    dwgar1322 wrote:
    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.
    Yes, you have WD software installed  REMOVE IT !! 
    WD has warned its customers about their huge mistake that their software doesnt work on Mavericks and causes data loss.
    (also dont use WD drives anymore)
    Read all about it here:
    https://discussions.apple.com/thread/5475136?start=255&tstart=0
    See their website on removing the destructive WD software here:
    http://community.wd.com/t5/External-Drives-for-Mac/External-Drives-for-Mac-Exper iencing-Data-Loss-with-Maverick-OS/td-p/613775
    Western Digital External Hard Drives Experiencing Data Loss On OS X Mavericks
    http://www.cultofmac.com/252826/western-digital-external-hard-drives-experiencin g-data-loss-on-os-x-mavericks/

  • Mac Book Crashing Can anyone please help with this error message,  I've run Disk warrior and everthing is coming up fine, so may be a hardware issue, thank you Interval Since Last Panic Report:  22119 sec Panics Since Last Report:          14 Anonymous UU

    I've run Disk warrior, it says all the files and harddrive are fine.
    thanks for your help.  This crashing was happening before I upgraded to Lion
    Interval Since Last Panic Report:  22119 sec
    Panics Since Last Report:          14
    Anonymous UUID:                    1DA2B715-D1E5-4BF1-A47F-D31CBD8C1E78
    Wed Mar  7 13:21:17 2012
    panic(cpu 2 caller 0xffffff7f8098c907): NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0x0a2910de 0x00100000 0x00000000, BAR0 0xd2000000 0xffffff80a0354000 0x0a5480a2, D0, P2/4
    Backtrace (CPU 2), Frame : Return Address
    0xffffff80a398b800 : 0xffffff8000220702
    0xffffff80a398b880 : 0xffffff7f8098c907
    0xffffff80a398b910 : 0xffffff7f80a7ca64
    0xffffff80a398b960 : 0xffffff7f80a7cb24
    0xffffff80a398b9c0 : 0xffffff7f80d29749
    0xffffff80a398bb00 : 0xffffff7f80a9bbad
    0xffffff80a398bb30 : 0xffffff7f80996282
    0xffffff80a398bbe0 : 0xffffff7f80991b84
    0xffffff80a398bdd0 : 0xffffff7f80993639
    0xffffff80a398beb0 : 0xffffff7f8092e484
    0xffffff80a398bf00 : 0xffffff7f820a47d6
    0xffffff80a398bf50 : 0xffffff7f820a4f2a
    0xffffff80a398bf70 : 0xffffff800023db2c
    0xffffff80a398bfb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.NVDAResman(7.1.8)[94BA87BA-B128-3310-9860-98EC67AB7FAF]@0xffffff7f809 2c000->0xffffff7f80c05fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.8)[F63D4ABE-42DA-33EF-BADD-3415B0CB0179]@0xffff ff7f808b7000
                dependency: com.apple.iokit.IONDRVSupport(2.3.2)[4B3F84DC-18B3-3897-BC56-4E3940878047]@0xff ffff7f8091a000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.2)[FE536983-1897-3D6B-965E-24B5A67080DA]@0 xffffff7f808e2000
             com.apple.nvidia.nv50hal(7.1.8)[7596DB8C-AE9D-3C87-B11A-0ED8F940CAF8]@0xffffff7 f80c06000->0xffffff7f80f27fff
                dependency: com.apple.NVDAResman(7.1.8)[94BA87BA-B128-3310-9860-98EC67AB7FAF]@0xffffff7f809 2c000
             com.apple.driver.AGPM(100.12.42)[380DAA3B-4F08-3152-A3A0-E3F8B6E4B92B]@0xffffff 7f820a3000->0xffffff7f820adfff
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.2)[FE536983-1897-3D6B-965E-24B5A67080DA]@0 xffffff7f808e2000
                dependency: com.apple.iokit.IONDRVSupport(2.3.2)[4B3F84DC-18B3-3897-BC56-4E3940878047]@0xff ffff7f8091a000
                dependency: com.apple.iokit.IOPCIFamily(2.6.8)[F63D4ABE-42DA-33EF-BADD-3415B0CB0179]@0xffff ff7f808b7000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11D50
    Kernel version:
    Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
    Kernel UUID: 7B6546C7-70E8-3ED8-A6C3-C927E4D3D0D6
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 5224512131000
    last loaded kext at 1624245923653: com.apple.driver.AppleFireWireStorage    3.0.1 (addr 0xffffff7f808b3000, size 16384)
    last unloaded kext at 1739101632802: com.apple.driver.StorageLynx    3.0.1 (addr 0xffffff7f80809000, size 8192)
    loaded kexts:
    com.regularrateandrhythm.driver.RowmoteIREmu    1.0
    com.bresink.driver.BRESINKx86Monitoring    8.0
    com.AmbrosiaSW.AudioSupport    3.2
    com.apple.driver.Oxford_Semi    3.0.1
    com.apple.driver.AppleUSBDisplays    317
    com.apple.driver.AppleHWSensor    1.9.4d0
    com.apple.filesystems.autofs    3.0
    com.apple.driver.AudioAUUC    1.59
    com.apple.driver.AGPM    100.12.42
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleHDA    2.1.7f9
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleMCCSControl    1.0.26
    com.apple.driver.AppleMikeyDriver    2.1.7f9
    com.apple.driver.AppleIntelHDGraphics    7.1.8
    com.apple.driver.AppleIntelHDGraphicsFB    7.1.8
    com.apple.driver.SMCMotionSensor    3.0.1d2
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AudioIPCDriver    1.2.2
    com.apple.driver.AppleSMCLMU    2.0.1d2
    com.apple.GeForce    7.1.8
    com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.5d4
    com.apple.driver.AppleMuxControl    3.0.16
    com.apple.driver.AppleLPC    1.5.3
    com.apple.driver.AppleUSBTCButtons    225.2
    com.apple.driver.AppleIRController    312
    com.apple.driver.AppleUSBTCKeyboard    225.2
    com.apple.driver.AppleUSBCardReader    3.0.1
    com.apple.iokit.SCSITaskUserClient    3.0.3
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.IOAHCIBlockStorage    2.0.1
    com.apple.driver.AppleUSBHub    4.5.0
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleFWOHCI    4.8.9
    com.apple.driver.AirPort.Brcm4331    513.20.19
    com.apple.iokit.AppleBCM5701Ethernet    3.0.8b2
    com.apple.driver.AppleEFINVRAM    1.5.0
    com.apple.driver.AppleAHCIPort    2.2.0
    com.apple.driver.AppleUSBEHCI    4.5.8
    com.apple.driver.AppleACPIButtons    1.4
    com.apple.driver.AppleRTC    1.4
    com.apple.driver.AppleHPET    1.6
    com.apple.driver.AppleSMBIOS    1.7
    com.apple.driver.AppleACPIEC    1.4
    com.apple.driver.AppleAPIC    1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient    167.3.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.1
    com.apple.driver.AppleIntelCPUPowerManagement    167.3.0
    com.apple.iokit.IOFireWireSerialBusProtocolTransport    2.1.0
    com.apple.iokit.IOFireWireSBP2    4.2.0
    com.apple.driver.AppleUSBHIDKeyboard    152.3
    com.apple.driver.AppleHIDKeyboard    152.3
    com.apple.driver.AppleUSBAudio    2.8.2f5
    com.apple.kext.triggers    1.0
    com.apple.driver.DspFuncLib    2.1.7f9
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.iokit.IOSurface    80.0
    com.apple.iokit.IOBluetoothSerialManager    4.0.3f12
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.iokit.IOFireWireIP    2.2.4
    com.apple.iokit.IOAudioFamily    1.8.6fc6
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleHDAController    2.1.7f9
    com.apple.iokit.IOHDAFamily    2.1.7f9
    com.apple.driver.ApplePolicyControl    3.0.16
    com.apple.driver.AppleSMC    3.1.1d8
    com.apple.driver.IOPlatformPluginFamily    4.7.5d4
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.driver.AppleGraphicsControl    3.0.16
    com.apple.driver.AppleBacklightExpert    1.0.3
    com.apple.nvidia.nv50hal    7.1.8
    com.apple.NVDAResman    7.1.8
    com.apple.iokit.IONDRVSupport    2.3.2
    com.apple.iokit.IOGraphicsFamily    2.3.2
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.3f12
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.3f12
    com.apple.iokit.IOBluetoothFamily    4.0.3f12
    com.apple.driver.AppleUSBMultitouch    227.1
    com.apple.iokit.IOUSBHIDDriver    4.4.5
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.0.3
    com.apple.iokit.IOUSBMassStorageClass    3.0.1
    com.apple.driver.AppleUSBMergeNub    4.5.3
    com.apple.driver.AppleUSBComposite    4.5.8
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.0.3
    com.apple.iokit.IOBDStorageFamily    1.6
    com.apple.iokit.IODVDStorageFamily    1.7
    com.apple.iokit.IOCDStorageFamily    1.7
    com.apple.driver.XsanFilter    403
    com.apple.iokit.IOAHCISerialATAPI    2.0.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.0.3
    com.apple.iokit.IOUSBUserClient    4.5.8
    com.apple.iokit.IOFireWireFamily    4.4.5
    com.apple.iokit.IO80211Family    412.2
    com.apple.iokit.IOEthernetAVBController    1.0.0d5
    com.apple.iokit.IONetworkingFamily    2.0
    com.apple.iokit.IOAHCIFamily    2.0.7
    com.apple.iokit.IOUSBFamily    4.5.8
    com.apple.driver.AppleEFIRuntime    1.5.0
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.3
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    331.3
    com.apple.iokit.IOStorageFamily    1.7
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.4
    com.apple.iokit.IOPCIFamily    2.6.8
    com.apple.iokit.IOACPIFamily    1.4

    Please describe:
    Computer model & hardware characteristics (especially RAM).
    How much free space left on HDD.
    Any add-ons you may have added to the system (antivirus, screen eye candy, etc.)
    What applications were running when the crash occurred.
    What were you doing when the crash occurred.

  • Please help with this error: "Your request could not be completed because of a disk error"

    So photoshop cs6 was working fine a few weeks ago. After not using it for about 2 weeks, I try opening a RAW file and I get this error every time. JPGs open and work fine. I have extensively searched on the internet for solutions and have tried everything such as: disk checking, deframgenting, playing around with photoshop preferences, deleting temp files, resetting preferences, clearing disk space. I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!

    mistahbo1 wrote:
    …I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!
    That's woefully inadequate for scratch file space.
    The rule of thumb I follow says to figure on 50 to 100 times the size of your largest file ever multiplied by the number of files you have open.  I have seen the scratch file exceed 300 GB once, an admittedly rare occurrence, but it often exceeds 200 GB when stitching large panoramas and the like.
    Additionally, if either one those two drives you mention with "16 GB free and the other with 8 GB free" happened to be your boot drive, you'd be in a heap of trouble because neither one of those drives has nearly enough space to accommodate the swap files of the OS and Photoshop's scratch.
    As an example—and stressing that I'm aware that others have even more scratch space than I do—I keep two dedicated, physically separate hard drives as my primary and secondary Photoshop scratch disks and a lot of GB free on my boot drive for the OS.  I have 16 GB of RAM installed:

  • Please help with this slow internet

    Can someone please help me with this slow internet. I have been looking on this forum for a while and have tried about everything I can do. I bought a new macbook, a new airport extreme base station, and have high speed internet. I can connect with a wire and it works great but wirelessly is slower than dial up. I am also not very good with computers so I am not sure how to do a lot of the things that many people say to do. I have comcast internet. If you need anymore information I will do my best to give it. Please help me fix this, remember it is the holiday season be a giver.
    Thanks in advance for any help you can give.
    Aaron

    I believe there are several reasons for Leopard's networking issues.
    I've heard it's worth a try to *turn off IPv6 in the OS network settings and your router* (if such an option exists in your router). IPv6 is the new addressing protocol which many consider to be overkill, seeing as it allows for approximately as many addresses as there are square centimeters of surface area on planet Earth (according to Wikipedia). It's also known to cause issues with Vista, which leads me to believe that the protocol is fundamentally flawed in some way.
    Just a note, turning off IPv6 in the OS is easy, simply go to *System Preferences* > Network > select the *network type* you're using (i.e. Wi-fi, ethernet, FireWire). Then click the Advanced... button, go to the TCP/IP tab, and say *Configure IPv6: Off*.
    Upgrading your router's firmware is worth a try, although such updates should only be performed through the ethernet connection, not over Wi-Fi (otherwise you could risk turning your router into a giant paperweight). You should also take note of your router settings prior to the firmware upgrade, because they will probably be reset with the upgrade.
    Check your *Activity Monitor* in Applications under Utilities. Right-click (or control-click) on the *Activity Monitor* icon and tell the *Dock Icon* to *Show CPU Usage*. Keep an eye on the CPU usage in the dock and if it goes higher than expected, click on the icon and tell the window to *Show Active Processes*, and/or organize the processes by order of CPU usage.
    Leopard doesn't have "nice" processes anymore and I find that some processes that like to use the network prevent other processes from using the network simultaneously. I think a lot of the network issues people are having are due to *Quick Look*, mdworker, and mds. These processes seem to like to go out on the network and make notes about every server available, however there doesn't seem to be any way to make these processes "nice" or kill them permanently without losing valuable system functions. It's interesting, at least, to see the probable cause of some of these networking problems, even if we can't fix them.
    By now, I'm sure I sound like I'm babbling, but I hope at least some of this helps somebody out there.

  • Please help with this Premiere Pro CS5 encoding error

    VBR 2 pass encoding getting stuck at 50% in Premire Pro CS5. I assume this is the starting point of pass #2. The Error message states that one of the temporary files created during first pass cannot be read. I confirmed that said file exists, it is in the correct location and has the correct file name. Interestingly, at times, the 2 pass encoding proceeds through completion without issues, but I haven't been able to identify the reason for this. PLEASE HELP!! Thank you.

    Thank you so much for replying. I tried running as administrator and it did not correct the issue. Luckily I did figure out the problem after trying various ways. It so happens that Windows seven sets "read Only" attributes to files within folders that you create by right clicking on the drive name and using "New Folder". So, when the encoder tries to over-write on one of the temporary files it created during the first pass it can't do it and it issues the error "Cannot open file for writing...etc.". I fixed it by right clicking inside the folder contents and changing the attribute. Now it works. This is the error that I was getting:

  • Please help with this bapi

    Hi Experts!
    I am trying to use 'BAPI_OUTB_DELIVERY_CONFIRM_DEC' for posting goods issue but could not succeed. I am getting the message 615 (Delivery item is not or only partially packed) when I test the same in SE37. However the same delivery, if I go to VL02n and issue post goods issue, it is succeeding. I think I am doing some mistake with the parameters to be passed to bapi. Please help me find the error as I am unable to find. I am stuck with this for pretty long time. Points assured for helpful answers.
    Thanks for your time.
    Krishen
    DATA: itab_headerdata TYPE STANDARD TABLE OF bapiobdlvhdrcon WITH HEADER LINE.
    DATA: itab_headercontrol TYPE STANDARD TABLE OF bapiobdlvhdrctrlcon WITH HEADER LINE.
    DATA: itab_itemdata TYPE STANDARD TABLE OF bapiobdlvitemcon WITH HEADER LINE.
    DATA: itab_itemcontrol TYPE STANDARD TABLE OF bapiobdlvitemctrlcon WITH HEADER LINE .
    DATA: itab_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab1_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab3_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: deliv_numb TYPE bapiobdlvhdrcon-deliv_numb.
    Vbeln and posnr are coming from itab.
      SELECT SINGLE * FROM likp
        WHERE vbeln = itab-vbeln.
      SELECT SINGLE * FROM lips
      WHERE vbeln = itab-posnr.
      itab_headerdata-deliv_numb = likp-vbeln.
      itab_headercontrol-deliv_numb = likp-vbeln.
      itab_headercontrol-post_gi_flg = 'X'.
      CLEAR deliv_numb.
      deliv_numb = likp-vbeln.
      itab_itemdata-deliv_numb = likp-vbeln.
      itab_itemdata-deliv_item = lips-posnr.
      itab_itemdata-dlv_qty = lips-lfimg.
      itab_itemdata-sales_unit = lips-meins.
      itab_itemdata-fact_unit_nom = lips-umvkz.
      itab_itemdata-fact_unit_denom = lips-umvkn.
      itab_itemcontrol-deliv_numb = likp-vbeln.
      itab_itemcontrol-deliv_item = lips-posnr.
      itab_itemcontrol-chg_delqty = 'X'.
      CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
        EXPORTING
          header_data                = itab_headerdata
          header_control             = itab_headercontrol
          delivery                   = deliv_numb
      TECHN_CONTROL              =
        TABLES
      HEADER_PARTNER             =
      HEADER_PARTNER_ADDR        =
      HEADER_DEADLINES           =
       item_data                  = itab_itemdata
       item_control               = itab_itemcontrol
      ITEM_SERIAL_NO             =
      SUPPLIER_CONS_DATA         =
      HANDLING_UNIT_HEADER       =
      HANDLING_UNIT_ITEM         =
      HANDLING_UNIT_SERNO        =
      EXTENSION1                 =
      EXTENSION2                 =
          return                = itab_bapiret2.
      TOKENREFERENCE             =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait   = 'X'
        IMPORTING
          return = itab1_bapiret2.

    Hi Krishen
       Have done some modifications to your code. Highlighted below are the same. Please check if the same works for you.
    DATA: itab_headerdata TYPE STANDARD TABLE OF bapiobdlvhdrcon WITH HEADER LINE.
    DATA: itab_headercontrol TYPE STANDARD TABLE OF bapiobdlvhdrctrlcon WITH HEADER LINE.
    DATA: itab_itemdata TYPE STANDARD TABLE OF bapiobdlvitemcon WITH HEADER LINE.
    DATA: itab_itemcontrol TYPE STANDARD TABLE OF bapiobdlvitemctrlcon WITH HEADER LINE .
    DATA: itab_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab1_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab3_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: deliv_numb TYPE bapiobdlvhdrcon-deliv_numb.
    Vbeln and posnr are coming from itab.
    SELECT SINGLE * FROM likp
    WHERE vbeln = itab-vbeln.
    SELECT SINGLE * FROM lips
    WHERE vbeln = itab-posnr.
    <b>select single kostk from vbuk into vbuk-kostk
           where vbeln = itab-vbeln
           and   kostk = 'C'.
    if sy-subrc ne 0.
    message "Picking is not fully done
    else.</b>
    itab_headerdata-deliv_numb = likp-vbeln.
    itab_headercontrol-deliv_numb = likp-vbeln.
    itab_headercontrol-post_gi_flg = 'X'.
    CLEAR deliv_numb.
    deliv_numb = likp-vbeln.
    <b>*itab_itemdata-deliv_numb = likp-vbeln.
    *itab_itemdata-deliv_item = lips-posnr.
    *itab_itemdata-dlv_qty = lips-lfimg.
    *itab_itemdata-sales_unit = lips-meins.
    *itab_itemdata-fact_unit_nom = lips-umvkz.
    *itab_itemdata-fact_unit_denom = lips-umvkn.
    *itab_itemcontrol-deliv_numb = likp-vbeln.
    *itab_itemcontrol-deliv_item = lips-posnr.
    *itab_itemcontrol-chg_delqty = 'X'.</b>
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    header_data = itab_headerdata
    header_control = itab_headercontrol
    delivery = deliv_numb
    TECHN_CONTROL =
    TABLES
    HEADER_PARTNER =
    HEADER_PARTNER_ADDR =
    HEADER_DEADLINES =
    item_data = itab_itemdata
    item_control = itab_itemcontrol
    ITEM_SERIAL_NO =
    SUPPLIER_CONS_DATA =
    HANDLING_UNIT_HEADER =
    HANDLING_UNIT_ITEM =
    HANDLING_UNIT_SERNO =
    EXTENSION1 =
    EXTENSION2 =
    return = itab_bapiret2.
    TOKENREFERENCE =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'
    IMPORTING
    return = itab1_bapiret2.
    <b>endif.</b>
    Kind Regards
    Eswar

  • Please help with this method

    im creating a little animation of pacman, just an animation of it moving buy its self. im using the java elements package so this is all being shown in a drawing window.
    ive made it move fine and go round the window abit eating dots but the code is a mess, and i know i could change some of the main part into a few simple methods and have tried but it seems to stop moving when i try
    below is part of the code, the first three blocks are when its moving sideways with its mouth in three different states, and the bottom three blocks are it moving down with its mouth in three states again.
    Arc pacarc = new Arc();
    while (startmv++<stopmv)
    pac1x += 4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth1,pacangle1);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1x += 4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth2,pacangle2);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1x += 4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth3,pacangle3);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    while (startdwn++<stopdwn)
    pac1y +=4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,50,50,pacdwn1,pacdwnang1);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1y +=4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,50,50,pacdwn2,pacdwnang2);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1y +=4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,50,50,pacdwn3,pacdwnang3);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    so for the first part i tried putting this into a method and running the program but where i had used the method the pacman shape just stayed still. any help please guys?
    this is the code for the method i tried (this is just for thefirst state of the pacmans mouth while moving sideways)
    public static void pacmve(int pactestx, int pactesty, int pacsizetest1, int pacsizetest2, int pacmouthtest, int pacangletest)
    pactestx += 4;
    Arc pacarc = new Arc();
    d.setForeground(Color.yellow);
    pacarc = new Arc(pactestx,pactesty,pacsizetest1,pacsizetest2,pacmouthtest,pacangletest);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    this is the loop i where i was trying to use the method
    while (startmv++<stopmv)
    pacmve(20,20,50,50,45,270);
    Edited by: jeffsimmo85 on Nov 22, 2007 1:18 AM

    When you post a code on a public forum, the code must be:
    1)Properly formatted using code tags.
    2)Generally compilable and runnable for us casual forum viewers.
    3)Reproducible of your problems when we run it.

  • Have a look see what you can do .why cant anyone help with this is it that complicated?

    HERE IS WHAT I HAVE DONE.
    All i am trying to do is insert a simple piece of audio what
    am I doing wrong. Is it my browser pluginfolder? I dont think so
    because flash shockwave mp3 mp4 midi wave avi mpeg wma quicktime
    realtime everthing plays outside dreamweaver is it dreamweaver
    plugins? I have downloaded flash and shockwave from this site via
    manually install plugins from websit preview in design view. Is it
    that my folders are just not configured correctly? Why do i get
    these errors please please please help some one has to know...
    here is what i have being doing .
    1. Made a folder and called it webwork.
    2 Made a folder and called it imagies
    3 made a folder and called it media. I have put the media
    folder in the imagies folder the imagies folder in the web folder
    so Im left with one main folder.
    4 I have defined dreamweaver site as follows. local
    rootfolder (webwork) c/documentsandsettings/myusername/webwork
    default imagies folder
    c/documentsandsettings/myusername/webwork/imagies
    5 on starting a web page I call it my webwork1.html and save
    it.
    6 I import a converted media file from flash encoder put it
    in the media folder along with an none converted media file just to
    see .
    7 I goto insert media shockwave or insert plugin or insert
    flash( look in webwork imagies media select the file (my tune)
    8 When I try to play this in design view i get the error
    message (unable to find media that handles this media type
    dreamweaver looks in both the configuration/plugins folder and the
    plugin folders of each of your web browsers)so i copy my web
    browser plugin folder and put it in my webwork media folder still
    nothing
    9 When I view it on my browser the media icon(shockwave)
    disapears and the puzzel icon appears (plugin) when i click the
    plugin no plugins are found
    10 When i do this process through flash button paper or text
    and load it up to my web browser it downloads the tune and plays
    away via my plugin winamp5?
    11 All I want to do is to emmbed a tune so you have the
    option of playing it stopping it (but not downloading it to listen
    to) why cant this work for me? Is there a fault with the browser or
    dw8 or me.
    system windows 2000xp
    browser firefox 1.5 plugins all
    PLEASE HELP I HAVE TRIED ALL FOR TWO WEEKS
    for one on one and 10mins of
    your time please mail me

    Connect the iPod to your computer and restore via iTunes
    iTunes: Restoring iOS software

  • Urgent! Please help with this

    Hi! in the ../server0/log/application.log we see:
    Error#1#com.sap.lcr.sagent.BuilderDirector#Plain###Data supplier c
    ircular redirection. Check data supplier bridge targets.
    At VA we see only SLD data suplier but no "bridge".
    Please help. Points guaranteed.

    Do you specify a default domain in the sqlnet.ora file? If so then you should include it as part of the tnsnames entry.

  • Please help with this method, cant get it to work correctly.

    any suggestions AT ALL please, im really stuck with this.
    im creating a little animation of pacman, just an animation of it moving buy its self. im using the java elements package so this is all being shown in a drawing window.
    ive made it move fine and go round the window abit eating dots but the code is a mess, and i know i could change some of the main part into a few simple methods and have tried but it seems to stop moving when i try
    import element.*;
    import java.awt.Color;
    static DrawingWindow d = new DrawingWindow(500,500);  
       public static void wait1second()
        //  pause for one tenth of a second second
            long now = System.currentTimeMillis();
            long then = now + 100; // 100 milliseconds
            while (System.currentTimeMillis() < then)
        public static void waitNSeconds(int number)
            int i;
            for (i = 0; i < number; i++) //allows you to determine how long to pause for
                wait1second();
    public static void main(String[] args) {
        //  declaring the variables
        int pacsize1 = 50, pacsize2 = 50;
        int pac1x = 20, pac1y = 20;
        int pacmouth1 = 45, pacangle1 = 270;
        int pacmouth2 = 25, pacangle2 = 320;
        int pacmouth3 = 6, pacangle3 = 348;
        int startmv = 0, stopmv = 33;
        d.setForeground(Color.black);
        Rect bkrnd = new Rect(0,0,500,500);     
        d.fill(bkrnd);
       // while loop used to make the pacman shape move right across the screen with its mouth in three different states
    Arc pacarc = new Arc();
         while (startmv++<stopmv)
            pac1x += 4;
            d.setForeground(Color.yellow);
            pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth1,pacangle1);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
            pac1x += 4;
            d.setForeground(Color.yellow);
            pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth2,pacangle2);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
            pac1x += 4;
            d.setForeground(Color.yellow);
            pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth3,pacangle3);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
    }so i tried making a method to make all the stuf in the while loop alot simpler but it just keeps making the pacman not move at all and im not sure why. heres the code i tried for the method:
    public static void pacmve(int pactestx, int pactesty, int pacsizetest1, int pacsizetest2, int pacmouthtest, int pacangletest)
            pactestx += 4;
            Arc pacarc = new Arc();
            d.setForeground(Color.yellow);
            pacarc = new Arc(pactestx,pactesty,pacsizetest1,pacsizetest2,pacmouthtest,pacangletest);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
            }it had no problems with the code, but it just doesnt seem to do anything when i call it in the while loop. heres how i used it to try and just make it move across with the mouth in one state:
    while (startmv++<stopmv)
    pacmve(20,20,50,50,45,270);
    }any ideas?
    Edited by: jeffsimmo85 on Nov 22, 2007 2:36 AM

    the clock is still ticking while you do this:
    while (System.currentTimeMillis() < then)
    is that method your design? why not just call Thread.sleep()?
    %

Maybe you are looking for

  • Problem with a Formula in ABAP

    hello, im new in ABAP. I have to implement a formula. ((Variable ==0) OR (Variable ==1)) 100 + ((Variable >=2) AND (Variable <=4))95 This Formula is used normally in a query. but i need it in my StartRoutine as ABAP Code. hope anyone can help regards

  • Text Content Conversion - File Adapter - Creates empty file

    I am running XI 7.0. Mapping from abap proxy to file - text content conversion. The process works, generates and sends file from mySAP, maps through XI, logs onto ftp site and creates file, but doesn't write any data into the file! I am really confus

  • HT4528 Why does phone say cannot connect to server

    Im not very educated on using Iphone in fact that has led to trouble with spying. I have changed all email accts ID and passwords now phone is saying can not find server is it because I am entering a different password. Did I skip a step.

  • Excute unix script from java.

    Hi need to excute unix script from java application. My code is: public class Test public static void main(String args[])      try{      p = Runtime.getRuntime().exec("./qfe0"); //qfe0 is the name of the script. p.waitFor(); catch(Exception e) e.prin

  • Font issue in Cinnamon start menu

    I was setting up a new laptop and installed a bunch of stuff, I did a reboot but when I logged back in the font of the Cinnamon start menu was messed up. I checked another account, its menu was fine and it had almost everything the same except the De