Pls. help select over partitons

Hi Experts
I've data like this.
<pre class="jive-pre"><code class="jive-code jive-java">
OrderNo OrderQTY OnhandQTY OnhandSubInvCode
311000014 50 50 FC_AREA
311000014 50 119 ST-FG
311000015 50 70 FC_AREA
311000015 50 120 ST-FG
</code></pre>
But I am looking for a output like below...
<pre class="jive-pre"><code class="jive-code jive-java">
OrderNo OrderQTY OnhandQTY OnhandSubInvCode
311000014 50 50 FC_AREA
119 ST-FG
311000015 70 70 FC_AREA
120 ST-FG
</code></pre>
I'm try to used function <font color="navy">over (partition by ...) </font> but its not success.
Pls. suggest me which functions how can i applied for its.
Thank for advance.

You mean like this?
SQL> ed
Wrote file afiedt.buf
  1  select case when deptno = lag(deptno) over (order by deptno) then null else deptno end as deptno
  2        ,empno, sal
  3  from emp
  4* order by emp.deptno, empno
SQL> /
    DEPTNO      EMPNO        SAL
        10       7782       2450
                 7839       5000
                 7934       1300
        20       7369        800
                 7566       2975
                 7788       3000
                 7876       1100
                 7902       3000
        30       7499       1600
                 7521       1250
                 7654       1250
                 7698       2850
                 7844       1500
                 7900        950
14 rows selected.
SQL>

