Incorrect total music duration reported in iTunes

I'm up to just under 40Gb of music in iTunes 7.0.2.16. Total music library duration, song count and storage size is reported at bottom of Music frame. Around the 29 to 30 days total mark, iTunes suddenly now reports a wildly incorrect value of around 128+ days. Is this a bug? If I filter the view with some string query, the total duration reported is correct, but for the full library it is WAAAY off.

Hi there,
I had the same problem as I was adding music to my library. I would use the internal CD drive to rip them to my hard drive. After looking at my collection, it was at 144 gb, but the playtime was 513 days!
I set up a smart playlist with the only parameter being to pick songs longer than 20 minutes. I found numberous occassions where an album woul be ripped incorectly and songs would have a value of over 738 hours.
I made notes of these, deleted them from the library and moved them to trash. The time went back to 77 days for my collection. Then, I re-ripped the albums in question and everything seems to be fine.
Now, as I amadding CDs I can watch the overall playtime and immediately know if there is a problem.
Hope this helps.
Chris

Similar Messages

  • Report on Total Authorization Duration

    Need to know how to show total authorization duration, which includes several auth tasks that vary depending on information in the form.
    In For some reason I am finding it really difficult to find the total duration for each service request. In query studio, I pull in req entry id, Auth Task Name, and Auth Task total duration.  Everything appears fine.  From here I should be able to group by req entry id, then delete task name, and format the duration to calculate.  My issue is that I need to filter by Service name.  I bring in Service name and everything goes to pot.  Req entry id's now show auth task names for auth tasks that they did not have.  Tasks that were skipped, which should show duration as 0, have appearingly random numbers. 
    Is this a bug, or is there something I can do differently?  I want to be able to measure the total auth time, so I can see overall how long it takes to get different types of services approved. We're running requestcenter 8.3.

    Hello Varsit,
    There is not stardard report available for this information, but you can link EKPO, EKBE (PO history) table and MARD table to get this information. For Purchase requisition, you can use EBAN table.
    Hope this helps
    Regards
    Arif Mansuri

  • How do I report an ITunes Store error without paying Apple for pointing out their software error.

    Since a couple of ITunes upgrades, tracks purchased from ITunes Store where the artist begins "The " it has included this in the artist sort key whereas it did not before. Nor has it ever done this and still doesn't for own imported CDs. I maintain my ITunes Library in artist sequence and I now have seven tracks sorted under "T" instead of where other tracks have been sorted. Apart from the fact that this needs correcting in the Apple software, I don't seem able to correct this in any way. I have reported on 11th February via normal channel, case number 747285554, and was promised someone would contact me by E-Mail within 48 hours, but no-one did. I have since sent via the same channel 2 reminders but nothing has happened.

    Frankly I doubt that it is considered important. They are unlikely to fix a metadata error in the store based on your report. Four years on and this item still hasn't been corrected. https://itunes.apple.com/gb/album/comedy-classics/id332157974 (It was reported directly as well as through that review).
    If you clear both the Sort Artist and Sort Album Artist values for the affected tracks then these fields should auto-populate dropping the leading "The" and sort accordingly.
    In some cases the original iTunes Store metadata seems to be given preference over personal changes. If you are seeing this then
    Go to iTunes > Preferences > Store and turn off
    Show iTunes in the Cloud purchases
    Share details about your library with Apple
    On any iOS device go to Settings > Music and turn off
    Show All Music
    Close and reopen iTunes and/or reset the device and you should see your version of the metadata for each track rather than the original store data. If not it should reset as you play through content, or you can use my script UpdateTagInfo to force iTunes to read the current data from the tags.
    For more tips on organizing content in iTunes see Grouping tracks into albums.
    tt2

  • IPod Classic (6G 160GB) loses music sync settings in iTunes (10.5.2)

    I have a 160 GB iPod Classic 6G that has been giving me some trouble over the last few months. Everytime I would try to sync it with iTunes (10.5.2), it would lock up and I would have to perform a hard reset to allow it to reboot and sync with the computer. This has been an annoyance, but a workaround.
    A few weeks ago, I gave up on this lousy workaround and restored the iPod and synced my media. Note that all the media is on the same machine (iMac 24, Mac OS X (10.7)) and that the iPod is not being shared between two differnt computers. When I connect the iPod at the end of the day to get new podcasts, I notice that the Music Sync option in iTunes is no longer selected. If I select it, iTunes reports that the music on the iPod will be replaced with music from this computer, the same computer to which it has been synching all along. Selecting this button and starting over does not solve the problem as the button is unselected the next time it is connected and restoring the iPod does not solve the problem.
    Anybody else have this problem and resolved it successfully?
    Thanks for your time and consideration.
    -Steven

    hey  henke,
    I , too , was wondering why the most important service that I was waiting for , was not available.... the check box for "music" does not appear.
    It turns out that this service is ONLY available to users that have an AMERICAN iTunes account....
    sadly , apple dons't say that and in the web site it seems that this sync service for music is availale for all.
    I guess amd hope it will come to Europe soon. i myself have a German account in itunes
    pete

  • Incorrect totals from cache with CustomRollupColumn and non-parent-child dimensions

    Hello. Before I start let me apologise for my English :)
    We have a very complex cube, with 2 (actually more, but only these 2 are important) parent-child dimensions.
    One of them has CustomRollupColumn defined.
    Not long ago we have decided to make refactoring of our cube. This also included making these dimensions non-parent-child.
    All our old reports started to work much faster after that... but we have mentioned that sometimes they show incorrect totals, or no totals at all.
    We spend a lot of time trying to figure out what's wrong and finally we had found that if we clear cache before next refresh of the report - the totals are always correct!
    If we don't clear cache - we get wrong totals second time, and each next time after that. If we see wrong totals - we could clear cache and get correct totals once again.
    If we use "Real Time Olap=True;" connection string parameter - the totals are always correct because cache is not used.
    But we don't like this workaround.
    Is there any fix for this bug? Google shows that this problem exists from SQL2005, and still we have it :( Also, there is adivice to set CalculationCoverPolicy to 9 - we have tried - but it was fruitless.
    And if we revert these 2 dimensions back to parent-child - all working fine again, but as slow as it was before the refactoring :(

    Hi Bateks,
    Glad to hear that your issue had been solved by yourself, thank you for you sharing which will help other forum members who have the similar issue.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Trying to sync music onto iPod but iTunes 11 keeps crashing

    I am trying to sync my entire iTunes library music onto iPod but iTunes 11 keeps crashing (using Windows 8 laptop)
    I have tried to do it manually in little chunk and also tried the auto sync method too.
    I have restored my ipod to factory setting 12 times now and retry but just when I think I'm getting somewhere iTunes freezes in the middle of the sync and then tell me it "cannot copy  because of unknown error (-50)"
    From then on my Ipod refuses to accept any more syncing, it may do one and then it freezes again, iTunes says there is an issue with iPod, so I run a scan fix, it is repaired but then iTunes wants me to "restore to factory settings" again, it's a never ending circle, I get it fixed, iTunes crashes and then I have to fix, restore and start all over again just to have the same thing happen all over again
    I have read here and there that there seems to be a bug in iTunes 11 when it comes to syncing.
    I don't know what else to do, except revert back to iTunes 10 but I don't know how to do that either.
    Anyone else had same issue syncing their library over to their iPod and how I fix it?

    Hi, ktchinagirl. 
    Thank you for visiting Apple Support Communities. 
    There are a couple reason this issue could be happening.  I have included a couple troubleshooting resources below that may help resolve this issue.  Some of the articles are missing the steps for Windows 8, try the steps for Windows 7 as an alternative. 
    iTunes: May become unresponsive when connecting iPhone, iPad, or iPod touch
    http://support.apple.com/kb/TS3219
    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different Dock Connector or Lightning Connector to USB cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. An incorrectly set default packet size can cause this error. Contact the software manufacturer that installed the packet-size modification for assistance. Or, follow this article by Microsoft to reset the packet size back to the default for Windows:How to reset Internet Protocol (TCP/IP).
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    This could be related to security software conflicts.  If the steps above have not resolved the issue, I would recommend going through the troubleshooting steps in the article below.
    iTunes: Troubleshooting security software issues
    http://support.apple.com/kb/ts3125
    Cheers,
    Jason H. 

  • Where to find info on TOTAL media size of my iTunes Library?

    Hi all.
    While we can view on the left-hand column of iTunes the total size of Music, Movie etc
    Is there somewhere I can see the *total media size of my iTunes Library??* I wana see whether I can fit my entire iTunes Library into a 64GB iPod touch, instead of "lugging around" an iPod classic.
    Thanks and cheers

    Open a new finder window - go to where your iTunes library is at (where you should see all the artist folders with album folders with the actual music files - depending on how you set iTunes to organize your music in the first place)
    - when you find your library folder, just highlight select it, then use the finder menu > file > get info - a new window will open and should automatically calculate the size of the folder - this should give you enough information to see if you can use your entire library on another device, or if it is too large.

  • I am trying to synch some music i downloaded into itunes into my ipod, and i am getting a message that my ipod is not recognized.  What do i do.  This is the same ipod i have been using in the past.

    i am trying to synch some music i downloaded into itunes into my ipod and i am getting a message that the system does not recognize my ipod.   this is the same ipod that i have used in the past with the same computer and itunes.  don't know how to proceed to download the new music into my ipod.

    Hey csumner1,
    Thanks for the question. I understand you are receiving a "Not enough free space" alert when attempting to sync your new iPhone 4s. The following article may help to resolve your issue:
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/TS1503
    Resolution
    Try disconnecting and reconnecting your device, then syncing again to solve this issue.
    Orphaned files may remain on your iOS device if it is physically disconnected while syncing music, podcasts, videos, or photos. This can prevent iTunes from syncing the iOS device on subsequent sync sessions. When this happens, the Capacity indicator in iTunes may report a large amount of "Other" disk usage for the iOS device. To resolve this issue:
    1. Turn off the music or photo sync option in iTunes for the device.
    2. Click Apply to sync the changes to the device.
    3. Turn the music and photo sync options for the device on again.
    4. Click Apply again to try to sync the device to iTunes.
              - If the 'Not enough free space' alert appears, continue to step 5.
    5. Turn off the automatic syncing functions for the iOS device. To do this:
              - Select the iOS device from the iTunes window and click the Summary tab.
              - Deselect "Automatically sync when this device is connected" and select the "Sync only checked songs and videos" checkbox.
              - Click Apply to sync the changes to the device.
              - Reduce the amount of data that is being synced to the device and resync the device. For example, if syncing your Music library exceeds the memory capacity of the device, choose "Selected playlists" to transfer rather than "All songs and playlists" under the Music tab in iTunes.
    If the 'Not enough free space' alert appears, continue to step 6.
    6. Restore using iTunes.
    Thanks,
    Matt M.

  • Music load from old iTunes/OS

    I recently bought an iPad and connected it to my laptop to get my music. (some purchased from itunes and some uploaded from CD's).  Unfortuneatly I don't have the latest OS on my macbook and my itunes won't connect to my iPad because it says my iTunes needs to be updated.  However I can't becuase of the OS i'm on.  Is there anyway around this so I can get my music on my iPad from my mac laptop?

    Get more information about your computer. Go to the Apple in the upper left corner of any window, then  "About This Mac".  Write down what it says about "version"and report that here.  Now continue to "More Info..."  Copy and paste the information here, but omit the serial number and Hardware UUID (if present).
    If it says you have an Intel Mac (with a Macbook it should) you can upgrade to Snow Leopard, but check system requirements first (especially RAM):
    Snow Leopard 10.6 Technical Requirements - http://support.apple.com/kb/SP575
    You can buy Snow Leopard at:
    Snow Leopard disc source - http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    After installing run the Software Update to 10.6.8, then upgrade iTunes.

  • Fix for Music app crash with iTunes Match "on"

    Sometimes if you try to use iTunes match for the first time on 3G(or any other cellular connection) it crashes Music app permanently. It can occur if you try to run Music app on the go with bad 3G connectivity so some data is corrupted or configured incorrectly. I had this twice, but found this "easy" fix without a need of PC/Mac computer & iTunes.
    How to fix music app crash with itunes match "on".
    Step by step on the iPad:
    - delete all music on your device:
    Go to settings->usage->view list of all apps->swipe music icon ->choose delete
    - set itunes match off
    - run music app
    - give it a while till it shows "no music" info and only shop button. It needs to reload all settings and clear all data. Wait till no loading circle.
    - go to settings app again
    - music settings - itunes match on but "show all your music" off !
    -  open music app
    - wait till all your music lists covers download. It will take a while. Scroll down to load them all if you want. Wait till no loading circle.
    - go to settings app again
    - music settings - show all your music on
    - go to music app
    - wait till it download list of all your music
    Done
    Maybe you can fix this with lesser number of steps but this way I'm sure it works.

    Sometimes if you try to use iTunes match for the first time on 3G(or any other cellular connection) it crashes Music app permanently. It can occur if you try to run Music app on the go with bad 3G connectivity so some data is corrupted or configured incorrectly. I had this twice, but found this "easy" fix without a need of PC/Mac computer & iTunes.
    How to fix music app crash with itunes match "on".
    Step by step on the iPad:
    - delete all music on your device:
    Go to settings->usage->view list of all apps->swipe music icon ->choose delete
    - set itunes match off
    - run music app
    - give it a while till it shows "no music" info and only shop button. It needs to reload all settings and clear all data. Wait till no loading circle.
    - go to settings app again
    - music settings - itunes match on but "show all your music" off !
    -  open music app
    - wait till all your music lists covers download. It will take a while. Scroll down to load them all if you want. Wait till no loading circle.
    - go to settings app again
    - music settings - show all your music on
    - go to music app
    - wait till it download list of all your music
    Done
    Maybe you can fix this with lesser number of steps but this way I'm sure it works.

  • Help! (please :) I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Or If there is any purchased music then you can try to transfer purchases
    http://support.apple.com/kb/ht1848
    If you're in the US you can reload purchased music
    http://support.apple.com/kb/ht2519

  • Music bought from different iTunes stores not playing on iPod!

    Hi! (Kind of a iTunes/iPod Touch problem..)
    I've got an English account with an English bought iPod Touch 16GB. However i'm currently in Spain for a year so I created a Spanish account and bought some music from the Spanish iTunes store. Both accounts are authorised on this computer, and the songs I bought in Spain play on my computer fine, however they do not play on my iPod, there is just so sound (and the sound is on 'max') but the english bought/transferred songs play just fine.
    Any ideas?!
    Thanks everyone!

    It may be an authorization issue. Both iTunes and the iPod need to be up-to-date.
    Usually, you need to play at least a part of songs purchased from the iTMS within iTunes to authorize them. They won't copy to your iPod until you do this.
    How to transfer Purchased Music from iTunes to your iPod
    iTMS Song and Computer Authorization
    If you've played & authorized them in iTunes and they still skip, try this. De-authorize the computer in iTunes/Advanced menu, then re-authorize it. You re-authorize it by playing one of the songs purchased from the iTunes Music Store within iTunes. It should ask you for your Apple ID and password, and then the computer will be authorized again. Sync your iPod with iTunes, and those songs should play on the iPod once again.
    Another common cause of this is not having the latest version of iTunes.
    If you are using the latest version of iTunes (6.0.4), then you need to make sure your iPod software is up to date also. Get the iPod Updater software, install it, run it and update your iPod.
    When you have done this, authorize your music in iTunes by playing a few seconds of it within iTunes, re-sync your iPod, and it should transfer by whatever synching method you choose.
    If the above 'standard' fixes did not help, then it's a bigger problem that I can diagnose...

  • My iPhone 4s iOS 7.0.4 will not update music or apps from iTunes 11.1.3.  this was true of my pc and the new MacPro.

    My iphone 4s ios 7/0/4 will not update music or apps from itunes 11.1.3.  this was true with my pc since ios 7.0.3 even with update 7.0.4 and now continues with my new MacPro also runing itunes 11.1.3.   as most state in previous threads, syncs all non itunes related data with no issue and appears to work correctly on itunes data but then hangs on the last step of updating until it times out.  i have tried marking specific music to transfer, setting up new playlist, deleting some old playlist on phone but stopped short of restoring my phone back to new due to the amount of non itunes data that i will lose.  The itunes setup on the macpro was completely with the download of all music from a previous external backup and the creation of new playlist - on the first sync with existing phone it did ask to overwrite all phone itunes data with macpro itunes data which i did accept - no different result - no changes on phone.

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved. 
    If the problem continues, take the device to Apple for evaluation and possible replacement.

  • I got a new computer and when i downloaded a new itunes to it i couldnt get my music back.. how can i get my music on my new itunes?

    when i got the new computer i had to downlaod a new itunes library. on my backup hard drive is the old itunes library but it wont let me open it . how can i get my old music on the new itunes??

    -Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer other music form iPod to computer by using a third-party program like one of those discussed here:
    Copy music
    - Then connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up.
    - Restiore the iPod from that backup.

  • Only sub total in alv report

    hi,
    I have a report on ALV with sub totals for some fields, it is working fine but my requirement is whether i can get only the sub totals of that report.
    regards,
    Prabhu

    HI
    refer this code.
    REPORT ZALV.
    TYPE-POOLS: SLIS.
    DATA: G_REPID LIKE SY-REPID,
    GS_PRINT            TYPE SLIS_PRINT_ALV,
    GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
    GT_EVENTS           TYPE SLIS_T_EVENT,
    GT_SORT             TYPE SLIS_T_SORTINFO_ALV,
    GS_LAYOUT           TYPE SLIS_LAYOUT_ALV,
    GT_FIELDCAT         TYPE SLIS_T_FIELDCAT_ALV,
    FIELDCAT_LN LIKE LINE OF GT_FIELDCAT,
    COL_POS TYPE I.
    DATA: BEGIN OF ITAB,
      FIELD1(5) TYPE C,
      FIELD2(5) TYPE C,
      FIELD3(5) TYPE P DECIMALS 2,
    END OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 0.
      INCLUDE STRUCTURE ITAB.
    DATA: END OF ITAB1.
    DATA: BEGIN OF ITAB_FIELDCAT OCCURS 0.
      INCLUDE STRUCTURE ITAB.
    DATA: END OF ITAB_FIELDCAT.
    Print Parameters
    PARAMETERS:
                P_PRINT  AS CHECKBOX DEFAULT ' ', "PRINT IMMEDIATE
                P_NOSINF AS CHECKBOX DEFAULT 'X', "NO SELECTION INFO
                P_NOCOVE AS CHECKBOX DEFAULT ' ', "NO COVER PAGE
                P_NONEWP AS CHECKBOX DEFAULT ' ', "NO NEW PAGE
                P_NOLINF AS CHECKBOX DEFAULT 'X', "NO PRINT LIST INFO
                P_RESERV TYPE I.                  "NO OF FOOTER LINE
    INITIALIZATION.
    G_REPID = SY-REPID.
    PERFORM PRINT_BUILD    USING GS_PRINT.      "Print PARAMETERS
    START-OF-SELECTION.
    TEST DATA
    MOVE 'TEST1' TO ITAB1-FIELD1.
    MOVE 'TEST1' TO ITAB1-FIELD2.
    MOVE '10.00' TO ITAB1-FIELD3.
    APPEND ITAB1.
    MOVE 'TEST2' TO ITAB1-FIELD1.
    MOVE 'TEST2' TO ITAB1-FIELD2.
    MOVE '20.00' TO ITAB1-FIELD3.
    APPEND ITAB1.
    DO 50 TIMES.
      APPEND ITAB1.
    ENDDO.
    END-OF-SELECTION.
    PERFORM BUILD.
    PERFORM EVENTTAB_BUILD CHANGING GT_EVENTS.
    PERFORM COMMENT_BUILD  CHANGING GT_LIST_TOP_OF_PAGE.
    PERFORM CALL_ALV.
    FORM BUILD.
    DATA FIELD CATALOG
    Explain Field Description to ALV
    DATA: FIELDCAT_IN TYPE SLIS_FIELDCAT_ALV.
    CLEAR FIELDCAT_IN.
    FIELDCAT_LN-FIELDNAME = 'FIELD1'.
    FIELDCAT_LN-TABNAME   = 'ITAB1'.
    *FIELDCAT_LN-NO_OUT    = 'X'.  "FIELD NOT DISPLAY, CHOOSE FROM LAYOUT
    FIELDCAT_LN-KEY       = ' '.   "SUBTOTAL KEY
    FIELDCAT_LN-NO_OUT    = ' '.
    FIELDCAT_LN-SELTEXT_L = 'HEAD1'.
    APPEND FIELDCAT_LN TO GT_FIELDCAT.
    CLEAR FIELDCAT_IN.
    FIELDCAT_LN-FIELDNAME = 'FIELD2'.
    FIELDCAT_LN-TABNAME   = 'ITAB1'.
    FIELDCAT_LN-NO_OUT    = 'X'.
    FIELDCAT_LN-SELTEXT_L = 'HEAD2'.
    APPEND FIELDCAT_LN TO GT_FIELDCAT.
    CLEAR FIELDCAT_IN.
    FIELDCAT_LN-FIELDNAME     = 'FIELD3'.
    FIELDCAT_LN-TABNAME       = 'ITAB1'.
    FIELDCAT_LN-REF_FIELDNAME = 'MENGE'. "<- REF FIELD IN THE DICTIONNARY
    FIELDCAT_LN-REF_TABNAME   = 'MSEG'.  "<- REF TABLE IN THE DICTIONNARY
    FIELDCAT_LN-NO_OUT        = ' '.
    FIELDCAT_LN-DO_SUM        = 'X'.   "SUM UPON DISPLAY
    APPEND FIELDCAT_LN TO GT_FIELDCAT.
    DATA SORTING AND SUBTOTAL
    DATA: GS_SORT TYPE SLIS_SORTINFO_ALV.
    CLEAR GS_SORT.
    GS_SORT-FIELDNAME = 'FIELD1'.
    GS_SORT-SPOS      = 1.
    GS_SORT-UP        = 'X'.
    GS_SORT-SUBTOT    = 'X'.
    APPEND GS_SORT TO GT_SORT.
    CLEAR GS_SORT.
    GS_SORT-FIELDNAME = 'FIELD2'.
    GS_SORT-SPOS      = 2.
    GS_SORT-UP        = 'X'.
    *GS_SORT-SUBTOT    = 'X'.
    APPEND GS_SORT TO GT_SORT.
    ENDFORM.
    FORM CALL_ALV.
    ABAP List Viewer
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = G_REPID
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    I_STRUCTURE_NAME = 'ITAB1'
    IS_LAYOUT =  GS_LAYOUT
    IT_FIELDCAT = GT_FIELDCAT[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
      IT_SORT = GT_SORT[]
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
      IT_EVENTS = GT_EVENTS[]
    IT_EVENT_EXIT =
      IS_PRINT = GS_PRINT
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    T_OUTTAB = ITAB1
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2.
    ENDFORM.
    HEADER FORM
    FORM EVENTTAB_BUILD CHANGING LT_EVENTS TYPE SLIS_T_EVENT.
    CONSTANTS:
    GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
    *GC_FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE'.
      DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                I_LIST_TYPE = 0
           IMPORTING
                ET_EVENTS   = LT_EVENTS.
      READ TABLE LT_EVENTS WITH KEY NAME =  SLIS_EV_TOP_OF_PAGE
                               INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        APPEND LS_EVENT TO LT_EVENTS.
      ENDIF.
    define END_OF_PAGE event
    READ TABLE LT_EVENTS WITH KEY NAME =  SLIS_EV_END_OF_PAGE
                             INTO LS_EVENT.
    IF SY-SUBRC = 0.
      MOVE GC_FORMNAME_END_OF_PAGE TO LS_EVENT-FORM.
      APPEND LS_EVENT TO LT_EVENTS.
    ENDIF.
    ENDFORM.
    FORM COMMENT_BUILD CHANGING GT_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
      DATA: GS_LINE TYPE SLIS_LISTHEADER.
      CLEAR GS_LINE.
      GS_LINE-TYP  = 'H'.
      GS_LINE-INFO = 'HEADER 1'.
      APPEND GS_LINE TO GT_TOP_OF_PAGE.
      CLEAR GS_LINE.
      GS_LINE-TYP  = 'S'.
      GS_LINE-KEY  = 'STATUS 1'.
      GS_LINE-INFO = 'INFO 1'.
      APPEND GS_LINE TO GT_TOP_OF_PAGE.
      GS_LINE-KEY  = 'STATUS 2'.
      GS_LINE-INFO = 'INFO 2'.
      APPEND GS_LINE TO GT_TOP_OF_PAGE.
    CLEAR GS_LINE.
    GS_LINE-TYP  = 'A'.
    GS_LINE-INFO = 'ACTION'.
    APPEND GS_LINE TO  GT_TOP_OF_PAGE.
    ENDFORM.
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
      WRITE: SY-DATUM, 'Page No', SY-PAGNO LEFT-JUSTIFIED.
    ENDFORM.
    FORM END_OF_PAGE.
      WRITE at (sy-linsz) sy-pagno CENTERED.
    ENDFORM.
    PRINT SETTINGS
    FORM PRINT_BUILD USING LS_PRINT TYPE SLIS_PRINT_ALV.
      LS_PRINT-PRINT              = P_PRINT.  "PRINT IMMEDIATE
      LS_PRINT-NO_PRINT_SELINFOS  = P_NOSINF. "NO SELECTION INFO
      LS_PRINT-NO_COVERPAGE       = P_NOCOVE. "NO COVER PAGE
      LS_PRINT-NO_NEW_PAGE        = P_NONEWP.
      LS_PRINT-NO_PRINT_LISTINFOS = P_NOLINF. "NO PRINT LIST INFO
      LS_PRINT-RESERVE_LINES      = P_RESERV.
    ENDFORM.
    *END OF ZALV PROGRAM
    Reward all helpfull answers.
    Regards.
    Jay

Maybe you are looking for

  • In IOS 7.0 photoes cannot be added to shared photo stream

    In IOS 7.0, the photo apps hanged when adding photoes to shared photo stream.

  • New Search Bar

    Hi People, I'm sure most of you have noticed the new tab buttons on the top of the page. And chances are you've also seen the new search bar and how it works much like "Spotlight" does. I'm trying to understand how it actually works but unfortunately

  • Struts and ADF in Portal

    Hello. We have had a TAR going for some time regarding an issue with Struts and ADF in Portal. This is the summary of the TAR: Customer followed the following document to create his Struts ADF application: Developing an End-to-End Web Application Usi

  • ORA-29516: Ausführung von Aurora .. Assertion failure at eox.c:232

    I am trying to use developer-depoly an to load/deploy some java class to oracle 9.2.0.1.0 on Suse-Linux 8 Java 1.3 platform However I got the following error, what am I missing here? (On Windows 2000 is no problem). I have the same Problem with Oracl

  • Require technical advice for designing XML database

    Dear Fellows I need your technical advice for the way storing the XML files into the database. We have experiments that produces more than 300 XML files. I want to store them in the database. There should be a mechanism (way) to store XML files relat