Problem opening a UDO via a LinkButton
Hello all,
I need to open the form of a user-defined object upon a click on a LinkButton. To do this, I Activate() the corresponding menu, then Activate() the Find menu, enter the document number into the appropriate EditText and press the "Find" button.
The problem is that when entering the "Add" mode, the UDO performs initialization of some fields, so that if one tries to enter the "Find" mode, the following system message appears in a modal window and stops the execution of the code:
"Changes will cause the data to be deleted. Continue?"
Is there a way to temporarily disable this message to enable the addon to open the UDO form without any interference from the user?
Thanks in advance,
Anton
Anton,
new thread is one possibility, but the messsage box is not win message box, but SAP form, so I think you can clcik there without new thread too.
Check this thread, hope it helps
Re: Confirmation Dialog in my way
Similar Messages
-
Is any body having problems opening Jpegs sent via email as attachments. iPhone 4
I can't open and get a spinning wheel or it bombs out!..Help!! It affects iMap, exchange and mac accounts!Solution for me was changing the "Load Remote Images" setting, shutting down and restarting the phone. The old messages with problems reloaded with all attachments accessible.
Background: I began having this problem recently with PDF, jpeg,vcf files and apparently now, all attachments as well as email with html links are coming through with no attachment or as empty email. This was a new problem for me. I have been backing up to the cloud, but not using a cloud email account. I have multiple accounts on the phone, six of them actually and have been set up this way for over a year without problem. Some are imap, some pop, none are through exchange. -
"Open method of Workbooks class failed" when opening Excel file via Internet Explorer
(apologies, I posted this first to the general Office 2010 forum, but then realized this was probably a better spot to post)
We have an Excel COM add-in installed on users' PCs. This add-in responds to workbook open events by opening a particular XLA file (also deployed to the PC) to make certain features available. This process works flawlessly when Excel files are
opened locally - but when a user attempts to open an Excel file from an IE link, we get the following error: "Open method of Workbooks class failed". This is happening on the line that is trying to open the XLA file. This only happens
when launching an Excel link from IE - works fine in Chrome or Firefox.
I have found several posts on this topic, but no solutions:
1. This post (https://social.msdn.microsoft.com/forums/office/en-US/73c96005-84af-4648-b103-32b677205be3/open-method-of-workbooks-class-failed)
is the closest to our problem. In this case, the "answer" was that the user may not have access to the 2nd workbook being opened. But in our case, we're opening an XLA that is on the local machine, and I've confirmed that it is not
corrupt and accessible (read & write, just in case!) to Everyone.
2. This (very old) post (http://www.pcreview.co.uk/forums/open-method-workbooks-fails-excel-hosted-ie-t965608.html)
seems similar, but is talking about opening Excel inside of IE. This is not what we're doing - the link is supposed to (and does) open Excel outside of IE. Interestingly, Excel.exe is being launched with the "-embedded" flag, even
though it isn't running in the IE window. When launching Excel by opening the file locally, Excel.exe is run with the "/dde" flag instead. Clearly the "-embedded" mode is what is causing the problem. I could change the
links on the web page to use some JavaScript to open Excel differently... unfortunately, the links are actually generated by SharePoint (the Excel files are in a SP repository), so this is not really an option.
3. This Microsoft KB article (http://support.microsoft.com/kb/268016) talks about problems opening an XLA directly from IE... but this is the case of a link pointing
directly to an XLA file, not opening a regular workbook that in turn opens an XLA, as is my case. In fact, this article specifically points out in the "More Information" section that "End users do not normally open XLAs; instead they open
an XLS that (if needed) loads one or more XLAs during startup." ==> precisely what I'm trying to do that is giving me the error!
I've replicated the situation with a very simple COM add-in (created in VS2010 using VB.Net) and a very simple XLA file (does nothing, just pops up a message in auto_open). For anyone wanting to try it out, here is the exact test case:
1. In Excel, create a simple XLA file containing only the following code, and save it in C:\TEMP\dummy.xla:
Sub Auto_Open()
MsgBox "Auto Open fired"
End Sub
2. In Visual Studio, create a new Excel 2010 Add-In. I created mine via Visual Basic, but I doubt the choice of language matters. Place the following code in ThisAddin.vb:
Public Class ThisAddIn
Private Sub ThisAddIn_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
AddHandler Me.Application.WorkbookOpen, AddressOf Application_WorkbookOpen
End Sub
Private Sub ThisAddIn_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
End Sub
Sub Application_WorkbookOpen(ByVal workbook As Excel.Workbook)
On Error GoTo ErrHandler
If (Not workbook.Name.Contains("dummy.xla")) Then
MsgBox("Workbook open")
Application.Workbooks.Open("C:\temp\dummy.xla")
Application.Workbooks("dummy.xla").RunAutoMacros(Excel.XlRunAutoMacro.xlAutoOpen)
End If
Exit Sub
ErrHandler:
MsgBox(Err.Description)
End Sub
End Class
3. Build & publish this add-in and install it on the same machine as the XLA created in step 1.
4. Create and save an empty Excel workbook (I called mine WayneTest1.xlsx) - save it locally (on your desktop), and put a copy somewhere on your web server (I put mine directly in c:\inetpub).
5. Create an HTML file with a link to that workbook, saving it to the same web server location - here is mine:
<html>
<body>
<a href="WayneTest1.xlsx">Link to Excel file</a>
</body>
</html>
6. Double click the workbook on your desktop (from step 4) - opens fine, I get the "workbook open" message, following by the "Auto Open fired" message.
7. In Internet Explorer, navigate to the HTML file specified in step 5 and click on the link - when prompted, select "Open" - I get the "workbook open" message, following by the error message "Open method of Workbooks class failed".
Here are a few things I've ruled out / tried so far:
- Unchecked all the "Protected View" settings in Excel, made no difference
- Unchecked all the "File block settings" in Excel, made no difference
- Made sure dummy.xla was open for read & write to Everyone
- Made sure the web page was in Trusted sites and set the security level to Low for those sites in IE
- Tried making the local desktop file (step 6) readonly, made no difference (i.e. launching it locally still worked fine)
- Tried using Excel 2013 - made no difference
Any ideas / suggestions?Hello Wayne,
Apologies for the delay.
I went through your post and tried to reproduce the issue. I was able to reproduce it. Based
on its complexity and as it requires more in-depth analysis, your question falls into the paid support category which requires a more in-depth level of support.
Please visit the below link to see the various paid support options that are
available to better meet your needs. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Thanks,
Anush -
Hello,
I have a Windows 7 Pc where Lightroom 5 is on installed.
When I open a photo using " verkenner" I see a good coloured photo.
When I open a photo via Lightroom 5, the photo will be too dark. This gives difficulties during shaping the photograph. Can someone help me to solve this problem?
Kind Regards,
MarianneInto the Develop module Not all the sliders in the Basic Panel are at 0.
Temperature ° is on 5600
Colourtint is on + 30
Balans: slider in the middle
History panel:
Balans gespitste tinten -3 0
Balans gespitste tinten -3 3 -
Hi I have adobe CC for teams, a team member is having problems opening indesign we are being asked for a serial number, ive checked on our admin account and he is one our our registered 'members'. I wasn't the person who set this up originally so I'm a bit lost, i cant seem to find any serial numbers on the my account section and it seems we have no registered products? can you help?
Hi There,
We have checked the details of your team, all seat are assigned properly.
Now there are few details that we would need in a Private Message so that I can assist you appropriately.
Name of the user:
Email of the user:
Meanwhile, try the below mentioned links.
Creative Cloud applications ask for serial number
Sign in, activation, or connection errors | CS5.5 and later, Acrobat DC
[Note: Details that we need is critical, make sure you send them in via Private Message only.]
Thanks,
Atul Saini -
Open a transaction via url, passing a parameter/value and SEND THE OK CODE
Hello Guys,
I'm trying to open a transaction via a hyperlink (System Action). That works so far, but my problem is that there is no button on the dynpro which triggers the going on. I have to press ENTER or the green hook in the corner of the gui. The transaction I'm opening is IE02 with an equipmentno. The value is in the destination field and the only thing what has to happen know is to trigger the next step (namely opening the "change equipment" dialog). Is there a standard OK-Code for the ENTER-Key or green hook ?
Greetings,
Jochenhi...
I can't find that parameter in my Visual Composer environment. I tried to put it in my calling URL but it didn't work either. My URL looks like this:
'/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=' & STORE@systemalias & '&TCode=ie02&GuiType=' & STORE@guitype & '&DynamicParameter=RM63E-EQUNR%3D' & @EQUIPMENT & '&PROCESS_FIRST_SCREEN%3D' & 'YES'
Instead of the last parameter "PROCESS_FIRST_SCREEN" i could use a ok-code, but in transaction ie02 there is no ok-code to commit the screen, because there is no button...
Any ideas?
Greets,
Jochen -
Problem opening indesign document (database publishing?)
Hello
I need help urgently from someone who has experience with InDesign files that refuse to open.
My client has created 2 documents, and they have no problem opening it. ~They tell me it is made with InDesign CS2. I have tried to open it with CS/CS2/CS3 and even an .inx version of the file will not open.
Error message is: < Cannot open the file "xxxx.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be op in another application.>
The file is filled with txt file from a database, that needs to be replaced by me.
My client has no extra plugins installed, I have asked to do a 3rd party check, but list is empty.
Help, what can I do. I have 2 files that need to be worked in quickly. Anyone has experience by peeking into the file with a hex editor or text wrangler to see what is going on? I can send 1 file via e-mail (1.5 MB size)
Thanks,
Aram de Glasthanks for all who have suggested solutions. I have solved it in the mean time, by removing all pages except the master pages, and had it re-saved. So the conclusion is that there was something on one of the pages that made it impossible to open. My bet is a faulty image or logo
Aram -
Problem opening PDF files for Adobe Reader
Problem opening PDF files for Adobe Reader.
I installed the latest adobe reader for my Mac. Everything is set up. Every time i go to open a pdf file, this shows up...
"Before viewing PDF documents in this browser you must launch adobe reader and accept the End User Licence Agreement, then quit and relaunch the browser."
I installed it through the adobe reader website for free. And even though it says 'by clicking "install now" you are agreeing to accept the user licence agreement terms and conditions' it still says i need to accept the T&C's.
I've tried uninstalling and reinstalling it and same thing over and over again.
Can someone help!?!?!
Please contact me via email direct ASAP at....
[email protected]
Thank you
Message was edited by: nick khzouzAdobe Reader PDF problems wrote:
"Before viewing PDF documents in this browser you must launch adobe reader and accept the End User Licence Agreement, then quit and relaunch the browser."
Did you actually try doing what the message suggests? Open Adobe Reader and accept the EULA? -
Open KM folder via WebDav - Invalid Item ID
Hi!
In our KM SAP NetWeaver Portal 7.0 we have some folders where a ! is in the name. There was no problem accessing these folders via WebDav since we installed SP 18. If I will access this folder now via WebDav, paste WebDav Url from flder into IE7 and open the link 'Navigation user interface' afterwards I will get an message like this: Invalid Item ID - the item you are attempting to access does not exists. Check wether the name of the associated repository is correct. In the Portal Log i found the following information: Syntax error in URI placeholder: <path to folder>
Any idea?
Thanks, DanielHi Nitsan,
It depends from where you want to open the webdav folder.
1. From explorer:
Go to My network places, and add a new one with the URL you used before. Now it should open directly as a webdav folder. You can also map this to a network drive.
2 From a website:
Insert a link in the website using the following format:
<a style="behavior: url(#default#AnchorClick)" title="Webmap" href="" folder="http://<hostname>:<port>/irj/go/km/docs/<km path>">Webfolder</a>
This should open directly from the website as a webdav folder.
Johan -
Link Button to open an UDO Object Form
hi
I was trying to open my udo form using a link button in a data grid. But i just cannot link the object.It is working fine with system forms.But i just want to know how to link an UDO Object.hai Manish,
you just catch the row you clicked and get the data with your linkbutton which you have clicked then activate your UDF (by activating menu event) and then perform the find action according to the data.......
i hope this helps .....
Regards.....
Chethan B.E.
9342504047
[email protected] -
I have a problem openning my Itune home, I'm getting unknown error 0x80090308, any body has a solution for this problem
hi marco
I found the problem. Do you have other wi-fi (w-lan) like repeater or tv-transmitter or d-link etc. if yes, please disconnect them once and try again after restarting the time-capsule resp. change the channel if you can to another one. then it should work again.
@ home i have a tv-transmitter via wi-fi and indeed, i changed the channel from 1 to 6 or something like that, then the iphone worked again. -
Problems opening documents (zip files, excel) after upgrade to Snow Leopard
Since upgrading to Snow Leopard I have not been able to open a lot of files. Mainly, zip files and excel documents (which I had no problem opening before the upgrade. It seems that when I save the files down (from my email or whatever) the files go into the "Archive Utility" program, I try to open them from the Finder but they still won't open (or unzip).
When I go to open an excel document (most likely from a PC user), I get a msg that the file isn't formated for excel. However, before the upgrade to Snow Leopard I had no issue opening this same file in Mac Office-Excel.
Thanks in advance for your help/advise.
-KatherineHello Katherine:
I have not experienced those problems, but I do not receive Excel spreadsheets via E-mail. My Stuffit Expander version is 13.0.2.
You might want to check your Excel preferences to see if there is a setting that needs to be changed (compatibility?). I use Office 2004 so your version may be different.
You could also trash preference files to see if something happened during the install.
Barry -
Problem accessing BBC News via iPad 2, iPhone or web
Anybody else have these problems - and solutions?
I have continuous, but erratic problems accessing BBC News either through MacBook Pro, iPhone 3G or iPad 2 (64G Wi-Fi & 3G). Until a few months ago, I never had problems accessing BBC News via my computer. Now I often cannot access the site at all, and problems occur whether I use Google Chrome (11.0.696.57)or Safari (5.0.5). Erratically and less frequently, however, the pages load OK. I have no problem loading other news websites, e.g. CNN or Al Jazeera. I live in Spain. My internet provider is Movistar. I have an ADSL connection of 10Mb (maximum available here) and a wireless router. My MacBook Pro runs OS X 10.6.7.
When trying to access BBC through Google Chrome, I get the following message:
Oops! Google Chrome could not find www.bbc.co.uk
Try reloading: www.bbc.co.uk/news/
Additional suggestions:
Access a cached copy of www.bbc.co.uk/news/
Trying to access BBC on Safari, I get this message:
Safari can’t find the server.
Safari can’t open the page “http://www.bbc.co.uk/news/world/” because Safari can’t find the server “www.bbc.co.uk”.
Using the BBC app on my iPad 2 and iPhone 3G, sometimes the BBC News loads OK, but more often, again, I get this message:
No network connection.
Sorry, you are currently offline and will not be able to view any updated content.
N.B. I am clearly NOT "offline" at this time, since I can open any other web page.I'm trying to access BBC news on iPad 2 through the app. Have the same problems.
I wrote to BBC tech support complaining about my access problem through computer, iPhone and iPad. On May 2, I received the following reply:
Thank you for your email.
We are aware that some people in Spain are having problems accessing the
BBC News site. We have identified the problem to the Telefonica ISP.
We have contacted Telefonica and they have advised anyone with problems
to contact them directly
Kind regards,
BBC News website
Hence, I contacted Movistar (new name of Telefonica) tech support. I was told they knew nothing about the problem and tried to blame my computer for it. And then they hang up!!! Not impressed!!
I wrote to BBC again on May 19 asking WHO I should contact in Telefonica/Movistar, since their tech support staff claim not to know about the problem As of today, no reply from BBC, so still very frustrated! -
JAN 4, 2012
As of the Upgrade to Lion,. 2007 I-Mac - the Email portion, .. DOES NOT allow a Video Clips to be sent via the Email
as the I-Photo is not supported by Video Clips ( Previous Leopard )
No problem clip and drag via Quick Time Pro to the email and select the Attchment size to send. . Depending on the
Size of the Video Clip .. Now Lion only Export's 1 size, . only and as a result . . teh File is TOO Large and
Will NOT send via E-Mail ???
Between the Issue of the Lion, and Email issues , and the Upgrade of I-Touch to 5.1 from 4.2.1
as my Photo Size is Huge .. 70,000 + photos in the Computer. . and was 40,000 in the I - Touch .. .
The New I-Touch too will not Load the same as Previously used on either my 16 GB or 32 GB Unit . .
No Help . .. so far, .. as a Apple user since 1996 .. I have Never experieanced such frustration ???
( any one have some help if similar experiances ? thank you )JAN 4, 2012
As of the Upgrade to Lion,. 2007 I-Mac - the Email portion, .. DOES NOT allow a Video Clips to be sent via the Email
as the I-Photo is not supported by Video Clips ( Previous Leopard )
No problem clip and drag via Quick Time Pro to the email and select the Attchment size to send. . Depending on the
Size of the Video Clip .. Now Lion only Export's 1 size, . only and as a result . . teh File is TOO Large and
Will NOT send via E-Mail ???
Between the Issue of the Lion, and Email issues , and the Upgrade of I-Touch to 5.1 from 4.2.1
as my Photo Size is Huge .. 70,000 + photos in the Computer. . and was 40,000 in the I - Touch .. .
The New I-Touch too will not Load the same as Previously used on either my 16 GB or 32 GB Unit . .
No Help . .. so far, .. as a Apple user since 1996 .. I have Never experieanced such frustration ???
( any one have some help if similar experiances ? thank you ) -
I am trying to open iTunes on my mac. But a box pops up saying "The folder iTunes is on a locked disk or you do not have write permissions for this folder". Anyone know what that means? I've had my computer 2 years and its never had a problem opening it
I've already right-clicked on the application, clicked "get info", and changed it so all people listed in the "Sharing & Permissions" section have the "read & write" privilage.
The error message is referring to your iTunes library, not your iTunes application.
You need to check and fix the permissions of the iTunes folder in your iTunes library. This is by default located in your "Music" folder.
Select the folder Music > iTunes in the Finder, right click on it or Ctrl Click and click "Get Info". At the bottom of the contextual window thatwill pop up, disclose the Sharing and Permissions brick, change your status from Read only to Read & Write. You may need to click the padlock icon to make changes.
Maybe you are looking for
-
Javascript not working with 'Display as Text (does not saves state)'
Hi, We have these following items in P3 of our application, P3_EDIT_ACCOUNT Display as Text (saves state) P3_USEFUL_LINKS Display as Text (saves state) P3_LAST_APPROVED Display as Text (saves state) P3_ARCHIVES Display as Text (saves state) And we ar
-
Ok so I forgot my password for the Game Center...
Ok so I forgot my password for the Game Center and the only place I put it is on my lost ipod which I probably didn't backup and I can't just change the Apple ID password because I used a compleaty different password for game center and I'm so confus
-
Make firefox stop going into full screen
I upgraded to Firefox 10 on my macbook pro snow leopard and now the browser keeps going into full screen mode automatically. If I toggle it off, it just goes back to full screen in a few seconds. I have re-sized the screen and it still does it.
-
Resource injection in DAO?
I use a Data Acces Object pattern in a Java EE 5 Web-Tier Application. The servlets (and JSP) in the front-end call a separate object that that hides the implementation of accessing data in the databases and maintains the connection to databases. Can
-
Cannot uninstall java 2sdk SE v1.4.0 from NT
Cannot uninstall java 2sdk SE v1.4.0 from NT 4 I had a problem during installation. I cannot desinstall it using add remove programms. I cannot install it again because it says it is already installed. I thing I have a problem with the registry. Does