Export to excel in SAP WebGui using ALV - excel

I have a problem with SAP WEBGUI when I try to export my ALV in Excel file.
So I used the button Local File. When I choose
and I press confirm button, nothing happens. After this operation, any other button doesn't work.
Can you help me? I'm using WEBGUI on Google Chrome

Does it work in SAP GUI itself?
Can you look at the network traffic / console of your browser and see what happens during export?

SAP has special note 314568 concerning limitations of SAP-GUI for HTML.
There, in particular, it is stated that:
Excel-Export available via "XML-export" Other export options are not
provided by the ALV framework in a Web environment
So use XML-export and paste its contents into Excel file.
P.S. Here is the old version of the above note, if you have no S-user.

Related

Excel hyperlink to google sheets not working

When I click on a hyperlink with gsheet url in excel, "Update your browser to use Google Drive, Docs, Sheets, Sites, Slides, and Forms" page opens in browser each time. And when I manually copy paste the link in browser, it works.
It is not caused by malware, it is likely a Windows update that causes Office and Google Docs not to communicate correctly.
See this link for more details
The thing is you cannot click on cell link, you need to hover the cell and after that click on appearing link. That's how links in google sheets work
I found a solution to overcome this challenge. Using the Shell command I was able to achieve it. I used VBA to execute the command:
Shell "explorer ""https://www.google.com"""
This command will open the URL in default browser of user.

NetSuite WYSIWYG Preview no longer working

I am creating a custom advanced PDF/HTML template. I switched between WYSIWYG editor and source code editor and maybe saved. So now my template no longer shows up properly when try to preview it.
Does anyone know how I can fix this so that the preview shows my
changes as I make them?
Can anyone suggest what I can use going
forward so this doesn't happen to me again (ex: an IDE where I can
preview before moving code into NetSuite)?
Also, I did not save my source code before editing it since I thought NS was just making a
copy of the code in the custom template. So if anyone knows where I can get a copy of the
original source code for the original template that may help as well.
Thanks in advance for any help.
To answer your third question, I am assuming you started from one of the standard Advanced PDF/HTML templates and hit customize? If so, you should be able to get the source code for the standard template the same way: hit customize, then switch to source code view.
Remember that NetSuite does warn you that once you switch to source code, switching back may not work for that template. I generally switch to source code mode and do all my work in that mode. I use a sample transaction to preview the changes, or hit the "preview" button in the template editor.
I am not aware of any editor that will let you preview this in WYSIWYG mode, but I use Visual Studio Code to edit the templates. They now also have a SuiteCloud integration plug in, but it's a bit buggy. WebStorm is probably ok, but is not free. There is also Eclipse which is free, but they are deprecating its NetSuite plug in, and the upload to account functions don't work anymore because of the security enhancement to authentication.

window.opener does not work in Excel for Windows

I have built an Excel add-in, it opens a popup by window.open, then the add-in communicates with the popup site. I just realised that it does NOT work in Excel for Windows, the reason is that the popup can NOT get the host by $window.opener.
To illustrate this and avoid cross-domain, I have made a xml, which refers to the add-in and the test page. It works well in Excel Online in Chrome and in IE. However, while running it in Excel for Windows, $window.opener returns undefined.
Could anyone tell me what happened, and what's the workaround?
(for people who recommend Dialog API, please see this thread. So now neither Dialog nor window.open works in Excel for Windows).
UI.messageParent also won't work? It's from the official docs.
Example:
Office.context.ui.messageParent("Message from Dialog box")
Docs:
Delivers a message from the dialog box to its parent/opener page. The page calling this API must be on the same domain as the parent.
(I assume this isn't the Dialog API which you referring)

SharePoint export to excel is not working in google chrome

SharePoint Export to Excel is not working in Google Chrome, while it is working fine in Internet Explorer.
I am using Office 365 site and after clicking on the export button i am seeing below message:
WEB
1
https://site/_vti_bin/owssvr.dll?XMLDATA=1&List={88B6B725-0CF2-4836-8837-756E1458D5DE}&View={6BCBC19D-6BAC-4D72-BCB5-017007177ADC}&RowLimit=0&RootFolder=%2fsites%2fFinance%2fLists%2fGL%20Master
Selection={88B6B725-0CF2-4836-8837-756E1458D5DE}-{6BCBC19D-6BAC-4D72-BCB5-017007177ADC}
EditWebPage=
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
SharePointApplication=https://bramblesgroup.sharepoint.com/sites/Finance/_vti_bin
SharePointListView={6BCBC19D-6BAC-4D72-BCB5-017007177ADC}
SharePointListName={88B6B725-0CF2-4836-8837-756E1458D5DE}
In SharePoint, Export To Excel functionality is supported only in IE browser.
This functionality requires Active X control which Chrome and Firefox doesn't support.
You can find more details on this here
Buddy, you're going to have to use an alternative method because SharePoint's Export to Excel feature will give you the user experience you desire only within Internet Explorer 8, 9, and 10, per Microsoft's own documentation at https://learn.microsoft.com/en-us/SharePoint/install/browser-support-planning#supportmatrix. However, the answer given in this other StackOverflow question might be just what you need because it does work in Chrome:
Export html table data to Excel using JavaScript / JQuery is not working properly in chrome browse
The answer basically involves the use of a custom JavaScript function to present similar functionality to what you're looking for.
Export to Excel will not work in Chrome for some lists as it requires a compatible application. Alternatively, you could view in QUICK VIEW – or “edit the list” and while in this view, copy and paste the data to Excel.
There is one reference article which will help you to understand the limitations of SharePoint in Google Chrome, Please Click Here to view that article.

Office add-in ribbon button

I'm trying out the new style JavaScript based office add-ins and can't see how I can add the add-in launcher button to the ribbon.
I know that Command add-ins which can add tabs etc are not released yet, I'm just talking about a button that will launch my add-in.
It's a TaskPaneApp.
It seems to be possible because (in my version of office 16 at least) I can see that under the Insert tab, Wikipedia add-in has it own button in the Add-In group.
Currently I've just added a Shared Drive as a trusted location and am launching the app from there. As this is an internal app, it's likely to stay there.
Thanks
You just need to add some elements to your manifest file:
https://msdn.microsoft.com/EN-US/library/office/mt621545.aspx
Make sure you are using the latest version of Word, Excel or PowerPoint; it must be 16 or higher.
Also, make sure to use HTTPS requests.
The XML manifest is super sensitive.
Look for closing /> for all the tags, because you might be missing them somewhere.
You could also use this NPM module which is supported by Microsoft to validate your XML file.

Resources