PO ME22N and debugging

I set  breakpoints at MEDRUCK(SE71) and in program SAPFM06P(SE38).
When I use the 'Print Preview' I am able to debug the program
When I change something and 'SAVE' the document, the program doesn't stop at the break-points.
Does anybody know an easy way (not using 1000 times the single step option) ,
to debug the program?
Thank you

Hi,
Printing Triggers in update task during V2 update. To degub while debugin, you have to trun on "updating dabugging". To do this follow this steps.
- Go to ME22N and make whatever changes you want.
- Goto messages and select the output for "print". ( if it is auto determine that is fine too. )
- turn on the debugging with '/h'. Save the PO
- Not the debuger will start. While you are in debuger screen, select the tab "Settings". This is the last tab in the same line as "fields" "table" etc.
- Select this "settings" tab. On this tab, you will see a field call "Update debugging". Check this field. Save your setting.
- Now you have turn the 'Update debugging' on. Hit F8.
- This will open one more session for 'Update debuggin".
- Now on this screen you select path "Breakpoint --> Breakpoint at --> Statement / Subroutine / Function module ". Set appropriate break point at per your requirement. Hit 'Save" on the top again.
- Now hit F8. Program will stop at the break point you have set.
Remember, if you have set a breakpoint before turning the updating debuggin on, it won't stop there. You have to set breakpoint once you are in update debugging.
Let me know if you have any question.
Regards,
RS

