Vault not including everything?

I have over 16,000 photos in my library. Just started using aperture on what was my iphoto library. I want to back up everything before I start playing so decided to use vault. Found space on external hard drive and designated it in the create a vault function. It ran seconds and then finished. The resultant file was 6.5MB, which is, I'm thinking, a littel small. What could I be doing wrong. For that many pictures it should be running the better part of an hour or more, right?
karl

When you updated the vault, was there any warning like "xxx referenced images will not be incuded"?
To my knowledge all photos are from a managed library which was my iPhoto library. Is there a way to tell what was backed up without restoring?
You can ctrl-click (or right-click) the vault and use the command "Show Package Contents". Then browse the contents of the folder  "Masters" in the Finder. It should contain all your managed original image files, organized in folders by year/month/day.
"The resultant file was 6.5MB,"
But id the size is only 6.5  MB, there is barely space for two moderately sized jpegs inside.
Try again to update the vault, but repair the permissions and the database of your Aperture library, before you try to update the vault. Repairing and Rebuilding Your Aperture Library: Aperture 3 User Manual

Similar Messages

  • Time machine backup does not include everything

    My external hard drive kept dismounting so I bought a new one.  when I checked on the backup, I could not find anything from the desktop or Iphoto or Itunes.  How do I get the time machine to back up everything? 

    Theresa,
    I'm glad Eric was able to help you out. If you need TM assistance in the future I'd recommend bookmarking:
    Time Machine FAQs
    Time Machine Troubleshooting
    They could help you quite a bit in the future.

  • Exporting EPUB from InDesign CC not including line breaks

    I am done with a book and have it formatted the way I want. I am exporting it to EPUB through InDesign CC and previewing it in iBooks and also through Kindle previewer. Everything is fine except for one thing... where I have created page breaks, the exported file is not including them.
    I tried exporting to HTML just to see what it did and there is no line breaks there. I know its proprietary markup ( in kindle ) but I still would like to include them in a few specific places ( to mark seperations of chapters ).
    In kindle this is the tag they say to use: <mbp:pagebreak />
    In iBooks, I have not yet figured out how to create them, I am going to work on that today once I sort out the kindle version.
    Is there any way to force it to include line breaks on export. Or alternatively, I could export to HTML but I am having trouble figuring out how to go back to the EPUB format from there and also it didn't include the fonts, so there was other issues to consider as I have a custom font I was using for the headers that looks really good and matches the font on the book cover as well... so I really want to keep that consistent if possible.
    Are there any tricks or things I can try here to improve on my workflow and do a better job of seperating the chapters ?

    Ok, I hadn't tested the advanced options out in the export menu. It works and does so on both the iBooks and Kindle previewer.. which is good news since that is really important to me to try and find a workflow I can update both of these formats from when I continue to work on my book.
    The only strange part is that on some chapters its adding an extra blank page between the chapter and the next. What is odd is that it only happens on some of them (in the iBook reader only, the kindle previewer isn't doing this)
    I am going to look into this more closely but its not a major deal as I would prefer a little seperation in the chapters anyways, its not really a bad thing. It is just hard to figure out why its doing this.

  • How can I get a count of files in a directory that does not include subfolders?

    Information [Comand I] gives me an "items" number that includes subfolders; however, Box gives me a number that excludes subfolders and includes only files. I am trying to double check that I have migrated everything from a local directory to a Box; thus, I would like a way to a count of just the number of files in a local directory that does not include subfolders but rather is limited to files. This has been surprisingly hard to find.
    Thanks,
    Stu

    Sort the contents of the folder by Kind. While holding down the Shift key  click on the first and last file and start to drag them.  The number of the files being dragged will be displayed in a red circle.
    Not elegant but works.

  • Properties files in a Java package not included in DC build

    We are developing a Portal Standalone DC and i have a JspDynPage component within it. and i need to do internationalization in  it. so as part of that i want to keep multiple resource bundles(properties) so that i could manage my properties files easily, For example
    MSS.properties
    MSS_es.properties
    ESS.properties
    LSO.properties
    since portal by default has no way to do this bcos it allows only one resourcebundle to specify in portalapp.xml file, i have kept the resource bundles in java package like
    com.companyname.portal.resources.
    when i export from NWDS with selection of "i want to add non java resources into jar " option from windows->preferences->enterprise portal ->application development studio, it exports all the properties files as part of the par and everything works. but when i do the DC build it ignores all my properties files and it is not working. any suggestions on how to resolve this??? does SAP provide any other way of handling multiple properties files inside a PAR?????

    We are using NWDS 2004 SP19.  and yes i have defined three default SCs as dependencies. I tested with 2004s NWDS and it seems work fine. I am able to resovle this issue by moving my properties files into another java DC and create public part in java DC and use those public parts in Portal application DC.
    So The problem of not including the properties files into Jar seems to be issue only in Portal Application DC not in Java DC. thanks everyone for the quick responses..

  • NFL Mobile - Included but not included?

    Hello,
    I've tried searching the forums because I'm sure this has been answered, so if anyone wants to send a link that'd be great.'
    As most know by now, NFL Mobile Premium is supposed to be included in More Everything Plans. I received the text and was pretty tickled. But now I'm frustrated.
    In the menu of the app, it no longer says "NFL Network." It says "Live: Verizon Premium." But when you open it, it is indeed supposed to be a live NFL Network stream. Except I opened it during non-live game hours, while NFL Network was playing a rerun of a game. I was given a 2:00 minute counter and after it was up, I can no longer access the live stream. I'm assuming judging by the language on the main page on Verizon's website for NFL Mobile, that I can only watch the NFL Network for "free/included" during live broadcasts of games, and that now the NFL Redzone is $1.99/mo.
    So it's not "included." Verizon unsubscribed me from my services so they could force me to resubscribe AND charge an extra 2 bucks for Redzone. I would have MUCH rather been told this than the lie that was texted to me.
    If my assumptions are wrong, please enlighten me. I used to tell people how awesome this app and subscription was, but now that I've been jerked around, I'll give it a go for this season, but I'll probably give up after this and go back to pirating.

    UPDATE:
    Now I feel like smarmy jerk. I tapped on the video notification in the app, and it took me to a live NFL Network stream, and then I checked tapping from the menu again and it works!
    Hope this helps someone else.

  • Backup iphone, how to backup iphone and not lose everything?

    Since so much is at stake, songs, pictures etc., I was trying to figure out how to perform an update to my iPhone from 4.1. I see the update instructions, but how do I not lose everything?

    - Although the first step of an update is iTunes making a backup, make one yourself too. See:
    iOS: How to back up
    - Make sure that all of your synced media is in your iTunes library (on computer for synced photos) since synced media is not included in the backup.
    - Connect the iPod to the computer and update via iTunes.

  • ERROR...This for is not included in the software package you have purchased

    Hi everyone,
    A Business One server was virtualize, after finished the process the server was working properly.
    I add an user and check the professional license.  Next day I got this error "This for is not included in the software package you have purchased" also the rest of the users has restrictions like a CRM license and the error message.  They cannot see all the components of the application.
    Nevertheless on the same server I have another company that do not has any error, the users can log in and they can see everything depending on their authorizations they do not got any error message.
    What could happened , is something with the license profile or could be the authorization of the users ??
    Hope any of you can he p me with this.  I have print screens if any needs them.
    Thanks in advance,
    SBonilla

    Hi,
    You are not assign any license to that particular User, that why this error is comming.
    Before you can assign a license to a user, you must first import the license file.
    As Superuser go to Administration > License > License Administration.
    In the window that appears, press "Import License File" and choose the appropriate license file.
    Go to Main Menu -> License->License Administration->you assign the professional licenses to to the users [or Particular User].
    Regards.
    Koti Babu M

  • Jars not included in J2EE Library DC SDA

    I'm trying to create a J2EE Library DC that contains a few jar files (JUnit and JUnitEE) that I want to upload to the J2EE server for usage by a set of test classes. 
    I created an external library DC, imported the two jar files into the libraries folder, and added both jar files to both a compilation and assembly public part.  I then built the DC.  Great, the jar files are copied into the hierarchy under gen/default/public/assembly and gen/default/public/compliation.  Everything seems to be in order.
    I then created a J2EE Library DC, and added the external library DC as a used DC, with a build and run time dependancy.
    When I build the J2EE Library DC, the two jar files are NOT included in the SDA file.  Nothing I've tried can get the two jar files to be placed in the SDA file for deployment.
    Why why WHY are the jar files not in the SDA?  What am I doing wrong?  I've spent the last while reading everything I can find on SDN about j2EE Library DCs, and it seems that I'm doing everything correctly - or am I?
    I'm running SP16.  Can someone verify that a) my procedure above is correct, and b) that this does work under SP16?
    FYI, I have done this before, but not with SP16 - this is my first attempt.  That said, I've always had problems getting the imported jar files to appear in the final SDA file....it's frustrating to say the least.  DCs are wonderful things, but man, when they don't work, it's a royal pain in the rear end trying to figure out what's wrong.

    Hmmm, perhaps this is part of the problem:  here is the defLib.pp file which is automatically generated when you create a J2EE Library DC:
    <?xml version="1.0" encoding="UTF-8"?>
    <public-part ....>
         <name>defLib</name>
         <purpose>compilation</purpose>
         <caption></caption>
         <description></description>
         <entities>
              <entity>
                   <name>sap.com~test~lib</name>
                   <entity-type>SERVER_COMPONENTS</entity-type>
              </entity>
         </entities>
    </public-part>
    I created a new Server Library DC and changed the purpose to assembly, and then was able to create an entity reference. However, now I get this error:
    createPublicParts:
      [pppacker] Packing assembly public part 'defLib'
      [pppacker] Packed   0 files for entity sap.com~zzz~lib (SERVER_COMPONENTS)
      [pppacker] Packing entity reference zzz/jars (sap.com), assembly:  ()
      [pppacker] ERROR: java.util.zip.ZipException: Access is denied
    (sigh)
    I'm not sure what SP you're running, but perhaps the later SP's understand the structure of External Libraries, and automatically propagate the references for you....at least, that must be what was happening with SP15, since it worked properly.
    I think I'll install SP15 again, and have close look at the generated public parts, and see if I can't detect a difference.

  • Premiere Pro Project Manager does NOT include After Effects files.

    Warning: Premiere Pro "Project Manager" does NOT include the After Effects 'dynamic linked composition' files associated with the project when "Collect File and Copy to New Location" resulting in the incomplete and loss of all dynamic linked compositions in the new project destination ( folder or disc drive ) .. I know this also includes Photoshop dynamic links and assume includes Audition audio files as well.

    Here's the best way: Personal Responsibility.
    Put all of your project files in one file. Stop asking PPro to do it for you. It's simple. This is a no-brainer. If you create a linked comp, create it in the same file as your PPro project and files. When you send it to Encore, create the Encore project in the same folder. Works all the time, every time. When you're sure that you're finished with the project for the forseeable future, move the entire folder off your workstation into storage. Do I move a copy of each asset (video clip, image, audio, etc.) into this folder before I import it to my AE or PPro project? Yes I do. Is it overly time-consuming? Not really. I can fly on my machine. Does it beat not being able to open a project later. Oh yes. Yes it does. I'd say I did 50 projects last year this way. When I occasionally had to move a project folder back to the workstation, I had no problems. Everything worked as it did before I off-loaded it. That's because I take personal responsibility for my projects. It's imporatnat that theyt work, especially if I end up having to hand it off to a third party down the road.
    BTW, my workstation is RAID 0. If you are using anything less, you need to upgrade. What I'm trying to tell you is that my system works very well. I have not always done things the right way. I have had my share of frustration. The point is that I learned. Now I'm passing that on to you. I use CS5 on an HP Z800 with a measely 12 gigs of ram and a single i7 quad core and the aforementioned RAID 0 configuration and a hacked Nvidia GTS 450. It works quite well. I'm sure I would do even better with another i7, 12 more gigs of ram and a Quadro 4000, but this is what they give me to use.
    Additionally, I'm using CS5 at home on a MUCH older HP xw8200 dual dual Xeons, 12 gigs of ram and software-only MPE. Guess what? It works quite well.

  • IPhoto install NOT included with Leopard

    Here's the scenario: Purchased an iMac 24" (2.8GHhz) a couple of weeks ago. Got it home and fired it up only to be confronted with Tiger as an OS. There were three Leopard Install Discs provided with the machine so (after much head scratching as to which method of install to choose) I did a clean install. All fine, except it was 10.5.0 and needed lots and lots of Software Updates to get up to speed.
    At the same time (in the Mac Store Milton Keynes, UK) I purchased a separate copy of Leopard to bring my G4 17" Laptop in line with the shiny new iMac. I was running Tiger 10.4.9 on the lappy. I ran Carbon Copy Clone (just in case) on the laptop before doing a clean install of Leopard 10.5.1 from the purchased disc.
    All pretty straightforward so far.
    My main reason for upgrading the laptop was to ensure both machines could run iPhoto 08 (or whatever the latest number is).
    When I plugged in (to the iMac) my external Lacie Rugged drive, which holds my Tiger iPhoto Library, Leopard told me that if I opened this in iPhoto 08 I would no longer be able to access it through any earlier versions - thanks Apple!
    So, you can imagine my surprise when, after a successful install on the laptop, I came to launch iPhoto only to find it isn't there. A quick look at the (most excellent) Mac Forums provided me with the answer - iLife 08 and it's various components are NOT included with Leopard - thanks again Apple.
    A ha, I thought. I'll simply use the 'Everything Else' discs that came with the iMac and install iLife from there.
    Pop in the disc, choose 'Install other components' packet... Nope - Message come up - Cannot install this software on this computer. Oops.
    Latest thought is (and this eventually leads to the question, bear with me)...
    On the Laptop - Go back to the original Tiger install discs and see if there's an option to install iLife 06 components only. Then go back to the Leopard Discs and see if they will then allow for an upgrade rather than an install from scratch.
    Question really is, I guess, does anyone else have a suggestion? Other than go out and buy a copy of iLife 08! Just trying not to overspend on Apple products that surely should be included in the Leopard install. I don't recall EVER having to pay for additional Apple software through any of the upgrade paths in the past.

    Hi there
    I used Pacifist OSX package extractor. Take the Leo install disc that came with your new Mac, install Pacifist on the computer you want iphoto installed and extract iphoto. I quote from the manufacturers (charlessoft.com) website:
    "Pacifist is an essential utility that allows you to extract certain files from Apple's bundled installer packages. For exmaple, if you need to reinstall iDVD, the only Apple-sanctioned choice is to restore your entire system. Using Pacifist, you can extract just the iDVD application.
    Even if you think you'll never use it, you should download Pacifist - I guarantee that someday, someway, you'll want to get at just one file out of an installation bundle. As soon as you do, register Pacifist, as it will have just easily paid for itself in time saved!"
    I did it that way and it worked flawlessly. Hope this helps.
    Cheers benjaminmaurice

  • Imported Audio CD, two songs imported but not included on album with rest of songs

    I just bought an Audio CD "Red River Blue", Artist Blake Shelton. I imported the CD into my iTunes library.
    The CD has 11 songs on it. All 11 songs were imported into my iTunes library. Two of the songs had additional artists listed on the credits.
    Track 7 Blake Shelton with Martina McBride and Track 11 Blake Selton with Miranda Lambert.
    These two songs were imported into my library but not included in the Album. They were labeled with their correct track number and the album was missing a song for track 7 and track 11. There was no cover artwork associated with those songs.
    When I moved the album to a playlist these two songs were not included.
    This is clearly an error in the current iTunes!
    Back before iTunes had the new visual format and new user interface I did not have this problem.
    I have reviewed all the preferences for iTunes but can not find any that would seem to control this behavior. I can not conceive that importing a cd should work this way.
    I tried to find a way to correct this situation and found that if you did get info on all 11 songs you could force them to be included on one album.
    The resulting album did not show track 7 in the correct order and the two tracks were still missing the cover artwork.
    I believe that in one of the iTunes updates that required a library conversion all my albums that had this situation were converted wrong so they broke apart songs from their albums.
    Jim

    And thinking about it, when I reconnected last Sunday I recall that I got that prompt on my phone something like "Do you trust this computer?". Not seen that one for a while.

  • HT201342 How will this benefit me. I have a Mac computer that i upgraded to Mountain lion, a macbook pro and an iPhone 4s which has the latest software. all i want is simplicity and to have one email account which which will not duplicate everything 4 or

    I have been asked to set up an Icloud account by Apple.
    How will having another icloud email benefit me. I have my work email which is all i require, but had to set up a @me account to get email on my Macbook.
    I have a Mac computer that i upgraded to Mountain lion, a macbook pro and an iPhone 4s which has the latest software. all i want is simplicity and to have one email account which which will not duplicate everything 4 or 5 times.
    My notes are duplicated, i have to delete my emails individually on all devices so whenever i put my phone on, all the emails i have deleted at work re-appear on my phone and again the same thing happens on my Macbook pro. I seem to spend all my time deleting emails 3 times.
    Is there something simple in the set up of these that i am missing?
    Any help would be appreciated

    I have been asked to set up an Icloud account by Apple.
    How will having another icloud email benefit me. I have my work email which is all i require, but had to set up a @me account to get email on my Macbook.
    I have a Mac computer that i upgraded to Mountain lion, a macbook pro and an iPhone 4s which has the latest software. all i want is simplicity and to have one email account which which will not duplicate everything 4 or 5 times.
    My notes are duplicated, i have to delete my emails individually on all devices so whenever i put my phone on, all the emails i have deleted at work re-appear on my phone and again the same thing happens on my Macbook pro. I seem to spend all my time deleting emails 3 times.
    Is there something simple in the set up of these that i am missing?
    Any help would be appreciated

  • Parked invoices not includes in report

    Hi
    Object: ABAP program ZCAMU_INV_DOWNLOAD
    That program downloads invoices created during a month
    Problem: Program downloads only invoices created from transaction MIGO (Invoice Creation) or MR8M (Invoice Cancellation). If an invoice has been created from MIR7 (Park Invoice), it is not included, and it should be.
    Request: include data from transaction MIR7 (Park Invoice)
    rgds
    Arjun

    Hi,
    probably the SELECT contains a filter on field FKART of VBRK table.
    Bye
    Andrea
    Rewards if it helps

  • Do not include some lines in Subtotals and totals in ALV

    Hello All,
    I am printing a report with all sale order details and Quantities( delveered ,conformed etc..) iam doing subtotals based on the material and Plant.
    In this if the document date is less than the SY-DATUM, we should not include the quantity into the subtotals and totals, Only the orders wiht doc date GQ to Sy-datum then display them..
    As of now I am using ALV grid display and doing the sums by 
    l_wa_fcat-do_sum = c_x. (field catalog) for the whole colom) but i want to avoid sum row from tehe calculation based on the condition.
    <b>Do we have any way to achive this, like if we want to have separate color for a purticular Cell then we add an extra field in outout table and we link this field with layout-coltab_fieldname in the same way or any other way if we have</b>.
    I will be  thankfull to if you can provide me your valuable suggesstions on this. it is very urgent. I am trying in all the ways from my side.

    Hi,
    see this code,
    Complete code for the ALV grid example
    This example shows and ALV grid with flights. After selecting a line a change button can be pushed to display a change screen. After the changes have been saved, the ALV grid screen is displayed again, and the grid is updated with the changes.
    The example shows:
    How to setup the ALV grid
    How to ste focus to the grid
    How to set the title of the grid
    How to allow a user to save and reuse a grid layout (Variant)
    How to customize the ALV grid toolbar
    Refresh the grid
    Set and get row selection and read line contents
    Make and exception field (Traffic light)
    Coloring a line
    Steps:
    Create screen 100 with the ALV grid. Remember to include an exit button
    Add a change button to the ALV grid toolbar
    Create screen 200 the Change screen
    The screens:
    The code:
       REPORT sapmz_hf_alv_grid .
    Type pool for icons - used in the toolbar
       TYPE-POOLS: icon.
       TABLES: zsflight.
    To allow the declaration of o_event_receiver before the
    lcl_event_receiver class is defined, decale it as deferred in the
    start of the program
       CLASS lcl_event_receiver DEFINITION DEFERRED.
    G L O B A L   I N T E R N  A L   T A B L E S
       *DATA: gi_sflight TYPE STANDARD TABLE OF sflight.
    To include a traffic light and/or color a line the structure of the
    table must include fields for the traffic light and/or the color
       TYPES: BEGIN OF st_sflight.
               INCLUDE STRUCTURE zsflight.
          Field for traffic light
       TYPES:  traffic_light TYPE c.
          Field for line color
       types:  line_color(4) type c.
       TYPES: END OF st_sflight.
       TYPES: tt_sflight TYPE STANDARD TABLE OF st_sflight.
       DATA: gi_sflight TYPE tt_sflight.
    G L O B A L   D A T A
       DATA: ok_code         LIKE sy-ucomm,
        Work area for internal table
             g_wa_sflight    TYPE st_sflight,
        ALV control: Layout structure
             gs_layout       TYPE lvc_s_layo.
    Declare reference variables to the ALV grid and the container
       DATA:
         go_grid             TYPE REF TO cl_gui_alv_grid,
         go_custom_container TYPE REF TO cl_gui_custom_container,
         o_event_receiver    TYPE REF TO lcl_event_receiver.
       DATA:
    Work area for screen 200
         g_screen200 LIKE zsflight.
    Data for storing information about selected rows in the grid
       DATA:
    Internal table
         gi_index_rows TYPE lvc_t_row,
    Information about 1 row
         g_selected_row LIKE lvc_s_row.
    C L A S S E S
       CLASS lcl_event_receiver DEFINITION.
         PUBLIC SECTION.
           METHODS:
            handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
              IMPORTING
                e_object e_interactive,
            handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
              IMPORTING e_ucomm.
       ENDCLASS.
          CLASS lcl_event_receiver IMPLEMENTATION
       CLASS lcl_event_receiver IMPLEMENTATION.
         METHOD handle_toolbar.
    Event handler method for event toolbar.
           CONSTANTS:
    Constants for button type
             c_button_normal           TYPE i VALUE 0,
             c_menu_and_default_button TYPE i VALUE 1,
             c_menu                    TYPE i VALUE 2,
             c_separator               TYPE i VALUE 3,
             c_radio_button            TYPE i VALUE 4,
             c_checkbox                TYPE i VALUE 5,
             c_menu_entry              TYPE i VALUE 6.
           DATA:
               ls_toolbar  TYPE stb_button.
      Append seperator to the normal toolbar
           CLEAR ls_toolbar.
           MOVE c_separator TO ls_toolbar-butn_type..
           APPEND ls_toolbar TO e_object->mt_toolbar.
      Append a new button that to the toolbar. Use E_OBJECT of
      event toolbar. E_OBJECT is of type CL_ALV_EVENT_TOOLBAR_SET.
      This class has one attribute MT_TOOLBAR which is of table type
      TTB_BUTTON. The structure is STB_BUTTON
           CLEAR ls_toolbar.
           MOVE 'CHANGE'        TO ls_toolbar-function.
           MOVE  icon_change    TO ls_toolbar-icon.
           MOVE 'Change flight' TO ls_toolbar-quickinfo.
           MOVE 'Change'        TO ls_toolbar-text.
           MOVE ' '             TO ls_toolbar-disabled.
           APPEND ls_toolbar    TO e_object->mt_toolbar.
         ENDMETHOD.
         METHOD handle_user_command.
      Handle own functions defined in the toolbar
           CASE e_ucomm.
             WHEN 'CHANGE'.
               PERFORM change_flight.
           LEAVE TO SCREEN 0.
           ENDCASE.
         ENDMETHOD.
       ENDCLASS.
    S T A R T - O F - S E L E C T I O N.
       START-OF-SELECTION.
         SET SCREEN '100'.
       *&      Module  USER_COMMAND_0100  INPUT
       MODULE user_command_0100 INPUT.
         CASE ok_code.
           WHEN 'EXIT'.
             LEAVE TO SCREEN 0.
         ENDCASE.
       ENDMODULE.                 " USER_COMMAND_0100  INPUT
       *&      Module  STATUS_0100  OUTPUT
       MODULE status_0100 OUTPUT.
         DATA:
      For parameter IS_VARIANT that is sued to set up options for storing
      the grid layout as a variant in method set_table_for_first_display
           l_layout TYPE disvariant,
      Utillity field
           l_lines TYPE i.
    After returning from screen 200 the line that was selected before
    going to screen 200, should be selected again. The table gi_index_rows
    was the output table from the GET_SELECTED_ROWS method in form
    CHANGE_FLIGHT
         DESCRIBE TABLE gi_index_rows LINES l_lines.
         IF l_lines > 0.
           CALL METHOD go_grid->set_selected_rows
               EXPORTING
                 it_index_rows = gi_index_rows.
           CALL METHOD cl_gui_cfw=>flush.
           REFRESH gi_index_rows.
         ENDIF.
    Read data and create objects
         IF go_custom_container IS INITIAL.
      Read data from datbase table
           PERFORM get_data.
      Create objects for container and ALV grid
           CREATE OBJECT go_custom_container
             EXPORTING container_name = 'ALV_CONTAINER'.
           CREATE OBJECT go_grid
             EXPORTING
               i_parent = go_custom_container.
      Create object for event_receiver class
      and set handlers
           CREATE OBJECT o_event_receiver.
           SET HANDLER o_event_receiver->handle_user_command FOR go_grid.
           SET HANDLER o_event_receiver->handle_toolbar FOR go_grid.
      Layout (Variant) for ALV grid
           l_layout-report = sy-repid. "Layout fo report
    Setup the grid layout using a variable of structure lvc_s_layo
      Set grid title
           gs_layout-grid_title = 'Flights'.
      Selection mode - Single row without buttons
      (This is the default  mode
           gs_layout-sel_mode = 'B'.
      Name of the exception field (Traffic light field) and the color
      field + set the exception and color field of the table
           gs_layout-excp_fname = 'TRAFFIC_LIGHT'.
           gs_layout-info_fname = 'LINE_COLOR'.
           LOOP AT gi_sflight INTO g_wa_sflight.
             IF g_wa_sflight-paymentsum < 100000.
          Value of traffic light field
               g_wa_sflight-traffic_light = '1'.
          Value of color field:
          C = Color, 6=Color 1=Intesified on, 0: Inverse display off
               g_wa_sflight-line_color    = 'C610'.
             ELSEIF g_wa_sflight-paymentsum => 100000 AND
                    g_wa_sflight-paymentsum < 1000000.
               g_wa_sflight-traffic_light = '2'.
             ELSE.
               g_wa_sflight-traffic_light = '3'.
             ENDIF.
             MODIFY gi_sflight FROM g_wa_sflight.
           ENDLOOP.
      Grid setup for first display
           CALL METHOD go_grid->set_table_for_first_display
             EXPORTING i_structure_name = 'SFLIGHT'
                       is_variant       = l_layout
                       i_save           = 'A'
                       is_layout        = gs_layout
             CHANGING  it_outtab        = gi_sflight.
       *-- End of grid setup -
      Raise event toolbar to show the modified toolbar
           CALL METHOD go_grid->set_toolbar_interactive.
      Set focus to the grid. This is not necessary in this
      example as there is only one control on the screen
           CALL METHOD cl_gui_control=>set_focus EXPORTING control = go_grid.
         ENDIF.
       ENDMODULE.                 " STATUS_0100  OUTPUT
       *&      Module  USER_COMMAND_0200  INPUT
       MODULE user_command_0200 INPUT.
         CASE ok_code.
           WHEN 'EXIT200'.
             LEAVE TO SCREEN 100.
             WHEN'SAVE'.
             PERFORM save_changes.
         ENDCASE.
       ENDMODULE.                 " USER_COMMAND_0200  INPUT
       *&      Form  get_data
       FORM get_data.
    Read data from table SFLIGHT
         SELECT *
           FROM zsflight
           INTO TABLE gi_sflight.
       ENDFORM.                    " load_data_into_grid
       *&      Form  change_flight
    Reads the contents of the selected row in the grid, ans transfers
    the data to screen 200, where it can be changed and saved.
       FORM change_flight.
         DATA:l_lines TYPE i.
         REFRESH gi_index_rows.
         CLEAR   g_selected_row.
    Read index of selected rows
         CALL METHOD go_grid->get_selected_rows
           IMPORTING
             et_index_rows = gi_index_rows.
    Check if any row are selected at all. If not
    table  gi_index_rows will be empty
         DESCRIBE TABLE gi_index_rows LINES l_lines.
         IF l_lines = 0.
           CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
                EXPORTING
                     textline1 = 'You must choose a line'.
           EXIT.
         ENDIF.
    Read indexes of selected rows. In this example only one
    row can be selected as we are using gs_layout-sel_mode = 'B',
    so it is only ncessary to read the first entry in
    table gi_index_rows
         LOOP AT gi_index_rows INTO g_selected_row.
           IF sy-tabix = 1.
            READ TABLE gi_sflight INDEX g_selected_row-index INTO g_wa_sflight.
           ENDIF.
         ENDLOOP.
    Transfer data from the selected row to screenm 200 and show
    screen 200
         CLEAR g_screen200.
         MOVE-CORRESPONDING g_wa_sflight TO g_screen200.
         LEAVE TO SCREEN '200'.
       ENDFORM.                    " change_flight
       *&      Form  save_changes
    Changes made in screen 200 are written to the datbase table
    zsflight, and to the grid table gi_sflight, and the grid is
    updated with method refresh_table_display to display the changes
       FORM save_changes.
         DATA: l_traffic_light TYPE c.
    Update traffic light field
    Update database table
         MODIFY zsflight FROM g_screen200.
    Update grid table , traffic light field and color field.
    Note that it is necessary to use structure g_wa_sflight
    for the update, as the screen structure does not have a
    traffic light field
         MOVE-CORRESPONDING g_screen200 TO g_wa_sflight.
         IF g_wa_sflight-paymentsum < 100000.
           g_wa_sflight-traffic_light = '1'.
      C = Color, 6=Color 1=Intesified on, 0: Inverse display off
           g_wa_sflight-line_color    = 'C610'.
         ELSEIF g_wa_sflight-paymentsum => 100000 AND
                g_wa_sflight-paymentsum < 1000000.
           g_wa_sflight-traffic_light = '2'.
           clear g_wa_sflight-line_color.
         ELSE.
           g_wa_sflight-traffic_light = '3'.
           clear g_wa_sflight-line_color.
         ENDIF.
         MODIFY gi_sflight INDEX g_selected_row-index FROM g_wa_sflight.
    Refresh grid
         CALL METHOD go_grid->refresh_table_display.
         CALL METHOD cl_gui_cfw=>flush.
         LEAVE TO SCREEN '100'.
       ENDFORM.                    " save_changes

Maybe you are looking for

  • Opportunity "Status" required in component BT111H_OPPT

    Dear All, I have a requirement where i need to disable the delete button in opportunity when the status is  "in Process".  Now when the user searches for all the opportunities with 'in process' status in search opportunities. The user selects any opp

  • How dynpro application call guided procedure at runtime ?

    Hi, I have one senario regarding GP and Dynpro as follows. I have one webdyn pro application which takes file (any format) from user1 as input and sent it to user2 UWL. Now user2 have authority to approve or reject that file. If user2 approved it now

  • Weblogic on Unix, authenticating users/groups from NT domain controller

    Hi! Our weblogic 6.1 server will eventually run on a non-windows platform, but needs to authenticate users from a Windows NT 4.0 domain controller. What's the best solution to this? - What (inexpensive) LDAP-servers supports synchronization with a Wi

  • Jsp paging & sorting problem

    hi all, i am facing a problem while displaiyng my pages. i hav a list of records of which i have to display a predefined no of records at a time,say 6. i am getting the list from database and then putting it in session. on my page i would give links

  • Events deleted from google calendar not deleting on ical

    Hi everyone, we're having an issue with google calendar. I have it synced to two macs in the office, one is fine, the other (my bosses who has recently upgradred) is getting new events in ical but when I delete things on google calendar, they don't d