Monday, July 30, 2007

SAPCompare with Webdynpro Comparision

I have now plugin enabled the new SAPCompare version 2.0.1. I provide two Plugins in the installation, one for comparing Classes and the other for comparing Webdynpro Components. I'll upload the action video soon on both the website and the blog. New plugins can be written very easily by inheriting the plugin base class which has all the required base methods, just add the code and voila! you are done. Some ideas for new plugins are comparing strcutures, tables etc...Mail me at if you want to write new plugins, I'll help you out in writing them.

Friday, July 6, 2007

File Locking Problem in Webdynpro ABAP

In the previous days I had been busy with my work which explains why I had been mostly off the blog.

But I have something intresting to share, I have had a problem while downloading a Excel file using Webdynpro ABAP Download link. The error message:

"The file is Locked for editing by another user. Click read only or click notify to open read only"

This caused me to try a lot of things, finally I was able to resolve it using HTTPWatch.

This issue will come up when the file you have sent to the client doesn't go as an attachment. If you have to send it as an attachment set the Behaviour attribute of FileDownload UI element to 'allowSave' by using the dropdown.

Another thing I realized during a discussion was that you should not specify the mime type as 'application/', since this becomes Microsoft Excel specific, instead specify the mime type as 'x-excel/application'.