Similar Messages

  • Pls Help - Change over from G5 to Core 2 Duo

    I have just purchased a Intel Core 2 Duo iMac and my old G5 imac, I want to re-install tiger to its factory settings.
    The problem being that the disc that came from the computer is missing and the installation discs I have a from my new Core 2 Duo.
    These new install discs are only for intel or are they binary?
    and how can get my old g5 back to factory settings?
    Many Thanks,
    Dean

    Dean, normnod is basically correct and two things:
    If you're worried about it read your licence agreement, and basically if you did buy a complete set of G5, install disks and licence Apple isn't going to sue you if you borrow the right disk from another user of the same Mac.
    However for serious use you really do need to buy a replacement factory disk set from some combination of AppleStore/AppleCare, depending on your location. The need is greater if you're selling the machine, as missing system disks should cut its value…
    A factory disk set includes the various applications that shipped with that Mac, and should run only on the same model. The disks should be grey.
    A generic retail disk set includes pretty-much only the OS, and should run on any Mac that can take that OS version. The disks should be white.

  • TS1702 i've an iphone 3.1.3. sometimes, i have problems opening all the apps i downloaded in the past 4 months. other apps would open but the recent ones will begin to boot and then close itself. once, it persisted for over a week. pls help as am frustrat

    i've an iphone 3.1.3. sometimes, i have problems opening all the apps i downloaded in the past 4 months. other apps would open but the recent ones will begin to boot and then close itself. once, it persisted for over a week. it staarted again this evening, pls help as am frustrated. NB- i checked for apps update but all my apps are up-to-date. CT

    Try the usual steps: restart, reset, restore.
    http://support.apple.com/kb/HT1430
    http://support.apple.com/kb/HT1414
    If restoring using a backup doesn't help, try restoring the iPhone to factory settings and try for a while with just the Apple-included apps, to make sure it's not an issue with a third-party app. If it still has problems, it may have a hardware problem and will need to be sent to Apple.
    Regards.

  • How can i set dynamice for week on Selection screen..pls help me..Urgent

    Hi..All
    please Help me .. i am very  confused..
    i need to set a varient for week which is dynamic on selection screen.
    b) Week from current week to current week + 2. (<b>Dynamic selection)</b>how can i set dynamice for week on Selection screen,,
    how can i do this..i am alrady set dynamice variant for Date.. there is option for D.. but in case of week there is a no option.
    pls help me..urgent
    thamks in advance.
    mayukh

    Hi,
    I think the way out is use the dynamic select option while setting up the varinat and use sy-datum to sy-datum+9 which should essentially serve the purpose.
    While saving the variant, for that particular date field check the Selection variable checkbox, then Choose D
    option and then choose current days + or - option from there.
    Rgds,
    HR

  • Select query. pls help

    Hi all
    i am new to abap
    I have the following requirement.
    kindly help me how to write the select queries to achieve it.
    its urgent
    pls help me
    thanks in advance
    In June of year 1, new budget prices must be determined for the following year (year 2). The budget prices for year 2 are calculated out of the average contract prices in the first 5 months of year 1 (January – May). The average contract price will then (outside the system) be corrected with an index. To calculate new prices for Campina Netherlands, a report is needed to show all materials with current budget price, volumes and contract prices during the first five months of year 1
    The purchasing assistant creates an excel file per Material type, based on the Budget pricelist out of SAP.
    Purchasers check the file on:
    &#61485;     being correct,
    &#61485;     materials marked for deletion in SAP
    &#61485;     changes to be made in data
    The new prices, calculated based ion the output of the SAP Budget pricelist, are sent to controlling in june year 1.
    On the 1st of January year 2 the new budget prices are inserted in SAP as the new standard price / budget price.
    the fields for display are as follows
    <b>table</b>               <b>  field<b>[/b</b>]             <b>   description</b>
    ekko                        ekorg                              pur org
    ekpo                        matnr                              mat no
    makt                        maktx                            mat des
    cawn                       zunspsc                         unspsc code
    mbew                      stprs                              standard price
    mbew                      peinh                               price unit
    mara                        meins                            base unit of measure
    s012                        menge                            purchsed amount of mat
                                                                         in month 1
    s012                       menge                            purchsed amount of mat
                                                                         in month 2
    s012                       menge                            purchsed amount of mat
                                                                         in month 3
    s012                       menge                            purchsed amount of mat
                                                                         in month 4
    s012                       menge                            purchsed amount of mat
                                                                         in month 5
    ekpo                      netpr                               net price on date criteria 1
    ekpo                      peinh                              price unit
    ekpo                      bprme                             order price unit
    ekpo                      netpr                               net price on date criteria 2
    ekpo                      peinh                              price unit
    ekpo                      bprme                             order price unit
    ekpo                      netpr                               net price on date criteria 3
    ekpo                      peinh                              price unit
    ekpo                      bprme                             order price unit
    ekpo                      netpr                               net price on date criteria 4
    ekpo                      peinh                              price unit
    ekpo                      bprme                             order price unit
    ekpo                      netpr                               net price on date criteria 5
    ekpo                      peinh                              price unit
    ekpo                      bprme                             order price unit

    Hi,
    DATA: begin of i_ekpo,
               menge........
               netpr............
               date ..........
              end of i_ekpo.
    Select menge netpr date
              from ekpo
              into table i_ekpo
             where ....
    if sy-subrc = 0.
    LOOP AT i_ekpo.
    v_month = i_ekpo-date+4(2).
    CASE v_month.
    WHEN '01'
      itab-menge1 = i_ekpo-menge.
      itab-menge5 = i_ekpo-menge.
      itab-netpr1 = i_ekpo-netpr.
      itab-netpr5 = i_ekpo-netpr.
    WHEN '02'.
      itab-menge1 = i_ekpo-menge.
      itab-menge5 = i_ekpo-menge.
      itab-netpr1 = i_ekpo-netpr.
      itab-netpr5 = i_ekpo-netpr.
    WHEN '03'.
      itab-menge1 = i_ekpo-menge.
      itab-menge5 = i_ekpo-menge.
      itab-netpr1 = i_ekpo-netpr.
      itab-netpr5 = i_ekpo-netpr.
    WHEN '12'.
      itab-menge1 = i_ekpo-menge.
      itab-menge5 = i_ekpo-menge.
      itab-netpr1 = i_ekpo-netpr.
      itab-netpr5 = i_ekpo-netpr.
    ENDCASE.
    APPEND itab.
    ENDLOOP.
    Please be more specific with some sample outputs how is should be.

  • Select statement- very urgent pls help

    hi
    i want to extract following fields into one internal table.
    anyone pls help me to do this?
      mara-mandt, mara-matnr, mara-meins, mara-laeda, mara-aenam, marc-werks, makt-maktx, sy-datum, sy-uzeit, sy-uname
    Thanks
    Kumar

    Hi Kumar K,
    TABLES: MARA, MARC, MAKT.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
    PARAMETERS : P_WERKS LIKE MARC-WERKS  OBLIGATORY.
    DATA :      BEGIN OF WA_FINAL,
         MANDT LIKE MARA-MANDT,
         MATNR LIKE MARA-MATNR,
         MEINS LIKE MARA-MEINS,
         LAEDA LIKE MARA-LAEDA,
         AENAM LIKE MARA-AENAM,
         WERKS LIKE MARC-WERKS,
         MAKTX LIKE MAKT-MAKTX,
    DATE TYPE SY-DATUM,
    TIME TYPE SY-UZEIT,
    UNAME TYPE SY-UNAME,
         END OF WA_FINAL,
         BEGIN OF WA_MARA,
         MANDT LIKE MARA-MANDT,
         MATNR LIKE MARA-MATNR,
         MEINS LIKE MARA-MEINS,
         LAEDA LIKE MARA-LAEDA,
         AENAM LIKE MARA-AENAM,
         END OF WA_MARA,
         BEGIN OF WA_MAKT,
         MATNR LIKE MAKT-MATNR,
         MAKTX LIKE MAKT-MAKTX,
         END OF WA_MAKT,
         BEGIN OF WA_MARC,
         MATNR LIKE MARC-MATNR,
         WERKS LIKE MARC-WERKS,
         END OF WA_MARC.
    DATA : IT_MARA LIKE STANDARD TABLE OF WA_MARA WITH HEADER LINE,
    IT_FINAL LIKE STANDARD TABLE OF WA_FINAL WITH HEADER LINE,
    IT_MAKT LIKE STANDARD TABLE OF WA_MAKT WITH HEADER LINE,
    IT_MARC LIKE STANDARD TABLE OF WA_MARC WITH HEADER LINE.
    SELECT   MANDT
         MATNR
         MEINS
         LAEDA
         AENAM
    FROM MARA
    INTO TABLE IT_MARA
    WHERE MATNR IN S_MATNR.
    IF IT_MARA[] IS NOT INITIAL.
    SELECT MATNR
    WERKS
    FROM MARC
    INTO TABLE IT_MARC
    FOR ALL ENTRIES IN IT_MARA
    WHERE MATNR = IT_MARA-MATNR
    AND WERKS = P_WERKS.
    ENDIF.
    IF IT_MARA[] IS NOT INITIAL.
    SELECT MATNR
                 MAKTX
    FROM MAKT
    INTO TABLE IT_MAKT
    FOR ALL ENTRIES IN IT_MARA
    WHERE MATNR = IT_MARA-MATNR.
    ENDIF.
    LOOP AT IT_MARA.
    IT_FINAL-MANDT = IT_MARA-MANDT.
    IT_FINAL-MATNR = IT_MARA-MATNR.
    IT_FINAL-MEINS = IT_MARA-MEINS.
    IT_FINAL-LAEDA = IT_MARA-LAEDA.
    IT_FINAL-AENAM = IT_MARA-AENAM.
    READ TABLE IT_MARC WITH KEY MATNR = IT_MARA-MATNR.
    IF SY-SUBRC = 0.
    IT_FINAL-WERKS = IT_MARC-WERKS.
    ENDIF.
    READ TABLE IT_MAKT WITH KEY MATNR = IT_MARA-MATNR.
    IF SY-SUBRC = 0.
    IT_FINAL-MAKTX = IT_MAKT-MAKTX.
    ENDIF.
    IT_FINAL-DATE = SY-DATUM.
    IT_FINAL-TIME = SY-UZEIT.
    IT_FINAL-UNAME = SY-UNAME.
    APPEND IT_FINAL.
    CLEAR : IT_FINAL, IT_MARA , IT_MAKT, IT_MARC.
    ENDLOOP.
    now IT_FINAL table contains the final data which you want...
    Hope it will solve your problem
    Reward points if useful...
    Thanks & Regards
    ilesh 24x7

  • Item on the listbox cant be selected. PLS HELP.

    hello! i am a newbie to ABAP development.
    I followed the listbox steps stated on the RSDEMO_DROPDOWN_LISTBOX because I want to populate my listbox (I created from the screen painter) with the data from a table. It was successful and I can see the data now. Problem is when I am selecting an item of the listbox, it wont be selected. the only thing always selected is the first item on the listbox? what is happening? I do not understand. PLS HELP.
    big thanks.
    TYPE-POOLS: VRM.
    DATA: VALUE TYPE VRM_VALUES WITH HEADER LINE.
    DATA: DD1(20).
    DATA: INT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
    SELECT * FROM SPFLI INTO TABLE INT_SPFLI.
    START-OF-SELECTION.
      SET SCREEN 100.
    MODULE PBO OUTPUT.
      LOOP AT INT_SPFLI.
        VALUE-TEXT = INT_SPFLI-CITYFROM.
        APPEND VALUE.
      ENDLOOP.
       CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
              ID     = 'DD1'
              VALUES = VALUE[].
    ENDMODULE.
    MODULE PAI INPUT.
      CASE SY-UCOMM.
        WHEN 'BTNEXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.

    <b>THIS IS A FOLLOW UP QUESTION.</b>
    I have listbox DD1 and I populated that with SPFLI-CITYFROM data. I used SELECT DISTINCT statement so that it will not repeat same entry on my list box. It was successful but then on the 2nd time and on the succeeding times you click on the listbox (trying to select other item), the listbox shows all the city entries from the SPFLI-CITYFROM. The SELECT DISTINCT takes effect only at first because as I have said on the 2nd and succeeding times you click the listbox, it will show you all entries of  SPFLI-CITYFROM. why is that? i dont understand.
    im sorry if i sound so dumb. im a newbie.<b> big thanks to all. </b>
    TYPE-POOLS: VRM.
    DATA: VALUE TYPE VRM_VALUES WITH HEADER LINE.
    DATA: DD1(20).
    DATA: INT_SPFLI TYPE STANDARD TABLE OF SPFLI WITH HEADER LINE.
    SELECT DISTINCT CITYFROM FROM SPFLI INTO CORRESPONDING FIELDS OF TABLE INT_SPFLI.
    START-OF-SELECTION.
      SET SCREEN 100.
    MODULE PBO OUTPUT.
      LOOP AT INT_SPFLI.
        VALUE-KEY = INT_SPFLI-CITYFROM.
        APPEND VALUE.
      ENDLOOP.
       CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
              ID     = 'DD1'
              VALUES = VALUE[].
    ENDMODULE.
    MODULE PAI INPUT.
      CASE SY-UCOMM.
        WHEN 'BTNEXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.

  • Select statement issue- urgent pls help

    Hi
    The following select statement is always  failed, even LIKP table has data. pls help me
      LOOP AT LT_VBRP.
        IF LV_KEEP_VGBEL <> LT_VBRP-VGBEL.
          LV_KEEP_VGBEL = LT_VBRP-VGBEL.
          CLEAR LIKP.
          SELECT single  VBELN TRAID TRATY VERUR BOLNR LFDAT
          FROM LIKP INTO
          (LIKP-VBELN,LIKP-TRAID,LIKP-TRATY,LIKP-VERUR,LIKP-BOLNR,LIKP-LFDAT)
            WHERE BOLNR = LT_VBRP-VGBEL.
          IF SY-SUBRC = 0.
            LV_ASN_FOUND = 'X'.
          ELSE.
            CLEAR LV_ASN_FOUND.
          ENDIF.
        ENDIF.
        MOVE-CORRESPONDING LT_VBRP TO LT_LIPOV.
        IF LV_ASN_FOUND = 'X'.
          LT_LIPOV-VBELN    = LIKP-VBELN.             "ASN #
          LT_LIPOV-LFDAT    = LIKP-LFDAT.
         lt_lipov-verur    = likp-verur.
          LT_LIPOV-BOLNR    = LIKP-BOLNR.             "DDL#
          LT_LIPOV-KOMAU    = LIKP-VBELN.
    get the ASN line number details.
          SELECT VBELN POSNR MATNR ERDAT LFIMG ERNAM WERKS VGBEL VGPOS FROM LIPS INTO
          TABLE LT_LIPOV
           WHERE VBELN = LIKP-VBELN.
        ELSE.
          CLEAR LT_REP-VBELN.
          CLEAR LT_REP-LFDAT.
          CLEAR LT_REP-VERUR.
          CLEAR LT_REP-BOLNR.
          LT_REP-KOMAU = LT_VBRP-VBELN.             "Inv no
          LV_MESSAGE = TEXT-504.
          PERFORM CREATE_REPORT_RECORD_LIN01.
          LT_REP-LINE_COLOUR = 'C610'.  " red Intensified
        ENDIF.
        APPEND LT_REP.
        APPEND LT_LIPOV.
        CLEAR LT_LIPOV.
        CLEAR LT_REP.
      ENDLOOP.

    Hi Kumar....
    if statement should not be like ..
    if lv_keep_vgbel lt_vbrp-vgbel.
    Should be like this  if lv_keep_vgbel = lt_vbrp-vgbel.
    and try to use work area and table to select and loop the data...
    Have YOu checked whether da data in it_vbrp...
    there few error in way You are writing...
    And one more thing in the table LIKP the field BOLNR is 35 Char and VGBEL of VBRP is 10 char ...and your are equalling that to extract the data which will not happen even..
    So before select statement change VBRP-VGBEL as 35 char varible by using like this
    data : v_vgbel type likp-bolnr.
    loop at lt_vbrp.
    if lv_keep_vgbel lt_vbrp-vgbel. " Why did you right the statement like this
        if lv_keep_vgbel = lt_vbrp-vgbel.
            clear likp.
                call function 'CONVERSION_EXIT_ALPHA_INPUT'
                  exporting
                    input  = lt_vbrp-vgbel
                  importing
                    output = v_vgbel.
                  select single vbeln traid traty verur bolnr lfdat
                                                      from likp into
                                                     (likp-vbeln,likp-traid,likp-traty,likp-verur,likp-bolnr,likp-lfdat)
                                                      where bolnr = v-vgbel.
    regards,
    sg
    Edited by: Suneel Kumar Gopisetty on May 26, 2008 4:41 AM

  • How to compare two select quieres parallelly from 2 different Dbs(pls help)

    I have tried doing it from my previous question :
    pls look at this link and help me with parallelly looping 2 different databases :-
    http://forums.sun.com/thread.jspa?threadID=5368358&messageID=10620723#10620723
    i am attaching the code i wrote to achieve it , but i know i am not right in looping : pls help me with this :-
    Query ABC Oracle database with the following:
                   ResultSet resultSet = statement.executeQuery("select sno,Description" +
                                             "from TableA ");
                   while(resultSet.next()) {
                        SerialCode= resultSet.getString(1);
                        Description= resultSet.getString(2);
                        newcode= Integer.parseInt(SerialCode);
    //               Query DEF Sybase database with the following:
              ResultSet resultSet1 = statementsyb.executeQuery("select Type,Text from TableB");                                                                            
                   while(resultSet1.next()) {
                             TypeCode = resultSet1.getInt(1);
                             TextDescription = resultSet1.getString(2);
                             if ((newcode == TypeCode) && (Description.equals(TextDescription))) {
                            }else if ((newcode == TypeCode) && (!(Description.equals(TextDescription))){
    //                       Prepare a statement to update the record
                                       String Sql = ("UPDATE TableB SET TextDescription = ' " + Description + " ',Abrevation = ' " + Description.substring(0,20) + "', " + .......................");
    //                       Execute the update Statement
                                       Count_updatedDescription_DEF = statementsyb.executeUpdate(Sql);
                            }else if (newcode > TypeCode) {
    //                       Prepare a statement to insert a record
                                       String Sql1 = ("INSERT INTO TableB(............) " +
                                                 "VALUES(...............)");
    //                       Execute the insert statement
                                       Count_NewType_DEF = statementsyb.executeUpdate(Sql1);
                            }else if (newcode < TypeCode) {
    //                       Prepare a statement to delete a record
                                      String Sql2 = ("DELETE from TableB where Type> '" + newcode + "'");
    //                       Execute the delete statement
                                      Count_DeletedType_DEF = statementsyb.executeUpdate(Sql2);
    //                       Prepare a statement to insert a record
                                      String Sql3 = ("INSERT INTO  TableB ...........");
    //                            Execute the insert statement
                                  Count_NewType_DEF = statementsyb.executeUpdate(Sql3);
                   resultSet1.close();
                   resultSet.close();
    {code}
    pls help                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Please continue the conversation in your original thread: [http://forums.sun.com/thread.jspa?threadID=536835]
    Thanks!

  • I have been using Itunes on my HP laptop for 12 months and over the past month have not been able to access the Itunes store or any of the Itunes Help type menu's. When in Itunes I click on the Store icon and the top middle box gets to Half way. Pls help

    I  have been using Itunes on my HP laptop for 12 months and over the past month have not been able to access the Itunes store or any of the Itunes Help type menu's. When in Itunes I click on the Store icon and the top middle box gets to Half way. Pls help

    I had the same tried loads of fixes
    saw this on the community from whatheck
    In windows 7 click on your start menu, go to the accessories, right click on the command icon and choose "run as administrator"
    Once it opens type the following command...
    netsh winsock reset
    Hit enter and it should say something like winsock reset successful now reboot your computer
    IT WORKED....... cleared all the "action2 on the CPU and loads IStore perfectly

  • How Can i SEt Dynamic Variant For WEEK on SELECTION Screen.pls help me..

    <b>Hi ALL..
    Pls Help Me for this Problem..i am very confused how can i do that...plese tell me proper process..
    i  want set Dynamice Varient for WEEK on Selection screen..
    I have ALrady SET Dynamice Varient for DATE on Selection Screen.ther isd option is D...but in case of WEEK there is a no option...
    Plese help me..
    thaks in advance..
    pls help me..</b>

    Hello,
    Define your select-option in TVARV (assume Z_THISWEEK). And use a program like:
    DATA:
      zlv_week TYPE KWEEK.
    call function 'DATE_GET_WEEK'       
       exporting date = syst-datum
       importing week = zlv_week.
    SELECT SINGLE *
          FROM tvarvc
         WHERE name = 'Z_THISWEEK'
           AND type = 'S'
           AND numb = '0000'.
    tvarvc-low = zlv_week.
    IF syst-subrc <> 0.
        tvarvc-name     = 'Z_THISWEEK'.
        tvarvc-type     = 'S'.
        tvarvc-opti     = 'EQ'.
        tvarvc-sign     = 'I'.
        tvarvc-numb     = '0000'.
        insert tvarvc.
    ELSE.
      update tvarc.
    ENDIF.
    Regards,
    John.

  • In my iphone6, voice over got switched on and screen got locked. Phone is not responding for slide but only responding for double tap. Phone is not accepting my passcode as I double tap in passcode screen. Single tap just gives a voice over. pls help

    In my iphone6, voice over got switched on and screen got locked. Phone is not responding for slide but only responding for double tap. Phone is not accepting my passcode as I double tap in passcode screen. Single tap just gives a voice over. pls help me to unlock the screen and switch off voice over

    Thanks a lot Sted !! It worked

  • Mac is enabling selective file opening after filter transfer on windows. Now it shows the newly transfered file however it cant be opened on the mac, pls help

    recently i bought a new WD 1tb hard drive to help me store more files from my mac. However as i need some files to be transfered from my old drive to my new one and since it will take ages as i have 120gb worth of pictures hence i let my laptop (pc) do the work while i used my mac to work. After completion, i realise when i connect to my new hard drive with the old files transfered in it. I can see all the files new ones which i transfer from my mac and old files from one old hard drive to the new one via the pc. The new files can be open and view with no dramas, sadly i cant say the same with the old files. I can see the folder but i cant open the folders let alone open the files. On the pc however no such drama, pls help.

    If I understand correctly you used your PC to copy files to an external HDD while you worked on your Mac, now when accessing your external HDD, you cannot access those files. Is this correct?
    If yes, the problem likely lies in how your HDD was formatted. Mac and Windows use different systems. If your HDD is NTFS or FAT, you should be able to read it with Mac, but you won;t be able to write to NTFS.
    A better way to transfer files to that external for use with your Mac is to format the drive using your Mac, connect both computers to your network and share the folder you need to copy files from on your PC. Connect to the folder in Finder on your Mac and copy them over to the external.

  • Why my apps are not transferring from PC to iPhone 5? When I connected to PC the icon shows when I select apps it show 'will install' but it never show on iPhone, I re installed iTunes, deleted all apps and downloaded again but its not working pls help.

    Why my apps are not transferring from PC to iPhone 5? When I connected to PC the icon shows when I select apps it show 'will install' but it never show on iPhone, I re installed iTunes, deleted all apps and downloaded again but its not working pls help.

    Next time an app update gets stuck try a reset. Press and hold both the home and power buttons for10-15 seconds till the Apple logo appears. Then release both buttons. Wait till your iPad starts on it's own. Try now. Also YouTube is still available. If you can't find it the the app store go to the bottom of the app store page and tap purchased. All your deleted apps will be listed and you can reinstall YouTube from there.

  • Meun selection..i can`t get back my main meun from my sub meun ...Pls help

    hi, all ...for the reson to make much more clearly. i stated my problem next to my code ....thc
    import java.util.InputMismatchException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    public class Test{
         //private Scanner theKbd;
         Test()
         private void heading()
              System.out.println("\tWhich country do u like to travel\t");
         private void countryPrompt()
              System.out.println("1. Asia");
              System.out.println("2. North America");
              System.out.println("3. Exit");
         private void EasternCountry()
              System.out.println("a. Japan");
              System.out.println("b. China");
              System.out.println("c.Back to the preivous meun");
         private void WesternCountry()
              System.out.println("a. U.S.A");
              System.out.println("b. Canada");
              System.out.println("c.Back to the preivous meun");
         private int getInteger(int checkThing, int lowerBound, int upperBound)
               int aInt = checkThing;
               try
                    while((checkThing < lowerBound ) || (checkThing > upperBound) )
                         throw new Exception("Invaild value....Please enter the value between  " +  lowerBound + " & " +  upperBound );
               catch (Exception e)
                 String message = e.getMessage();
                 System.out.println(message);
              //   System.exit(0);
              // t("Please the value between " +  lowerBound + "&" +  upperBound );
               return aInt;
          private int getValidSelectionValue(String userInstruction)
                int selectionValue;
                int validSelectionValue = 0;
                try
                     Scanner scan = new Scanner(System.in);
                     System.out.print(userInstruction);
                     selectionValue = scan.nextInt();
                     validSelectionValue = getInteger(selectionValue , 1, 3);
               catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return validSelectionValue;
           public static void main(String[] args)
              boolean quitMainMeun = false;
              boolean quitSubMeun = false;
              System.out.println("\tTesting Selection Meun\t");
              //end meun variable
              Test example1 = new Test();
              while(!quitMainMeun)
                   Scanner scan = new Scanner( System.in);
                   int operation;
                   example1.heading();
                   example1.countryPrompt();
                   operation = example1.getValidSelectionValue("Please enter your selection(1-3) :");
                   switch(operation)
                        case 1:
                             example1.EasternCountry();
                               while(! quitSubMeun)
                                     String strSelection;
                                    char charSelection;
                                              System.out.println("Please enter your selection(a ,b or c)" );
                                  strSelection = scan.next();
                    //calling checking error
                                              charSelection =  strSelection.charAt(0);
                                    switch(charSelection)
                                         case 'A':
                                                  case 'a':
                                         System.out.println("Your selection is Japan...thc");
                                         //save file and back to the
                                         break;
                                         case 'B':
                                         case 'b':
                                                           System.out.println("Your selection is China..thx");
                                         break;
                                         case 'C':
                                         case 'c':
                                         System.out.println("You are back to the preivous meun");
                                         quitSubMeun = true;
                                break;
                        case 2:
                             example1.WesternCountry();
                                while(! quitSubMeun)
                                     String strSelection;
                                    char charSelection;
                                              System.out.println("Please enter your selection(a ,b or c)" );
                                  strSelection = scan.next();
                    //calling checking error
                                              charSelection =  strSelection.charAt(0);
                                    switch(charSelection)
                                         case 'A':
                                                  case 'a':
                                         System.out.println("Your selection is U.S.A...thc");
                                         //save file and back to the
                                         break;
                                         case 'B':
                                         case 'b':
                                                           System.out.println("Your selection is Canada....thc");
                                         break;
                                         case 'C':
                                         case 'c':
                                         System.out.println("You are back to the preivous meun");
                                         quitSubMeun = true;
                                break;
                        case 3:
                             System.out.println("Thank you using our program");
                             quitMainMeun = true;
         //The error occurs in my meun.it work fine when i just go through all the main meun.However, once i try
         //to go to  my subMeun and try to get back to my main meun. I can`t select any value on my main meun..
           //i try it for a lot time and i can`t figure out this problem ...pls help ...give me some suggestion
    }

    I dont understand one thing. you are writing a simple program and created a whole bunch of code in which you got lost.
    Secondly why are you passing the choice in a method? i bet that is where the problem is.

Maybe you are looking for

  • Failed install of OSX Mavericks and my iMac is now saying the Macintosh HD is damaged and can't be repaired! Help!

    I need help getting my iMac working again. Last night I tried to install OSX Mavericks, my previous/current OS is 10.6.8 After restarting the Mavericks install screen appears and then stops and give me this error message: "Install Failed OS X could n

  • PO Exchange rate date

    Hi, I've an issue. Imagine that: The group currency is CHF Company Currency is GBP Document Currency is EUR The exchange rate of the PO is from EUR to GBP. Now I need to get the correct PO Price in group currency CHF. The PO date is 01.02.2011. If I

  • Simple text Editor App.. Saving Plain Text

    Hi All, I am trying to write my first text application in cocoa... I have got a working app from an Apple tutorial, however when saving, it uses the following: Code: - (NSData *)dataRepresentationOfType:(NSString *)aType NSData *data; [self setString

  • Banner Slider load function

    Hello all, I've got a problem with a AS 1-2 code. The problem is that I want to load external images. But it's keep giving me output errors, these are they: Error opening URL 'file:///C|/Users/Tim%20Backx/Documents/2.%20Stage%20werk/Website%20Visual%

  • How can I import image from printer

    Please send me mail