Consistent, long-standing performance issues -- seeking advice

I have a performance problem with my system. It's a problem that's lasted me years, spanning 3 different computers. This leads me to believe it's not the hardware, but something about my system. As I've moved from computer to computer (as well as when I've reinstalled the system), I've taken pains to skip the Migration Assistant and move over preferences and Application Support one by one, in an attempt to isolate and remove the bug. This always appears to work for a while, then inevitably it goes back to it's same, unresponsive, jittery, occasionally slow self. I'm considering getting a new computer, and I want to try to isolate this problem before I go through the process again.
Here is a list of symptoms. Scroll to the end to read what I've tried to do to fix it.
DISAPPEARING FINDER
Once in a while, when waking from sleep, the icons on the Finder disappear. The Finder is be usable, and I can create Finder windows, but the icons aren't there. Fixed by force-restarting the Finder.
MESSY ICON
OIAW, when waking from sleep, the mouse arrow will be replaced with what appears to be random lines and static. Easily fixed by hovering over a text box and forcing a cursor change.
SAFARI BEACHBALL
I know Safari can be slow as a matter of course, but sometimes mine just GRINDS. I have to either force-quit it or leave it for a while for it to catch it's breath. Some common triggers are Flash embeds (no surprise), big pages, or pages with big photos. Almost always, a page with a lot of photos (like Big Picture), will be impossible to scroll smoothly.
GARBLED MENUBAR
Occasionally, I'll look up to the menu bar to find it a garbled mess. It appears as if the menus from more than one application are overlain on top of each other. The bar is still useable, and if I click on any menu, it redraws itself properly.
MOBILE ME IS A ************
This is probably the biggest, most consistent, easiest to replicate problem. When Mobile Me is syncing, I might as well not even try to use the computer. It seems to gobble up all memory, making everything else practically useless. I have it set to sync automatically, but I'm pretty sure I've tried hourly and daily and the same problem occurs. (Also, FWIW, I think it's syncing a lot more than it needs to -- not a lot changes from sync to sync. But I'm not sure how to prove this.)
SLOW DOCK
If it hasn't been in use for a while, the dock will take a second or two to show (it's positioned on the bottom, hidden).
FONT CORRUPTION
This hasn't been happening much lately, but for a while, particular base system fonts would suddenly stop working. The files were still there, and active in FontBook, but they wouldn't work in applications. I would have to remove the file from the System/Library/Fonts folder, then the system would recreate it, and it would work again. This would sometimes happen out of the blue.
The one consistently corrupt program in this respect is Google Chrome. It's never been usable -- all characters within the window frame are the weird box with a serif A in the middle. (Strangely, the text in the chrome itself -- bookmark text, tab text, etc -- works fine.
ITUNES STUTTER
Sometimes the computer is so consumed with whatever it's doing that iTunes will stutter.
DOCK STUTTER BOUNCE
Often when opening an app, the dock icon doesn't bounce smoothly, but rather stutters up and down.
TRANSPARENT MENUBAR
Sometimes the background of the menubar disappears. Weirdly, the shadow remains.
SLOW DASHBOARD
Even after the Dashboard has been loaded for the first time, it can be grindingly slow. It usually zooms into place okay, but activating an module and using it can take 10-20 seconds.
SLOW SCROLLING
Sometimes, very rarely, the whole computer will have a scrolling seizure -- scrolling a window will become VERY unresponsive, and very stuttery when it finally does respond. Happens to all apps, and quitting the app doesn't appear to fix it. Only restarting (or logging out and in).
COVERFLOW
Like other things, can be jumpy.
IN SUMMARY, **** IS SLOW
Basically, sometimes everything just slows. Even the simplest thing is impossible to do, like opening a menu, or finder window, or typing -- it'll stutter and spits out my letters in big chunks.
*--- THINGS I'VE TRIED ---*
I've added more RAM. When I went from 2GB to 3GB, things appeared to be fast again. That lasted a few days. Later, I went from 3GB to 4GB, with no noticeable change.
I've cleared out my fonts. I deactivated all fonts in FontExplorer except for a couple dozen essentials.
I've verified all fonts in FontBook and removed the offending ones. I fixed any conflicts in FontExplorer.
I've cleared the cache any number of ways, including with Cocktail. Cocktail offers a variety of configurations for cache clearing, and I've tried a bunch of them.
After doing all the above for the first time, I actually thought I had cleared out whatever ugliness was invading my system. Things were opening snappily, and Flash movies were playing smoothly. That lasted a day, and things went back to normal. I've tried it again several times since, and while I've seen some mild improvement, it's been nothing like that one miraculous time.
*--- WHAT NEXT? ---*
I've seen Apple Store Geniuses about this a few times. It's been very frustrating. What it usually comes down to is: reinstall your system. I did it the first time they suggested it, and the problem always came back. I'm not going to do it again, because it's a major hassle, and obviously doesn't fix the problem.
The other thing they say to do is look at Activity Monitor. I have done that, but I'm not totally clear what to with the information I see, other than to quit more apps to free more memory. Here's the thing: I'm seeing no discernible difference in free memory between a 3GB system and 4GB system. Same slowness, same sliver of free memory in the pie chart.
I've done a lot of looking around online, including in this forum, and the one thing I read consistently is that you want to avoid pageouts. I look at my Activity Monitor and see gigs and gigs of pageouts. What I can't find is tips on how to reduce them.
I've been living with this for a while, because it's just on the threshold of tolerable. It comes in waves, and the times of easygoing make it easy to forget the annoying times. But I'd like to fix it at its root. If you have any advice, I'd love to hear it.
*--- SCREENSHOTS ---*
- The garbled menubar
- An example of very active Activity Monitor with 3GB
- And one with 4GB
Thanks!

Erase the hard drive, install 10.6 from scratch, download and install the 10.6.3 vers. 1.1 Combo Updater, then allow Software Update to download and install any other additional software.
Do not yet reinstall any third-party software but take some time to test out everything, In this way you will be able to better now if some problems remain which may be indicative of hardware malfunction.
Since you say these problems have been long standings, I'm surprised you didn't downgrade to Leopard or take the computer in for repair. Letting problems go without solution tends to cause new problems and/or exacerbate existing ones.

