Regarding closing the thread

experts,
how to close the answered posted threads from the forum.
thanks and regards

hii
Above your thread there will be a small message displayed like
Your question is not answered.
Mark as answered.
from there you can click on mark as answered..and your thread will be closed ..another option is if you give 10 points to somebody's answer then also that thread will be closed automatically.
regards
twinkal
Edited by: twinkal patel on Jul 24, 2008 8:54 AM

Similar Messages

  • Where to find old thread/post and closed the thread

    where to find old thread/post and closed the thread
    i try to search by email id, by userid but no results display at all only new post are shown

    Hi,
    where to find old thread/post and closed the thread
    i try to search by email id, by userid but no results display at all only new post are shownMake sure that u have specified the Correct date range parameter as required.
    Regards,
    X A H E E R

  • DataInputStream.close() is blocking while closing the thread's stream.Why?

    I have a DataInputStream in my thread as
    DataInputStream dis = new DataInputStream(System.in);
    I have written a method for closing that DataInputStream as
    public void closeStream(){
    dis.close();
    But when I call closeStream method from my program as
    t.closeStream();
    it blocks the program execution. I have to press 'Enter' to continue.
    Why is it so?
    Thanx in Advance.

    You're creating the DataInputStream around the standard input. Assuming you haven't reassigned System.in, I'm pretty sure that you can't close it. At least, you shouldn't be able to close the standard input.

  • Regarding closing the cursor

    Hi,
    I've one doubt. If we've opened any cursor in pl/sql session, & did not close it during code run, is there any chance that the cursor will remain open?
    My problem here is as below:
    We're calling a pl/sql package through a java based application, & the connection will automatically close oracle session after 1/2 hour inactivity. But the oracle session is not getting closed. Probability is that the oracle session is still active(which may be because of open cursor)
    Inside a package, a open cusror call was made, but there was no close cursor statement. Can this statement create any problem like above or is there any other possibility.
    Thanks
    Deepak

    The issue seems to be a concern that rows listed in V$OPEN_CURSOR are currently open. My experience is that that may not necessarily be the case.
    While rows in V$OPEN_CURSOR were probably open sometime in the recent past, there's no guarantee they are open RIGHT NOW. Sometimes entries get left in the V$ tables long after I think they should be aged out (this morning I found a last executed time in V$SYSSTAT from 2 days ago). Conversely, sometimes I cannot find things I am looking for that are running right now.
    I agree with Rob's assessment that if you're not using a cursor it needs to be closed to release system resources.

  • Regarding Closing the application

    Hai Experts,
    I have developed an application with table UI element and in that table if i select the record i.e lead selection it has to navigate to another new application.This operation is working fine but if the new application opens on that time i need to close the application with table UI element.
    I dont know how to close the application .Can u tell me the solution? 
    With Regards

    Hi,
    Here u can make use of Exit Plug.In the window create an outbound plug of Exit type with Interface Check box ticked along with an importing parameter CLOSE_WINDOW of type boolean.
    Also create and inbound plug in the window and in the handler methos of this plug,fire the exit plug as,
    wd_this->fire_<exitplugname>( close_window = 'X').
    Now in ur view,while selecting via lead selection,on the action fire the outbound plug of the view that is linked with the exit plug of the window.
    Now while ur record is selected,the outbound plug of the view calls the exit plug and in turn coding inside the hander is executed and the applicaton window is closed.
    Hope it helps u!!!!!!!!
    Thanks,
    Divya.S

  • Data Log-By mistake I had closed the thread earlier

    By doing this My standard text are getting transferred like INFORMATION FOR SAP but the one which i have created like Z* is not working......pls help....

    Elaborate your requirement!!!!
    I wonder why you are not providing all the possible information. You cannot get immediate positive responses with the short text that you post on SDN.
    feel free to revert back.
    --Ragu

  • Option for just closing the post

    Hi All,
    i was trying to post one thread and received an error tht i can not have more than 10 threads open at a time... however, some of the threads were not answered so they were open.. n like wise tht count reached to 10.. so cud not post new one.
    So what i feel is if i have tomandatorily close some of the threads even if they are not answered there should be an option of closing the thread..
    let me know if this is fine.. or we already have some option of this kind,.
    Rgds,
    KK

    This is already being discussed at length in the thread (see sticky note in suggestions forum): [button for closed not answered|Suggestions for forum improvements;
    I believe that such a functionality would be helpful and I believe a request should be added to our list of enhancements.  Delete isn't an option for most users.
    I also want to point out that Idea Place is now open for business with Single Sign-on and there is a specific entry point to rank SCN improvements and suggestions.[ https://ideas.sap.com|https://ideas.sap.com]
    Here is a link to the [community contents|https://ideas.sap.com/community/community_and_services/sapcommunitynetwork]

  • Zen neeon play for sure compatibility why was the thread closed/delete

    About a week ago a thread asking why the neeon didn't support play for sure compatibility was on the forum.
    For some reason this has now been deleted and I would like to know why. Deleting that thread has to be a very childish attempt to silence a customer complaint about a product, have you ever heard of consumer rights?

    s000m,
    Your thread was not deleted, it simply moved down the page because it hasn't had any recent replies. Threads are listed by which one has the most recent replies.
    Here is the thread you're referring to:
    http://forums.creative.com/creativel...ssage.id=48495
    Threads are never deleted unless they are advertising, or otherwise inappropriate (threatening, abusi've, pornographic images/links, and so on).
    Cat

  • Closing all child threads when closing the stage

    I have multiple instances of child threads which are started and should continue to execute in till the applications exits.
    I have classes which extends Task and I create the threads as
    new Thread(object of the class).start();
    when it comes to interrupting/stoping (dont know which one is correct, please let me know) the threads which should be done inside
    primaryStage.onCloseOperation(){}
    here i want to end all child threads but since my threads are spreaded across different classes, my not having a clear picture how to achieve this.
    I know there is some designing problem, in my application, when it comes to threads, but I am not able to figure out how to resolve out.

    Use thread.setDaemon(true) Thread (Java Platform SE 7 )
    I suggest to use the Executor Framework and a ThreadFactory, to only need to create a daemon thread once.
    Something like this:
    Executor executor = Executors.newCachedThreadPool(new ThreadFactory() {
                @Override
                public Thread newThread(Runnable r) {
                    Thread thread = new Thread(r);
                    thread.setDaemon(true);
                    return thread;
    And then use it like this:
    executor.execute(yourTaskOrRunnable);
    When there are only daemon threads running, the JVM will halt and also stop all daemon threads.

  • Closing the Report Viewer causes the application to hang

    Hi,
    Since a few days we are experiencing some problems with the Crystal Reports viewer. When closing a report viewer in our application, the application hangs for a few minutes. The strange thing is, that it only seems to happen on Windows 7 and Windows 2008 R2 Server.
    Our application with the integrated Crystal Report Viewer is running on 2 application servers :
    - Windows 2008 Server, versie 6.0 Build 6002, Service Pack 2
    - Windows 2008 R2 Server versie 6.1, Build 7600
    Crystal Reports version installed on both servers : 12.01.0007.1144
    On the 2008 Server, the application works correctly.
    On the 2008 R2 server, the application hangs for about 5 minutes while closing the report preview window.
    Both server have exactly the same version of Crystal Reports and the same application version.
    I'm having the same issue on a Windows 7 x64 (6.1 Build 7600).
    I've installed all updates and hotfixes up to SP3 Fix Pack (12.3.3.812 / 12.3.2003.812) but I'm still having the same problem.
    We didn't have this problem until a few days ago, so I assume it has something to do with a windows update which only affects Windows 7 and Windows 2008 R2.
    Please advice us with a possible workaround, because our application is distributed to a few thousand users ...
    Some more debug info :
    This is the call of from the main thread when the application hangs :
         [Managed to Native Transition]     
    >     mscorlib.dll!System.__ComObject.ReleaseSelf() + 0x5 bytes     
         mscorlib.dll!System.Runtime.InteropServices.Marshal.ReleaseComObject(object o) + 0x8b bytes     
         CrystalDecisions.Shared.dll!CrystalDecisions.Shared.SharedUtils.ReleaseComObject(object obj = {CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass}) + 0x75 bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ISCDClientDocumentEvents_EventProvider.Dispose(bool bDisposeManaged = true) + 0x1a2 bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ISCDClientDocumentEvents_EventProvider.Dispose() + 0x32 bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.DisconnectEventRelay() + 0xfc bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.InternalClose(bool bSetupForNextReport = false, bool bAutoClose = true) + 0x10e bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Dispose(bool bDisposeManaged = true) + 0xad bytes     
         System.dll!System.ComponentModel.Component.Dispose() + 0x12 bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.CrystalReports.Engine.ReportDocument.ClearCache(bool clearDocument = true) + 0x9d bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalClose(bool bSetupForNextReport = true) + 0x81 bytes     
         CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.CrystalReports.Engine.ReportDocument.Close() + 0x3f bytes     
         SyDelSoftControlLibCrystalReports.dll!SyDelSoft.ControlLib.CrystalReports.cReportForm.Dispose(bool disposing = true) + 0x55 bytes     
         SDProjects.exe!SDProjects.GUI.ReportForm.Dispose(bool disposing) + 0x38 bytes     
    SharedUtils.ReleaseComObject
    Kind regards,
    Frederic Hoornaert

    CrystalReportsDisposeIssue.crpe.Diagnostics.0.log
    --> Form3 closed
    ..\..\src\print\datasource\datasrc2.cpp:535,Releasing subreport data sources,Start Time,"17:39:17"
    N/A:-1,Releasing subreport data sources,Elapsed Time,"1"
    ..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:39:17"
    ..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"7"
    ..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"6"
    N/A:-1,Closing engine,Elapsed Time,"2"
    ..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:39:17"
    ..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"6"
    ..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"5"
    N/A:-1,Closing engine,Elapsed Time,"2"
    --> Form2 closed
    ..\..\src\print\datasource\datasrc2.cpp:535,Releasing subreport data sources,Start Time,"17:39:52"
    N/A:-1,Releasing subreport data sources,Elapsed Time,"1"
    ..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:39:52"
    ..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"4"
    ..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"3"
    N/A:-1,Closing engine,Elapsed Time,"2"
    --> Form1 closed..\..\src\print\datasource\datasrc2.cpp:535,Releasing subreport data sources,Start Time,"17:40:29"
    N/A:-1,Releasing subreport data sources,Elapsed Time,"1"
    ..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:40:29"
    ..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"2"
    ..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"1"
    N/A:-1,Closing engine,Elapsed Time,"2"
    ..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:40:29"
    ..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"1"
    ..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"0"
    N/A:-1,Closing engine,Elapsed Time,"100017"
    CrystalReportsDisposeIssue.crpe.functions.0.log
    0xfb8     17:39:17.871          0     PESetUserSessionInfo               0     PEUserSessionInfoW:<StructSize:262><userName:><requestID:22>     IN          21     <==
    0xfb8     17:39:17.871     0     0     PESetUserSessionInfo               0     OUT     PEUserSessionInfoW:<StructSize:262><userName:><requestID:22>          21     <==
    0xfb8     17:39:17.874          3     PEClosePrintJob     report {657D0ECA-BC6A-4EC6-9476-02B77376E07C}.rpt          0     jobN:3     IN          22     <==
    0xfb8     17:39:17.874     36     3     PEClosePrintJob     report {657D0ECA-BC6A-4EC6-9476-02B77376E07C}.rpt          0     OUT     jobN:3          22     <==
    0xfb8     17:39:17.913          0     PECloseEngine               0     void     IN          22     <==
    0xfb8     17:39:17.913     3     0     PECloseEngine               0     OUT     void          22     <==
    0xfb8     17:39:17.923          0     PECloseEngine               0     void     IN          0     <==
    0xfb8     17:39:17.923     3     0     PECloseEngine               0     OUT     void          0     <==
    0xfb8     17:39:52.421          0     PESetUserSessionInfo               0     PEUserSessionInfoW:<StructSize:262><userName:><requestID:23>     IN          0     <==
    0xfb8     17:39:52.421     0     0     PESetUserSessionInfo               1032     OUT     PEUserSessionInfoW:<StructSize:262><userName:><requestID:23>          0     <==
    0xfb8     17:39:52.423          1     PEClosePrintJob     report {F2574C5C-00BC-4627-9A05-B8133D6E6F7D}.rpt          0     jobN:1     IN          0     <==
    0xfb8     17:39:52.423     15     1     PEClosePrintJob     report {F2574C5C-00BC-4627-9A05-B8133D6E6F7D}.rpt          0     OUT     jobN:1          0     <==
    0xfb8     17:39:52.441          0     PECloseEngine               0     void     IN          0     <==
    0xfb8     17:39:52.441     3     0     PECloseEngine               1032     OUT     void          0     <==
    0xfb8     17:40:29.281          0     PESetUserSessionInfo               0     PEUserSessionInfoW:<StructSize:262><userName:><requestID:24>     IN          0     <==
    0xfb8     17:40:29.281     0     0     PESetUserSessionInfo               1032     OUT     PEUserSessionInfoW:<StructSize:262><userName:><requestID:24>          0     <==
    0xfb8     17:40:29.283          2     PEClosePrintJob     report {C78FE11F-6465-478F-83AB-49D8F0C6D64A}.rpt          0     jobN:2     IN          0     <==
    0xfb8     17:40:29.283     24     2     PEClosePrintJob     report {C78FE11F-6465-478F-83AB-49D8F0C6D64A}.rpt          0     OUT     jobN:2          0     <==
    0xfb8     17:40:29.310          0     PECloseEngine               0     void     IN          0     <==
    0xfb8     17:40:29.310     2     0     PECloseEngine               1032     OUT     void          0     <==
    0x1568     17:40:29.315          0     PECloseEngine               0     void     IN          0     <==
    0x1568     17:40:29.315     100018     0     PECloseEngine               0     OUT     void          0     <==

  • Closing the browser without popup message

    Hi Experts,
    I refered the following thread and done the below steps
    1.Create a Button called Exit.
    2.Create an action for this button.
    3. In the event handler for this button, write the following code:
    String Url;
    try {
    Url = WDURLGenerator.getWebResourceURL(wdComponentAPI.getComponent().getDeployableObjectPart(),"close.html");
    wdThis.wdGetAtpEmpDetailsWinInterfaceViewController().wdFirePlugExitPlug(Url);
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportException("Technical Exception occured in the application : " + e.toString(), true);
    4.Create a html page called u201Cclose.htmlu201D with Javascript code for closing a browser window.
    5.Place this html page in SRC -> Mimes -> Components -> Project Structure(Create this folder and place the html page in this folder)
    I have used Ie 7.0
    My questin is when i clicking the button. It show popup message like
    "Do you want to close this window " I don't want this popup.
    without popup i need to close this window? How to do that?
    Regards,
    Manivannan P

    Hi Manivannan p,
    1.Create a Button called Close.
    2.Create an action for this button.
    3. In the event handler for this button, write the following code
    You can try this
    public void onActionClose(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionClose(ServerEvent)
    WDPortalEventing.fire("urn:com.sapportals:navigation", "CloseWindow", "");
    //@@end
    This will help you closing the window with out Popup
    Here we are calling a "Portal Event" called " CloseWindow" to close the windoe
    Get back if you have any questions
    Thanks & Regards
    Swetha

  • Open URL in a new window by closing the parent window

    Hi Friends,
    Is there any option to open URL in a new window by closing the parent window on a button click?
    Already implemented the logics suggested in /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications , the thread ' URL in same window '  and the standard component WDR_TEST_EXIT_PLUG .But button is not triggerring any actions .plz help me  ..............
    Regards,
    Radhika

    hi,
    Do the following steps :
    -> Make an Outbound Plug to the Window.
    ->Make the type of Outbound plug to Exit Type.
    ->Add URL of type String as a parameter to the outbound plug of Window.
    ->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont b possible ).
    To open a new URL with closing the previous one write this Code in OnAction of Button : ( this Code can be get from Code Wizard too ).
    DATA lo_zexit TYPE REF TO ig_zexit .   <zexit is name of my Component>
    lo_zexit =   wd_this->get_zexit_ctr( ).
      lo_zexit->fire_out_window_plg(
        url =   'http://www.google.com'                            " string
    I hope it helps.
    Thanx.

  • Run time error while closing the CRM Order using BAPI

    Hi Experts,
    Need your invaluable suggestions here.Apologies for the lengthy mail, intention is to give clear idea of the issue.
    I am facing an issue while closing the CRM orders. According to our business process, when an issue is solved we will keep the order in resolved status only. We will not directly close the order from the CRM tool, instead we have created a custom program for the same purpose.
    For the custom program we will give input as the order number and execute it, this will close the order.
    Here close the order means assigning it to Close status as well assign the reason code.
    We have created some reason codes for closed status.
    So when the program is run the Order moves from resolved status to closed status along with reason code.
    But of late we are facing some problems with this program, it is giving run time error for some CRM orders.
    Run time error message : The ABAP/4 Open SQL array insert results in duplicate database records.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "CRM_SERVICE_OS_UPD_OST_DU" "(FUNCTION)", nor was it propagated by a RAISING clause.
    Please find my code which have used in the custom program
    Closing the resolved SOs in the system
        CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
            EXPORTING
              objnr                     = iv_guid
              user_status          = lc_status_closed
           EXCEPTIONS
             object_not_found          = 1
             status_inconsistent       = 2
             status_not_allowed       = 3
             OTHERS                        = 4.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining status'.
        ENDIF.
    Set reason code
    build lt_subject
        ls_subject-ref_guid = iv_guid.
        ls_subject-katalogart = 'A2'.
        ls_subject-codegruppe = 'ZR000003'.
        ls_subject-code       = 'ZR33'.                      " Reason code
        ls_subject-mode       = 'A'.
        APPEND ls_subject TO lt_subject.
    build lt_ossset
        ls_osset-ref_guid        = iv_guid.
        ls_osset-subject_profile = 'ZREASON03'.
        ls_osset-profile_type    = 'G'.
        ls_osset-subject         = lt_subject.
        APPEND ls_osset TO lt_osset.
    build lt_service_os
        ls_service_os-ref_guid  = iv_guid.
        ls_service_os-ref_kind  = 'A'.
        ls_service_os-osset     = lt_osset.
        APPEND ls_service_os TO lt_service_os.
    build lt_input_fields
        REFRESH: lt_input_fields, lt_field_names.
        CLEAR  : ls_input_fields, ls_field_names.
        ls_field_names-fieldname    = 'CODE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'CODEGRUPPE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'KATALOGART'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'SERVICE_PROFILE'.
        APPEND ls_field_names TO lt_field_names.
        ls_input_fields-ref_guid    = iv_guid.
        ls_input_fields-ref_kind    = 'A'.
        ls_input_fields-objectname  = 'SERVICE_OS'.
        ls_input_fields-field_names = lt_field_names.
        APPEND ls_input_fields TO lt_input_fields.
         CALL FUNCTION 'CRM_ORDER_MAINTAIN'
          EXPORTING
            it_service_os     = lt_service_os
          CHANGING
            ct_input_fields   = lt_input_fields
          EXCEPTIONS
            error_occurred    = 1
            document_locked   = 2
            no_change_allowed = 3
            no_authority      = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining reason'.
        ENDIF.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save   = lt_header_guid
            iv_update_task_local = lv_update_task_local
          IMPORTING
            et_saved_objects     = lt_saved_objects
          EXCEPTIONS
            document_not_saved   = 1
            OTHERS               = 2.
        IF sy-subrc <> 0.
          WRITE : 'Error at saving'.
        ELSE.
          WRITE : 'Successfully Closed'.
          COMMIT WORK AND WAIT.
        ENDIF.
    Run time error is coming at COMMIT WORK AND WAIT statement.
    Please let me know any corrections are required in the above program.
    When I analyzed the run time error I have found that it trying to insert the record in CRMD_SRV_OSSET for that CRM order, but already one record is present in the table for the same CRM order number.
    For most of the CRM orders there is no entry in this table so they are closing successfully but for a few orders for which there is an entry we are getting the above run time error.
    There is nothing wrong with the orders which have an entry already in the table CRMD_SRV_OSSET, I need to close these kind of orders with out run time error.
    Kindly provide your feedback.

    Hi Dinakar,
    You posted this in APO PPDS forum. This question should go to PP forum where someone could answer it.
    Please close this thread and open a new thread in PP forum so that you could get help quickly from the relevant experts.
    Regards - Pawan

  • Dear Moderator, Please  unlock & close the thread 1880307

    Dear Moderator
    Please unlock the thread locked by moderator in SDN , so that I can close the thread.
    SDN Thread: =1880307
    BDC for MB21
    Please unlock, I need to closed this thread
    BR, Subbu

    Hi Subbu,
    You can directly drop a mail to SDN support([email protected]) to unlock thread. You need not raise a new thread for such questions.
    Regards,
    Durgesh.

  • MBP (13-inch, early 2011) goes into hibernation instead of safe sleep upon closing the lid (only when using battery power)

    MBP details
    13-inch MacBook Pro, early 2011 (model identifier: MacBookPro8,1)
    Running Yosemite, OS X 10.10.1 (however, problem started while using Mavericks)
    2.5 GHz Intel Core i5
    4 GB memory
    Symptoms
    * the MBP goes into hibernation instead of sleep upon closing the lid on battery power (i.e.,  when AC adapter is NOT connected)
      -- problem does not occur when AC adapter is connected
    * putting the computer to sleep by other means does not induce the problem; these other means include:
      -- [i] option+command+Power,
      -- [ii] Apple Icon --> Sleep,
      -- [iii] in Terminal: pmset sleepnow
    * the battery is NOT getting drained at all; if I close the lid on 87%, the battery is still at about 87% when I get the MBP back up and running
    To be as clear as possible:
    (1) MBP is on and in use  (power source: battery); battery is at X%
    (2) the lid is then closed
    (3) the battery indicator light glows bright for about 10 seconds, then shuts off, and with it so does the MBP (all fans and sounds cease)
    (4) opening the lid and pressing any key on the keyboard does nothing (the computer is not sleeping)
    (5) to turn the MBP back on, I must hit the power button once; this brings up  and the gray screen and loading bar indicative of returning from hibernation
    (6) log in; battery is still at X%
    Attempted Solutions / Fixes
    There are Apple Discussions addressing similar MBP issues, many of which at least have work-arounds, if not full-blown solutions. However, I have tried many of the proposed work-arounds and solutions; nothing has solved my problem. Such attempted solutions include:
      * made sure EFI/SMC firmware was up to date
      * updated all software
      * logged in as a different user
      * booted in Safe Mode
      * reset the PRAM
      * repaired disk permissions using Disk Utility
      * repaired additional disk permissions in recovery mode (a la this chron.com advice)
      * ran the Apple Hardware Test multiple times (short test while plugged in, short test on battery, extended test while plugged in, extended test on battery)
      * booted from an external known-good OS on USB drive
      * reseated the RAM
      * used MemTest to test the RAM's health (it was good)
      * tested my battery's health with the app Battery Health (it is healthy!)
      * booted my computer with one stick of the MBP's original RAM at a time (figured "why not?")
      * booted my computer using other sticks of RAM
      * checked my power management settings using PMSET in the terminal (e.g., pmset -g); tried various hibernation modes (e.g., sudo pmset -a hibernationmode X, where X=0,1,3, etc)
      * searched/grepped through my power management logs and Console messages to look for googleable items (e.g., pmset -g log | grep WORD, where WORD=failure, sleep, etc);  still have not found help online
      * brought the MBP to a Mac Genius
    -- he ran some further tests, but found nothing;
    -- he re-installed my OS as a hopeful-hail-mary-just-maybe-last-ditch effort; the problem persisted!
    -- we both agreed that we had ruled out a software cause
    -- he offered me to leave my MBP to get fixed for a flat fee of $300.00 (which after a couple weeks of trying to figure this out is starting to sound more and more reasonable)
    Given that it is likely not a software issue, what hardware might it be? By booting from an OS on an external drive, I think I've ruled out a bad hard drive or hard drive cable. Also, given that inducing sleep in any way other than closing the MBP's lid does not cause the problem, it seems there might be a wire (or something) in the hinge section of the MBP that gets moved when the lid is closed possibly causing some kind of short circuit...or something.
    If someone with more experience interpreting Console messages, for example, can help, I'd be happy to provide some logs, or any additional information.
    Thank you for your time and consideration.

    Ok, this is a crazy-simple, quasi-embarrassing fix, but I'll post it anyway just in case anyone is having a similar problem (for example, this guy: Changes to pmset being ignored).
    Some time around late last August / early September (2014) this issue began happening for me (specifically, issue = closing lid while on battery power induces hibernation / shut down instead of sleep --- independent of hibernation mode). Maybe it was when I upgraded to Yosemite (not sure what the exact date of that was). As detailed in my original post, I frantically tried everything I could think of... At that time, however, I had quite a few presentations and posters to create and present at meetings and conferences, so I held off fixing it for a couple of months and returned to it this past week, where I tried a few more things listed above, but again to no avail...
    This morning, I simply tried fudging around with all my power management settings again (via pmset in Terminal). The simplicity of the fix surprised me. But now that I understand it, I know it is likely the same fix for other threads I've read, such as the one above:
                                        (TLDR in bold)
    (1) Take note of your power management settings (Terminal:  pmset -g custom)
    (2) Is the "standby" flag set to 0? If so, set it to 1. Wa-la! Done.
    This fix is crazy and embarrassing b/c I was so close to it for so long. I tried changing my hibernation modes multiple times (sudo pmset -a hibernatemode X, where X=0,1,3,25,etc). I read about manipulating other PMSET settings that helped other people with newer MBPs, like "autopoweroff" and "autopoweroffdelay" --- settings that I do not have on the MBP early 2011 (check your settings: pmset -g cap). And most amazingly of all, I even messed with the "standbydelay" setting, trying to make it so long that my computer should never go into hibernation... Yet, from what I can tell by looking over my notes, I never simply set "standby" from 0 to 1.
    There are interesting questions that arise due to this fix. For example, why did this problem persist on clean installs of OS Yosemite? Is "standby" being set to 0 the Yosemite default? I'm not sure. If it is, then Kappy was right: this was normal behavior... It just wasn't always the normal behavior...at least not for my MBP. Normal behavior (hibernatemode 3) used to be (and now is again) that the MBP goes into safe sleep, and then only after an allotted amount of time will it go into full-blown hibernation.
    NOTE: the "standby" and "standbydelay" PMSET settings are not available in some earlier MBP models (e.g., my brother has a 2010 and does not have these settings); so if you're having a similar problem with an earlier model, this fix might not be of any help to you.

Maybe you are looking for

  • Start time/end time columns in the weekly overview of CATS regular

    Hello, Does anyone know if it is possible to have the start and end time columns in parallel of the duration column in CATS regular (iView "record working times" in ESS) in the weekly view. Those columns are available in the daily view but we want th

  • Audio input macbook pro

    Recently I bought a regenerated Macbook PRO 13" i7 2.9Ghz. But it has no audio input (no minijack 3,5" input). Is there any solution to record my voice or any other sound with this notebook? Thanks

  • DISPLAY COLUMN NO'S AND ROW NO'S IN SMARTFORMS

    HI ALL, I M HAVING REQUIRMENT TO DISPLAY COLUMN NUMBERS AND ROW NO'S IN SMARTFORM I'M NEW TO THIS PLS SUGGEST ME. THANK YOU ALL IN ADVANCE. Moderator message: please search for information and try yourself before asking, do not post in all upper case

  • CRM 2007 - Best Practice C72 - FTP & HTTP Destinations

    Hi Gurus I'm busy with configuring our Internet Sale and am now stuck on this issue. In C74 under Index 3.1.2.1 3.1.2.1                Creating RFC Destination for FTP and HTTP When I run program RSFTP005 the 2 destinations are created perfectly. Whe

  • I consolidated my library to an external hard drive then the drive crashed. How can I restore it?

    I consolidated my library to an external hard drive, a few days later the drive crashed. Everything still exists on the local computer in the old locations. How do I tell iTunes to use the old locations again? I don't need to redownload anything, I h