Leaving excel Inplace, the excel session is still active

I all,
I use the Excel Inplace method to format data in PivotTables. I use a template based on sap_MM.xls with the procedure Public Sub ALV_CUS_Exit (). It is working correctly.
My problem happens when I leave the transaction and return to the initial screen. The excel session is still active causing blockages in the Excel application itself
I looked at the OSS note 122539: it describes functions which do not yet exist in the SAP delivery for certain events. I have tried those functions with the SAP declaration like :
public sub customer_workbook_deactivate()
    Me.Application.Quit
End Sub
Either I use the wrong syntax or I do not set the code in the correct place of the VBA project, I have never activated these functions while leaving the screen excel inplace.
Can you guide me to a solution ?
In advance thank you very much.

Thanks, but my first problem is that I do not pass through the procedure. Once I pass through it I'll try  "me.quit()".
Regards.

Similar Messages

  • Delete memory Id when the session is still active

    Hi all,
    Can anyone tell me how to clear the Memory Id when the session is still active.
    I am getting the amount value through Memory Id from import and export parameter when I am posting the check. Again if I reprint the check without closing the session the amount value is getting double evertimes.
    If I delete from Memory Id I am not able to see any amount value while posting for first time.
    Can anyone suggest me how to proceed further.
    Regards
    Yathish

    Looks like you are not clearing the variables before and after that logic. Clear them and try.
    Let us if you are doing that or not.
    Rgds,
    Naren
    Message was edited by:
            Someneni

  • Session is still active?

    how can i understand if my user session is still active?
    thankss

    You can detect if a session is new using the session.isNew() method.
    Also you can compare the requested session id (request.getRequestedSessionId()) with the actual session id. If they are the same then the session was still active. If not, then the session expired.

  • When copying a Pie Chart from one Excel tab to a new Excel tab, the chart data is still referring to the original table

    Hi,
    In Excel 2007, I have a pie chart on sheet 1. I want to make a copy of the pie chart from sheet 1 and past into sheet 2, and change the table data in sheet 2 to get new chart recalculated based on new table values in sheet 2.
    However, the chart in sheet 2 is still pointing to the table data in sheet 1.
    All the cells in sheet 1 have relative cells.
    Please advise.
    Thanks - Bijan

    Hello Wind,
    As teylyn suggested:
    "An Excel chart is hard-wired to its data source. You can copy and paste a chart to a different sheet and it will still refer to the initial source data."
    So I did create the template and used in my 2nd tab which worked perfectly. However, I had an issue with merged cells which I am using for my data, and tylyn suggested that I provide the excel file that I am working with, and I did.
    So now I need help as how to make merged cells work when I try to create a pie chart from template based on new data (which reside in mergerd cells).
    P.S. I cannot resize my cells to make the data and labels fit into one call, so I have to have merged cells.
    Thanks
    Bijan

  • Excel inplace, fill excel templates

    Hey everybody!
    Do anyone have documentation or links to it how to fill in templates and mayby abap code examples about exporting data and making kind of headers and footers in Excel inplace from ALV?
    I have sap_om.xls and sap_mm.xls, but they are empty when I push 'export to excel' buttom. I couldn't find the way how to reference data from ALV or from abap report to Excel inplace. Maybe I have to fill any exact internal tables to export information (like 'xxx_data_table' or something).

    Hi,
    Hope you have Excel installed on the PC. THis excel view displays the data you have in the excel workbook instead of the display of tabular display in SAP. YOu can save these files and use them for any purpose.
    Also you can get more about this on SAP help with string "displaying data in excel inplace view".
    Details are available there.
    Regards
    Prasanna

  • Mail merge from Word to Excel locks the excel document

    Previously, a friend of mine would run his business like this:
    Open a client database (excel file), open N number of word docs that were mail merge docs to the excel file.  He could then make changes to the excel file and see those changes reflected in real time in the opened word mail merge documents.  He
    could also save the excel document while the word docs were open without problem.
    Now, changes to excel are not shown in word, and saving the excel doc while the word mail merge documents are open produces a sharing violation (winword has a handle on the excel file).
    I've reproduced his problems.  We are both using Office 2010, and Windows 7.
    I've tested turning off indexing on the files, and also tried disabling my anti virus. 
    If I save the excel file as a 97-2003 file (.xls), then I don't have most of these issues.
    Is there anyway to avoid the file lock when using the excel document as a 2010 xlsx?  Why would it work fine if I connect to an old document, but not work with the 2010 version?

    I have a similar problem, which might be related. I use an Excel 2010 spreadsheet (.xlsx) as a data source to mail merge with document templates (.dotx) in Word 2010. I can save changes to the Excel spreadsheet without any problems until open a Word template
    and try to use the Excel spreadsheet as the data source (Mailings -> Select Recipients -> Using Existing List). Two problems occur when I run that merge. First, any recent changes to the spreadsheet don't appear in the document templates. Second, Excel
    throws error messages when I try to save the spreadsheet. Specifically:
    1. Excel tells me that "Your changes could not be saved to '[FILENAME].xlsx' because of a sharing violation. Try saving to a different file."
    2. When I click OK, it tries to save the spreadsheet to a randomly-named file without an extension, and tells me "The file you are trying to open, '53F11100' (or some other seemingly-random file name) is in a different format than specified by the file extension.
    Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?" Excel gives me a yes/no option, either requires me to resave the file under a different name.
    At this point, I can only save the spreadsheet under a different file name unless I close out of MS Office 2010 entirely, make a duplicate of the spreadsheet using Windows, and begin using the new copy instead of the old. I'm using Windows Vista SP2, and don't
    recall any specific action on my part prompting this change, but it began happening in the last few weeks. Any guidance would be a huge help.
    Thanks in advance,
    Prescott

  • Sessions were still active eventhough Dead lock detected

    Hi all,
    Yesterday I saw very odd oracle behaviour.When oracle finds Dead lock it should kill those sessions automatically.In my case those two sessions were still trying to run the same update command and were casuing dead locks again and again for 1 Hour.I had to kill those sessions manually to avoid these dea lock.
    How can those sessions were still trying eventhough dead lock detected and causing deadlocks.My logfile filled with this dead lock error.When I killed those sesions it end up with snap shot too old error.
    Please suggest me
    Thanks

    hi
    just ROLLBACK or COMMIT any one session. you will out of dead lock.
    and one more thing is in dead lock situation the sessions were not terminated
    and session wating for releasing locks aquire by another session
    try this one if not work plz reply
    have a nice time
    best luck

  • HT1688 I recently upgrade my Iphone but the old one is still active. I installed the friendjectory app on my new phone but it will not open but for a few seconds ab=nd then closes. What is wrong and what do I need to do to make this app work on my new pho

    I recently upgraded my Iphone. Iinstalled the friendjectory app on the new phone but it will not open but for  few seconds and then closed. What is wrong and what do I need to do? My old phone is still active and working. Do I need to do something about that?

    Hi stanczak53,
    Welcome to Apple Support Communities.
    See this link for some tips on troubleshooting apps on your iPhone:
    Using apps on your iPhone
    http://www.apple.com/support/iphone/assistant/application/
    Best,
    Jeremy

  • Why is the icon for syncing still active after disconnecting?

    My phone got stuck on step 6 when I updated and backed up my files during iOS 7 upgrade. I tried to cancel and start over but it was still stuck on trying to transfer music. As far as I can tell, I still have all the music I want on my phone. The icon to disconnect is still active on my home screen. Why does it keep doing that? Is it an indication it's not finished sync in or that it's always syncing through a wi-fi connection? I'm already on the iOS 7 platform.

    My phone got stuck on step 6 when I updated and backed up my files during iOS 7 upgrade. I tried to cancel and start over but it was still stuck on trying to transfer music. As far as I can tell, I still have all the music I want on my phone. The icon to disconnect is still active on my home screen. Why does it keep doing that? Is it an indication it's not finished sync in or that it's always syncing through a wi-fi connection? I'm already on the iOS 7 platform.

  • What happens when deleting the ODI session which is active?

    I have another question - If I happen to delete the session vs. stop the session, would deleting the session in ODI mean deleting the session in Oracle too from where it is extracting the query?
    What if the interface has already been extracted from Oracle and loading data into essbase, and at that time we delete the session in ODI, what would happen?
    Thanks
    Kemp

    hi to All,
    I have faced this issue, When i delete the session in the operator window?. It just delete the logs in ODI,But the session in ORACLE still in active condition.
    If I stopped the session in operator window. Its ends the session in but ODI and ORACLE too.
    Let me know. what is the different between the Delete and stop option in Operator window?. and Why the session is not ended in ORACLE while deleting the session in Operator window of ODI?
    Thanks
    Madha

  • ALV report in Excel inplace

    In my system, when i open ALV report in Excel inplace. Excel opens report but button "Close and Return to ALV (1)" and "Exit excel" is disabled, how can it appear enabled?
    When i press key "ALT+TAB" excel menus and icons desapear, and when press "/" SAP menus appear in strange mode.
    If Excel is open in windows with one worksheet before open Excel in SAP ALV inplace, sometimes an error occured.
    Excel 2007
    SAP ECC6.0
    SAP GUI for Windows - file version 7100.2.8.1039 or 7100.2.9.1039
    Anyone help me.

    hello
    This program checks the paths, installation, and Registry keys of the desktop office applications and OCX files used in SAP Desktop Office Integration. Its results are useful to SAP if you report problems using Desktop Office Integration.
    "C:\Archivos de programa\SAP\FrontEnd\SapGui\Testtools\Check_DOI.exe"
    Hernando

  • Excel inplace (ALV) with Excel 2010

    Hi,
    we have changed our workstation to windows 7 and Office 2010. Now i have a problem
    with excal inplace of ALV. When i switch to excel inplace I don't find any way to save or save as the excel.
    The button "datei" isn't activ.
    Has anyone an idea?
    We use GUI 720 patch 4.
    Regards, Dieter

    A simple workaround working is to "Customize the Quick Access Toolbar" in Excel 2010 itself from the File (Backstage) menu.  add the "Save As" icon which carried forward in SAPGUI Excel inplace and now users can at least choose where to save their work as needed.
    Edited by: neil_mukh on Feb 1, 2011 1:06 PM
    Edited by: neil_mukh on Feb 1, 2011 1:06 PM

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • SQL_Monitor for query shows DONE(ERROR) red X but Session still active

    Hi. I'm just a developer so I was wondering if someone might be able to answer my question relating to the subject.
    Basically I have a query that has been running for quite a while (12H) now. Thats not a problem. However, I'm confused about one thing. When I click on the SQL_Monitor tab for that query within my still Active Session it shows the SQL as having errored out. Nothing for my particular user shows up in V$SESSION_longops either. Its Oracle 11G with EM of same type. I believe that my session is still active as it still seems to be consuming resources. I don't need help optimizing my query, I've already managed to do that. I'd actually just like an answer to the following questions.
    How can I tell if a query has really died?
    Is it possible that a session will remain active while a query errors out and how could I detect this in my application?
    is it possible for a query to be running that does not appear in V$SESSION_LONGOPS (or sql_monitoring in EM which I'm assuming are nearly the same thing)?
    Is my only recourse to #2 if possible, to kill the session and start my query again?
    Anyways, thanks a lot in advance. (No need to optimize this query as I've got the one that prompted this question down to about 3H and it ran fine.

    Tom:
    Were you able to resolve this problem? I too have a similar problem where I imported the image, went into the shared components of the app, definition, and under logo selected a logo type of 'image', and the logo attributes of #workspace_images#cmclogo.gif
    This gets me a box with a red x in it, but no image and no clue what's wrong.
    Any help is appreciated!

  • Leaving iPhone in the Dock - shorter lifespan?

    Hello,
    is it possible to damage the battery if iPhone is left constantly in the dock when not in use?
    They say, you must not leave mobile phones hooked up to the power cable, because it could shorten the lifespan of the battery.
    Regards

    Stuart_Little wrote:
    Hello,
    is it possible to damage the battery if iPhone is left constantly in the dock when not in use? They say, you must not leave mobile phones hooked up to the power cable, because it could shorten the lifespan of the battery.
    Only reason would be is if you have no ground. The only way this can affect your iPhone and not just the battery would be these reasons:
    * Your iPhone is connected to a bad USB cable to the PC or AC Charger
    * Your surge protector, the AC Charger is connected to, has no ground
    * Your surge protector's "grounded" light has burned out
    * You have experienced frequent lightning storms where you are at
    The iPhone battery has two modes. Neither one will damage the battery. First is the recharging cycle and then the trickling cycle which keeps the battery charged while the network connection is still active.

Maybe you are looking for