Similar Messages

  • Roto Brush Performance Issues & Seeking Advice.

    Hello everyone,
      First time posting in the forum, so I'll make this as painless as I can and hopefully I can get a hand in figuring this out.
    Computer is a brand new Mac Book Pro 15in Retina Display.
    - 2.7ghz Intel Core i7 (quad core)
    - 16gb Ram
    - SSD HD
    - NVidia GeForce GT 650m 1024 mb.
    - OSX 10.8.3
    - After Effects 11.0.2.11
    The project that I'm working on right now was shot 1080, 24fps. I cut the project in Premier and copied all of the footage to AE for keying and to ad motion graphics. The project is close to 5 minutes in length, when I noticed the project effecting the performance of my computer I created 4 smaller projects.
    I'm using the rotobrush to add back in the underside of the brim, a task which, initially, I didn't expect to be such a problem.
    No issues at all with keying, so I duplicated the footage, and began roto brushing the brim at full resolution. For the most part, I've been advancing by 10 frames, which I understand will take longer to propagate, however any selection after the render is completely is leaving After Effects almost completely unresponsive for a minute or two.
    Not sure what exactly is going on. I just finished a project last week and used the roto brush quite a bit and had absolutely no problems!
    I read every article and post I found on the roto brush tool, as well as a handful of AE Optimization articles and videos.
    Not sure what else you might need to know from me, but any input or advice would be great.
    Also, if there is a better way to handle adding the underside of the brim back in please let me know. I've tried a few different options, and roto brushing seemed to be the best and quickest option until this!
    Thanks a lot!
    -Joe

    It's hard to say what is causing the rotobrush show down but there may be an easy work around. Try something like this:
    I applied keylight to the footage, selected combined matte to give rotobrush a nice easy area to work in, then pre-composed the keyed footage and used RotoBrush on the layer to select the underside of the hat. I added a white solid behind the rotoed pre-comp and pre composed that to use as a track matte for the original footage. Keylight was also applied to the original footage but was only used to supress color. Here's the AEP. Maybe it will give you some ideas.

  • App rejected due to localStorage issue, seeking advice.

    Hello everyone, Apple has rejected our application because we store files for offline viewing  under localStorage (/Documents)
    This is an extract of the message, we received :
    Data that can be recreated but must persist for proper functioning of your app - or because customers expect it to be available for offline use - should be marked with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute.
    How can we do this with Adobe Air using Flex SDK 4.6?
    +LA

    Alright, again I must emphasize that this is not an easy thing to get going, at least it wasn't for me.  However, I have a 5.1+ solution made building on the jampot extension available here:
    http://www.jampot.ie/ane/ane-ios-data-storage-set-donotbackup-attribute-for-ios5-native-ex tension/
    Replacing the ANE file in the zip provided by jampot with the one linked below should then cause calls to that extension to follow the new 5.1 method.
    http://bit.ly/QbeVCg
    The extension documentation has more info on how to use it, but for a quick start, we use something like:
    if (flash.system.Capabilities.version.substr(0,3).toUpperCase() == "IOS")
         var noBackupSetter : MobileBackup = new MobileBackup();
         var result:Boolean = noBackupSetter.doNotBackup(DataStorage.filePrivate.nativePath);
    This will set the entire File.applicationStorageDirectory to DoNotBackup.  Files that are saved within the directory will obey the DoNotBackup rule for the containing folder.
    Make sure you have the MobileBackup class from the files provided by jampot in your project and that you have included the native extension in your project and packaging.  If you have trouble with any of that, please reference the jampot link above, with the exception of using the 2nd link's ANE file.
    Two important notes--
    First, I have only had success compiling my project using this ANE on a Mac against Air 3.3 with the project pointed directly to my iOS 5.1 SDK folder, found at
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPho neOS5.1.sdk .  (I am using Xcode version 4.4.1, I do not know if this sdk is available in later versions, but it may be possible to find an upload of someone's copy on the web)
    Second, the code the modified ANE uses requires iOS 5.1.  If you submit an app that uses this ANE and it is installed by a pre-5.1 device, the app will immediately crash.  To keep your app from being installed on pre-5.1 devices, modify your AppName-app.xml file in the root of your project to set the MinimumOSVersion like so:
        <iPhone>
            <InfoAdditions><![CDATA[
                                  <key>UIDeviceFamily</key>
                                  <array>
                                            <string>1</string>
                                            <string>2</string>
                                  </array>
                                  <key>MinimumOSVersion</key>
                                  <string>5.1</string>
                        ]]></InfoAdditions>
            <requestedDisplayResolution>high</requestedDisplayResolution>
        </iPhone>
    I'm sorry I don't have access to the changes I made to source at this time, but I will post again when I can to include the specific changes made.  There really was not much change to the objective-c code.  The hard part was getting the ANE built and working with Flash Builder.

  • Windows 7 Boot fails on Mac Pro 1,1 (long-standing issue)

    i am having a long-standing problem on my first generation (1,1) mac pro where i have an installation of Windows 7 "under" boot camp. this installation involved some kind of minor mac hack that involved writing something to ISO and/or a CD Rom and then getting the installation onto my hard drive.
    right now i am not sure if i should get rid of my tech guy, buy the new mac pro as soon as it comes out, boot into safe mode, re-install windows 7 or all of the above. help please?
    lately if i try and Option Boot into this volume i get a Windows closed down incorrectly error and then i hit start windows normally it will crash out and restart the computer in mac OS (i.e. in another option boot volume).
    at one point the windows 7 boot was not working at all and we discovered that i had to TURN OFF my G-Tech 3 TB backup drive in order to get the Mac to boot into Windows.
    i am wondering if i should focus my energies by trying to boot into Safe Mode (and if so what to do if/when i get there) but also whether this appears to be an issue with the Mac Pro, the G-Tech external, Windows or some combination of all plus some user error thrown in for good measure.
    i absolutely need to have a volume of windows 7 running and this is a long-standing issue at this point.
    i am also running a Carbon Copy Cloner of this volume (the one that has all my OS's) on a daily basis to another internal hard drive (which i assume does not matter but i figure to mention it).
    any ideas on what to do??
    i am planning at some point to buy the next release of the Mac Pro so i can upgrade the desktop to Mountain Lion to match the laptop but it seems like i should be able to get this working on my end now...
    TIA
    P.S. I /am/ also noticing that my User Photo periodically drops off and i just see two blank icons (one for me and one for Guest) when i have to login. i set it to a photo and then a week or two or a boot or two later it will disappear.

    hi all,
    a report back after hacking my way through siberia over here:
    turns out there are bad sectors on my drive that some third party program discovered.
    the disk is on it's way back to WD with a replacement in the works.
    fortunately my internal cloned backup got me back up to speed with mac os but unfortunately i was not yet setup to clone my windows boot camp backup so i will be installing windows 7 boot camp one more time on this drive...

  • Considering going from late 2011 MBP to MBA. Seeking advice on performance.

    I currently have a late 2011 MBP with 4GB RAM, 2.4 GHz Intel Core i5 and am running into some performance issues. My main issue is that it takes time to switch between apps and sometimes to open a new tab in chrome. I have a lot of apps open for work purposes and I'm thinking the slowness could be due to not having enough RAM. When I look at Activity Monitor>System Memory, I see that I have about 1GB in Inactive, 1 GB in Active, and 2 GB in Wired. Then I'm seeing 5.62GB of swap used (that doesn't seem good).
    I like how compact the MBAs are and am thinking of getting either the i5 or i7 with 8GB of RAM. I'm thinking that the increase in RAM as well as the flash storage would help with the type of slowness I'm seeing, but would hate to buy it only to have the same problems.
    I would love to get some advice on this.

    I HAD the same 2011 MBP you have, and HAVE the current Macbook AIR,....theres almost no comparison between the two. You should possibly go use one for a bit at the Apple store etc, however regarding your question "will it be a difference/ big upgrade" the answer is of course yes,....definately so.

  • ***  performance issue, advice plz...

    Hi Experts,
    I have a z-table1 in which I have some fileds, I have wrote the select query to fetch the data and got data too, now from this internal table I have to pass a field called SERIAL_NUM to another z-table2, to fetch the CO documents/items.
    But in the z-table2 here SERIAL_NUM field is not a key field nor it is having the index, so it is taking time in minutes even to fetch CO doc number/items for 10 serial numbers also.
    Here the z-table2 is having abt 42 lacs of records, I guess even to search the doc numbers for this 10 SERIAL_NUM it is looking each time 42 lacs records as a result it is taking time in mins.
    Sample code as follows-
    LOOP AT it_zeps06 INTO wa_zeps06.
        SELECT SINGLE
               belnr
               buzei
               billcode
               vbeln
               INTO (ws_belnr, ws_buzei, ws_billcode, ws_vbeln)
                            FROM zeps03
                            WHERE serialnum = wa_zeps06-serial_no.
    Endloop.
    Plese advice me how to overcome this performance issue? Is it works if I create index on serial_num filed in z-table2? Or is there any other way?
    Appreciate you response.
    Regards.
    DC

    Hi,
    The first issue is that you are looping over a select statement.  What you could do is create another internal table with same fields as the select statement above and then use the table it_zeps06 with FOR ALL ENTRIES options and collect the serial numbers.
    This should take much less time than the others. Since you are looping over a select statement, the trip from AServer to DBServer is expensive.
    Thanks...
    Preethanm S

  • [svn] 4910: Implementing workaround for history manager rendering issue ( Firefox/Mac) caused by a long standing player bug.

    Revision: 4910
    Author: [email protected]
    Date: 2009-02-10 11:51:58 -0800 (Tue, 10 Feb 2009)
    Log Message:
    Implementing workaround for history manager rendering issue (Firefox/Mac) caused by a long standing player bug.
    Bugs: SDK-17020.
    QE Notes: None
    Doc Notes: None
    Reviewer: Alex
    Tests: DeepLinking
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17020
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/managers/BrowserManagerImpl.as
    flex/sdk/branches/3.x/templates/html-templates/client-side-detection-with-history/history /history.js
    flex/sdk/branches/3.x/templates/html-templates/express-installation-with-history/history/ history.js
    flex/sdk/branches/3.x/templates/html-templates/no-player-detection-with-history/history/h istory.js

  • Seeking advice for a nagging BT related issue

    Dear Forum,
    I would appreciate your advice on a performance issue related to using the BT SW stack.
    *Some information*:
    Non-Toshiba notebook, Intel dual core @ 1.2 GHz, 2 GB RAM, running WinXP pro (5.1.2600 SP2 Build 2600), all MS updates, company computer, MS Office 2003. I got the PC two months ago and separately purchased the 'Wireless 360' internal Bluetooth USB module (Toshiba device, VID 413C, PID 8140, firmware 43.15). I installed the hardware module and BT software stack (Toshiba BT Stack, version v4.41.02(D)). I'm using BT mainly to connect to my mobile phone, for which 'Nokia Suite' v6.85.141 is installed. The Nokia Suite works fine and as expected using the BT link.
    *Problem*:
    When opening a .doc/.xls file by double clicking it in Windows Explorer, the system response is very slow. Like 40 (!) secs to open a 30 KB Word document. This is reproducible. For some other files, like .pdf the response is much better. Starting Word via the start button and using Word's file/open to access the same file is OK. Opening Windows Explorer using Windows-E hotkey is very slow as well, opening Windows Explorer via start menu is normal.
    I do not see any 'heavy' disk access or 100% CPU during the delay.
    For the rest, the notebook seems to run OK.
    *Findings so far*:
    1) Re-installing the Toshiba BT Stack did not improve things
    2) When shutting down the PC, frequently the TosOBEX.exe process needs to be ended &lsquo;manually&rsquo;
    3) Uninstalling the BT SW stack makes the PC respond normal again
    4) Disabling the BT Manager (system tray, right click BT icon, exit) has same effect
    5) Stopping the TosBTmng.exe process removed the problematic effect as well
    6) Starting the PC with all non Microsoft processes disabled &ndash; except the BT stack &ndash; give a normal responsiveness (!)
    7) Uninstalling McAfee virus scanning tools does not help
    8) Replacing the BT stack with version 5.10.12(T) solves the issue, but creates another problem: process &ldquo;services.exe&rdquo; continues to consume too much CPU time (~35&hellip;40%)
    9) I have not been able (yet) to identity the non BT process(es) which effect(s) this problem
    *Questions:*
    Anybody familiar with this effect?
    Any suggestions for next steps?
    Forum&rsquo;s advice would be appreciated!
    Wytze

    Hi people. Same thing here.
    My Satellite A100 delays opening word and excel 2003 documents only when bluetooth manager is running.
    I don't see a cpu load on the services process though (or any other process for that matter).
    I had version 4 installed when detected the problem. Switched to 5.10.12(T) and the wait time is still there.
    Then I followed the previous post suggestion of wiping-out everything bt related and install again. But still no luck.
    Even reinstalled office but that didn't help either.
    Some maybe useful information: I'm running Nokia PC Suite 6.85 over bluetooth and Adobe Acrobat Professional 8 which integrates menus in Word and Excel.
    Wait time still occurs when killing all PC Suite processes or changing acrobat installation to not integrate in word.
    This kind of time wait resembles some king of name resolution timeout. But why only office apps?
    Has anyone already have any light to shed on this?
    Regards
    --Fernando

  • E-rec performance issues - Candidate Assignements tab is taking longer time

    Hello,
    We have some serious performance issues with candidate assignments in e-rec system. For the first time if you access a requisition with 60 candidates assigned, its taking more than 3 min to load. If you access again then its taking less than 30 sec.I understand this could be because of the memory cache. My questions are below.
    1) Does it take more than 3 min to load 60 candidates your system?
    2) Is there a way to improve performance with memory cache settings?
    3) Are there any ideas to improve the performance of the candidates assignements page?
    We are in e-rec EHP4 system.
    Your help is appriciated.
    Thanks,
    Raghu.

    Hi,
    perhaps as an overall comment on this topic. There are performance issues in e-recruiting. There have been some improvements, Ryan named some of them. As the KW is one of the bottle necks changing to SES search may help as no more XML documents for indexing are stored which reduces the overall amount. In addition there is a note which splits the KW in a part used for indexing and a part for unstructured documents.
    Unfortunately overall it are valueable improvements but the problems will not be fully solved even if applying all. The best solution is still having an eye on data groth. This leads together technical, business and legal issues. Many countries have restrictions on the duration you can keep the data. By deleting data in time you can heavily reduce data grotth. Furthermore check with the business responsible if 50 MB attachments for each candidate really contributes to the process and the hiring decision. I know HR departments who insist that every candidate uploads the last 3-4 school reports even if he is 20 years into his job. Is this really necessary? Same issue is with the number of candidacies on a requisition / application group. I have seen recruiters reusing the same requisition every six months when they need a new intern for a department and then complaining that the system is to slow with >1000 candidacies on the requisition. Of course it would be great if the application could handle this easily but as it is not this way using this system as it is meant can help a lot.
    Cheers
    Roman

  • Adobe Premiere 4 Elements 4 performance issue

    Hi
    I am a new user of Premiere 4 Elements and I completed my first project to get myself through the learning curve. However I experience a serious performance issue on my computer with this product. Sorry about the long post, I tried to give as complete info as possible. Thanks in advance for any advice on solving the issue.
    1. When I open my project, a progress bar stays for several minutes at the near-completed state before the application window opens. Then the window is still frozen for several more minutes (the Windows hourglass displays for about 4 to 5 minutes) before I can actually start using the program.
    2. When I task-switch (e.g. to edit a photo in another application, or to check in Windows Explorer where a file is that I want to open) task-switching is slow, and when I switch back to Premiere 4 Elements, the screen freezes again for several minutes (4 to 6 minutes) before I can continue working. Same happens after I used the option to add media from Hard Drive to the project.
    3. When I press the Play button, the sound sometimes plays while the video preview gets stuck on a single frame. When I wait a while, it seems like Premiere is busy updating the icons on the timeline, and after that, I can play the video again. Sometimes the screen freezes so I canot press the pause button, and the audio just continues playing for a minute or two.
    4. Last night I eventually got the project finished, and started rendering the project to a PAL DVD - quality MPEG. It was still rendering this morning, with the progress bar showing less than a third of progress. At last check it displayed an estimated 16 hours of predicted rendering time, and still increasing the time....
    5. In one week of use, I experienced one to five crashes per evening while using this product.
    My input files for the project are existing MPEG files that I loaded from the camera (with it's software) long before I purchased Adobe Premiere. (so I did not use Premiere's feature to import the video). This camera generates a new MPEG file each time you press the start/stop button. I can see hundreds of clips on the camera when I mount it as an external USB hard drive on Windows. I suspect the number of files has to do with my issues, so I need assistance on an improved workflow, given the source format I work with. In my test project the original footage consists of about 140 MPEG clips; about 15 photos sized to PAL DVD size (720 x 5xx), one imported DVD VOB file, and then a menu, a title or two, transition effects, and so on. The final project should render 30 minutes of video, but the original footage is about three times that duration. Can someone please suggest a workflow considering the possibility that I will have to deal with these hundreds of small clips?
    The software's box specifies a Pentium 4 and 512 Mb RAM, Direct-X compatibility and 4 Gb HDD space.
    My computer spec's are:
    Intel Core 2, 2.13 GHz,
    2 Gb DDR RAM,
    200Gb Serial ATA HDD, with:
    Premiere on partition C: with 25 Gb free,
    Project on partition D: with 40 Gb free.
    Very entry-level graphics card (purchased the PC with no thought of games or video).
    XP Home is installed.
    In Windows Task Manager I notice about One Million Page faults being generated for Adobe Premiere in the periods I mentioned above when Premiere gets stuck. Item 4 above was at 3.5 million page faults with about 25% progress indicated of the rendering process. Is this indicative that I need more RAM?
    I have read other posts on this forum that people advise users to have Premiere on one HDD, the swap file on another physical disc and the project on yet another. I can understand the logic, but I checked that my PC was well above the software specifications on the box before I purchased, and I am not so serious about making videos that I would want to upgrade to such a monster PC. Besides if the requirements are such, Adobe should have specified that on the box.
    Thanks, Willem

    Willem,
    Looking at your system specs., I see one major bottleneck - your I/O system. You have a partitioned HDD.
    This means that the heads on your HDD are being asked to be in several places at the same time. Partitioning is an element left over from a much earlier time in computing and should not be used nowadays, with very few exceptions. I will explain. You have a fixed number of platters and heads on a single HDD. Those heads are what access the data on the platters. In the case of PE, you are asking the heads to be:
    1.) reading the OS
    2.) reading Premiere (your program)
    3.) reading & writing the Windows Page File (Windows' Virtual Memory)
    4.) reading & writing your media Assets (depending on what you're doing)
    5.) reading & writing your Scratch Disk data
    6.) reading & writing data for any other Process that requires it
    The first step that I'd take would be to add another HDD, and do away with the partition on you Drive0. With two physical (not logical as you have) HDDs, the ideal setup would be:
    1.) OS and all programs on C:\
    2.) Project, Media and Scratch Disks on D:\
    Things would even better, though not to the %, that adding only one additional disk, if you added two. Ideal setup for 3 HDDs would be:
    1.) OS and all programs on C:\
    2.) Media and additional Assets on D:\
    3.) Project and Scratch Disks on E:\
    I've also found speed increases by having my Windows' Page File on a separate HDD, but that is overkill, really. Now, I've got 5 internals with 1.75TB of space, so it's easy for me to do this sort of thing.
    You have a 200GB SATA HDD (Drive0), and I'd keep that for your C:\ (no partition) and add another SATA in 500GB - 1TB range. If you have SATA II, make sure to go with a new HDD with the exact same connector (SATA, or SATA II). Most on-board controllers can handle 4x SATA channels, so it should not be a big deal.
    Most work will come from having to do a complete system backup of your Drive0 (your C:\ & D:\), as you'll need re-partition it. Another way around this would be to leave the C:\ & D:\ partitions, and just move all of your Media, Assets, Project and Scratch Disks to your new physical drive. Keep your D:\ partition, but use it only for storing maybe Audio Assets, that you use infrequently, and the like. Do not partition your new HDD (drive1).
    Note on load time: that will speed up somewhat, if you get another HDD, but PE does need time to read it's XML files, that tell it the location of all Assets, then go find them, and verify that they are correct. Only a bit of a speed up there. Almost everything else that you mention, regarding speed, will improve greatly.
    Others will have some more ideas, on ways to speed things up, and I'd consider them all, plus the addition of another fast, large physical HDD.
    BTW: great post. It is probably the most complete that I've seen in any of the Adobe forums. It's easy to read (good use of paragraphs) and contains all the data, that I could want. I'd hold this up as a model on how to ask a question on these boards.
    Good luck,
    Hunt
    [EDIT] To let you know, I actually have my Drive0 (500GB SATA II) partitioned (for another reason) and use it just like my second suggestion, re: re-partitioning. My "Movie Music," SFX and minor Assets are stored on my D:\, plus I have my Windows' Page File split over three drives. This after much experimentation. I'd not recommend this, unless you have a lot of extra time on your hands. Just keep it on C:\

  • RE: Case 59063: performance issues w/ C TLIB and Forte3M

    Hi James,
    Could you give me a call, I am at my desk.
    I had meetings all day and couldn't respond to your calls earlier.
    -----Original Message-----
    From: James Min [mailto:jminbrio.forte.com]
    Sent: Thursday, March 30, 2000 2:50 PM
    To: Sharma, Sandeep; Pyatetskiy, Alexander
    Cc: sophiaforte.com; kenlforte.com; Tenerelli, Mike
    Subject: Re: Case 59063: performance issues w/ C TLIB and Forte 3M
    Hello,
    I just want to reiterate that we are very committed to working on
    this issue, and that our goal is to find out the root of the problem. But
    first I'd like to narrow down the avenues by process of elimination.
    Open Cursor is something that is commonly used in today's RDBMS. I
    know that you must test your query in ISQL using some kind of execute
    immediate, but Sybase should be able to handle an open cursor. I was
    wondering if your Sybase expert commented on the fact that the server is
    not responding to commonly used command like 'open cursor'. According to
    our developer, we are merely following the API from Sybase, and open cursor
    is not something that particularly slows down a query for several minutes
    (except maybe the very first time). The logs show that Forte is waiting for
    a status from the DB server. Actually, using prepared statements and open
    cursor ends up being more efficient in the long run.
    Some questions:
    1) Have you tried to do a prepared statement with open cursor in your ISQL
    session? If so, did it have the same slowness?
    2) How big is the table you are querying? How many rows are there? How many
    are returned?
    3) When there is a hang in Forte, is there disk-spinning or CPU usage in
    the database server side? On the Forte side? Absolutely no activity at all?
    We actually have a Sybase set-up here, and if you wish, we could test out
    your database and Forte PEX here. Since your queries seems to be running
    off of only one table, this might be the best option, as we could look at
    everything here, in house. To do this:
    a) BCP out the data into a flat file. (character format to make it portable)
    b) we need a script to create the table and indexes.
    c) the Forte PEX file of the app to test this out.
    d) the SQL staement that you issue in ISQL for comparison.
    If the situation warrants, we can give a concrete example of
    possible errors/bugs to a developer. Dial-in is still an option, but to be
    able to look at the TOOL code, database setup, etc. without the limitations
    of dial-up may be faster and more efficient. Please let me know if you can
    provide this, as well as the answers to the above questions, or if you have
    any questions.
    Regards,
    At 08:05 AM 3/30/00 -0500, Sharma, Sandeep wrote:
    James, Ken:
    FYI, see attached response from our Sybase expert, Dani Sasmita. She has
    already tried what you suggested and results are enclosed.
    ++
    Sandeep
    -----Original Message-----
    From: SASMITA, DANIAR
    Sent: Wednesday, March 29, 2000 6:43 PM
    To: Pyatetskiy, Alexander
    Cc: Sharma, Sandeep; Tenerelli, Mike
    Subject: Re: FW: Case 59063: Select using LIKE has performance
    issues
    w/ CTLIB and Forte 3M
    We did that trick already.
    When it is hanging, I can see what is doing.
    It is doing OPEN CURSOR. But not clear the exact statement of the cursor
    it is trying to open.
    When we run the query directly to Sybase, not using Forte, it is clearly
    not opening any cursor.
    And running it directly to Sybase many times, the response is always
    consistently fast.
    It is just when the query runs from Forte to Sybase, it opens a cursor.
    But again, in the Forte code, Alex is not using any cursor.
    In trying to capture the query,we even tried to audit any statementcoming
    to Sybase. Same thing, just open cursor. No cursor declaration anywhere.==============================================
    James Min
    Technical Support Engineer - Forte Tools
    Sun Microsystems, Inc.
    1800 Harrison St., 17th Fl.
    Oakland, CA 94612
    james.minsun.com
    510.869.2056
    ==============================================
    Support Hotline: 510-451-5400
    CUSTOMERS open a NEW CASE with Technical Support:
    http://www.forte.com/support/case_entry.html
    CUSTOMERS view your cases and enter follow-up transactions:
    http://www.forte.com/support/view_calls.html

    Earthlink wrote:
    Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? Well, we're missing a lot here.
    Like:
    - a database version
    - how did you test
    - what data do you have, how is it distributed, indexed
    and so on.
    If you want to find out what's going on then use a TRACE with wait events.
    All nessecary steps are explained in these threads:
    HOW TO: Post a SQL statement tuning request - template posting
    http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
    Another nice one is RUNSTATS:
    http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551378329289980701

  • Performance Issue in a ABAP Report

    Hi All,
    I am facing a big performance issue in a abap program which produce the cash flow details our group of company. This is the logic I used to develop the report. (It is a SAP Script)
    - First I am getting the closed customer payment records from the table BSAD ( eg: - Type 'DZ')
    - Then I am getting the correcponding invoices from the BSAD using the same BELNR ( eg :- Type <> 'DZ')
    - Then checking the GL Entry (BSIS) for the correspongding records which select in the second stage.
    - In a Z tabel I am keeping the account list by grouping   seperate section ( Eg: - Customer recipts, fixed assets...etc).
    I have done the same thing to get the open Item balances also.
    Report is correct and running perfectly, but my issue is it's takeing long time to process. Because of this I made this report to run as a background job. But still it is taking such a long time. ( For Eg: - If 1000 records selected from the first stage, it will take about more than onr hour to process, which is not good enough to run in a live environment)
    Pls advice me how to improve the preformance of this.

    Hi Ravi,
    I am sorry I had problem in my internet connection yesterday, because of that i couldn't reply u. Here is my code. I don't is there any way to send the code as a attachement since it is a little bit big one. I am going to paste that here any way.
    Here zcashflow_matrix is the "Z" table where I am going to keep my account details by grouping.
    REPORT ZCASH_FLOW.
    INCLUDE <%_LIST>.
    *       Author             Thanura .......                            *
    TYPES   :BEGIN OF ty_voucher1,
              kunnr LIKE bseg-kunnr,
              dmbtr LIKE bseg-dmbtr,
              belnr LIKE bseg-belnr,
              hkont LIKE bseg-hkont,
              shkzg LIKE bseg-shkzg,
              xblnr LIKE bsad-xblnr,
              budat LIKE bsad-bldat,
              blart LIKE bsad-blart,
              bldat LIKE bsad-bldat,
              lifnr LIKE bseg-lifnr,
              END OF ty_voucher1.
    DATA     :it_voucher1 TYPE STANDARD TABLE OF ty_voucher1 ,
               wa_voucher1 TYPE ty_voucher1.
    DATA    : it_voucher2 TYPE STANDARD TABLE OF ty_voucher1,
               wa_voucher2 TYPE ty_voucher1.
    DATA    : it_voucher3 TYPE STANDARD TABLE OF ty_voucher1,
               wa_voucher3 TYPE ty_voucher1.
    Data : w_ITCPO type ITCPO.
    Data : w_ITCPP type ITCPP.
    DATA : w_Rcptamt LIKE bseg-dmbtr,
            w_Netamt LIKE bseg-dmbtr,
            w_IntIncomeAmt LIKE bseg-dmbtr,
            w_IntIncome LIKE bseg-dmbtr,
            w_FixedAmt LIKE bseg-dmbtr,
            w_fixedasst LIKE bseg-dmbtr,
            w_Sundry LIKE bseg-dmbtr,
            w_SundryAmt LIKE bseg-dmbtr,
            w_SuppayAmt LIKE bseg-dmbtr,
            w_Suppay LIKE bseg-dmbtr,
            w_SuppayAmt1 LIKE bseg-dmbtr,
            w_Suppay1 LIKE bseg-dmbtr,
            w_DutyAmt LIKE bseg-dmbtr,
            w_Duty LIKE bseg-dmbtr,
            w_SalaryAmt LIKE bseg-dmbtr,
            w_Salary LIKE bseg-dmbtr,
            w_TaxAmt LIKE bseg-dmbtr,
            w_Tax LIKE bseg-dmbtr,
            w_TaxAmt1 LIKE bseg-dmbtr,
            w_Tax1 LIKE bseg-dmbtr,
            w_SellAmt LIKE bseg-dmbtr,
            w_Sell LIKE bseg-dmbtr,
            w_AdminAmt LIKE bseg-dmbtr,
            w_Admin LIKE bseg-dmbtr,
            w_loanAmt LIKE bseg-dmbtr,
            w_loan LIKE bseg-dmbtr,
            w_ManAmt LIKE bseg-dmbtr,
            w_Man LIKE bseg-dmbtr,
            w_CapitalAmt LIKE bseg-dmbtr,
            w_Capital LIKE bseg-dmbtr,
            w_GroupAmt LIKE bseg-dmbtr,
            w_Group LIKE bseg-dmbtr,
            w_IntAmt LIKE bseg-dmbtr,
            w_Int LIKE bseg-dmbtr,
            w_InterAmt LIKE bseg-dmbtr,
            w_Inter LIKE bseg-dmbtr,
            w_AdPayAmt LIKE bseg-dmbtr,
            w_AdPay LIKE bseg-dmbtr,
            w_GTotal LIKE bseg-dmbtr,
            W_COMPANYNAME like zcompany-copmname.
    DATA : w_ORcptamt LIKE bseg-dmbtr,
            w_ONetamt LIKE bseg-dmbtr,
            w_OIntIncomeAmt LIKE bseg-dmbtr,
            w_OIntIncome LIKE bseg-dmbtr,
            w_OFixedAmt LIKE bseg-dmbtr,
            w_Ofixedasst LIKE bseg-dmbtr,
            w_OSundry LIKE bseg-dmbtr,
            w_OSundryAmt LIKE bseg-dmbtr,
            w_OSuppayAmt LIKE bseg-dmbtr,
            w_OSuppay LIKE bseg-dmbtr,
            w_OSuppayAmt1 LIKE bseg-dmbtr,
            w_OSuppay1 LIKE bseg-dmbtr,
            w_ODutyAmt LIKE bseg-dmbtr,
            w_ODuty LIKE bseg-dmbtr,
            w_OSalaryAmt LIKE bseg-dmbtr,
            w_OSalary LIKE bseg-dmbtr,
            w_OTaxAmt LIKE bseg-dmbtr,
            w_OTax LIKE bseg-dmbtr,
            w_OTaxAmt1 LIKE bseg-dmbtr,
            w_OTax1 LIKE bseg-dmbtr,
            w_OSellAmt LIKE bseg-dmbtr,
            w_OSell LIKE bseg-dmbtr,
            w_OAdminAmt LIKE bseg-dmbtr,
            w_OAdmin LIKE bseg-dmbtr,
            w_OloanAmt LIKE bseg-dmbtr,
            w_Oloan LIKE bseg-dmbtr,
            w_OManAmt LIKE bseg-dmbtr,
            w_OMan LIKE bseg-dmbtr,
            w_OCapitalAmt LIKE bseg-dmbtr,
            w_OCapital LIKE bseg-dmbtr,
            w_OGroupAmt LIKE bseg-dmbtr,
            w_OGroup LIKE bseg-dmbtr,
            w_OIntAmt LIKE bseg-dmbtr,
            w_OInt LIKE bseg-dmbtr,
            w_OInterAmt LIKE bseg-dmbtr,
            w_OInter LIKE bseg-dmbtr,
            w_OAdPayAmt LIKE bseg-dmbtr,
            w_OAdPay LIKE bseg-dmbtr.
    DATA : w_NNetamt LIKE bseg-dmbtr,
            w_NIntIncome LIKE bseg-dmbtr,
            w_Nfixedasst LIKE bseg-dmbtr,
            w_NSundry LIKE bseg-dmbtr,
            w_NSuppay LIKE bseg-dmbtr,
            w_NSuppay1 LIKE bseg-dmbtr,
            w_NDuty LIKE bseg-dmbtr,
            w_NSalary LIKE bseg-dmbtr,
            w_NTax LIKE bseg-dmbtr,
            w_NTax1 LIKE bseg-dmbtr,
            w_NSell LIKE bseg-dmbtr,
            w_NAdmin LIKE bseg-dmbtr,
            w_Nloan LIKE bseg-dmbtr,
            w_NMan LIKE bseg-dmbtr,
            w_NCapital LIKE bseg-dmbtr,
            w_NGroup LIKE bseg-dmbtr,
            w_NInt LIKE bseg-dmbtr,
            w_NInter LIKE bseg-dmbtr,
            w_NAdPay LIKE bseg-dmbtr.
    RANGES : r_bwart FOR  bsad-blart.
    TABLES: bsad.
    *       Internal tables          Begin with IT_                       *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:      p_bukrs LIKE bsad-bukrs OBLIGATORY.
    SELECT-OPTIONS:  s_bldat FOR  bsad-bldat OBLIGATORY.
    * SELECT-OPTIONS:   s_hkont FOR bsad-hkont .
    PARAMETERS:      p_gjahr LIKE bkpf-gjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1 .
    * PARAMETERS : w_local   TYPE char1 RADIOBUTTON GROUP g1 DEFAULT 'X'. .
    * PARAMETERS : w_curr  TYPE char1 RADIOBUTTON GROUP g1 .
    w_ITCPO-TDNEWID = 'X'.
    *w_itcpo-tdgetotf   = 'X'.
    *opern form
       CALL FUNCTION 'OPEN_FORM'
        EXPORTING
    *        APPLICATION                       = 'TX'
    *        ARCHIVE_INDEX                     =
    *        ARCHIVE_PARAMS                    =
    *         DEVICE                            = 'PRINTER'
    *        DIALOG                            = ' '
          form                                 = 'ZCASHFLOW_FORM1'
    *        LANGUAGE                          = SY-LANGU
             OPTIONS                           = w_ITCPO
    *        MAIL_SENDER                       =
    *        MAIL_RECIPIENT                    =
    *        MAIL_APPL_OBJECT                  =
    *        RAW_DATA_INTERFACE                = '*'
    *        SPONUMIV                          =
    *      IMPORTING
    *        LANGUAGE                          =
    *        NEW_ARCHIVE_PARAMS                =
    *        RESULT                            =
    *      EXCEPTIONS
    *        CANCELED                          = 1
    *        DEVICE                            = 2
    *        FORM                              = 3
    *        OPTIONS                           = 4
    *        UNCLOSED                          = 5
    *        MAIL_OPTIONS                      = 6
    *        ARCHIVE_ERROR                     = 7
    *        INVALID_FAX_NUMBER                = 8
    *        MORE_PARAMS_NEEDED_IN_BATCH       = 9
    *        SPOOL_ERROR                       = 10
    *        CODEPAGE                          = 11
    *        OTHERS                            = 12
       IF sy-subrc <> 0.
    *   message id sy-msgid type sy-msgty number sy-msgno
    *           with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    PERFORM select_data_closed.
    PERFORM select_data_open.
    * calculate the net figures
    w_NNetamt = w_Netamt + w_ONetamt.
    w_NIntIncome = w_IntIncome + w_OIntIncome.
    *w_NInCompRct = w_InCompRct + w_OInCompRct.
    w_NfixedAsst = w_fixedAsst + w_OfixedAsst.
    w_NSundry = w_Sundry + w_OSundry.
    w_NSuppay = w_Suppay + w_OSuppay.
    w_NSuppay1 = w_Suppay1 + w_OSuppay1.
    w_NDuty = w_Duty + w_ODuty.
    w_NSalary = w_Salary + w_OSalary.
    w_NTax = w_Tax + w_OTax.
    w_NTax1 = w_Tax1 + w_OTax1.
    w_NSell = w_Sell + w_OSell.
    w_NAdmin = w_Admin + w_OAdmin.
    w_NCapital = w_Capital + w_OCapital.
    w_Nloan = w_loan + w_Oloan.
    w_NMan = w_Man + w_OMan.
    w_NGroup = w_Group + w_OGroup.
    w_NInt = w_Int + w_OInt.
    w_NInter = w_Inter + w_OInter.
    w_NAdPay = w_AdPay + w_OAdPay.
    w_GTotal = ( w_NNetamt + w_NIntIncome + w_NfixedAsst + w_NSundry ) - (
    w_NSuppay + w_NSuppay1 + w_NDuty + w_NSalary + w_NTax + w_NTax1 +
    w_NSell + w_NAdmin + w_NCapital + w_Nloan + w_NMan + w_NGroup + w_NInt +
    w_NInter + w_NAdPay ).
    * Write the Main Account Balance
         CALL FUNCTION 'WRITE_FORM'
           EXPORTING
             element  = 'MAIN'
             function = 'SET'
             type     = 'BODY'
             window   = 'MAIN'.
         IF sy-subrc <> 0.
    **   message id sy-msgid type sy-msgty number sy-msgno
    **           with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
         ENDIF.
    w_ITCPP-TDNEWID = 'X'.
       CALL FUNCTION 'CLOSE_FORM'
          IMPORTING
             RESULT                         = w_ITCPP
    *        RDI_RESULT                     =
    *      TABLES
    *        OTFDATA                        =
    *      EXCEPTIONS
    *        UNOPENED                       = 1
    *        BAD_PAGEFORMAT_FOR_PRINT       = 2
    *        SEND_ERROR                     = 3
    *        SPOOL_ERROR                    = 4
    *        CODEPAGE                       = 5
    *        OTHERS                         = 6
       IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    FORM select_data_closed.
       SELECT SINGLE copmname INTO w_companyname
          FROM zcompany
           WHERE  copcode = p_bukrs.
    * Select the receipts
       SELECT SUM( dmbtr ) AS dmbtr belnr kunnr hkont shkzg xblnr budat
    blart bldat
       INTO CORRESPONDING FIELDS OF TABLE it_voucher3
       FROM  bsad
       WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
               AND augdt IN s_bldat
               AND blart = 'DZ'
    *            AND blart = 'DZ' and shkzg = 'S'
               GROUP BY kunnr belnr hkont shkzg xblnr budat blart bldat.
       SORT it_voucher3 BY kunnr.
       LOOP AT it_voucher3 INTO wa_voucher3.
    * Select the invoices
         SELECT SUM( dmbtr ) AS dmbtr belnr kunnr hkont shkzg xblnr budat
    blart bldat
         INTO CORRESPONDING FIELDS OF TABLE it_voucher1
         FROM  bsad
         WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
                 AND augdt IN s_bldat
                 AND blart <> 'DZ' AND
                 augbl = wa_voucher3-belnr AND
                 kunnr = wa_voucher3-kunnr
                 GROUP BY belnr kunnr hkont shkzg xblnr budat blart bldat.
         LOOP AT it_voucher1 INTO wa_voucher1.
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_Rcptamt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX001' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_Rcptamt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX001' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Netamt = w_Netamt + w_Rcptamt.
                  continue.
                ENDIF.
           ELSE.
                 w_Netamt = w_Netamt + w_Rcptamt.
                 continue.
           ENDIF.
    * Interest Income
          SELECT SINGLE dmbtr FROM bsis INTO w_IntIncomeAmt WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX002' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_IntIncomeAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX002' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_IntIncome = w_IntIncome + w_IntIncomeAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_IntIncome = w_IntIncome + w_IntIncomeAmt.
                 continue.
           ENDIF.
    * Sale Of fixed Assets
          SELECT SINGLE dmbtr FROM bsis INTO w_FixedAmt WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX004' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_FixedAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX004' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_fixedasst = w_fixedasst + w_FixedAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_fixedasst = w_fixedasst + w_FixedAmt.
                 continue.
           ENDIF.
    * Gl Receipts ( Sundry Income)
          SELECT SINGLE dmbtr FROM bsis INTO w_SundryAmt WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX005' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_SundryAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX005' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Sundry = w_Sundry + w_SundryAmt.
                                continue.
                ENDIF.
           ELSE.
                 w_Sundry = w_Sundry + w_SundryAmt.
                              continue.
           ENDIF.
         ENDLOOP.
       ENDLOOP.
    *Out Flow
    r_bwart-sign = 'I'. r_bwart-option = 'EQ'. r_bwart-low = 'KZ'.
    APPEND r_bwart TO r_bwart.
    r_bwart-sign = 'I'. r_bwart-option = 'EQ'. r_bwart-low = 'VZ'.
    APPEND r_bwart TO r_bwart.
       SELECT SUM( dmbtr ) AS dmbtr belnr lifnr hkont shkzg xblnr budat
    blart bldat
       INTO CORRESPONDING FIELDS OF TABLE it_voucher3
       FROM  bsak
       WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
               AND augdt IN s_bldat
               AND blart IN  r_bwart
    *            AND blart = 'DZ' and shkzg = 'S'
               GROUP BY lifnr belnr hkont shkzg xblnr budat blart bldat.
       SORT it_voucher3 BY lifnr.
       LOOP AT it_voucher3 INTO wa_voucher3.
    * Select the invoices
         SELECT SUM( dmbtr ) AS dmbtr belnr lifnr hkont shkzg xblnr budat
    blart bldat
         INTO CORRESPONDING FIELDS OF TABLE it_voucher1
         FROM  bsak
         WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
                 AND augdt IN s_bldat
                 AND blart NOT IN r_bwart AND
                 augbl = wa_voucher3-belnr AND
                 lifnr = wa_voucher3-lifnr
                 GROUP BY belnr lifnr hkont shkzg xblnr budat blart bldat.
         LOOP AT it_voucher1 INTO wa_voucher1.
    * Supplier Payments  (LOCAL)
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_SupPayAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY001' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_SupPayAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY001' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_SupPay = w_SupPay + w_SupPayAmt.
                                continue.
                ENDIF.
           ELSE.
                 w_SupPay = w_SupPay + w_SupPayAmt.
                              continue.
           ENDIF.
    * supplier Payments  (Foreign )
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_SupPayAmt1 WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY002' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_SupPayAmt1  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY002' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_SupPay1 = w_SupPay1 + w_SupPayAmt1.
                  continue.
                ENDIF.
           ELSE.
                 w_SupPay1 = w_SupPay1 + w_SupPayAmt1.
                  continue.
           ENDIF.
    * duty/clearing expenses
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_DutyAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY003' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_DutyAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY003' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Duty = w_Duty + w_DutyAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Duty = w_Duty + w_DutyAmt.
                  continue.
           ENDIF.
    * Salary /EPF/ETF/MSPS/OVERTIME
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_SalaryAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY004' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_SalaryAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY004' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Salary = w_Salary + w_SalaryAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Salary = w_Salary + w_SalaryAmt.
                  continue.
           ENDIF.
    * Income Taxes
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_TaxAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY005' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_TaxAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY005' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Tax = w_Tax + w_TaxAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Tax = w_Tax + w_TaxAmt.
                  continue.
           ENDIF.
    * other taxes ( VAT: TT:Debit tax )
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_TaxAmt1 WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY006' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_TaxAmt1  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY006' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Tax1 = w_Tax1 + w_TaxAmt1.
                  continue.
                ENDIF.
           ELSE.
                 w_Tax1 = w_Tax1 + w_TaxAmt1.
                  continue.
           ENDIF.
    * Selling  & Promotional Costs
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_SellAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY007' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_SellAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY007' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Sell = w_Sell + w_SellAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Sell = w_Sell + w_SellAmt.
                  continue.
           ENDIF.
    * Admistration costs
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_AdminAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY008' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_AdminAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY008' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Admin = w_Admin + w_AdminAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Admin = w_Admin + w_AdminAmt.
                  continue.
           ENDIF.
    * Capital Expenditure
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_CapitalAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY009' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_CapitalAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY009' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Capital = w_Capital + w_CapitalAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Capital = w_Capital + w_CapitalAmt.
                  continue.
           ENDIF.
    * Loan repayments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_LoanAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY010' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_LoanAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY010' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Loan = w_Loan + w_LoanAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Loan = w_Loan + w_LoanAmt.
                  continue.
           ENDIF.
    * maangment fees
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_ManAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY011' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_ManAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY011' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Man = w_Man + w_ManAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Man = w_Man + w_ManAmt.
                  continue.
           ENDIF.
    * Group charges
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_GroupAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY012' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_GroupAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY012' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Group = w_Group + w_GroupAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Group = w_Group + w_GroupAmt.
                  continue.
           ENDIF.
    * Interest Payments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_IntAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY013' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_IntAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY013' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Int = w_Int + w_IntAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Int = w_Int + w_IntAmt.
                  continue.
           ENDIF.
    * Other Intercompany payments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_InterAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY014' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_InterAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY014' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Inter = w_Inter + w_InterAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Inter = w_Inter + w_InterAmt.
                  continue.
           ENDIF.
    * Advacnes/Prepayments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_AdPayAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY015' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_AdPayAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY015' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_AdPay = w_AdPay + w_AdPayAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_AdPay = w_AdPay + w_AdPayAmt.
                  continue.
           ENDIF.
         ENDLOOP.
       ENDLOOP.
    * Open Item Balances
    ENDFORM.                    " Select_Data
    FORM select_data_Open.
    *   SELECT SINGLE copmname INTO w_companyname
    *      FROM zcompany
    *       WHERE  copcode = p_bukrs.
    * Select the receipts
       SELECT SUM( dmbtr ) AS dmbtr belnr kunnr hkont shkzg xblnr budat
    blart bldat
       INTO CORRESPONDING FIELDS OF TABLE it_voucher3
       FROM  bsid
       WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
               AND augdt IN s_bldat
               AND blart = 'DZ'
    *            AND blart = 'DZ' and shkzg = 'S'
               GROUP BY kunnr belnr hkont shkzg xblnr budat blart bldat.
       SORT it_voucher3 BY kunnr.
       LOOP AT it_voucher3 INTO wa_voucher3.
    * Select the invoices
         SELECT SUM( dmbtr ) AS dmbtr belnr kunnr hkont shkzg xblnr budat
    blart bldat
         INTO CORRESPONDING FIELDS OF TABLE it_voucher1
         FROM  bsid
         WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
                 AND augdt IN s_bldat
                 AND blart <> 'DZ' AND
                 augbl = wa_voucher3-belnr AND
                 kunnr = wa_voucher3-kunnr
                 GROUP BY belnr kunnr hkont shkzg xblnr budat blart bldat.
         LOOP AT it_voucher1 INTO wa_voucher1.
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_ORcptamt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX001' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_ORcptamt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX001' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_ONetamt = w_ONetamt + w_ORcptamt.
                  continue.
                ENDIF.
           ELSE.
                 w_ONetamt = w_ONetamt + w_ORcptamt.
                  continue.
           ENDIF.
    * Interest Income
          SELECT SINGLE dmbtr FROM bsis INTO w_OIntIncomeAmt WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX002' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OIntIncomeAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX002' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OIntIncome = w_OIntIncome + w_OIntIncomeAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OIntIncome = w_OIntIncome + w_OIntIncomeAmt.
                  continue.
           ENDIF.
    * Sale Of fixed Assets
          SELECT SINGLE dmbtr FROM bsis INTO w_OFixedAmt WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX004' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OFixedAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX004' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_Ofixedasst = w_Ofixedasst + w_OFixedAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_Ofixedasst = w_Ofixedasst + w_OFixedAmt.
                  continue.
           ENDIF.
    * Gl Receipts ( Sundry Income)
          SELECT SINGLE dmbtr FROM bsis INTO w_OSundryAmt WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX005' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OSundryAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'XX005' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OSundry = w_OSundry + w_OSundryAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OSundry = w_OSundry + w_OSundryAmt.
                  continue.
           ENDIF.
         ENDLOOP.
       ENDLOOP.
    *Out Flow
    Clear r_bwart.
    refresh r_bwart.
    r_bwart-sign = 'I'. r_bwart-option = 'EQ'. r_bwart-low = 'KZ'.
    APPEND r_bwart TO r_bwart.
    r_bwart-sign = 'I'. r_bwart-option = 'EQ'. r_bwart-low = 'VZ'.
    APPEND r_bwart TO r_bwart.
       SELECT SUM( dmbtr ) AS dmbtr belnr lifnr hkont shkzg xblnr budat
    blart bldat
       INTO CORRESPONDING FIELDS OF TABLE it_voucher3
       FROM  bsik
       WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
               AND augdt IN s_bldat
               AND blart IN  r_bwart
    *            AND blart = 'DZ' and shkzg = 'S'
               GROUP BY lifnr belnr hkont shkzg xblnr budat blart bldat.
       SORT it_voucher3 BY lifnr.
       LOOP AT it_voucher3 INTO wa_voucher3.
    * Select the invoices
         SELECT SUM( dmbtr ) AS dmbtr belnr lifnr hkont shkzg xblnr budat
    blart bldat
         INTO CORRESPONDING FIELDS OF TABLE it_voucher1
         FROM  bsik
         WHERE   bukrs = p_bukrs AND gjahr = p_gjahr
                 AND augdt IN s_bldat
                 AND blart NOT IN r_bwart AND
                 augbl = wa_voucher3-belnr AND
                 lifnr = wa_voucher3-lifnr
                 GROUP BY belnr lifnr hkont shkzg xblnr budat blart bldat.
         LOOP AT it_voucher1 INTO wa_voucher1.
    * Supplier Payments  (LOCAL)
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OSupPayAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY001' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OSupPayAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY001' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OSupPay = w_OSupPay + w_OSupPayAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OSupPay = w_OSupPay + w_OSupPayAmt.
                  continue.
           ENDIF.
    * supplier Payments  (Foreign )
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OSupPayAmt1 WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY002' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OSupPayAmt1  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY002' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OSupPay1 = w_OSupPay1 + w_OSupPayAmt1.
                  continue.
                ENDIF.
           ELSE.
                 w_OSupPay1 = w_OSupPay1 + w_OSupPayAmt1.
                  continue.
           ENDIF.
    * duty/clearing expenses
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_ODutyAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY003' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_ODutyAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY003' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_ODuty = w_ODuty + w_ODutyAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_ODuty = w_ODuty + w_ODutyAmt.
                  continue.
           ENDIF.
    * Salary /EPF/ETF/MSPS/OVERTIME
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OSalaryAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY004' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OSalaryAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY004' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OSalary = w_OSalary + w_OSalaryAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OSalary = w_OSalary + w_OSalaryAmt.
                  continue.
           ENDIF.
    * Income Taxes
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OTaxAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY005' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OTaxAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY005' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OTax = w_OTax + w_OTaxAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OTax = w_OTax + w_OTaxAmt.
                  continue.
           ENDIF.
    * other taxes ( VAT: TT:Debit tax )
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OTaxAmt1 WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY006' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OTaxAmt1  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY006' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OTax1 = w_OTax1 + w_OTaxAmt1.
                  continue.
                ENDIF.
           ELSE.
                 w_OTax1 = w_OTax1 + w_OTaxAmt1.
                  continue.
           ENDIF.
    * Selling  & Promotional Costs
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OSellAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY007' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OSellAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY007' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OSell = w_OSell + w_OSellAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OSell = w_OSell + w_OSellAmt.
                  continue.
           ENDIF.
    * Admistration costs
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OAdminAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY008' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OAdminAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY008' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OAdmin = w_OAdmin + w_OAdminAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OAdmin = w_OAdmin + w_OAdminAmt.
                  continue.
           ENDIF.
    * Capital Expenditure
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OCapitalAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY009' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OCapitalAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY009' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OCapital = w_OCapital + w_OCapitalAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OCapital = w_OCapital + w_OCapitalAmt.
                  continue.
           ENDIF.
    * Loan repayments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OLoanAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY010' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OLoanAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY010' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OLoan = w_OLoan + w_OLoanAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OLoan = w_OLoan + w_OLoanAmt.
                  continue.
           ENDIF.
    * maangment fees
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OManAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY011' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OManAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY011' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OMan = w_OMan + w_OManAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OMan = w_OMan + w_OManAmt.
                  continue.
           ENDIF.
    * Group charges
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OGroupAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY012' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OGroupAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY012' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OGroup = w_OGroup + w_OGroupAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OGroup = w_OGroup + w_OGroupAmt.
                  continue.
           ENDIF.
    * Interest Payments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OIntAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY013' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OIntAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY013' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OInt = w_OInt + w_OIntAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OInt = w_OInt + w_OIntAmt.
                  continue.
           ENDIF.
    * Other Intercompany payments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OInterAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY014' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OInterAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY014' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OInter = w_OInter + w_OInterAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OInter = w_OInter + w_OInterAmt.
                  continue.
           ENDIF.
    * Advacnes/Prepayments
    *  Find the corresponding entry in the GL open
          SELECT SINGLE dmbtr FROM bsis INTO w_OAdPayAmt WHERE
    *           hkont = '0010003900' AND
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY015' ) AND  bukrs = p_bukrs  AND
                   gjahr = p_gjahr  AND
                   belnr = wa_voucher1-belnr.
           IF sy-subrc <> 0.
    * If the corresponding entry not found in GL open, look in the GL Closed
          SELECT SINGLE dmbtr FROM bsas INTO  w_OAdPayAmt  WHERE
               hkont IN ( select fglacc from zcashflow_matrix WHERE FCODE =
    'YY015' ) AND bukrs = p_bukrs  AND
                  gjahr = p_gjahr  AND
                  belnr = wa_voucher1-belnr.
                IF sy-subrc = 0.
                  w_OAdPay = w_OAdPay + w_OAdPayAmt.
                  continue.
                ENDIF.
           ELSE.
                 w_OAdPay = w_OAdPay + w_OAdPayAmt.
                  continue.
           ENDIF.
         ENDLOOP.
       ENDLOOP.
    ENDFORM.                    " Select_Data

  • Macbook screen cracked, HD and performance issues

    I am definitely disappointed with my computer.
    I have a Macbook 13.3" 2.4Ghz Intel Core 2 Duo 4Gb 160Gb HD, Serial#: W8**VM0P5, and within 1,5 year I have faced many issues, which are related here:
    September 24th, 2008
    O.S. CRASHES
    I bought it in late September 2008, in Cologne, Germany, at the reseller "Compustore PC Gmbh", and also asked 4Gb Ram, and a Wireless mighty mouse.
    After changing the Ram memory, i went home; and a few days later, the problems came. Sometimes, the system crashed suddenly, showing the grey screen: "You must restart your computer". I thought it was normal, and continued to use, when it became more frequently (Picture: http://picasaweb.google.com/gstorck/MacbookProblems#5476986272817173138). It was little strange for a new laptop, and then I took it back to the store to fix it. The seller just took a look, changed some configurations, and gave me back again. I did this twice, and had to get back to the store for the third time, due to new crashes and some lack of performance. Then the seller replaced the Ram memory, with new 4Gb.
    After that, the system worked more stable; the problem happened some two or three times after some months, but it was ok.
    November 9th, 2009
    HD Problems
    One year later, in late 2009, I purchased a Mac OS update, the Snow Leopard. I was back to Brazil, where I live till today. During the OS installation, something went wrong and it couldn't be completed. Mac asked me to restart the computer, but then the system didn't start anymore; some files were corrupted. I guess there was not enough space to install the update, so it was not completed; but it should be no reason to the corruption of the OS.
    November 10th, 2009
    I took my computer to the local Apple technical support, the "Omni Informatica", in Curitiba, PR, Brazil, to format the HD and reinstall the Snow Leopard. As I needed more space, I also changed my original 160Gb HD for a new 250Gb Western Digital HD. The service was finished in Nov 17th.
    I noticed also little cracks in the laptop case, but I had no time to insist with the bad local technical support to repair it (I know Apple already acknowledged this problem.) They said, at first, that they would have to ask the Apple USA to send the body, or something like that.
    (Pictures:http://picasaweb.google.com/gstorck/MacbookProblems#5476986477312032226)
    January 12th, 2010.
    SCREEN CRACKED
    The reinstallation was ok, and the laptop was running well. Suddenly, when I take the Macbook from the case and open it on my desk, something pretty wrong appears: a large crack on the lower right corner of the screen.
    It was not dropped, it was not crashed, and I did not "close it with a pen inside".
    The screen simply cracked. And as so many similar problems with another users I could easily find on the web, I really expect Apple to admit it as a Manufacture's fault. The local technical support said it is no other thing except I hit the laptop, or dropped it, so it's all my fault. (See Picture 3)
    The only thing they can offer me is to repair the screen for R$1200. I am definitely not going to pay for this; a "normal" and good pc laptop costs this price (And a new basic macbook costs today R$2400).
    If the problems were just it, it would be not so bad.
    (Pictures: http://picasaweb.google.com/gstorck/MacbookProblems#5476986361400585122)
    February 11th, 2010
    HD FAILURE
    After 1 month, on Feb 11th, my new 250Gb HD simply stopped working. Different from the first time, that the HD was just corrupted, this time it has really broken, it died. I had it all backed up, but I have lost the HD.
    Back again to the technical assistance, they said to me the problem was the same that cracked my screen: my fault, on letting the laptop fall, or hitting it with some kind of pressure. They couldn't do anything, and even the Western Digital 3-month Warranty would not cover this type of problem ("user's misuse").
    May 28th, 2010
    DECREASE IN PERFORMANCE
    I'm working again with the original 160Gb HD (formatted and reinstalled), and some other external drives to store my files.
    It's been quite difficult to deal with all this Data and Screen problems, and now the Macbook's performance is decreasing every day. It's been slower to process operations and to launch the applications. Sometimes, the system does not even sleep anymore when the laptop is closed, or it takes so long time to sleep that it just sleeps when I open it again. Besides, sometimes the mouse pointer disappear, and some bizarre graphics take its place.
    Don't forget: It's a 1,5-year-old Macbook, with 2.4GHz, 4Gb RAM and the O.S. is installed for no longer than 4 months. It is supposed to work better, I guess.
    I saved a lot of money to buy a good computer, and to get rid of the endless issues I had with PCs. That issues never were so serious with the ones I face now with Macbook.
    Even if I pay R$1200 to replace the screen, with the money I don't have, I would still stand these performance issues, which seem to have come with this problematical laptop. I hope to have some solution from Apple, if it want to deliver what it promises and want to keep a customer.
    Otherwise, I will have to change to another system platform and another computer manufacturer, to see if I stop throwing money away with these devices. I think that maybe at least, the cost-benefit ratio will be higher.
    Did anybody receive contact from Apple support about these screen problems?
    Guilherme R. Storck
    Apple user since 2008
    <Edited By Host>
    gstorck (at) gmail (dot) com

    Well, your first issue is pretty clearly just some bad RAM, and it sounds like even the replacement RAM was bad. Who knows if the people who put it in had any kind of clue what they were doing. I've seen repair shops where people are smoking in the same room they do repairs.
    Second problem sounds typical of a failing HDD. It's a fairly common problem with laptops... Apple, Dell, Lenovo, HP, Acer... Probably the single most common problem with laptops no matter who makes them. People get this notion in their heads that the "portable" aspect of laptops means you can pick them up and carry them all over while turned on. Which you can... If you don't mind dramatically shortening the life of the HDD. What "portable" REALLY means with laptops, is that they are easy to move if you put them into a powered down state. They should NEVER be moved around when in normal operation. And since you seem to do a bit of traveling, if you're on a plan, and there's turbulence, you should shut the laptop off until it smooths out.
    The screen cracking could have something to do with the rather sudden change in climate. Germany isn't exactly the frozen tundra, but it is a pretty different climate from Brazil, and changes in things like humidity could cause problems. The laws of thermodynamics tell us that things expand as they heat up, so if there's already a crack somewhere, it could easily get worse as a result of increased heat.
    And since your initial hard drive was already starting to fail, it hasn't magically stopped failing since being removed from the system, so obviously performance is going to get worse.
    At this point, it's pretty much impossible to tell where the damage was done, so you're probably just out of luck. The people in Germany could have screwed something up, or the people in Brazil, it could have been environmental damage, and it's possible the defect was always there, it just didn't manifest until recently. There's just no way to tell for sure. So Apple is unlikely to do anything for you.

  • 7 year, 100+ PC Veteran Stumped ! Power, and performance issues. Full detail included.

    Good morning everyone! (At least it's morning in wonderful Pennsylvania USA!)
    AMD Athlon 64 3200+ (New Castle)
    Thermaltake Venus 12 CPU Cooler w/ Manual Adjust
    MSI "K8T Neo-FIS2R" K8T800
    512MB x 2 Corsair TWINX1024-3200C2PT (Rated 2-3-3-6 1T)
    Antec TruePower 430w PS (+5V@36A +3.3V@28A +12V@20A)
    Gainward Dual DVI w/ VIVO GeForce FX5700 Ultra
    2x Viewsonic 19" VX900 LCD Monitors
    Creative SoundBlaster Audigy Platinum eX
    Plextor 712a Black 12x+/8x- DVD-RW
    Lite-On SOHD-167T Black 16x DVD-ROM
    Western Digital WD740GD 74GB 10,000rpm Raptor SATA
    Western Digital WD2500JB 250GB 7,200rpm 8MB IDE
    Seagate Barracuda ST3200822AS 200GB 7,200rpm 8MB IDE
    Lian-Li PC-65B Black Aluminum Case
    Vantech PCI Slot Fan
    CyberPower 825va Voltage Regulating UPS
    Windows XP Professional SP1a
         There we have it, I think that that is all you need to know to perhaps give opinions and advice. Allow me to elaborate on why I am posting today after browsing this wonderful forum for the last two weeks. (...and by the way, my hat's off to some of you knowledgeable regulars for helping out a lot of newbies and folks in trouble!) Without further adieu:
    Problem #1: POWER ISSUE
    When, or if, I remove AC Power from my PC for whatever reason I run into a problem in which after reconnecting the AC Power and attempting to turn on the computer it goes into a 3-5 second startup loop in which the PC does not post, but rather cycles power to all of the components indefinitely. I notice the LEDs on my optical drives cycling repeatedly ad infinitum until I power off using the 4-second hold method, and then press the power button again. At this point the PC boots up fine, and boots up fine going forward from all restarts and shut downs. How strange? I've never, EVER, encountered something like this before.
    Problem #2: PERFORMANCE ISSUE
    This PC has a handful of serious performace issues.
    3dMark03 scored horribly.
    Prime95 runs ridiculously slow although there are no erros! It runs much more quickly on my work PC which is a PIII 866mhz with 384MB of PC133 RAM.
    I receive, on no regular frequency, or while doing anything in particular, Explorer memory errors. Not BSOD's mind you, but "...blah blah blah referenced memory address xxxxx-xxxxx and could not be written". This causes Explorer to restart itself, blowing away the start menu, task bar, and any Explorer windows open. They reappear, of course, without incident.
    The most off performance issue of all is that when opening an Explorer window for either of my IDE HDs, designated D and E drives, I find that when using the highlighting rectangle tool the Explorer window freezes or lags. I can double-click and open or move/copy files without incident, but if I attempt to highlight by this method this halt or lag occurs.
    Also, since my update of the BIOS from 1.2 to 1.7, and then to 1.8 system startup times prior to Windows loading are HORRID. I have disabled just about everything, and yet the SATA BIOS loads for 5 seconds, and then I must wait 20 seconds for Windows itself to come to the login screen. No other BIOS related issues to report per se, but this is terrible for what should be a blazingly fast computer.
    Now let's see.. what have I tried to do to repair the issues?
    1) 2 BIOS flashes. First from 1.2->1.7, and then from 1.7->1.8. Ostensibly this was just "because". The power user need to have the latest! I noticed the incorrect CPU temperature being reported, however.. This led to me buying this massive ThermalTake HSF to replace my stocker. I also added more thermal goop than I ever have before, as well as a PCI slot fan before I became aware that it was a BIOS issue! GRRRR MSI.
    2) I thought perhaps for the one issue that one of the hard drives was an issue, and even perhaps for power, but I replaced each with new drives and tested all 4 on another PC. NO problems. Also I should perhaps mention that my IDE drives are all hooked up using Antec Cobra cables. Expensive yes, but why the hell not, right? I've never seen a hang-off grounding wire for IDE before. Decided not to use them as I could think of a great place to screw them in, nor have other PC using them had trouble skipping the ground wire.
    3) I unplugged every molex cable, the 4-pin CPU power, and the 20-pin ATX power and rerranged them all - as well as removed and then reinserted the RAM.
    4) I tried changing my memory timings and power management settings, etc in BIOS. Nothing seem to impact the issue. I didn't fiddle with the voltages, but I should not need to running the RAM at SPD or lower settings and without overclocking the system at all!
    5) Another issue that I had that seems to have vanished, come back, vanished, and then come back a "little bit" is my USB ports. When set to enable legacy devices in BIOS my USB items like my Logitech wireless keyboard would just cycle power and refuse to function. Also my UPS connected VIA USB seems to sometimes handshake with Windows and sometimes not. I've tried using all of the different ports, etc but the problem remains. I NEED 6 ports for my devices so it is all that I could do!
    6) I have an Enermax 550w EG651P-VE(FMA) with 36 amps on each voltage rail on it's way, and it should arrive tomorrow. Despite all of the crap regarding power supplies that I see on this board I am not confident that it's the problem. That Antec PSU should be able to hold it's on with 20 amps on the +12v channel. C'mon now. I build a nearly identical system with the same power supply for a customer and he has no problems at all. He also has 3 HDs, same motherboard, etc.. the only difference is he has but one optical drive and a 2800+ rather than a 3200+. That power difference should be decimal nature in amps needed.
    ...oh and the sound card is in PCI slot 3, for those that remember the glory days of sound card IRQ issues that Creative was once notorious for... oh, and I disable the ethernet boot device, etc so my slow startups should not be related. My serial ATA drive is also on connection 1 of the VIA controller.. Promise can kiss my a**.
    Soooo.. Show me what a n00b I am, oh great ones. I've built over 100 PCs since 1998 for myself, friends, families, and customers... and I've never seen an issue like this one! I'm no dummy, but please don't assume too much. Other pros on here know full well you can forget the most simple mundane detail in spite of experience! I want to solve this problem. I am on the verge of shelling out for a new motherboard and processor of the 939 pin variety.. and am now wary of MSI's long awaited socket 939 K8 Neo2 board despite it's awesome reviews. MSI has never really given me trouble before.. but I don't really want to spend money to the order of $200+ for that damned Gigabyte board. Gigabyte has always been good to me as well. Save my wallet! PLEASE!!!
    Thanks so much everyone, I tried very hard not to leave out any details!
    Az (Ian)
    You can reach me on Yahoo or AIM just about any time, and I will check here frequently.

    Quote
    Originally posted by AzaghalSEI
    Good morning everyone! (At least it's morning in wonderful Pennsylvania USA!)
    AMD Athlon 64 3200+ (New Castle)
    Thermaltake Venus 12 CPU Cooler w/ Manual Adjust
    MSI "K8T Neo-FIS2R" K8T800
    512MB x 2 Corsair TWINX1024-3200C2PT (Rated 2-3-3-6 1T)
    Antec TruePower 430w PS (+5V@36A +3.3V@28A +12V@20A)
    Gainward Dual DVI w/ VIVO GeForce FX5700 Ultra
    2x Viewsonic 19" VX900 LCD Monitors
    Creative SoundBlaster Audigy Platinum eX
    Plextor 712a Black 12x+/8x- DVD-RW
    Lite-On SOHD-167T Black 16x DVD-ROM
    Western Digital WD740GD 74GB 10,000rpm Raptor SATA
    Western Digital WD2500JB 250GB 7,200rpm 8MB IDE
    Seagate Barracuda ST3200822AS 200GB 7,200rpm 8MB IDE
    Lian-Li PC-65B Black Aluminum Case
    Vantech PCI Slot Fan
    CyberPower 825va Voltage Regulating UPS
    Windows XP Professional SP1a
         There we have it, I think that that is all you need to know to perhaps give opinions and advice. Allow me to elaborate on why I am posting today after browsing this wonderful forum for the last two weeks. (...and by the way, my hat's off to some of you knowledgeable regulars for helping out a lot of newbies and folks in trouble!) Without further adieu:
    Problem #1: POWER ISSUE
    When, or if, I remove AC Power from my PC for whatever reason I run into a problem in which after reconnecting the AC Power and attempting to turn on the computer it goes into a 3-5 second startup loop in which the PC does not post, but rather cycles power to all of the components indefinitely. I notice the LEDs on my optical drives cycling repeatedly ad infinitum until I power off using the 4-second hold method, and then press the power button again. At this point the PC boots up fine, and boots up fine going forward from all restarts and shut downs. How strange? I've never, EVER, encountered something like this before.
    Problem #2: PERFORMANCE ISSUE
    This PC has a handful of serious performace issues.
    3dMark03 scored horribly.
    Prime95 runs ridiculously slow although there are no erros! It runs much more quickly on my work PC which is a PIII 866mhz with 384MB of PC133 RAM.
    I receive, on no regular frequency, or while doing anything in particular, Explorer memory errors. Not BSOD's mind you, but "...blah blah blah referenced memory address xxxxx-xxxxx and could not be written". This causes Explorer to restart itself, blowing away the start menu, task bar, and any Explorer windows open. They reappear, of course, without incident.
    The most off performance issue of all is that when opening an Explorer window for either of my IDE HDs, designated D and E drives, I find that when using the highlighting rectangle tool the Explorer window freezes or lags. I can double-click and open or move/copy files without incident, but if I attempt to highlight by this method this halt or lag occurs.
    Also, since my update of the BIOS from 1.2 to 1.7, and then to 1.8 system startup times prior to Windows loading are HORRID. I have disabled just about everything, and yet the SATA BIOS loads for 5 seconds, and then I must wait 20 seconds for Windows itself to come to the login screen. No other BIOS related issues to report per se, but this is terrible for what should be a blazingly fast computer.
    Now let's see.. what have I tried to do to repair the issues?
    1) 2 BIOS flashes. First from 1.2->1.7, and then from 1.7->1.8. Ostensibly this was just "because". The power user need to have the latest! I noticed the incorrect CPU temperature being reported, however.. This led to me buying this massive ThermalTake HSF to replace my stocker. I also added more thermal goop than I ever have before, as well as a PCI slot fan before I became aware that it was a BIOS issue! GRRRR MSI.
    2) I thought perhaps for the one issue that one of the hard drives was an issue, and even perhaps for power, but I replaced each with new drives and tested all 4 on another PC. NO problems. Also I should perhaps mention that my IDE drives are all hooked up using Antec Cobra cables. Expensive yes, but why the hell not, right? I've never seen a hang-off grounding wire for IDE before. Decided not to use them as I could think of a great place to screw them in, nor have other PC using them had trouble skipping the ground wire.
    3) I unplugged every molex cable, the 4-pin CPU power, and the 20-pin ATX power and rerranged them all - as well as removed and then reinserted the RAM.
    4) I tried changing my memory timings and power management settings, etc in BIOS. Nothing seem to impact the issue. I didn't fiddle with the voltages, but I should not need to running the RAM at SPD or lower settings and without overclocking the system at all!
    5) Another issue that I had that seems to have vanished, come back, vanished, and then come back a "little bit" is my USB ports. When set to enable legacy devices in BIOS my USB items like my Logitech wireless keyboard would just cycle power and refuse to function. Also my UPS connected VIA USB seems to sometimes handshake with Windows and sometimes not. I've tried using all of the different ports, etc but the problem remains. I NEED 6 ports for my devices so it is all that I could do!
    6) I have an Enermax 550w EG651P-VE(FMA) with 36 amps on each voltage rail on it's way, and it should arrive tomorrow. Despite all of the crap regarding power supplies that I see on this board I am not confident that it's the problem. That Antec PSU should be able to hold it's on with 20 amps on the +12v channel. C'mon now. I build a nearly identical system with the same power supply for a customer and he has no problems at all. He also has 3 HDs, same motherboard, etc.. the only difference is he has but one optical drive and a 2800+ rather than a 3200+. That power difference should be decimal nature in amps needed.
    ...oh and the sound card is in PCI slot 3, for those that remember the glory days of sound card IRQ issues that Creative was once notorious for... oh, and I disable the ethernet boot device, etc so my slow startups should not be related. My serial ATA drive is also on connection 1 of the VIA controller.. Promise can kiss my a**.
    Soooo.. Show me what a n00b I am, oh great ones. I've built over 100 PCs since 1998 for myself, friends, families, and customers... and I've never seen an issue like this one! I'm no dummy, but please don't assume too much. Other pros on here know full well you can forget the most simple mundane detail in spite of experience! I want to solve this problem. I am on the verge of shelling out for a new motherboard and processor of the 939 pin variety.. and am now wary of MSI's long awaited socket 939 K8 Neo2 board despite it's awesome reviews. MSI has never really given me trouble before.. but I don't really want to spend money to the order of $200+ for that damned Gigabyte board. Gigabyte has always been good to me as well. Save my wallet! PLEASE!!!
    Thanks so much everyone, I tried very hard not to leave out any details!
    Az (Ian)
    You can reach me on Yahoo or AIM just about any time, and I will check here frequently.
    The startup problem might just be a screwy psu. Your antec *should* be able to power your stuff just fine, but maybe it is defective in some strange way.
    What is your 3dmark03 score? If it is 3000-4000, (approx perf. level of ati 9600xt), then it is fine.
    Check your memory using memtest86+, and try underclocking it to ddr333.
    UNplug usb devices, and see if it speeds up boot. Also, I would not recommend bios 1.8 since people seem to have some troubles with it.
    Also, try disabling agp fast writes, disabling spread spectrum, and maybe boosting ram voltage a tiny bit.
    Try booting without your audigy plugged in, and try booting barebones (nothing but 1 hard drive with os) and see what happens.
    I'm no expert, but you might get lucky trying these steps.

  • Performance issues -- related to printing

    Hi All,
    I am haviing production system performance issues related to printing. endusers are telling the printing is slow for almost printers. We are having more that 40 to 50 printers in landscape.
    As per my primary investigation I didnt find any issues in TSP01 & TSP02 tables. But I can see the table TST01 and TST03 table having many number of entries (more that lakh). I dont have idead about this table. Is ther eany thing related to this table where the print causes slowness or any other factors also makes this printing issue .. Please advice ..
    thanks in advance

    Hai,
    Check the below link...
    http://help.sap.com/saphelp_nw70/helpdata/en/c1/1cca3bdcd73743e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/04ca3bb6f8c21de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/86/1ccb3b560f194ce10000000a114084/content.htm
    TemSe cannot administer objects that require more than two gigabytes of storage space, regardless of whether the objects are stored in the database or in the file system. Spool requests of a size greater than two gigabytes must therefore be split into several smaller requests.
    It is enough if you perform the regular background jobs and Temse consistency checks for the tables.
    This will help in controlling the capacity problems.
    If you change the profile parameter rspo/store_location parameter value to 'G' this will make the performance better. The disadvantages are TemSe data must be backed up and restored separately from the database using operating system tools, In the event of problems, it can be difficult to restore consistency between the data held in files and the TemSeu2019s object management in the database. Also you have take care of the Hard disk requirements because in some cases, spool data may occupy several hundred megabytes of disk storage. If you use the G option, you must ensure that enough free disk space is available for spool data.
    Regards,
    Yoganand.V

