Read Current line PRoblem

Dear All ,
I am using Read Current line sattement as follows .
read current line field value
                  t_type4-bukrs into t_temp-bukrs
                  t_type4-belnr into t_temp-belnr
                  t_type4-NETCODE into t_temp-NETCODE
                  t_type4-UMSKZ into t_temp-umskz
                  t_type4-waers into t_temp-WAERS .
   t_type4-WRBTR into t_temp-WRBTR
  t_type4-UKURS into t_temp-UKURS .
I have commented the marked line it works fine . But I want to read WRBTR and UKURS also but it gives short DUmp.
These fields are frim BSID table . PLease Help me .

The problem surely lies in terms of variable definition... Change the defn of t_temp-wrbtr and ukurs to character...think it should work fine after that.
Regards
Anurag

Similar Messages

  • How to read current line number in function module sourrce code?

    Hi All,
    How to read current line number in function module sourrce code?
    regards,
    Anuj

    If you have new editor you would be able to see the line number. 
    Or in the Dump screen - there is a button called Debugger - click that you would be able to see the code where dump has occured..  you would be able to find the line number from there.
    To get the new editor with line number , you need to change the settingsin SE38.
    Regards
    Vivek

  • Read current line

    Hi Friends ,
    In my table control if i click any line then i have to go to next screen based on the line i have clicked.
    so, I need to capture the key fields to read the internal table for the get the value in next screen .
    i am tring to do with
    READ CURRENT LINE.
    Addition:
    ... FIELD VALUE f1 INTO g1
                     fn INTO gn                        ...
    which is not helping me ....
    Can any one guide me  how to read those values apart from get cursor values keyword
    Thanks
    Poornima

    Hi,
    first you have to find the current position of the cursor:
    GET CURSOR { { FIELD  field [field_properties] }
               | { LINE line } }.
    then you read your internal table with that information
    READ TABLE int_table index line.
    Read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] if found helpful!!!
    Edited by: Julius Bussche on Aug 11, 2008 10:36 AM

  • Read current line of structure

    Hi,
    I have need to read a structure (non internal tables) at the current line.
    With internal tables I use :
    DATA: riga_corrente  LIKE sy-stepl.
      GET CURSOR LINE riga_corrente.
      READ TABLE itab  INDEX riga_corrente.
    but with the structure don't work.
    Is it possible?
    Thanks!

    Hi Prabhu Das         
    I try it but I have this error:  "." expected after "PT9653".
      DATA: riga_corrente  LIKE sy-stepl.
      DATA: wa_doc TYPE pt9653.
      GET CURSOR FIELD pt9653-ztipo_docente LINE riga_corrente.
      READ TABLE pt9653 INTO wa_doc INDEX riga_corrente.
    After GET CURSOR FIELD statement, in the field pt9653-ztipo_docente, I always have value 'PT',      
    but on  the screen I  enter other values.

  • Acrobat Reader command line problem

    In windows xp professional I'm programatically creating a batch file and executing it (shell command in visual basic) to convert pdf files to Microsoft xps.
    The batch command looks like this one:
    "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" /t "D:\MyDir\Microsoft XPS Document\x.pdf" "Microsoft XPS Document Writer" /t "D:\MyDir\Microsoft XPS Document\x.xps".
    When the user logged in on the machine is an administrator, acrobat reader does the operation silently. When a normal user (not belonging to administrators group) is logged in on the machine, acrobat reader opens the save as dialog window requiring user interaction.
    The normal user has full control over the destination directory. I already tested giving the normal user full control over AcroRd32.exe and over cmd.exe with no success. I also tried in visual basic 2008 executing the command through System.Diagnostics.Process.Start with the exact same curious results.
    Can someone help.
    Thank you.

    Hi.
    I couldn't find a solution within Adobe for the problem I reported Oct 9, 2012, so I went to a fallback solution aimed to complete the needed stages. I'm posting here the visual basic 2008 code I wrote then. It is not a graceful solution and has some coarse code but was designed as part of an application that must keep processing files without user intervention. The procedure "followAcroRd32PDFtoXPS" must be called after the execution of a batch command like the described in the previous post:
    Module fallback
        Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Integer
        Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hwndParent As Integer, ByVal hwndChildAfter As Integer, ByVal lpszClass As String, ByVal lpszWindow As String) As Integer
        Declare Function GetDlgCtrlID Lib "user32" (ByVal hDlg As Integer) As Integer
        Declare Function SendDlgItemMessage Lib "user32" Alias "SendDlgItemMessageA" (ByVal hDlg As Integer, ByVal nIDDlgItem As Integer, ByVal Msg As Integer, ByVal wParam As Integer, ByVal lParam As String) As Integer
        Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer
        Const WM_SETTEXT = &HC
        Const BM_CLICK = &HF5
        Function FileInUse(ByVal filepath As String) As Boolean
            Dim f001 As Integer
            If System.IO.File.Exists(filepath) Then
                Try
                    f001 = FreeFile()
                    FileOpen(f001, filepath, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.LockReadWrite)
                    FileClose(f001)
                Catch
                    Return True
                End Try
            End If
        End Function
        'outpfile <-- path to the XPS Document to be created
        'starttime <-- system date and time when the batch command line was executed
        Sub followAcroRd32PDFtoXPS(ByVal outpfile As String, ByVal starttime As System.DateTime)
            Dim p As System.Diagnostics.Process, q As System.Diagnostics.Process, proc() As System.Diagnostics.Process
            Dim i As Integer, j As Integer
            Dim l As Long, memusage() As Long
            Dim t000 As System.DateTime
            Dim t999 As System.DateTime
            Dim hwnd As Integer, lObjhWndTB As Integer, lObjhWndBu As Integer
            Dim nIDDlgItem As Integer
            Dim resu As Integer
            dim maximumacrobatwaittime = 60 'seconds
            dim memoryusageinactivity = 12 'seconds
            dim acrord32pdftoxpstimelimit = 12 'seconds
            'Identify necessary Adobe Reader process
            t000 = DateTime.Now
            Do
                System.Threading.Thread.Sleep(1000)
                i = 0
                For Each p In System.Diagnostics.Process.GetProcesses
                    If LCase(p.ProcessName) = LCase("AcroRd32") Then
                        If Not p.StartTime < starttime Then
                            ReDim Preserve proc(i)
                            proc(i) = p
                            i = i + 1
                        End If
                    End If
                Next
                If i > 0 Then Exit Do
                t999 = DateTime.Now
                If DateDiff(DateInterval.Second, t000, t999) > maximumacrobatwaittime Then
                    Exit Sub
                End If
            Loop
            'Identify necessary window
            t000 = DateTime.Now
            Do
                System.Threading.Thread.Sleep(1000)
                hwnd = FindWindow(vbNullString, "Save the file as")
                If hwnd <> 0 Then
                    Exit Do
                End If
                t999 = DateTime.Now
                If DateDiff(DateInterval.Second, t000, t999) > maximumacrobatwaittime Then
                    Exit Sub
                End If
            Loop
            'Send click message to button save
            t000 = DateTime.Now
            Do
                System.Threading.Thread.Sleep(1000)
                lObjhWndTB = FindWindowEx(hwnd, 0, "ComboBoxEx32", "")
                If Not lObjhWndTB = 0 Then
                    nIDDlgItem = GetDlgCtrlID(lObjhWndTB)
                    resu = SendDlgItemMessage(hwnd, nIDDlgItem, WM_SETTEXT, 0, outpfile)
                    If resu > 0 Then
                        lObjhWndBu = FindWindowEx(hwnd, 0, "Button", "&Save")
                        If Not lObjhWndBu = 0 Then
                            resu = PostMessage(lObjhWndBu, BM_CLICK, 0, 0)
                            If Not resu = 0 Then
                                Exit Do
                            End If
                        End If
                    End If
                End If
                t999 = DateTime.Now
                If DateDiff(DateInterval.Second, t000, t999) > maximumacrobatwaittime Then
                    Exit Sub
                End If
            Loop
            'Adobe Reader eventually will enter inactivity after printing to XPS Document
            ReDim memusage(0)
            Do
                System.Threading.Thread.Sleep(1000)
                ReDim Preserve memusage(UBound(memusage) + 1)
                For Each p In proc
                    p.Refresh()
                    memusage(UBound(memusage)) = memusage(UBound(memusage)) + p.WorkingSet64
                Next
                If Not UBound(memusage) < memoryusageinactivity Then
                    j = 0
                    l = memusage(UBound(memusage))
                    For i = UBound(memusage) - 1 To UBound(memusage) - memoryusageinactivity + 1 Step -1
                        If l = memusage(i) Then j = j + 1
                    Next
                    Select Case j
                        Case memoryusageinactivity - 1
                            Exit Do
                        Case Else
                    End Select
                End If
            Loop
            'Wait for the new XPS Document
            t000 = DateTime.Now
            Do
                System.Threading.Thread.Sleep(1000)
                Select Case My.Computer.FileSystem.FileExists(outpfile)
                    Case True
                        If Not FileInUse(outpfile) Then Exit Do
                    Case Else
                End Select
                t999 = DateTime.Now
                If DateDiff(DateInterval.Second, t000, t999) > acrord32pdftoxpstimelimit Then
                    Exit Do
                End If
            Loop
            'Kill Adobe Reader process
            For Each p In proc
                p.Refresh()
                Try
                    p.Kill()
                Catch ex As Exception
                End Try
            Next
            'Kill eventual MS Windows error reporting system process
            For Each p In System.Diagnostics.Process.GetProcesses
                If LCase(p.ProcessName) = LCase("WerFault") Then
                    If LCase(p.MainWindowTitle) = LCase("Print driver host for 32bit applications") Then
                        For Each q In System.Diagnostics.Process.GetProcesses
                            If LCase(q.ProcessName) = LCase("splwow64") Then
                                Try
                                    q.Kill()
                                Catch ex As Exception
                                End Try
                            End If
                        Next
                        Try
                            p.Kill()
                        Catch ex As Exception
                        End Try
                    End If
                End If
            Next
        End Sub
    End Module

  • How to read a current line in table control in dialoug program ?

    How to read a current line in table control in dialoug program ?
    this code required to provide F4 help.

    Hi,
    You can use the variable <tablecontrol>-Currentline as Ebus says but there is a problem with this.Suppose there are 10 records in the table control with only 5 records visible then when u press a page down and press F4 the first record in page 2,  <tablecontrol>-Currentline will have value of 1 instead of 6.So you will need to write a small logic for that.
    index = ( <tablecontrol>-topline - <tablecontrol>-currentline ) + 1.
    read internal table itab at index.
    Hope this helps.
    Regards,
    Vivek

  • SapScript, How do I read the current line number?

    I have sections of text - each in it's own element with an 'include' of the standard text.
    These sections are variable in size.
    All elements are in the MAIN window.
    I do not want a paragraph to split over two pages.
    How do I read the current line number within the sapscript before the section prints so I can issue a new-page command at the beginning of the paragraph?
    Thanks!

    Yes, that does work for paragraphs.
    If I have multiple elements to print from within a loop where "at first, at each and at last" each call the Sapscript funtcion write_form - how can I keep the whole section together.  protect/endprotect will keep each element together but not the group of elements.
    There must be a way to find the current line number.

  • Can the current line be highlighted using a background color or have the cursor flash?

    I use the split screen and left click in the Design pane to jump to where I want to be in the Code pane in Dreamweaver CS6. The problem is that it can be very hard to tell where the cursor is in the Code pane since the cursor doesn't flash.
    Is there a way to force Dreamweaver CS6 to change the background color of the currently selected line or at least have the cursor flash in both panes? There must be some way to make it easier to find the current line of code.
    Thanks.

    John Waller wrote:
    The cursor does not flash in Code View only when Code View is not in focus i.e. you're working in the Design View window in Split View.
    In those caases, I just highlight a word or two in Design View and the corresponding words are highlighted by DW in Code View (even when Code view is not in focus).
    Thanks. I've been doing that, but sometimes there is no text to highlight. I hoped Dreamweaver might have a hidden setting that I could enable. That's a lot of extra sliding of the hand/wrist for no good reason when it would be easy for the Dreamweaver programmers to change the background color of the current line or make the cursor flash or do something else to indicate where you are in the code besides making the user constantly make a smearing action with the mouse. All of those extra movements add up the wear and tear when you're trying to avoid getting a repetitive stress injury, especially if you already use mouse gestures in a browser.

  • Goods despatched against to future schedule line rather than a current line

    Hi Guys,
    We have a problem with future schedule line in PSA  being ordered in the same time once previous lines is still open ( not yet issued and received).I thought it is related with Delivery creation where in VL10f you can select future line rather than any current lines.Even though when I selected any future entries, goods were despatched against to first open lines on delivery schedule therefore I has nothing in common.
    Have you seen it before and know what could cause that?
    Regards,
    JG

    .

  • Satellite 3000 screen vertical line problem

    my laptop is Satellite 3000 , it got vertical line problem now, i wanna use a outside CRT screen to replace the current damaged LED screen.
    I have tried to use FN-F5 swap key, but it is still doesn't work, i tried to log in the system to check it, (the system (windows xp) is normal), but i can't see anything because the screen is black, it won't get in the system even if i connected it in to the LAN, because the laptop network function configuration is not allow connect with internet,( i did ghost before it completely damaged), the question is :
    1, do i need to configure something so as to it can use outside screen in windows XP system? or just use FN-F5 swap key?
    2, how will i do next step if i wanna use the outside screen ?
    thx a lot

    Hello
    If the notebook is preinstalled with all Toshiba designed tools and utilities FN+F5 key combination should work. Of course the external monitor should be connected properly.
    If you are missing some tools FN+F5 key combination will not work.
    What I want to know is what happens exactly when you use FN+F5 key combination? Stays the LCD screen black or switch to the right picture again? As far as I know if you use FN+F5 key combination and LCD on the notebook stays black that means the signal is send to external device but if the monitor is not connected properly or there is some contact problem you will not see the content on external monitor.
    Believe me it is not easy to say what is wrong there but if possible try to test it with different monitors. Satellite 3000 is pretty old notebook model and maybe is RGB port defective.

  • How can I input read a line from a file and output it into the screen?

    How can I input read a line from a file and output it into the screen?
    If I have a file contains html code and I only want the URL, for example, www24.brinkster.com how can I read that into the buffer and write the output into the screen that using Java?
    Any help will be appreciate!
    ======START FILE default.html ========
    <html>
    <body>
    <br><br>
    <center>
    <font size=4 face=arial color=#336699>
    <b>Welcome to a DerekTran's Website!</b><br>
    Underconstructions.... <br>
    </font> </center>
    <font size=3 face=arial color=black> <br>
    Hello,<br>
    <br>
    I've been using the PWS to run the website on NT workstation 4.0. It was working
    fine. <br>
    The URL should be as below: <br>
    http://127.0.0.1/index.htm or http://localhost/index.htm
    <p>And suddently, it stops working, it can't find the connection. I tried to figure
    out what's going on, but still <font color="#FF0000">NO CLUES</font>. Does anyone
    know what's going on? Please see the link for more.... I believe that I setup
    everything correctly and the bugs still flying in the server.... <br>
    Thank you for your help.</P>
    </font>
    <p><font size=3 face=arial color=black>PeerWebServer.doc
    <br>
    <p><font size=3 face=arial color=black>CannotFindServer.doc
    <br>
    <p><font size=3 face=arial color=black>HOSTS file is not found
    <br>
    <p><font size=3 face=arial color=black>LMHOSTS file
    <br>
    <p><font size=3 face=arial color=black>How to Setup PWS on NT
    <BR>
    <p><font size=3 face=arial color=black>Issdmin doc</BR>
    Please be patient while the document is download....</font>
    <font size=3 face=arial color=black><br>If you have any ideas please drop me a
    few words at [email protected] </font><br>
    <br>
    <br>
    </p>
    <p><!--#include file="Hits.asp"--> </p>
    </body>
    </html>
    ========= END OF FILE ===============

    Hi!
    This is a possible solution to your problem.
    import java.io.*;
    class AddressExtractor {
         public static void main(String args[]) throws IOException{
              //retrieve the commandline parameters
              String fileName = "default.html";
              if (args.length != 0)      fileName =args[0];
               else {
                   System.out.println("Usage : java AddressExtractor <htmlfile>");
                   System.exit(0);
              BufferedReader in = new BufferedReader(new FileReader(new File(fileName)));
              StreamTokenizer st = new StreamTokenizer(in);
              st.lowerCaseMode(true);
              st.wordChars('/','/'); //include '/' chars as part of token
              st.wordChars(':',':'); //include ':' chars as part of token
              st.quoteChar('\"'); //set the " quote char
              int i;
              while (st.ttype != StreamTokenizer.TT_EOF) {
                   i = st.nextToken();
                   if (st.ttype == StreamTokenizer.TT_WORD) {          
                        if (st.sval.equals("href")) {               
                             i = st.nextToken(); //the next token (assumed) is the  '=' sign
                             i = st.nextToken(); //then after it is the href value.               
                             getURL(st.sval); //retrieve address
              in.close();
         static void getURL(String s) {     
              //Check string if it has http:// and truncate if it does
              if (s.indexOf("http://") >  -1) {
                   s = s.substring(s.indexOf("http://") + 7, s.length());
              //check if not mailto: do not print otherwise
              if (s.indexOf("mailto:") != -1) return;
              //printout anything after http:// and the next '/'
              //if no '/' then print all
                   if (s.indexOf('/') > -1) {
                        System.out.println(s.substring(0, s.indexOf('/')));
                   } else System.out.println(s);
    }Hope this helps. I used static methods instead of encapsulating everyting into a class.

  • How to read some lines from a text file using java.

    hi,
    i m new to java and i want to read some lines from a text file based on some string occurrence in the file. This file to be read in steps.
    we only want to read the file upto the first Occurrence of "TEXT" string.
    How to do it ,,,
    Kinldy give the code
    Regards,
    Sagar
    this is the text file
    dfgjdjj
    sfjhjkd
    ghjkdg
    hjkdgh TEXT
    ikeyt
    ujt
    jk
    tyk TEXT
    rukl
    r

    Hendawy wrote:
    Since the word "TEXT" is formed of 4 letters, you would read the text file 4 bytes by four bytes. Wrong on two counts. First, the file may not be encoded 1 byte per character. It could be utf-16 in which case it would be two byte per character. Second, even if it were 1 byte per character, the string "Text" may not start on a 4 byte boundary.
    Consider a FileInputStream object "fis" that points to your text file. use fis.read(byte[] array, int offset, int len) to read every four bytes. Convert the "TEXT" String into a byte array "TEXT".getBytes(), and yous the Arrays class to compare the equality of the read bytes with your "TEXT".getBytes()Wrong since it relies on my second point and will fail when fis.read(byte[] array, int offset, int len) does not read 4 bytes (as is no guaranteed to). Check the Javadoc. Also, the file may not be encoded with the default character encoding.
    The problem is easily solved by reading a line at a time using a BufferedReader wrapping an InputStreamReader wrapping a FileInputStream and specifying the correct character encoding.
    Edited by: sabre150 on Apr 29, 2009 2:13 PM

  • How do i read complete line from a text file in j2me?????

    how do i read complete line from a text file in j2me????? I wanna read file line by line not char by char..Even i tried with readUTF of datainputstream to read word by word but i got UTFDataFormatException.. Please solve my problem.. Thanks in advance..

    That is not my problem . i already read it char by char.. i am getting complete line..But this process is taking to much time..So thats why i directly wanna read complete line or word to save time..

  • Read file line by line

    Hi
    Could somebody tell me how to read file line by line ? Namely my input file I want to read look as follow:
    AAA 1, 1
    12 222 12
    AAA 2, 2
    11 122 11
    My output file should look as follow:
    1, 1, 12
    1, 1 222
    1, 1, 12
    2, 2, 11
    2, 2, 122
    2, 2, 11
    I think the lines need to be stored in ArrayList, then I would like those lines to write to csv file, but how on read I can construct such output file? This is my code for reading file
    public ArrayList readFile(String filename)
      try
         BufferedReader in = new BufferedReader(new FileReader(filename));
         ArrayList list = new ArrayList();
         String lineS = null;
         while (in.ready())
          if ((lineS = in.readLine()).startsWith("")){
            String[] line = in.readLine().trim().split("\\s+");
            list.add(Integer.valueOf(line[0]));
            list.add(Integer.valueOf(line[1]));
            list.add(Integer.valueOf(line[2]));
         in.close();
         return list;
         catch (Exception e)
       e.printStackTrace();
    return null;
    Thanks

    The rules for the conversion from input to the desired output are:
    1. For each of the line with string take 2 integers for example 1, 1  from AAA 1, 1
    2. Then repeat 1, 1 for each next number not containing any string, so if the line after AAA, 1, 1 has 12, 222, 12 then the output will look as follow
    1, 1, 12
    1, 1 222
    1, 1, 12
    3. Repeat the process (the pattern is the same 1 line with string 1 line with numbers)
    Actually I am not sure how to perform that logic for such conversion as for now I am only able to list only the numbers but I have a problem to add numbers from the line having string in it.
    STOP!
    You should NOT be writing code if you are 'not sure how to perform that logic'.
    You are getting ahead of yourself.
    There is NOTHING to gain by trying to code a solution before you know what algorothm you need. Big mistake.
    Should I use list or maybe if the patter for lines is the same array will be more sufficient?
    NEITHER ONE!
    Those are 'solutions' used to implelment an algorothm.
    You do NOT yet know what algorithm you need to use so how can you possibly write code to implement the unknown?
    How to perform logic to get the numbers from line having string and for the next lines having only numbers in order to structure it into desired output? 
    THAT is the question your thread subject should have.
    Until you get the answer to it don't write any code,.
    Do NOT try to automate what you can't do manually.
    Write down, on paper or use an editor, the step by step 'logic' you need and walk through that logic from beginning to end until the 'logic' works and produces the correct result.
    You just now have started to do that when you listed those rules above.
    But you left some things out. Expand on that list of 'rules' and provide a little more example data. TPD has given you a good example. Reread what they said.
    Did you notice they start by talking about 'tasks': what each task does and the order the tasks need to be performed.
    That 'task list' has NOTHING to do with Java, C, or any other language: it is identifying the problem/algorithm. Until you have that coding is premature.

  • Intermittent noisy line problem

    Hi.  Just about tearing my hair out over a line problem which has been giving trouble on & off for over 6 months.  The line becomes very noisy from time to time, depending on weather it seems.  We have had similar problems ever since moving here 13 years ago - the line runs overhead through woodland for about 4km to the exchange - and each time it is a corroded wire due to water penetration somewhere along the route.
    This time the engineer cannot locate the fault.  He agreed there was noise but the equipment he had could not locate where it was.  He advised calling another engineer when it was bad and hopefully he would be able to locate it.  However, I have just noticed that BT has charged me £127 for the visit, even though there was no suggestion that the fault lay with the internal wiring or equipment - heck, I even gave the guy a cuppa tea!
    Any advice on (a) getting the charge reversed and (b) getting the fault sorted.  Sometimes the line is so bad I have to resort to mobile, and the broadband speed can drop to a few hundred kbps.  Grrrrrr.
    Solved!
    Go to Solution.

    Try contacting the board mods
    At [email protected] with a link to this post and your bt account no and phone no they will reply within a few days and are great at sorting these sort of problems
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

Maybe you are looking for

  • Creating PDF with XML and APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT

    I am trying to generate a PDF report with an existing BLOB stored in a table being applied to a report template. Here is my procedure. declare doc blob; begin select img into doc from table where id = :P1_SEL_ID; APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT ( p

  • Flash and XML help : (

    Hi all bit of a newbie, so probably quite easy if you know how:eek: would anyone beable to help with sorting out an XML file, what I have is a tooltip that loads in via XML and exported from flash. the XML loads in 2 text fields,  field and field2. w

  • The [b]instanceof[/b] operator

    Hello again world. Here's the code in question: import java.awt.*; import javax.swing.*; class InstanceOperator      public static void main(String args[])           JButton poo = new JButton();           if (poo instanceof JComponent)              S

  • Iphone not showing up in itunes, iphone not showing up in itunes

    Just got the iphone 5 and want to add my music and pictures to it, but of course it cant be easy, been trying to get my itunes to recognize the phone but it wont happen... Have already tried resetting my iphone and installing the newest version of It

  • "6 photos have been found in the iPhoto Library that were not imported".

    Why do I get this message twice every time I open iPhoto? Whether I click yes or no, I get 2 folders of recovered photos that are empty. It is driving me crazy and I end up with hundreds of these folders containing nothing. I am new to Mac. Please ca