Aperture not returning RAM

Hi, it seems that I am the first one to post this.
I have been using Aperture a lot this week adding keywords to loads of photos taken in the last 4 months (had been slack and it was time to get on with it).
Since I have started I have noticed that my machine was running slower and slower....
I have now realised after monitoring my machine that Aperture seems to be causing this.
When I spend a long time on Aperture, and when I quite it, my RAM goes up to 4.5Gig used when Aperture is sharing the previews, but when Aperture is finished and quit, My Ram usage doesn't go back down...
Anyone else had that problem to confirm this before I send feed back to Apple?
Let me know

I have a one year old Intel iMac with 2Gb and the 256Mb X1600 card and i have to say i'm becoming increasingly disappointed with just how slow Aperture is making my machine run.......
not being able to jump between various images quickly defeats the whole purpose of Aperture! and having to close Aperture to complete semi-power hungry applications almost defeats the whole purpose of switching from a cheap PC to £1500 iMac
I had the extras to make life smooth and painlesss, are Apple living up to there own hype? I'm begining to think not.
20" Intel iMac   Mac OS X (10.4.9)   256 X1600 Card / 2Gb RAM
20" Intel iMac   Mac OS X (10.4.9)   256 X1600 Card / 2Gb RAM

Similar Messages

  • Aperture not using RAM?

    I'm wondering how I can speed Aperture up a little, it seems pretty slow.
    One thing I've noticed is that Aperture (2.14) doesn't use much RAM at all - I have 16 GB of RAM in a Mac Pro, approximately 200K referenced images on a RAID that is separate from the system drives. When I load more images or do an action where the system gives me the beach ball, Aperture uses less than 1GB of memory and usually far less.
    Any ideas?

    In my experience with aperture 3, the program uses as much RAM as it needs, but it also seems to try and avoid swapping if possible.
    On my mac pro with 18GB of ram, I've seen it use up to about 6GB while zooming in on a heavily brushed 5d2 raw file. This exact same process on my macbook pro with 4GB of ram didn't really go past 3 GB of ram usage.
    To answer your original question on how to speed it up - Upgrade to aperture 3, and 10.6.3 if you haven't already. Since you use referenced masters, the upgrade will be less painless. Just create a blank aperture 3 library and use File->Import library to Copy your current aperture 2 referenced library. It will import it and leave the original in tact.
    You can do this with the trial version even to test it out. A 200K referenced library in aperture 3 should be about 80GB. Just be aware that switching back and forth between v2 and v3 will probably require manually deleting preferences and preset files each time you switch versions.
    And you'd probably want to disable faces and auto preview generation during import too.

  • Apple Care will not return my Hard drive.

    I have a Power Book G4 1.67 . The hard drive has failed, it is covered under applecare for another 6 months, I have case number, the person on the phone was very nice, they sent the shipping box.
    I think it's more then just the HD, however. The drive was partitioned in 3 sectors. Of course the system sector was the one that failed. I can boot in Target Disk Mode and see the other 2 sectors of the drive. The system sector is the one that is bad, I can't get that info off there. I am sure someone else can who is better qualified can. I really need that info, I can see they system partition in Disk Warrior, but am not a guru in that or the couple of other products I bought to see if I could rescue this info.
    I asked AC Rep if I could have the Hard Drive back, they said no, I asked if they would back up the information, they said no, I said I would pay for either back up or pay for the old hard drive myself, (again) they said no.
    So now I am stuck, if I replace that HD myself, I may void the warranty, I know it's a customer installable part. I have replaced many over my apple years, upgrading HDs about every 2 years in multiple computers and putting the old ones in external cases. I have also upgraded RAM, airport cards, pram batteries so I am comfortable working the simple upgrades. So I could simply replace that Hard Drive and then send it in, but then they may blame me for the problem.
    There also smaller problems, screen latch won't stay closed, superdrive will not eject correctly, screen has some lines in it occasionally. It's not a road warrior, but I use it a lot and always treat these well. The drive was making no noise at all and no indication of a impeding failure. I treat my machines very carefully, I still have a Pismo that is gasping it's last breath.
    This HD has all my important passwords and other personal info, I was in the middle of backing it up when thing went blitz. I saved the data from the other 2 partitions but I need that HD. Why will they not return my old part ? Or even back it up for a fee. I am afraid to replace the HD with a new one, and then send it off, or even try to reboot it from a new one as I maybe be stuck with it and they say well I did the damage.
    Yes I know multiple back ups, but this is the first HD failure in 20 years and I should have had 2 HDs for back ups instead of one. Any other part I could see their point, but that HD has information I need and I don't want someone having it either. Is there a fair solution here.
    This thing has been down a week, I just got the box and I need to do something. There is no Apple store up here and the company that can do the repairs, messed up a iBook G4, so the only option is sending it out to apple care.
    Ideas and Suggestions?
    Geoff

    Well Holy Smoke !! Apple has agreed to let me get my data back a bit of a round about way but we will see.
    I am going to use a hard drive recovery service so it will go like this.
    A" local service provider," whom did not do anything at all to fix an iBook I gave them, under Apple Care to repair, but keep it 3 weeks and then said, I could not find anything by Goggling the problem...I see the problem that cursor is all over the place and jumps anywhere it wants., a problem came up and by the time we got back the iBook was out of warranty . Sometimes the local help is tough, but I try to support them.
    I think, with me standing there, they can remove the hard drive from my powerbook, it's pretty easy..
    Then, with Apple Care's blessing, I can send the drive into a recovery company, yes expensive, then return the drive in parts if that is the way it comes back, with my powerbook, ship it and AppleCare will fix it the PowerBook.
    That is really good, and if all goes well, I will be very impressed and not hesitate to get that new
    MBP. They even offered to let me take out the drive, but I thought, better to keep it in the "Apple Family."
    Now they did not send a letter or email to this effect, that would have made me feel better, but the attitude at Apple, has really changed, these people went multiple times to supervisors to get this answer and solution. Not the quickest way to get it fixed, but
    I am willing to bend, if they are willing to alter what is a well oiled line and will create a bump in their flow..
    We will see, I told them they just might get a bag of parts and I will not reinstall the bad drive, as it is most definitely shot. No problem, it's all in the notes the CSR said.
    We will see, but for today, this is sure a different attitude then the last go around, a few years ago. The CSR people are nice, understand English, as they seem to be based in Canada, which is a whole lot better then anywhere else I would want to talk too, or have talked to. They can understand abstract ideas, unlike those who just read from a card and stick to what the card says.
    I am holding my breath, but I hope to report that this all goes smooth. I liked it when Apple was a good company. People went out of their way to help you no matter it took to get it fixed or working. I think a company can be good, profitable, plus have a excellent CSR and repair program.
    For today at least, here is to Apple, way to go.
    Geoff

  • Images pixelated in Aperture, not iPhoto?

    I have been importing all my images to Aperture from an external drive, and all is going well. My problems is some of my images are pixelated when viewing them in Aperture. When I open iPhoto though and view my Aperture library in iPhoto the images look normal. I have not imported them to iPhoto, I am just curious what is going on here? I am an Aperture beginner so I am lost as to why this is happening?  Hope that make sense. It is kind of hard to explain what is happening.
    Thanks for any help in advance,
    Christopher

    Re: Images pixelated in Aperture, not iPhoto.
    I am having a similar problem but instead of iPhoto, its Bridge.  The same exact photo that I opened in
    Aperture at 100% is quite pixelated yet when opened in Bridge, it is not.  I am using Aperture 3.2.2, on a
    MacPro 2x3 GHz Dual-Core Intel Xeon w/ 9GB Ram, running 10.6.8.  I thought it might have something to
    do with the graphics card.  I have the ATI Radeon X1900 XT.  When I copied the same raw file to my 13" Mac
    BookPro with a NVIDI GeForce 9400M Graphics card, the photo looked fine in Aperture.  Since Aperture is so graphics card intensive, is it possible that it needs a better graphics card?  If so, is there a better one I could install in my MacPro?
    Thanks for any help.
    Lori

  • Aperture not showing (just black) newly imported JPEG files

    RE: Aperture not showing newly imported JPEG files.
    In fact its just black instead of the actual image. (see attached screen shot)
    When double clicking on this - i.e. to go to the edit mode, the image then appears.
    If I return to the viewing screen without changing anything to that image it remains black.
    If I make any kind of change to the image, the image will appear when returning to the viewing screen.
    Aperture seems only to have started behaving like this after update to OS X  10.10 (Yosemite)
    I have the latest Aperture 3.6
    Latest Digital Camera Raw 6.00 Build 761.5 and Digital Camera Raw Support 6000 Build 131.1
    RAW files (taken with same camera) are displayed without any issues.
    JPEG image files have been taken with a Sony RX100
    JPEG image files taken with the same device imported into Aperture before OSX update to 10.10 have appear to have no issues
    I cannot say if JPEG files taken with a different device have similar issues.
    All files have been been reprocessed to latest edition of aperture
    I have had other issues of other types of files (i.e. TIFF output  files 'unsupported image format' behaving oddly including inconsistent behaviour after having been processed by 3rd party aperture plug-in's -  although this has now largely been solved.
    I remember having similar issues of files behaving strangely in Aperture after last update to OS X (Mavericks) - forget how this was solved -  but I'm pretty sure it was not an issue involving JPEGS
    Many thanks

    ...this sounds very similar to the problem I had on a previous aperture update and I had a similar issue  -  to that - with the .tiff files output from RAW files and an HDR plug-in.
    In the first instance, I cannot remember for sure, but maybe it was something to do with not having the latest RAW File update for Aperture specific to that latest Aperture Update and specific to a Sony RX100 (or it could have been a Nikon d700).
    I found the RAW file update  -  I'm not sure it was being made available from the App Store -  and everything was fine.
    With the more recent issue, I'm pretty sure this was resolved by updating to the latest Photomatix HDR plug-in.
    So I'm just stuck on the issue with the JPEGs now.

  • TimesTen Queries not returning

    We are evaluating TimesTen IMDB Cache as an option to improve our performance of queries that do aggregate operations across millions of rows.
    My environment is a Windows Server 2003 R2 X64 with Intel Xeon X5660 16 CPU cores, and 50G of RAM. The database is Oracle Enterprise 11.2.0.2.
    I have the following DSN parameters.
    DataStore Path + Name : H:\ttdata\database\my_ttdb
    Transaction Log Directory : H:\ttdata\logs
    Database Character Set: WE8MSWIN1252
    First Connection:
    Permanent Data Size: 26000
    Temporary Data Size: 1600
    IMDB Cache:
    PassThrough :1
    Rest of the parameters are default.
    I have created 2 read only cache groups and 1 asynchronous write-through cache group.
    The first read only cache group is on a table A with 108 rows , the second read only cache group is on table B with 878689 rows and table C is the fact table with 20.5 million rows.
    I have loaded these cache groups. Now I am trying to do join queries across these tables that do aggregation and group by on some measures in table C.
    I have seen using dssize that the data has been loaded in permanent data area.
    These queries execute in Oracle in around 5s and my expectation was that these would return in sub-seconds.
    But these queries are not returning back at all even after hours. I have looked at the query plan and I do not have any lookups which say that they are not indexed.
    I have even tried simpler join queries without any aggregation. Even those get stuck. The only queries that I have been able to run are select * from tables.
    What may be wrong in this setup/configuration ? How do I debug what is causing the problem.
    Thanks,
    Mehta

    Dear user2057059,
    Could you specify more details about your question:
    - Tables structure (columns, indexes, constraints)
    - Could you post your query with execution plan
    20 M rows it is not a big database especially for your hardware.
    In my example:
    CPU: Intel Core 2 Duo CPU 2.33 GHz,
    RAM: 4 GB DDR2
    HDD: 100 Gb SATA-II
    OS: Fedora 8 x64 (Linux 2.6.23.1-42.fcb)
    +
    Oracle TimesTen 7.0.5.0.0 (64 bit Linux)
    Command> select count(*) from accounts;
    Query Optimizer Plan:
      STEP:                1
      LEVEL:               1
      OPERATION:           TblLkSerialScan
      TBLNAME:             ACCOUNTS
      IXNAME:              <NULL>
      INDEXED CONDITION:   <NULL>
      NOT INDEXED:         <NULL>
    < 30000000 >
    1 row found.
    average time - 1,920321 sec, direct connection. Regards,
    Gennady

  • Toplink does not return the object sometimes - VeryHigh Volume application

    Hi All,
    Toplink version: 10.1.3.4, OAS 10.1.3.4, Oracle 10g, RedHat linux 4.0
    We have a high volume application where toplink issues one of our queries like 25K times/hour.Query is a simple one querying the table based on the primary key(Id) that should return 1 object.
    This query is not returning the object sometimes I should say like 200 times/hour. What bothers me is that the same query on the same Id(primary-key) returns the object another time.
    I did enable the toplink logging level to FINE where I could see the SQL query getting issued to the DB, I was unsuccessful in changing the logging level to ALL to check if the object is getting returned by the toplink layer and being registered in the cache kind of details.
    This is not easily re-producable as this only occurs in our Pre-Prod environment where we can simulate high volume. This completely baffles me and I am running out of ideas.
    Thanks in advance.
    -Ram
    Edited by: Raam on Jun 4, 2009 7:41 PM

    If you are configured for an isolated cache then there should be no concurrency issues. Each thread will query the database directly and load the object into the UnitOfWork. Is there an Exception handler configured on TopLink? Are you getting a timeout exception or some other exception that is being ignored?
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 790FX-GD70 not setting RAM to correct timing nor voltage from SPED

    My 790FX-GD70 not setting RAM to correct timing nor voltage from SPED when set to auto. The RAM I have should be 6 6 6 20 @ 1.8V but the motherboard is setting it to 9 9 9 24 @ 1.5 V
    The RAM is   Crucial 2GB, Ballistix 240-pin DIMM, DDR3 PC3-10600 memory BL25664BA1336 • DDR3 PC3-10600 • 6-6-6-20 • Unbuffered • NON-ECC • DDR3-1333 • 1.8V • 256Meg x 64 of which i have two of then in the two black slots.
    Just to rule out the RAM I also tried a different model of RAM whose timing is 7 7 7 24 @ 1.65 which will not allow to boot to windows unless I adjust the voltage manually to 1.70 (1.65 V will still not boot properly)  it sets it also at 9 9 9 24 yet this same sticks of RAM will set correctly in a MSI 770 C45 without any adjustments.
    Now i will say in the case of the 790FX-GD70 I require no changes  in voltage for it to boot with the 1.8 V RAM just the timings are not as they should be. The 790FX-GD70 is stable as is and I will probably leave it at the auto settings  but wondered if anyone else  encountered similar issues with this board

    Looks like this is a bit of an issue for some other users of your RAM and not necessarily a MSI thing! This user has a ASUS board! Good luck and hope you get it sorted out.
    Backround:
    I bought some DDR3-1333 ram that was advertised as 6-6-6-20 @ 1.8v and, as expected, running on my board's default 1.5v it was only getting like 9-9-9-24. In fact, @ stock voltage the best I could boot up with (unknown stability) was 9-7-7. In an attempt to get the best (advertised?) performance I went ahead and manually set the timings to 6-6-6-20, left all other timings on auto, and upped the voltage to 1.8v
    Boots up fine and appears to be stable. However, I do notice the RAM is fairly warm to the touch whereas @ 1.5v it was pretty benign heat-wise. I tried running 1.785v but 3 out of 4 times it would hang on the windows desktop display. So I bumped it back up to 1.8v and I'll run Memtest 86 or something else later tonight.
    My question, being a noob and all...
    Is running at 1.8v going to hurt something? (See my setup MB, and CPU stats)
    Just to repeat, the box and manufacturer do list it as 1.8v spec. (FYI: BL25664BA1336)

  • HT3702 I contacted a vendor about an app and they have not returned my email. I want to cancel the purchase.  What should I do?

    contacted a vendor about an app and they have not returned my email. I want to cancel the purchase.  What should I do?

    You probably cannot get a refund, since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    It's possible they'll make an exception for you, particularly if the app is defective in some way. If you just don't like or no longer need the app, a refund is unlikely.
    Good luck.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • I'm having all sorts of connection issues on a iPhone i brought in the uk 6 months ago. am i able to use a genius bar abroad as I'm not returning to the uk?

    i brought a iphone 5 back in feb/march and since then its slowley getting worse and worse, my wifi hardly pickes up any signals and when it does they drop out all the time. my girlfriends iphone4 picks up and has no trouble holding onto the wifi, whilst sitting at the same table mine shows no signals. Im not returning to the uk any time soon so i want to know if its possible to visit an apple store for replacement abroad? im only 6 months into my apple care so i wouldnt think this should pose an issue. any help would be fantastic
    many thanks

    they will not repair the device in the us you must send it back to the country of purchase or set up repair through them the uk apple car number is as follows (44) 0844 209 0611*** you should be able to set up a mail repair through them

  • How do I determine if the memory problems are with my imac and not the RAM?

    I've heard of some vague problems with intel imacs and their memory slots. I'm about to replace (for the 3rd time) RAM, and think I need to test further to see if the problem is with my imac and not the RAM. Right now I put back in the original 2-512 sticks that came with the imac, and the rember test is only showing 594mb (odd amt!) testing OK. But, in "about my mac" it will show as 1gb.
    Problems I've had with each set of RAM: occasional KP's, excessive spinning beachballs, sudden closing of apps (esp. if I have several apps running), won't fax usually (will hear a fax tone instead of a dial tone at the onset), disappearing documents section under my username.
    I bought this imac refurbed thru the apple store last fall: 2.16 C2D 20" imac
    Any ideas before I have to separate myself from my imac to send it in??

    Hi Toodles
    The pin strips on the new modules maybe a little thicker than your original modules, and it's going to take more force to seat them properly. If the new Memory Specifications are correct I would try them again. Slide them in untill they stop, then push real hard untill you feel them seat into place.
    I've never seen a report about an odd amount of ram shown. If reinstalling the ram modules does not solve your issue, and may be a indication that there is something wrong with one of the slots.
    Dennis
    17" iMac Intel Core Duo - 2GB Ram -   Mac OS X (10.4.10)   - Maxtor 300GB FireWire - Creative Inspire 2.1 - 2G Nano

  • T-SQL: SET Statement Using a Case Statement is not returning a value

    SQL VER:  2008
    Please see the attached screenshot from SSMS.  The Set statement  below is not returned a value or may be returning a zero value.  The AllocPercent field is set to zero in code preceeding this Update Statement:
    AllocPercent
    =
    CASE
    WHEN AllocBase
    IS
    NULL
    OR AllocBase
    = 0
    THEN 0
    ELSE PM_Input/AllocBase
    END
    As you can see by the screen shot from the Select Statement that is displaying the results after the Update Statement is completed, the value of AllocPercent is = 0 even though all the values necessary for it to compute a value > 0 are present in the
    table.  Incidentally, the values in both the AllocBase and PM_Input fields are the same before the Update Statement is ran, as shown in the Select ran after the Update Statement.
    I have ran this type of code several times with never a problem.  This seems really simple, but I just can't seem to get it to compute. 
    Any help would be greatly appreciated.
    Regards,
    bob sutor
    Bob Sutor

    Yep--This statement is running in a Stored Procedure and inside its own block statement.
    I did get a response that suggested I change the SET statement as follows, that worked:
    AllocPercent
    = CASE WHEN AllocBase IS NULL OR AllocBase = 0 THEN 0.00 ELSE cast(PM_Input*1.0/AllocBase*1.0
     as decimal(6,2)) END
    Your response did get me thinking which was great!  I appreciate your help.
    Regards,
    ...bob sutor
    Bob Sutor

  • Can Aperture not be set up to show a "Last Import" smart folder?

    I'm trying to make the transfer from using iPhoto to using Aperture.
    One thing I found really great in iPhoto was the smart folder that was simply set to show the last import, no matter when that import was done - whether it was today, yesterday or 6 months ago.
    The reason I found this so handy was because I set my iPad up in iTunes to only sync the photos from that Last Import smart folder, rather than all my photos.
    That way, every time I synced my iPad, I always had my most recent photos on my iPad, no matter when the pictures were taken.
    Now with Aperture, I cannot see a way to create anything similar. The best I can do is to create a smart folder with photos imported within the last month, let's say.
    But the problem with that is that if I haven't imported any new photos for over a month, then the next time I sync my iPad, then all my photos will no longer be on the iPad.
    If I create a longer timeframe, to let's say 3 months, then I might end up with way too many photos trying to sync across, and that's something I don't want. I could end up with hundreds and hundreds of photos, and I don't have the free space to be able to do this!
    When I used "Last Import" with iPhoto, then I always only had around 50 or 60 photos, because that's just generally how many I usually imported at any one time. Sometimes it was more, sometimes less, but the average worked for me.
    So to sum up: Can Aperture not be set up to show a "Last Import" smart folder, regardless of date?
    Or alternatively, is there any way I could "hack" or "trick" Aperture into doing something like this so that I always have a managable amount of the most recent photos on my iPad?

    Hello Brett,
    that does not seem to be an easy probem as you discovered.
    Some Workarounds:
    You might to use a smart album rule "Import session is" instead of a date range, but that will not be automatic.
    Create a folder "recently added" and keep your recent projects inside that folder; create a smart album at the top level of that folder; move older projects somewhere else.
    Or enable the Photo Stream - that is the current replacement for the "most recently added" album; it will (is supposed to) always show the most recent 1000 images.
    If you are familiar with AppleScript, you can make Aperture run an AppleScript on import (Import Settings) to add your imported image to an album of new images. From time to time remove the older images.
    Sorry, but no really convenient way to do it..
    Regards
    Léonie

  • ExecuteWithParams is not returning the rows from cache

    Hi,
    We have two VO's based on same entity ,whenever new row is inserted in one VO and we do executeWithParams on another VO ,It is not returning the rows which are uncommitted.
    I replaced the executeWithParams with a custom method in AM in which I am executing the query after applying the view criteria and setting query mode.Its returning rows which are uncommitted.
    Jdev Version which I am using is 11.1.1.7.0
    ExecuteWithParams used to work with uncommitted data in 11.1.1.6.0 .
    Do we need to raise a bug on framework or Am I missing something?
    Edited by: sharavnkumar_malla on Oct 18, 2012 1:02 AM

    Still the same answer, even after you updated the question. We (the public) don't have 11.1.1.7, know nothing about 11.1.1.7, and cannot help you with 11.1.1.7. Questions about internal builds belong on internal forums.

  • Function Module - E_T_DATA does not return data

    Hi
    I am trying to create a fuction module Generic extraction, the code belwo dosen't return any data.
    when i debug YBW_MAT_STAT does have but after E_T_DATA = YBW_MAT_STAT it dose not return any data
    can you help?
    Ramesh
    FUNCTION YBW_FM_ACTIVE_MATERIAL.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *"     VALUE(I_REMOTE_CALL) TYPE  SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
    *"  TABLES
    *"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  YBW_MAT_STAT OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    Example: DataSource for table SFLIGHT
      TABLES: YBW_MAT_STAT.
    Auxiliary Selection criteria structure
    DATA: L_S_SELECT TYPE SRSC_S_SELECT.
       DATA : YBW_MAT_STAT type YBW_MAT_STAT occurs 0 with header line.
    Maximum number of lines for DB table
      STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    counter
              S_COUNTER_DATAPAKID LIKE SY-TABIX,
    cursor
              S_CURSOR TYPE CURSOR.
    Select ranges
    Comment copy code
    RANGES: L_R_CARRID  FOR SFLIGHT-CARRID,
             L_R_CONNID  FOR SFLIGHT-CONNID.
    DATA: begin of t_marc occurs 0,
    ZMATNR type MATNR,
    ZWERKS type WERKS,
    end of t_marc.
    DATA: begin of t_ytmd_mat_ref occurs 0,
    ZMATNR type MATNR,
    ZYNA_MATNR_ST type YNA_MATNR_ST,
    ZYEAME_MATNR_ST type YEAME_MATNR_ST,
    ZYFIN_MATNR_ST type YFIN_MATNR_ST,
    end of t_ytmd_mat_ref.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE I_DSOURCE.
          WHEN 'ZAINV_MAT_STATUS'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_DSOURCE   "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
        APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
    Fill parameter buffer for data extraction calls
        S_S_IF-REQUNR    = I_REQUNR.
        S_S_IF-DSOURCE = I_DSOURCE.
        S_S_IF-MAXSIZE   = I_MAXSIZE.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        IF S_COUNTER_DATAPAKID = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
          SELECT MATNR WERKS FROM MARC into table t_marc where MATNR BETWEEN '4233940M1' and '4233950M1'.
          loop at t_marc.
            SELECT MATNR YNA_MATNR_ST YEAME_MATNR_ST FROM YTMD_MAT_REF into table t_ytmd_mat_ref where MATNR = t_marc-zmatnr.
              loop at t_ytmd_mat_ref.
                if t_marc-zwerks = 'GB71' AND t_ytmd_mat_ref-ZYEAME_MATNR_ST = 'A'.
                  read table t_ytmd_mat_ref with key zmatnr = t_marc-zmatnr.
                  YBW_MAT_STAT-matnr = t_marc-zmatnr.
                  YBW_MAT_STAT-plant = t_marc-zwerks.
                append YBW_MAT_STAT.
                clear YBW_MAT_STAT.
                endif.
               endloop.
          endloop.
        ENDIF.                             "First data package ?
         clear E_T_DATA.
         refresh E_T_DATA.
         E_T_DATA = YBW_MAT_STAT.
        S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
      ENDIF.              "Initialization mode or data extraction ?
    ENDFUNCTION.

    Hi
    I have a question,
    With the above code i have all my records (450000+) in a single data package.
    how do i break this in multiple data packages
    regards
    Ramesh

Maybe you are looking for

  • Why does my scroll wheel stop working in Indesign CS4

    Hi there, I'm driving myself crazy trying to work on a laptop in Indesign and navigate without the scroll wheel.When I open InDesign it works and then very soon after it stops. The only way I know of getting it to work is to restart the program but t

  • Startup disk full error. HELP!

    so i'm browsing throught the internet and i get a notification that my startup disk is full and it gives me a list of which applications I can quit. Slightly puzzled (because my desktop is relatively new and I'v only used about 1/3 of my total memory

  • [NEVER ACTUALLY BROKEN] seamonkey doesn't display current url

    I've scroogled this over and over, maybe I just don't know what to call this problem. I have a bunch of tabs open in seamonkey. If I switch tabs, or click the back button, the url in the location bar doesn't change. If I've typed in a url it goes to

  • AS2 MDN Structure - Details

    Hi all, I have an scenario IDOC->PI->AS2. when we send to the Partner via AS2 they sent us back a Synchronous MDN, but we don't process it yet. I want to build an interface to process the MDN for bussiness to check if the Invoice they sent was receiv

  • Pin layout for TV out header on RS480M2-il motherboard

    Hello, Does anyone know where I might find the pin information for the TV out header on this board (MS-7093)? I have the version with the COM port on the back panal rather than the TV out connectors, and can't find the MSI TV bracket anywhere, but ha