Maybe you are looking for

  • Facial recognition says "no new people found in your selection."; Do not have breezesession.dat file

    This forum Re: People recognition problem on PSE 12 says to change the breezesession.dat file, but I don't have one. I need advice on how to proceed. I do not want to have to manually tag every photo in my catalog, but cannot scan multiple photos at

  • Sun Creator and using the JNI

    Does any developer or Sun person have a direction for me to go in the use of the JNI within Java Sun Creator? It seems last weekend I was talking to a person from SUN in regards to tis issue and they have not got back to me. Has any one that uses sea

  • JDBC not working with jar or applet

    I managed to get the JDBC driver (com.mysql.jdbc.Driver) working just fine for a regular java application. However, when I tried to pack the program into an executable jar file, I once again get the "java.lang.ClassNotFoundException: com.mysql.jdbc.D

  • Newbie HELP - JSP includes

    Hi, I want need to create JSP pages which will have (1) Header (2) Body and (3) footer. The header and footer i am clear about including. But the body has to have two parts (a) a fixed sidebar part with hyperlinks and on the rights side (b) body cont

  • Business account Pre-order problem/question/help

    I pre-ordered with my business account online.  They allowed me to bill it to my account.  I got a confirmation E-mail that gave me a 8 digit Reference # starting in MB MBXXXXXXXX No order number or confirmation number so I cannot track my shipment.