Similar Messages

  • Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?

    Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; I get the "end program" message and have to say "end now"it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?
    - I've used Firefox exclusively for around 2 years.
    - My outlook express has no problems
    - other programs seem unaffected; it seems peculiar to Firefox.
    - my main use is surfing the net, primarily entering competitions on line via specialist competition sites.
    - every day at some stage(s) I have to switch computer off as Firefox has got very slow/sticky/freezes.
    I'm not techy by any means, but I can only thing of un- and re-installing to hopefully start with a clean slate.

    Sounds like something is keeping Firefox from closing properly. See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • How can I build and Debug Tomcat 5.5 under Eclipse?

    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/building.html
    I am doing some rearch on Tomcat and want to build and debug Tomcat5.5 under Eclipse. Originally tomcat is built with ANT, it downloads all components from different CVS and build them together.
    I'd like to import Tomcat Source code (only the core components, such as catalina and Coyota, Jasper) and build them with Eclipse Bilder, so I can debug it as a normal JAVA program under DEGUB-View.
    Who has such experience and help me? I havd built Jetty under Eclipse, but Tomcat is much more complex.

    Help

  • Hiding a customized tab (from header and item) in ME21N, ME22N and ME23N

    Hi SAP gurus,
    I need to make invisible a customized tab in Po creation(me21n), change(me22n) and display(me23n) in enjoySAP transaction for a particulat Doucument type.
    Please let me know the possibility and the solution to implement.
    Thanks,
    Kishore P

    Hi Kishore,
    The customized tab cannot be made visible or invisible conditionally. Instead you can write some text inside the tab to distinguish between different document types.
    Hope this helps.
    Regards,
    Abhijeet Kapgate

  • Short dump while change/display a PO ME22N and ME23N

    while i try to use tcode ME21N it works but when try to use Tcode ME22N and ME23N it gives me a short dump
    as i have pasted the short dump screen shot in this thread please have a look and reply .
    offering points is against the forums RoE
    Message was edited by: Suhas Saha

    Did you check for OSS notes (as this seems to be a standard program) - e.g. 1930814 - Exception NOT_FOUND in the program /NFM/SAPLSELECTS. If no OSS note solved the problem, then raise an OSS message.
    Regards,
    Raymond
    PS: And don't promise points, it's against The SCN Rules of Engagement

  • Dump While Executing ME21N, ME22N and ME23N

    Hi,
    Am getting the below Short Dump while executing ME21N, ME22N and ME23N.
    Runtime Errors         SYNTAX_ERROR
    Date and Time          08.07.2009 15:41:00
    |Short text                                                                               
    Syntax error in program "ME_PROCESS_PO_CUST============CP ".
    |What happened?                                                                               
    |    Error in the ABAP Application Program                                                                               
    |                                                                               
    |    The current ABAP program "CL_EX_ME_PROCESS_PO_CUST======CP" had to be                     
    |     terminated because it has                                                                               
    |    come across a statement that unfortunately cannot be executed.                                                  
    |                                                                               
    |    The following syntax error occurred in program                                                                             
    |     "ME_PROCESS_PO_CUST============CP " in include                                                                 
    |     "ME_PROCESS_PO_CUST============CM000 " in                                                                      
    |    line 14:                                                                               
    |    "The specified type cannot be converted into the target variables."                         
    |    " "                                                                               
    |    " "                                                                               
    |    " "                                                                               
    |                                                                               
    |    The include has been created and last changed by:                                           
    |    Created by: "SILABAP "                                                                      
    |    Last changed by: "SILABAP "                                                                 
    |    Error in the ABAP Application Program                                                        
    |                                                                               
    |    The current ABAP program "CL_EX_ME_PROCESS_PO_CUST======CP" had to be                     
    |     terminated because it has                                                                   
    |    come across a statement that unfortunately cannot be executed.                               
    |Error analysis                                                                               
    |    The following syntax error was found in the program                                          
    |     ME_PROCESS_PO_CUST============CP :                                                          
    |    "The specified type cannot be converted into the target variables."                          
    |    " "                                                                               
    |    " "                                                                               
    |    " "                                                                               
    |Trigger Location of Runtime Error                                                                
    |    Program                                 CL_EX_ME_PROCESS_PO_CUST======CP                     
    |    Include                                 CL_EX_ME_PROCESS_PO_CUST======CM001                  
    |    Row                                     1                                                    
    |    Module type                             (METHOD)                                             
    Module Name                             IF_EX_ME_PROCESS_PO_CUST~INITIALIZE
    |Source Code Extract                                                                               
    |Line |SourceCde                                                                               
    |>>>>>|method IF_EX_ME_PROCESS_PO_CUST~INITIALIZE.                                                
    |    2|  CLASS CL_EXIT_MASTER DEFINITION LOAD.                                                    
    3
    |    4|  DATA l_badi TYPE REF TO ME_PROCESS_PO_CUST.                                              
    5
    6
    7
    8
    9
    |   10|  TRY.                                                                               
    11
    |   12|    GET BADI l_badi                                                                        
    |   13|     CONTEXT me.                                                                           
    14
    |   15|    CALL BADI l_badi->INITIALIZE                                                           
    |   16|.                                                                               
    17
    18
    19
    |   20|    CATCH CX_BADI_NOT_IMPLEMENTED CX_BADI_INITIAL_REFERENCE.                               
    Please let me know is there any OSS note to resolve the Issue.
    Thanks,
    Subas

    Hi,
    when I try to do the same in my system SAP gives me an information message as follows:-
    Changes to transported Business Add-In definitions are incompatible
    Message no. ENHANCEMENT236
    Diagnosis
    This business add-in definition has already been transported. Subsequent changes could invalidate existing business add-in implementations.
    System Response
    The runtime behaviour is no longer predictable. Syntax errors or short dumps may occur.
    Procedure
    If possible, do not make these changes. Alternatively, create a new business add-in definition incorporating the changes and use it, along with the existing definition.
    It clearly indicates that the BADI definition should not be changed if active implementations already exists.
    I am really now not sure how to solve your issue.
    Try deactiviting the standard BADI implementation.
    Then again add the filter and then remove it.
    And then try activating the BADI implementation once again.
    Regards,
    Ankur Parab

  • EXIT BADI FOR ME21N ME22N AND ME23N

    Hello Boys.
    I want  to change the field 'Tax code' (MWSKZ) in a Purchase order on transaction ME21N, ME22N AND ME23N.
    I want to change thios field in a BADI, USER EXIT or ENHANCEMENT-POINT.
    But I can't find where change this field.
    thanks for your help.
    Best regards.

    Try Badi : ME_PROCESS_PO_CUST
        CALL METHOD im_item->get_data
          RECEIVING
            re_data = v_data_item.
    Your code to change the tax code
    CALL METHOD im_item->set_data( v_data_item ).
    <REMOVED BY MODERATOR>
    Edited by: Aparna Shekhar on Jun 12, 2008 11:33 AM
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 12:52 PM

  • Batch creation through ME21N, ME22N and MSC1N

    Hi All,
    Please note we are already using EXIT_SAPLV01Z_001, EXIT_SAPLV01Z_002, EXIT_SAPLV01Z_003, EXIT_SAPLCLFM_002, EXIT_SAPLV01Z_012, EXIT_SAPLV01Z_014 for Batch creation based on different logics for Material type, Plant and PO doc type and currently using these exits for logic it allows us to create new internal batch number during PO creation (ii) change already existing batch with some new number (of couse this number must not be used in some other PO) in PO change and (iii) create new internal batch number using MSC1N, by inputing plant, stor. loc etc. But currently i can create batch with 1 digit, 2 digit, and so on.
    The requirement is to allow user to create batches only with 10 digits during:
    (i)PO creation (ME21N)and PO change(ME22N) and also during
    (ii) transaction MSC1N
    currently in all three ME21N, ME22N or MSC1N it allows to create batch with 1 digit, 2 digit,3 digit and so on . i want to create batch with only 10 digit.
    Please tell this is possible through configuration steps or some changes are required to be done in above said user exit.
    Regards
    Rahul Shukla

    Hi Jurgen,
    Thanks for your reply.
    In ME21N i am able to assign batch in PO
    (1) By clicking on 'create' button appearing just side of Batch field in item Tab "Material". I think this create button is appearing due to user exit being applied here. Here it creates and assigns internal number automatically (from range 01in Batch_Clt) based on the Material type and Plant combination (Some logic defined in user exit)
    (2) By putting any random number manually (both numeric and alphanumeric)whether 1 digit, 2 digit,3 digit in Batch field in item Tab "Material" it will accept and in this case also po is saved.
    same way i can do changes in batch number in ME22N and able to save.
    In MSC1N also due to user exit applied if i give Material number alone  and enter, it assignes the internal batch number based on Material type and plant logic defined in user exit.here also if i input some random number manually in batch field it accepts and that random batch number is created for material.
    Now i want that i should be able to put random batch number manually but that number must be out of the number ranges defined in Batch_CLT object (Also the number must be exact 10 digits length as is there in defined number ranges) and not any random alphanumeric number . Also i am not able to understand how it is accepting random alphanumeric number (like ABC111)although all number ranges defined are numeric only.Also external number range is 0008000001 - 0089999999 which is numeric only.
    Regards
    Rahul

  • How to deploy and debug Central Office 13.0.1 Application in Oracle AS

    Hi,
    Can anybody please explain me how to deploy and debug Central Office 13.0.1 / 13.1.1 Application in Oracle Application Server via Ecllipse IDE.
    Please explain this:
    1. Run the Oracle Application Server in debug mode from Ecllipse IDE.
    2. Deploy the Central Office 13.0.1 into Application Server from Ecllipse IDE and able to debug the code.
    3. Restart the Oracle Application Server in debug mode from Ecllipse IDE.
    Thanks
    SRR

    I got the solution

  • Deployment and debugging from JBuilder

    Hi,
    i build a JATO application that deployed as a war file and run
    perfectly on an external Tomcat.
    But running this app on the integrated Tomcat of the JBuilder tool
    results in the following error :
    Application Error - javax.servlet.ServletException: Invalid reqest -
    request handler "Login" not found
    On that way, debugging the application is not possible.
    Any idea what's wrong ?
    I've heard there is a deployment tool document ? Where is it ?
    thanks for your help

    Hi--
    None of our team has experience running JATO apps in JBuilder. The main
    thing to check when running in an IDE is that the web.xml is properly
    registered. Because you've received a JATO error, I assume it is in your
    case. Therefore, it must be something else.
    The error you sent means that the lookup for the LoginViewBean class failed.
    This is probably a silly question, but are all of your classes compiled and
    under the /WEB-INF/classes directory? Any other reason your application
    classes might not be found?
    Todd
    Todd Fast
    Senior Engineer
    Sun Microsystems, Inc.
    todd.fast@s...
    ----- Original Message -----
    From: <donnetmonay@y...>
    Sent: Tuesday, November 20, 2001 1:26 AM
    Subject: [iPlanet-JATO] deployment and debugging from JBuilder
    Hi,
    i build a JATO application that deployed as a war file and run
    perfectly on an external Tomcat.
    But running this app on the integrated Tomcat of the JBuilder tool
    results in the following error :
    Application Error - javax.servlet.ServletException: Invalid reqest -
    request handler "Login" not found
    On that way, debugging the application is not possible.
    Any idea what's wrong ?
    I've heard there is a deployment tool document ? Where is it ?
    thanks for your help
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • How to Validate Newly Added Fields for ME22n and ME23n

    Hi Experts,
    I have added 2 fields at the item level of PO Change and display(ME22n and ME23n). I used the BADIs ME_GUI_PO_CUST and ME_PROCESS_PO_CUST and got that displayed.
    I got a new tab at Item level and my fields are displayed there.
    My problem is how to populate or validate the values into that fields now. The validations have to be done per each item. I would like to have some sample code.
    Useful answers are surely rewarded.
    Thnks in Adv.
    Bhupal

    Thank U Sudha.
    But How can i do the same with BADIs??
    Reply soon.
    Thnx in advance
    Bhupal

  • Alv grid - call transaction 'ME22N' and reflect the change made in alv grid

    Hi,
    <u>Scenario</u>
    I have an alv list which has fields Purchase document no. (EBELN) and Item delivery date (EINDT). EBELN field is hot spot enabled. when i click on that transaction 'ME22' is called. I have done this using USER_COMMAND subroutine.the code is given.
          FORM USER_COMMAND                                             *
    Call transaction ME22N on clicking Document number                 *
    FORM USER_COMMAND USING F_UCOMM LIKE SY-UCOMM
                    I_SELFIELD TYPE SLIS_SELFIELD.
      DATA: F_SUBRC LIKE SY-SUBRC,
            s_arseg like G_T_PORD. "the internal table used is G_T_PORD
      CASE F_UCOMM.
        WHEN '&IC1'.
          IF i_selfield-fieldname = 'EBELN'.
            READ TABLE G_T_PORD INDEX i_selfield-tabindex INTO s_arseg.
            SET PARAMETER ID 'BES' FIELD s_arseg-ebeln.
            CALL TRANSACTION 'ME22N' AND SKIP FIRST SCREEN.
          ENDIF.
      ENDCASE.
    endform.
    <u>Requirement</u>
    After calling the transaction, If the user changes the Item delivery date (EINDT) at the ME22 transaction screen, the new date needs to be reflected in the ALV grid.
    Plz help it is very urgent.

    The first method (using selfield-refresh = 'X'.) didn't work as the internal table doesnt get modified when the user make changes in Item delivery date(EINDT) at ME22 transaction screen. The 2nd method is OO,which can't be used in my case.
    I tried calling the subroutine for populating the itab (G_T_PORD) and the subroutine for displaying the alv grid immediately after calling ME22N transaction. Still it is not reflecting the new date in the output alv. The code is given below.
          FORM USER_COMMAND                                             *
    Call transaction ME22N on clicking Document number                 *
    FORM USER_COMMAND USING F_UCOMM LIKE SY-UCOMM
                    I_SELFIELD TYPE SLIS_SELFIELD.
      DATA: F_SUBRC LIKE SY-SUBRC,
            s_arseg like G_T_PORD.
      CASE F_UCOMM.
        WHEN '&IC1'.
          IF i_selfield-fieldname = 'EBELN'.
            READ TABLE G_T_PORD INDEX i_selfield-tabindex INTO s_arseg.
            SET PARAMETER ID 'BES' FIELD s_arseg-ebeln.
            CALL TRANSACTION 'ME22N' AND SKIP FIRST SCREEN.
          ENDIF.
      ENDCASE.
            refresh G_T_PORD.
            perform F1000_POPULATE_PO.
            perform F2000_DISPLAY_PO .
    endform.

  • How to deploy and debug java web service in eclipes or using any other soft

    Hai,
    can any one tell me how to deploy and debug java web service in eclipes or using any other software.
    i have used tomcat web server and jdk1.4.0 to develop web service.
    we have used web service to interact with MS outlook .
    bye
    sudhakar.m

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • Exit or enhancement for ME21, ME22, ME21N, ME22N and ME27

    Can anyone tell me an exit which can be used for ME21, ME22, ME21N, ME22N and ME27.
    I tried using EXIT_SAPMM06E_006, it did not work as the values get cleared from the internal table once out of the Exit.
    Requirement:
    Need an user exit which is common to transactions ME21, ME22, ME21N, ME22N and ME27 to block the line item of a purchase order based on following conditions:
    u2022     Document type is u2018xxu2019 or u2018yyu2019
    u2022     IF Condition type u2018aau2019 or u2018bbu2019 exist in the PO line item
    Please advice

    USe export to database indx..
    check this wiki for more info
    http://wiki.sdn.sap.com/wiki/display/Snippets/ImportandExporttoCluster+Databases

  • Build and Debug Problem 10.2

    I just installed 10.2 and did a Build and Debug. I got an error that it couldn't run. It is saying that some property in the Oracle web determination has to be set in the application.properties file. I have no idea what the message is talking about. Any help is greatly appreciated.
    Thanks,
    Terry

    Thanks
    I changed the enable.debugger to true and saved the application.properties file
    Opened the project and did a build and debug. Got this message
    type Exception report
    message. Does the fact that this project isn't in the Projects directory matter?
    Thanks,
    Terry
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet WebDeterminationsServlet threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    root cause
    com.oracle.determinations.interview.engine.exceptions.RulebaseLoadingException: could not load rulebase: E-Verify
         com.oracle.determinations.interview.engine.local.LocalInterviewRulebase.getRulebase(LocalInterviewRulebase.java:163)
         com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:86)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:91)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:34)
         com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:163)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.io.IOException: Caught exception class javax.xml.stream.XMLStreamException: Unexpected schema version in screens file: 5
         com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:260)
         com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:139)
         com.oracle.determinations.engine.local.CachingRulebaseLoader.loadRulebase(CachingRulebaseLoader.java:308)
         com.oracle.determinations.engine.local.LocalEngine.getRulebase(LocalEngine.java:192)
         com.oracle.determinations.interview.engine.local.LocalInterviewRulebase.getRulebase(LocalInterviewRulebase.java:151)
         com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:86)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:91)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:34)
         com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:163)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.31 logs.
    Apache Tomcat/5.5.31

Maybe you are looking for

  • Report generation issue

    what are the diff report generation issues?

  • Print file deletes before print job is finished

    I have been trying to print a file about 119 pages it has some color graphics and some photos within the text from adobe it printed about 25 pages good then it stopped and deleted the file I have tried to print 1 page at a time some print and some ju

  • I keep getting Error 7 after I have reinstalled iTunes. What should I do?

    I keep getting Error 7 after I have re installed iTunes. What should I do?

  • Barcode Reader with java

    I�m graduating in IT and todo so my group has to provide a software that establishes communication with a barcode reader. Is it possible in java, which classes could I use, where can I get more information about integrating java with barcode readers?

  • Forgot to turn off find my iphone and reset phone

    Didn't turn off find my iphone and sold my 5c. They reset the phone and now can't log out of my icloud on the phone. Tried resetting and now says verification failed an SSL error has occurred and a secure connection to the server cannot be made. That