Disparity between selection list and iPod list

I have my iTunes preferences set to update selected playlist ("User's iPod Selection")only. However, my iPod shows that I have only 1,094 songs on it, whereas my "User's iPod Selection" shows 3,766 songs on it.
Could someone kindly explain what I have done wrong and how to correct it?
Thanks much!

Thank you, and thanks for your prompt reply!
1. My "User's iPod" shows 13 GB free (out of 20). My "User's iPod Selection" list shows 11.32 GB ... I assume that's the amount of GB the listed songs take up?
Ok, I just disconnected and reconnected my iPod to the computer and, although the "User's iPod" says that it's loading over 2,800 songs, it stopped loading after it reached 1.089 songs totalling 3.40 GB , which means 15 GB used, even less than before!
2. So far, I haven't figured any pattern to where it stops loading. I'll check again, but I'd love to hear any additional thoughts you may have.
Thanks again!
2.

Similar Messages

  • Differences between normal list and ALV list

    Hi All,
      where can i find the differences between a Normal SAP List and ALV List(Documentation part).

    Imagine you have to write a report that lists out customer addresses. You will write code to get the input from the user via selection screen and then read the data based on the seletion from the database into an internal table(or a set of internal tables). Now once you have the data you will need to output this. In normal list reports, you will have to use 'WRITE' statements to format the output into columns and rows. Now suppose user wants some interactivity in it. Then  you will have to provide some buttons and/or menu options through custom pf-status and then write logic for reacting to the user actions. After writing many such reportsm, you will feel like some of this can generalized and reused in every report.
    That is exactly what ALV does. It takes out most of repeated sections of the code from out of you and provides you with excellent outputting functionality. It provides many standard functions like 'print', 'sort', 'filter', 'sum' etc by default. Imagine writing code yourself for all these if you were writing normal list program. One more major difference is the editing feature. If you were write a program that gives the user with editing features, then you will have to write a lot of logic. But with ALV, all the features like adding a row, deleting a row, copying a row, editing some fields of a row etc come by default.
    Likewise, interactivity has become quite easy to implement. Like double clicking on a customer number, if the user wants to go to display customer transaction, it is very easy using ALV.
    As pointed out here by others, go through the documentation of ALV and go through some of those demo programs and you will know the difference. ALV takes out a lot of burden of coding everything away from you and lets you worry about the business functionality that your report provides, rather than formatting the output or providing interactivity to the output.
    Hope this helps,
    Srinivas

  • Link between Purchase order and Attachment list

    Hi All,
    I got a requirement like Purchase orders are from moved from one system to another system.There was a bug in BDC program
    so some Attachment list of the purchase orders are not moved properly to the another system.
                                                   Now my client want a report to generate the Purchase orders which is having attachment list.
    I did not find any table link between Purcahase order and Attachment list.
                                                  So Plz provide me the link between purchase order and attachment list.
    Thanks,
    Ram

    You mean service for object services?
    if yes then u have to create one custom report for Generic Object Services   ( like notes , attachment  , url )

  • Differences between ABAP lists and ALV lists

    what is the differences between ABAP lists and ALV lists?
    Edited by: pong pong on Apr 9, 2008 5:08 AM

    Hello Pong Pong,
    Please go thru help topics:
    ALV Grid
    http://help.sap.com/saphelp_47x200/helpdata/en/bf/3bd1369f2d280ee10000009b38f889/frameset.htm
    ABAP Lists
    http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb408a455611d189710000e8322d00/frameset.htm
    Regards,
    Siddhesh

  • Integration between Custom list and task list

    Is it advisable to provide solutions for the integration between custom list and tasks list in SharePoint?
    I am working on a scenario where the data has to be segregated between multiple lists and there will be transactions among these lists using workflow. Some of the capabilities in Tasks list like due date notifications, calendar, tracking are needed
    on the transaction. Since these lists are based out of different content types, is it advisable to choose these lists for solutions?
    When we have to make few updates through workflow from custom list to tasks, will there be any problem in the transactions as it is two different content type?
    Vijayaragavan, MCTS

    Since SPLists and SharePoint workflows don't provide inherent
    support for transactions, you have to handle rollback operations yourself.
    The easiest way to simulate a transaction is to read in the state of any list item you are changing prior to executing an update, and then write that state back should you detect a failure. It's not a perfect solution, since a sufficiently severe error might
    prevent your rollback updates as well. That's the price you pay for not having the data store support transactions.
    That being said, while it's true many clients will ask for business critical data to be stored in SPLists, I would argue that it's your job to convince them that it's not a good idea, and that transactional databases accessed over webservices are a much safer
    SP compatible way to store important data - from
    stackoverflow
    [custom.development]

  • Single List and Blocked List

    What is the difference between Single List and Blocked List. how REUSE_ALV_LIST_DISPLAY will work with single List and Blocked List.
    Please Help me.
    Regards
    vamsi.

    hi vamsi,
    to get single list u use FM's REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY and
    for blocked list u use the FM's REUSE_ALV_BLOCK_LIST_INIT,
    REUSE_ALV_BLOCK_LIST_APPEND &  REUSE_ALV_BLOCK_LIST_DISPLAY
    <b>check this code for List display....</b>
    REPORT  ZTEST_ALV1.
    **TABLES DECLN
    TABLES: VBRK,VBRP,T001.
    TYPE-POOLS: SLIS.
    TYPE-POOLS: ICON.
    ***DATA DECLN.
    DATA: V_VBELN LIKE VBRK-VBELN,
          V_MATNR LIKE VBRP-MATNR.
    CONSTANTS: C_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'F_USER_COMMAND',
               C_PF_STATUS TYPE SLIS_FORMNAME VALUE 'F_SET_PF_STATUS'.
    **ALV RELATED TABLES.
    *--Field Catalog
    DATA:   IT_FIELDCAT TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV  WITH HEADER LINE,
            IT_FIELDCAT1 TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV WITH HEADER LINE ,
            WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
    *--Layout
           WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
    *--Sort
           IT_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV  ,
    **-Structure for excluding function codes
           WA_EXTAB TYPE SLIS_EXTAB,
    **-To hold function codes to be excluded in ALV toolbar
           IT_EXTAB TYPE SLIS_T_EXTAB.
    ***INTERNAL TABLE DECLN.
    DATA: BEGIN OF IT_VBRK OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          WAERK LIKE VBRK-WAERK,
          VKORG LIKE VBRK-VKORG,
          FKDAT LIKE VBRK-FKDAT,
          BUKRS LIKE VBRK-BUKRS,
          NETWR LIKE VBRK-NETWR,
          END OF IT_VBRK.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBRP-VBELN,
          POSNR LIKE VBRP-POSNR,
          FKIMG LIKE VBRP-FKIMG,
          VRKME LIKE VBRP-VRKME,
          NETWR LIKE VBRP-NETWR,
          MATNR LIKE VBRP-MATNR,
          ARKTX LIKE VBRP-ARKTX,
          END OF ITAB.
    DATA: IT_VBRP LIKE ITAB OCCURS 0 WITH HEADER LINE.
    ***selection screen.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN,
                    S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
                    S_MATNR FOR VBRP-MATNR.
    SELECTION-SCREEN: END OF BLOCK B1.
    **INITIALIZATION.
    INITIALIZATION.
      S_FKDAT-LOW = SY-DATUM - 200.
      S_FKDAT-HIGH = SY-DATUM.
      APPEND S_FKDAT.
    ***AT SELECTION-SCREEN.
    AT SELECTION-SCREEN.
      IF NOT S_VBELN IS INITIAL.
        SELECT SINGLE VBELN FROM VBRK
               INTO V_VBELN
               WHERE VBELN IN S_VBELN.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
      IF NOT S_MATNR IS INITIAL.
        SELECT SINGLE MATNR FROM MARA
               INTO V_MATNR
               WHERE MATNR IN S_MATNR.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
    ***START-OF-SELECTION.
    START-OF-SELECTION.
      PERFORM GET_DATA_VBRK.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    *--Sort the Output Fields
    PERFORM SORT_FIELDS.
    *--Build Field catalog for the Output fields
      PERFORM GET_FIELD_CATALOG.
    ***MODIFY LAYOUT.
    PERFORM MODIFY_LAYOUT.
    *--Display ALV output
      PERFORM LIST_DISP  TABLES IT_VBRK
                               USING  C_USER_COMMAND.
    *&      Form  GET_DATA_VBRK
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA_VBRK.
      SELECT VBELN
             WAERK
             VKORG
             FKDAT
             BUKRS
             NETWR
             INTO TABLE IT_VBRK
             FROM VBRK
             WHERE VBELN IN S_VBELN
             AND FKDAT IN S_FKDAT.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELD_CATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELD_CATALOG .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME         = SY-REPID
          I_INTERNAL_TABNAME     = 'IT_VBRK'
          I_INCLNAME             = SY-REPID
        CHANGING
          CT_FIELDCAT            = IT_FIELDCAT[]
        EXCEPTIONS
          INCONSISTENT_INTERFACE = 1
          PROGRAM_ERROR          = 2
          OTHERS                 = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " GET_FIELD_CATALOG
    *&      Form  SORT_FIELDS
          text
    -->  p1        text
    <--  p2        text
    FORM SORT_FIELDS .
      CLEAR WA_SORT.
      WA_SORT-SPOS = '01'.
      WA_SORT-FIELDNAME = 'VBELN' .
      WA_SORT-TABNAME   = 'IT_VBRK'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR  WA_SORT.
      WA_SORT-SPOS = '02'.
      WA_SORT-FIELDNAME = 'POSNR' .
      WA_SORT-TABNAME   = 'IT_VBRP'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
    ENDFORM.                    " SORT_FIELDS
    *&      Form  MODIFY_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM MODIFY_LAYOUT .
      WA_LAYOUT-DEFAULT_ITEM = 'X'.
      WA_LAYOUT-ZEBRA = 'X'.
      WA_LAYOUT-EXPAND_FIELDNAME = 'EXPAND'.
      WA_layout-colwidth_optimize = 'X'.
    ENDFORM.                    " MODIFY_LAYOUT
    *&      Form  LIST_DISP
          text
    -->  p1        text
    <--  p2        text
    FORM LIST_DISP  TABLES   P_IT_VBRK
                       USING    P_USER_COMMAND TYPE SLIS_FORMNAME.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = SY-REPID
          I_CALLBACK_PF_STATUS_SET = 'POPUP'
          I_CALLBACK_USER_COMMAND  = 'HANDLE_USER_COMMAND'
          IS_LAYOUT                = WA_LAYOUT
          IT_FIELDCAT              = IT_FIELDCAT[]
         IT_EXCLUDING             = IT_EXTAB[]
        TABLES
          T_OUTTAB                 = IT_VBRK
        EXCEPTIONS
          PROGRAM_ERROR            = 1
         OTHERS                   = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " LIST_DISP
    *&      Form  POPUP
          text
         -->P_EXTAB    text
    FORM POPUP USING IT_EXTAB TYPE SLIS_T_EXTAB.
    *- Pf status
      SET PF-STATUS 'POPUP'.
    ENDFORM.                 " POPUP
    <b>and check this for <b>Block List</b>....</b>
    REPORT  ZTEST_ALV3.
    TABLES: SFLIGHT,SPFLI.
    TYPE-POOLS: SLIS.
    DATA: BEGIN OF ITAB OCCURS 0,
          CARRID LIKE SFLIGHT-CARRID,
          CONNID LIKE SFLIGHT-CONNID,
          FLDATE LIKE SFLIGHT-FLDATE,
          PRICE  LIKE SFLIGHT-PRICE,
          CURRENCY LIKE SFLIGHT-CURRENCY,
          CITYFROM LIKE SPFLI-CITYFROM,
          CITYTO LIKE SPFLI-CITYTO,
          END OF ITAB.
    DATA: V_REPID LIKE SY-REPID.
    ***FIELD CATALOG.
    DATA: ITAB_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          WA_FLDCAT  TYPE SLIS_FIELDCAT_ALV.
    ***SORTING
    DATA:  ITAB_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV.
    ***events
    DATA: IT_EVENTS TYPE SLIS_T_EVENT WITH HEADER LINE,
    ***VARIANTS
          IT_VARIANT LIKE  DISVARIANT OCCURS 0 WITH HEADER LINE.
    FOR LAYOUT
    DATA: WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
          IT_LAYOUT TYPE SLIS_LAYOUT_ALV OCCURS 0 WITH HEADER LINE.
    ****SELECTION-SCREEN
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS: S_CARRID FOR SFLIGHT-CARRID.
    SELECTION-SCREEN: END OF BLOCK B1.
    ****START-OF-SELECTION.
    START-OF-SELECTION.
    V_REPID = SY-REPID.
    PERFORM GET_DATA.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    PERFORM GET_FIELDCAT.
    *PERFORM GET_LAYOUT.
    PERFORM BLOCK_ALV.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA .
    SELECT A~CARRID
           A~CONNID
           A~FLDATE
           A~PRICE
           A~CURRENCY
           B~CITYFROM
           B~CITYTO
           INTO TABLE ITAB
           FROM SFLIGHT AS A JOIN SPFLI AS B ON
           ACARRID = BCARRID
           WHERE A~CARRID IN S_CARRID.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELDCAT .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = SY-REPID
       I_INTERNAL_TABNAME           = 'ITAB'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = SY-REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = ITAB_FIELDCAT[]
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " GET_FIELDCAT
    *&      Form  BLOCK_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_ALV .
    PERFORM BLOCK_INIT.
    PERFORM BLOCK_APPEND.
    PERFORM BLOCK_DISPLAY.
    ENDFORM.                    " BLOCK_ALV
    *&      Form  BLOCK_INIT
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_INIT .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        I_CALLBACK_PROGRAM             = V_REPID.
    ENDFORM.                    " BLOCK_INIT
    *&      Form  BLOCK_APPEND
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_APPEND .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = WA_LAYOUT
        IT_FIELDCAT                      = ITAB_FIELDCAT[]
        I_TABNAME                        = 'ITAB'
        IT_EVENTS                        = IT_EVENTS[]
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = ITAB
    EXCEPTIONS
       PROGRAM_ERROR                    = 1
       MAXIMUM_OF_APPENDS_REACHED       = 2
       OTHERS                           = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_APPEND
    *&      Form  GET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_LAYOUT .
    WA_LAYOUT-DEFAULT_ITEM = 'X'.
    WA_LAYOUT-ZEBRA = 'X'.
    APPEND WA_LAYOUT TO IT_LAYOUT.
    ENDFORM.                    " GET_LAYOUT
    *&      Form  BLOCK_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_DISPLAY .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXCEPTIONS
       PROGRAM_ERROR                 = 1
       OTHERS                        = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_DISPLAY
    hope this helps,
    do reward if it helps,
    priya.

  • I am able to save pages to my reading list and the list opens when I tap on it but no page show, just a gray screen.  How do I get the reading list to show?

    I am able to save pages to my reading list and the list opens when I when I tap on the icon, but all I get is a gray area and not pages to read.  What am I doing wrong?

    See this - http://kb.mozillazine.org/Sorting_bookmarks_alphabetically

  • What is Piece List, Work List and Object List

    Hi All,
    Can you please give idea about Piece List, Work List and Object List in BI.
    What are their uses?

    Hi,
    Piece lists
    You can use this request type to set up your own object lists and save them under a name of your choice.
    For more info on this go through the link below
    http://help.sap.com/saphelp_sm32/helpdata/EN/57/38e1b64eb711d182bf0000e829fbfe/content.htm
    Worklists
    Worklists are the quickest and most convenient way of accessing the objects that you need to translate. Translators can call up a worklist in SE63 once a system has been completely set up for translation.
    For more info on this go through the link below
    http://help.sap.com/saphelp_sm310/helpdata/en/77/571a1f492011d1894a0000e829fbbd/content.htm
    Object Lists
    The Object Lists tab page in transaction SLWB enables you to create and manage object lists in the Translation Planner.
    An object list should contain all objects relevant for translation. You can create object lists according to a variety of criteria
    For more info on this go through the link below
    http://help.sap.com/saphelp_sm32/helpdata/EN/d4/341964249711d3b29e0000e817ab98/content.htm
    Regards,
    Marasa.

  • Difference between select-option and range

    Hi,
      wat are the difference between  select-option and range
    where u have to use those and give the syntax for the range option.
      if u use range option in report programming there is any advantages ?
      pls reply for this ..
    thanks
    rams

    Hi,
    Not much of a difference,
    A Select-Option could be like,
    SELECT-OPTIONS sel FOR f
    And a Range could be like,
    DATA: BEGIN OF sel OCCURS 10,
             SIGN(1),
             OPTION(2),
             LOW  LIKE f,
             HIGH LIKE f,
          END   OF sel.
    Here they both function the same. But then the Select-Options has numerous options associated with it than the RANGE option.
    Hope it helps,
    Pradip Parmar.

  • HT1386 I sync all songs, photos and videos between my computer and iPod classic with no problems, but when I get to sync info I get this message: "iTunes cannot sync Calendar and contacts to iPod. Try logging out of Windows adn then logging back in".

    I sync all songs, photos and videos between my computer and iPod classic with no problems, but when I get to sync info I get this message: "iTunes cannot sync Calendar and contacts to iPod. Try logging out of Windows adn then logging back in".  Could you please help?

    Correct. When you update via iTunes all synced media that is not in your iTunes library will be lost.
    As IO said before:
    You can redownload most iTunes pruchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    I do not think it included audio books.

  • Defference between select single and select upto 1 row?

    What is the Defference between select single and select upto 1 row?

    Hi,
    Difference Between Select Single and Select UpTo One Rows
    According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not using all the primary key fields.
    select single is a construct designed to read database records with primary key. In the absence of the primary key, it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key supplied and will try to find most suitable index.
    The best way to find out is through sql trace or runtime analysis.
    Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s) you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the second or the third record has the value you are looking for.
    The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
    The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.
    Mainly:  to read data from
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.
    Regards,
    Priya.

  • Diff between select single and select upto 1 rows.

    Hello aLL,
    PL tell what is technical diff between select single and select upto 1 rows and how it is affecting the performance.
    Rushikesh

    Hi
    Knowing when to use SELECT SINGLE or SELECT ... UP TO 1 ROWS
    A lot of people use the SELECT SINGLE statement to check for the existence of a value in a database. Other people prefer to use the 'UP TO 1 ROWS' variant of the SELECT statement.
    So what's the difference between using 'SELECT SINGLE' statement as against a 'SELECT .... UP TO 1 ROWS' statement ?
    If you're considering the statements
    SELECT SINGLE field INTO w_field FROM table.
    and
    SELECT field INTO w_field FROM table UP TO 1 ROWS. ENDSELECT.
    then looking at the result, not much apart from the extra ENDSELECT statement. Look at the run time and memory usage and they may be worlds apart.
    Why is this ?? The answer is simple.
    The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.
    Get the difference ??
    If not, here is a good example, credit for this example goes to Richard Harper, a friend of mine on sapfans.com :
    Create a Ztable called ZDifference with 2 fields in it, MANDT of type MANDT and POSNR of type POSNR. Make sure both of these are keys. Also create a table maintenance dialog for it (SE11->Utilities->Table Maintenance Generator). Fill the table with ten rows 000001-000010.
    Then run the program shown below:
    Code:
    Program: Z_Difference
    Purpose: A program that demonstrates the difference
    between SELECT SINGLE and SELECT UP TO n ROWS.
    This program requires the data table Z_DIFFERENCE
    to have been created according to the structure
    outlined in the text above and populated with
    at least 10 records.
    Creation Date: 21/04/2004
    Requested By:
    Reference Doc:
    Author: R Harper
    Modification History:
    Date Reason Transport Who
    Report Z_Difference
    Message-id 38
    Line-Size 80
    Line-Count 0
    No Standard Page Heading.
    Start-Of-Selection.
    Data: w_Single type Posnr,
    t_Rows type standard table of Posnr
    initial size 0
    with header line.
    Select single Posnr
    from zDifference
    into w_Single.
    Select Posnr
    into table t_Rows
    from zDifference
    up to 1 rows
    order by Posnr descending.
    Write :/ 'Select single:', w_Single.
    Skip 1.
    Write :/ 'Up to 1 rows :'.
    Loop at t_Rows.
    Write t_Rows.
    EndLoop.
    You should see the output:
    Select single: 000001
    Up to 1 rows : 000010
    The first 'SELECT' statement selected the first record in the database according to any selection criterion in the 'WHERE' clause. This is what a 'SELECT SINGLE' does. The second 'SELECT' has asked the database to reverse the order of the records before returning the first row of the result.
    In order to be able to do this the database has read the entire table, sort it and then return the first record. If there was no ORDER BY clause then the results would have been identical (ie both '000001') but the second select if given a big enough table to look at would be far slower.
    Note that this causes a problem in the Extended Program Check if the full key is not specified in a 'SELECT SINGLE'. Replacing the 'SELECT SINGLE' by an "UP TO 1 ROWS" will give the same exact results without any warning but the program will run slower and consume more memory. This is a good example of a warning that we should ignore... considering you are sure of what you are doing !!

  • Pick List and Pack List

    Can anyone please provide some light on how the system should generate a pick list and pack list. what config needs to be done and settings. or help me with some tutorials even.
    Thanks,
    Kanna Palle.

    Dear Kanna,
    Picking & Packing lists are the output types in the shipping output process.
    Packing list
    Standard output type for Packing list is PL00
    To get the Packing list output you need to do the output determination settings for the outbound deliveries.
    In the output determination procedure you keep the Packing list output type.
    Picking list
    1. First assign your Output type EK00 to the shipping point(Enterprise Structure - Definition of Shipping point), also maintain the time and medium.
    2. Use TCode V/38, to maintain the condition type EK00, maintain the time,print parameters and transmission medium.
    Also assign the processing routines Prog: RVADEK1,Form Routine: ENTRY, Form:SD_PICK_SINGLE
    3. Mainatain the print parameters for shipping pt using TCOde VL01SHP.
    For output determination in shiiping go through this IMG path
    IMG>Logistics execution>Shipping>Basic Shipping functions>Output control>Output determination>Maintain Output Determination for Outbound Deliveries
    -->Maintain Condition Tables
    -->Maintain Output Types
    -->Maintain Access Sequences
    -->Maintain Output Determination Procedure
    -->Assign Output Determination Procedures
    Maintain condition records through VV21 transaction.
    I hope this will help you,
    Regards,
    Murali.

  • Piece List and Object list are not moving through transports

    Hi All,
    I have created the Piece List and Object list for Language translation in Development system and saved them in transport.
    When i moved this in Quality system then nothing is showing there.
    I have checked the Log of transport movement,everything is showing OK there.
    Please suggest me the way to solve this issue.

    Hi
    let me explain in Points
    1
    error messages about logs not found during the transport.
    This is usually caused by incorrect maintenance of the setting for the transport directory. Check in particular the parameters DIR_TRANS and TRANSDIR by referring to the advice given in note 556734, section "What do I need to consider when setting up the transport?".
    2
    An import supposedly has an error, but cannot find an error in the log files.
    This is usually due to the order-independent logs. In the order-independent steps, DDIC objects of other requests may also be edited. For example, the request to adjust a table remains for so long in the internal transport tables and is therefore also processed during a subsequent transport until the adjustment was successfully completed. An error can then be displayed for the subsequent request although its objects were all imported without any errors. Explanatory notes for this are 413993, 512493, 407116 and 330378. After every import, the order-independent logs should therefore also be checked.
    If the system refers to canceled RDD* jobs, check the job log via SM37 and via ST22 the short dumps and via SM21 the syslog of the system.
    Hope all my inputs helps you
    santosh

  • Difference between Combo Box and Dropdown List

    Hi All,
    I would like to know the difference between the elements 'Combo box' and 'Dropdown List' in VC. I am facing an issue where i am invoking an entry list and the output of the first element the entry list returns is getting reflected as the output for all the elements...
    So even if 2nd and 3rd row of the o/p from the entry list is giving only 2 items, if the 1st row returns only 1 then we are able to see only 1 item. Its as if the 1st row decides the items to be returned for all the rows.
    Please help.

    Hi Hezi,
    I have 2 columns in my table. First column is 'material number' and the 2nd one is 'production version'. There can 1,2 or 3 production version for each material. [This information is stored in the backend] This is retrieved through a method which invokes a bapi which in turn retrieves from the backend.
    I have provided a dropdown list for the 'production version' column. Lets say there are 2 rows. Material 1 and material 2. Lets say material 1 has 1 production version and material 2 has 2 production version. So rightfully speaking i should have 1 option in the dropdown for material 1 and 2 for material 2.
    But what i seeing is only 1 option for both the materials. This is wrong.
    Is there something that can be done to ensure that each row reflects the correct no. of options in the dropdown?

Maybe you are looking for

  • Can I copy and paste the texts or graphics to another project?

    Hi folks, I am working on several movie clips which share the same graphics and most contents as beginning intro. Just a few sentences are different. If would be so much hassle if I had to type everything and import the images to every clips. I notic

  • AIM doc for extensions?

    Hello, [Apps R12] is there any AIM doc or Oracle official doc equivalent to MD50 to create functional documents for OAF extensions or customizations? Thanks.

  • Drop undo tablespace

    Tive que criar uma segunda undo tablespace, mas agora não preciso mais dela. Posso apagá-la normalmente com um drop tablespace ou tenho que fazer alguma verificação antes? Ela não é mais a undo tablespace da instância.

  • Re: Struts programming problem

    Hi All, This is Nitin Singh, working working on a project in struts framework using MyEclipse ide. I am actually facing an issue in my project where i am unable to get access to Servlet action and the error "_INFO: Servlet action is currently unavail

  • Illustrator start up problem

    My Illustrator won't start anymore: I get the following notification: AI does not work anymore. Switch on the Verdana font and start Illustrator again. But the Verdana font is standard on my computer. I also imported it in Suitcase and switched it on