Is It necessary To Call SQLFreeStmt(...,SQL_CLOSE) Prior To A Rollback

If you have a program that does the following:
1) Opens a database connection.
2) Prepares a SQL statement.
3) Binds columns to the SQL statement.
4) Executes either an insert, update, or delete statement.
5) An an error is encountered executing the statement, say unique primary key contraint failure.
6) The code detects this error and issues a rollback followed by a commit.
7) The code processes another transaction repeating from step 3 onward (using the same database connection, prepared SQL statement, etc.)
After a rollback, is it still necessary to issue a SQLFreeStmt(..., SQL_CLOSE) on a statment, prior to rexecuting the statement?
Thanks.

It is never necessary to call SQLFreeStmt(...,SQLCLOSE) for a handle used for DML. The SQL_CLOSE option simply closes any curtsor associated with the handle; Only statements that return a result set (such as SELECT) ever need to be closed in this way. Note that in TimesTen both COMMIT and ROLLBACK close all cursors associated with all handles for the connection. Hence if you are going to commit or rollback anyway it is not necessary to SQL_CLOSE handles for SELECTs either.
So, in your example it is not necessary to issue the SQL_CLOSE since you are doing DML. The close will have no effect and is just a waste of cycles. Also, there is no need to execute a commit after the rollback. Again it does nothing and just wastes CPU cycles.
Chris

Similar Messages

  • Calling stored procedure prior to CMP ejbCreate, ejbStore

    We have an Oracle stored procedure that wraps the dbms_application_info package to "store" the username in the current session via the set_client_info() procedure.
    Now, we are attempting to use CMP with connection pooling; so, where this procedure call was trivial in the client/server world, it now seems a little murky in the n-tier world.
    Is there a way to obtain the handle of the connection being used by the entity bean during ejbCreate() and ejbStore(); and, use the handle to call the stored procedure prior to the execution of these methods (akin to an ejbPreCreate() method, if there was one) using the same session/connection so the username is correct?
    Thanks in advance,
    Greg

    The application is connecting to a single database, but I am trying to capture the username of the individual logged into the application and make that available to the connection to audit inserts/updates made within Oracle via the application.
    My guess is that our current implementation of auditing will need to change to work with the n-tier model, but I wasn't sure if there was something that could be done (e.g. deployment descriptor or other application server xml file) to allow our current functionality to exist as-is.
    Thanks for the response.

  • Make my iphone 5 calls ring less prior to going to voicemail?

    How do I make my iphone 5 ring only 4 times instead of 5? People give up leaving a voicemail because it rings so long prior.

    It's set by the system at 30 seconds; sometimes changing the ringtone helps.

  • Broadband connection drops when a phone call is re...

    Hi
    I am new to this forum so please let me know if I don't supply all the necessary information.
    For a couple of months now we have had a consistent problem with the broadband connection dropping when an incoming phone call is received, prior to this it had been fine for a long time.  After making the normal user checks, as recommended by BT, the problem persisted.  A BT engineer visited my house and was able to reproduce the fault at the master socket.  He traced the line back, via the manholes under the street to a connection box outside the village.  After working hard for four hours he seemed to have fixed the fault and was able to demonstrate streaming video uninteruppted by an incoming call.  He told me that he had solved the problem by re-routing the line, he also replaced the mark 2 router with a mark 3 router.  Twenty four hours later the problem returned and is again absolutely consistent - even with just the router connected to the master socket the broadband light will go out when an incoming call is received.  On phoning the helpline I was told that there was a problem at the exchange, which should be fixed within 24 hours, but it wasn't and I didn't hear back.  Further investigation showed that both of these issues had been marked as resolved.  We are a long way from the exchange and have had a history of problems with both the line itself and the exchange.  In the past the hard working BT engineers have always managed to get things sorted out when they have visited.
    This time I am struggling, as I can't seem to find the right approach to BT to persuade them to build on the work that the engineer who came out so recently did - I always seem to end up describing the problem from the beginning and then being told that it is my internal wiring that is at fault, nobody will acknowledge any of the work that has been done by the engineer that visited or the person that approached the exchange.
    Sorry for such a long post, but it is very frustrating - I have considered changing the phone number so that nobody can make any incoming calls, but then I would have no phone!!
    Any ideas would be gratefully received.

    Hi John
    Thank you for your very prompt response.  Clicking on that link does not show up any problems in my area or with my line.  I have limited technical knowledge, but what you say about high resistance does fit the facts.  We have had a lot of problems over the years, most of which have been traced back to faults between the box at the edge of the villagae and our house - we have had the line replaced more than once, although I'm not exactly sure what that involved.  In the past the fault that recurred was very slow speed and dropping of the broadband connection, this is different now in that the speed is actually now quite good for our area, but the connection drops when a phone call is made or received.  I did have the fault logged with BT, but it has now disappeared from "track faults" without being resolved.
    When everything is working it is a very good service.  My friend in an isolated village in North Wales had BT broadband as soon as his local exchange was enabled.  It has provided faultless service ever since, at a higher speed than I can get on the outskirts of a major city.
    Thanks for the support, it has made me feel much less isolated - I'll keep reporting it.
    Regards
    Richard

  • Stolen iPhone 4 and follow-up Call from Apple

    Hey guys,
    My girlfriends iPhone 4 (32GB locked to Rogers) was stolen about a week and a half ago. She had Find My iPhone on it and we used it to lock and clear the phone right away, but since the phone was already turned off we were not able locate it. We get an e-mail the next day from the app saying that the lock and message were sent, which means the person who stole it probably turned it on. We still weren't able to locate the phone using the app so we just assumed they re-formatted the phone, cleared it, and logged out of iCloud. We thought end of story, we lost an iPhone, but there's nothing we could do. We go to an Apple store, tell them the phone was stolen and they proceed to use Find My iPhone to clear and lock the phone again (they say they weren't allowed to brick it and we weren't given the option to report it stolen).
    Anyways, fast forward to a week later (night of Monday, Nov 5, 2012). We get a call from apple (call center 512-674-2000). The caller is Betty who works for Apple and she asks us if we have sold an iPhone on kijiji/eBay recently. We tell them that we've actually recently had the phone stolen and ask if someone's returning it. They say not quite, just that someone was tryign to contact apple with the iPhone's serial code. Unfortunately at this point the phone is very low on batter (<10%) so we ask if they can call back at another number. Betty says okay. We don't get a call back.
    We call back the apple number that called us, but the call center is closed (it was around 8:15 EST). So we call the Apple Canada Hotline (we're from Toronto). The issue gets escalated to a manager and they're pretty much saying there's no notes on why the call was made. There definately has to be a reason for apple to call us asking if the phone was sold right? They tell us to call the number that called us earlier the following day to see if we can contact Betty who called us earlier. However, they do tell us that they ahve on their record that Betty called us, and prior to that, someone called with an issue about the stolen iPhone's serial code (we had not called in).
    So we wait until the next day can call the 512 number. Pretty much we keep getting passed around with people telling us they can't do anything since there's no notes on the file and they can't redirect us to Betty.
    My question is: There HAD to be a reason why they called us right? The phone was stolen at a friends house, where we thought we knew everybody. If we can get any information on who the original call was from maybe we can find out who stole the phone? Has anyone had a similar experience or does anyone have any advice on what to do? I'm sure apple knows something, but they are just not telling us. Sorry for the lengthy post, just wanted to get all the details out there! Thanks for any help!

    But if an issue is reported using the serial code of the stolen product, could they not tell me what number it was called from?
    I understand that they can't do much, but I just wanted to know the original reason why Apple called us in the first place to ask whether we sold the iphone on kijiji or eBay recently.

  • How to achieve Entity Bean methods ONLY by calling them from a Session Bean

    Hi,
    I used a session bean as a business facade to a entity bean.
    In the session bean I achieve the entity bean with a jndiContext.lookup("java:comp/env/ejbEntityBean").
    Now I am looking for a solution that it is only possible to call the entity bean methods or the whole entity bean from the corresponding session bean.
    In other words: "How can I forbid the access to the entity bean, if the calling object is not the corresponding session bean?"
    --->
    I only found a way the regulate the access to the entity bean methods by declaring a security-role.
    But the existence of the security-role at runtime depends on the calling user-authorizations!
    Is there a way to set the entity-security-role within the session bean context?
    Best Regards
    Steffen

    Hi Srikanth Reddy.T,
    sorry, I am not looking for a special tag  <entity-security-role>.
    I am looking for a way to specifiy that my session bean "has" the special security-role (in my case "WebZaehlerEjbRole") of my entity bean "in my case "WebZaehlerEjbRole") that is necessary to call the methods (findAlleEntries, findByWindowId,...) of my entity-bean.
    Here is the relevant part of my ejb-jar.ml:
         <assembly-descriptor>
              <security-role>
                   <role-name>WebZaehlerEjbRole</role-name>
              </security-role>
              <method-permission>
                   <description>method-permission</description>
                   <role-name>WebZaehlerEjbRole</role-name>
                   <method>
                        <ejb-name>WebZaehlerBean</ejb-name>
                        <method-name>findAllEntries</method-name>
                        <method-params/>
                   </method>
                   <method>
                        <ejb-name>WebZaehlerBean</ejb-name>
                        <method-name>findByWindowId</method-name>
                        <method-params>
                             <method-param>java.lang.Long</method-param>
                        </method-params>
                   </method>
    Regards,
    Steffen

  • IMac ichat to macbook pro ichat and vice versa: audio/video call/chat not working

    Hi and thanks for your time!
    no green video/phone icon appearing beside buddy name.
    audio status/video status under view of the menu bar are ticked. ( i noticed this happened after i added "appleut01" AIM and did a test call. grayed out prior to said test call)
    invite to video/audio chat under buddies list are grayed out even if buddy highlighted first.
    also tried changing port to 443 but when I do it automatically goes back to 5190...
    also, i've tried logging off/on, deleting my account and making a new one...
    basically followed suggestions from various threads herein but still cant video/audi chat/call:-)
    hope somebody can help^^

    Hi,
    Lets check a few more things.
    Some things are blocked from you changing them if the Mac User Account you are using has Parental Controls turned On.
    To Show Buddies with Video and Audio icons several places should be checked.
    1) with iChat Open go to the View Menu. In here both Show Video Status and Show Audio Status should be ticked  (Selecting it will toggle the tick On or Off)
    2) In the Video Menu the Camera Enabled item and the Microphone Enabled one should also have ticks.
    3) (we Looked already) The Connection Doctor should say you can Video or Audio Chat as well as whether you can 4 way Video chat and 10 Way Audio Chat.
    4) In the iChat Menu > Preferences > Video Section the Bandwidth Limit should not be set too low.
    At least the 500kbps setting is needed to do 4 Way Video Chats.
    It can also be useful to use this setting if your Internet Connection is much faster but varies a lot.
    5) Parental Controls will stop you Adding Buddies, adding new Screen Names/Accounts in the iChat Preferences, altering several things about existing Accounts/Screen Names that have been set up.
    If a Buddy has a Video or Audio iCon and it is a pale green them they are Busy.
    If 1) are set then you should have an Video icon next to your Own Buddy pic in the header part of the Buddy List window. (Whether it shows Audio or Video will depend on 2)
    What shows in 3) will depend on the other settings and what Internet Speed and hardware you actually have.
    6) IF the settings are On for the camera then we need to know if the System can "See" the camera.
    Go to the Apple icon Menu top Left.  Click About this Mac.
    Click More info to Open the System Profiler
    Use the Reveal Triangles to see the Hardware list then USB.
    Does this list the Camera connected to one of the Buses ?  (you may need to click the items in the panes on the right to see the info you need)
    It should list the details such as serial number, Maker, Firmware (possibly) and speed.
    7:19 PM      Friday; July 8, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • HTC One M8 call history timestamp issue

    I have waited patiently for several months through a couple firmware updates, expecting to see this issue addressed. However, it seems to have received very little attention or recognition.
    Using the stock phone app, any calls prior to the current day do not display the timestamp. Only calls made or received during the current day display the time of the call. Any calls received/made prior to the current day only display the date. Any calls placed yesterday only display simply "yesterday." Long-pressing any entries without a timestamp to select "view history" only displays the call "duration."
    A few friends have the same phone on another carrier and their devices display the name, phone number, date and timestamp in the "Call History" and "Phone" logs, even without the need to long press and "View History." They are also using the same stock Phone application. It is quite frustrating to not see the timestamps of missed calls.
    The few references online regarding this issue seem to have concluded this is a carrier programming issue, as those on Verizon have the same issue and those on another carrier do not.
    Does anyone using a Verizon HTC One M8 not have this issue using the stock Phone app?
    Does anyone know of a fix or workaround to address this without installing 3rd-party apps?
    Is Verizon planning to address this issue? Have they already?
    Whom shall I contact to raise this issue?
    Thanks in advance.

    Hi Pamela,
    Here's how things look.
    I can't remember it being any other way on my handset.
    Would appreciate anyone kindly confirming (or denying) this is how entries look on their Verizon HTC M8.
    (Censored for Privacy)
    Call History:
    Phone History:
    Long-Press entry > View Call History:

  • Can LabVIEW call a function from a .sys file or is LabVIEW limited to dll access?

    My vendor has sent me a .sys file with functions accessing their hardware.  Can i call these function from labview directly or do I have to wrapper the .sys with a dll?

    Well a sys file is a kernel device driver. LabVIEW does not have any direct way of accessing such a driver. The way kernel drivers are accessed is usually through a DLL which makes calls to WinAPI functions such as CreateFile(), ReadFile(), WriteFile(), CloseHandle() and DeviceIORequest(). Since these WinAPI calls are basically just DLL calls too, you could theoretically use the Call Library Node to call them and access the kernel device driver in such a way.
    However for any kernel device driver with more than one or two device driver calls, it will certainly be easier in terms of development, debugging and maintenance of the code, to write actually a dedicated DLL in C/C++ for this device driver and access that DLL from LabVIEW, especially if you consider the LabVIEW datatype limitations when designing the DLL interface (Basically this same DLL can then be called from any other Windows development environment, be it Visual Basic (similar datatype limitation as LabVIEW), Delphi, (Visual) C, LabVIEW or also various scripting environments like Python and Lua.
    Some of the necessary WindAPI calls are rather involved and pose quite a bit of trouble to get the parameter data right in LabVIEw.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • BT "customer service" and Call centre processes......

    I have been having intermittent drop outs on my wifi network for about 2-3 weeks now.  I have a laptop, desktop and two notebooks connected (not all the time).  So i took my laptop to a friend to check if it were the PC that was causing the issue, not surprisingly it did not.  As the remaining 3 networked PC's also had a common problem, it made sense that a common fault existed.  Therefore either the line into the house or the router was at fault.  so, I checked the helpful BT step by Step checklist in regards fault finding - all checked out - but then again why wouldn't it as the fault is intermittent.
    As we have had no audible issues (checked with neighbours in case the telephone exchange was faulty), I phoned the "helpdesk.  Got a nice guy called Abhay, who diligently went though his spiel.  After 25 minutes of me trying to explain that the fault was intermittent and that all I wanted was a new reliable router sending out (the current one is 2 years old) we arrived at this conclusion (and confirmed by his supervisor).
     1. I would need to be in front of my PC and home router to go through one of his technical colleagues checklists.
    2. The fault was recorded on my Call Centre Notes as intermittent and that it may not repeat under test conditions
    3. Upon completion of the checklist regardless of the outcome of the troubleshooting, I was to request a replacement router be sent out - a fact also recorded on my call centre notes.
    4. It was confirmed that this was the case that the check list would need to be completed but regardless of the outcome a router would be despatched immediately upon conclusion, "as it probably was the router given the fault and age".
    I asked then, why it was necessary to call back and waste my time and bt resource ticking a box if the act of ticking the box has not influence on the outcome.    All I want is a new router (and a good reliable service) which will be forthcoming after the fruitless box ticking exercise.  I asked if he would be able to just send me a router now, he said not.  I asked if I could escalate to someone who could authorise a new router, he said not.  So I have to phone back and waste more time to get what we all know will be the eventual outcome.
    I know there are processes, but why are there not supervisors/managers in BT who can a) think about customer expectations, b) consider the impact on customer’s time and BT resource in regards rigidity, c) think beyond a checklist, d) satisfy the needs of their customers?
    I bet that bloke out of "my family" never has this issue - and don't get me started on Infinity....Virgin media is beginning to look more and more appealing (never had a problem with Virgin customer services in the past - holidays, mobile and healthcare - there is a theme about brand evangelists and customer loyalty  here.  Virgin treat their customers as honoured guests where you (BT) seem to think you have a god given right to provide service and customers are loyally bound to the brand – I have been a BT customer as long as I’ve owned my house (25 years ish), and remained loyal but this is not the way customers should be treated.

    These people don't give a hoot.  It's not about "developing a customer relationship" or meeting basic expectations.
    Customers are treated as problems -- to be palmed off with a line (I have heard multiple stories as to what my oustanding fault is (2 months now and I phone every few days)).
    They don't appear to communicate at all with each other -- even if you have phoned up every few days for months they will act as if that is the first time you have phoned.  You will be asked the same questions again and again -- what type is your line box I have answered probably a dozen times recently.  What is your telephone number when you have already dialled it in.  I even went through a month or so last year when they were denying I was a customer. They don't record anything. They are completely disorganised.  They go through the motions of a line test again and again to seem to be effectual.  The indians are apologetic and you can believe it -- but the British aren't.
    I think you've hit it on the head that the culture of the state owned monopoly BT has perpetuated (at least in the UK). They think we owe them a living.

  • Call BEx from function modules.

    Hi,
    I'm trying to run BEx (Excel) from an abap Exit. Using the debugger I have observed that it is necessary to call the rsah_launch_excel function module passing some parameter (i.e. workbook id) but don't know if it is necessary to copy and modify the called program ( RRMX_START_EXCEL).
    Any suggestion about the coding will be well appreciated.
    Thanks in advance.
       Giovanni

    Use SUBMIT Program statement ... i.e,
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/submit.htm

  • Call abap method in a javaScript Function

    Hi all,
    I want call a abap method via a javaScript function in a view of a bsp application.
    Does someone know how it works?
    regards Alex

    Hi,
    You can either change the location of the page to a target URL usinng "document.location.href = 'targeturl'. So targeturl is the fully qualified url necessary to call the method.
    Or you can take a look at XMLHttpRequest object (http://www.w3.org/TR/XMLHttpRequest/) which can create requests to a given URL. You can parse and use the data returned by the target url.
    Hope it helps,
    Regards.
    Ozcan.

  • Manual call and release

    Hello Guys,
    I am curious to undertsand the difference between Manual call and release button on IP10. Once we scheduled the job and if we wanted to do a manual release...we select the future schedule and hit the release flag which wud trigger the wo and also in other way we can select the future schedule and hit the maual call button which is also triggering WO with some 90,0000 number .
    And also I notice when I try to release it...it would not allow me to relase the schedule if any other schedule was on hold prior to tht.It only allow me to release if the prior schedule has been called .
    Pls advice is there any difference and also the releasing the schedule prior to the schedule on hold.
    Mahee

    Ok...lets say I have scheduled the plan every week and assume 03/23/11 --I have my scheduled on hold and currently I want to do a manul call on that schedule and just higlight it and hit manual call icon...after saving sys will generate the wo..but what happens on 03/23/11...whether again sys generates the WO or not ?
    And also in release i could not able to relase the scheule on 03/23/11 today as few of them scheduled were on hold prior to that...so I can only release the schedule only it did not have anything on hold prior to tht.. Lets say if i release it today assuming no other call on hold prior to tht...whether sys will generate the wo on 03/23/11 or not ?
    Pls advise
    Mahee

  • Last RoboHelp HTML v9 Workspace (formerly called Environment) does not reload next time RH9 loads

    Hey all, thanks in advance for any info you can provide.  All the RoboHelp references below relate to us using the respective version of RoboHelp HTML, and on my XP SP3 pc.
    I have worked with RH7, RH8, and now RH9, but RH9 is not behaving the same as the others as it relates to Workspace (formerly called Environment in prior RoboHelp versions).  In the other versions, the last screen arrangement/Workspace always reloaded the next time you loaded RH, but with RH9, it doesn't. 
    The previous “environment”, now called “Workspace” (upper right corner) does not remain what it looked like when you last closed it, the next time you open Robo.  It resets to some weird default EVERY time, instead of looking like the last time you closed it…even though it shows you with a checkmark that it did load it (but it didn’t!)!
    My Mini-work around is, I clicked “Workspace” (upper right corner) and loaded my environment file (mark.rhs), which loads the screens the way I want them, then did a SAVE to one I called “default” and since it shows you the last two you opened, each time I load Robo, I take turns loading them…no biggie, but it just saves some time so you can choose between YOUR two named files that do the same thing screen rearranging.
    Is this a known issue in Robo9?  Is there a fix?  I have uninstalled/reinstalled many times for other reasons, but this issue has always been present, even installing the latest patches.  Thanks in advance for any feedback.

    to Peter Grainge:  Sorry for any confusion...as you state, I expect to see the same exact workspace I left when I last closed RoboHelp and if I reload my workspace/environment and all looks well, I expect to see that same screen placement the next time RH loads...but that does not always happen.
    I did what you suggested and closed several of the extraneous Pods that appeared, closed RH, and it did save those settings...BUT I then loaded my saved workspace, closed RH, and the settings were not saved as the same funky screen placement appeared.  After checking, it is not the RH defaulted workspace, but actually my saved workspace plus the "See Also", "Review Pane", and Resource Manager" Pods, which I do not use.  So, as a test, I closed those 3 Pods and resaved over one of my saved workspace files.  I now get a much better percentage of the screens being what I expect each time I load RH, but for some reason, there are times that I reload my saved workspace, exit RH, and the next time I load RH, that funky screen placement is present again.  I had an environment issue with RH8, as it could never save the windows the way I needed them, and I had to move them each tim...maybe it was due to migrating from the previous version and it using the migrated/modified .rhs file...or multiple versions installed...who knows?  ;->
    Thanks for your reply!

  • Call OpenOffice through OLE Automation

    Hello everybody,
    I am trying to open an OpenOffice Calc window (similar to Excel)
    from ABAP through OLE automation. My problem with this: it
    is necessary to call an automation method of OpenOffice that
    has a SAFEARRAY (OLE data type) as one of its parameters.
    How do I create a data type that maps to SAFEARRAY in ABAP?
    I have found no example for this.
    My program looks like this, the missing line is the one that
    starts with #4:
    REPORT ZCALC2 NO STANDARD PAGE HEADING.
    INCLUDE OLE2INCL.
    DATA: SERVICE_MANAGER TYPE OLE2_OBJECT,
    DESKTOP TYPE OLE2_OBJECT,
    DOCUMENT TYPE OLE2_OBJECT.
    CREATE OBJECT SERVICE_MANAGER 'com.sun.star.ServiceManager'.
    CALL METHOD OF SERVICE_MANAGER 'createInstance' = DESKTOP
    EXPORTING #1 = 'com.sun.star.frame.Desktop'.
    CALL METHOD OF DESKTOP 'loadComponentFromURL' = DOCUMENT
    EXPORTING #1 = 'private:factory/scalc'
              #2 = '_blank'
              #3 = 0
              #4 = ''.
    FREE OBJECT SERVICE_MANAGER.
    When I run the program, the CALL METHOD returns SY-SUBRC code 2 and I see the following in the trace file:
    <1950=(Error): CALL METHOD "loadComponentFromURL" OF [#13/0x00229C9C/402]
                        #0: STRING "private:factory/scalc"
                        #1: STRING "_blank"
                        #2: LONG "0"
                        #3: STRING ""
    IDispatch::Invoke raised exceptionTypkonflikt.
    <1950=(Error):                                                 Exception fire by :[automation bridge]
    <1950=(Error):                                                 Exception info:conversion not possible!
    <1950=(Error):                                                 Exception code:1001
    <1950=(Error):                  Error occured at Verb  : loadComponentFromURL
    <1950=(Error):                                   Object: 13
    <1950=(Error): SAPAWRFC leaving RfcFlushOle with RfcRaise(CALL_METHOD_FAILED)
    See the <a href="http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XComponentLoader.html">loadComponentFromURL</a> documentation for information on the parameters. Unfortunately it is in UNO IDL, which is specific to OpenOffice. However, a <a href="http://udk.openoffice.org/common/man/spec/ole_bridge.html">mapping</a> to OLE types is available.
    There are many examples how to do this in other programming languages, for example <a href="http://www.oooforum.org/forum/viewtopic.phtml?t=9815">here</a>, but I could not find it in ABAP.
    Thanks for your help,
    Frederic.

    Here is another interesting thing: it's possible to let OpenOffice open a multi selection file dialog from ABAP. It works like this:
    CALL METHOD OF SERVICE_MANAGER 'createInstance' = DIALOG
    EXPORTING #1 = 'com.sun.star.ui.dialogs.FilePicker'.
    CALL METHOD OF DIALOG 'setTitle'
    EXPORTING #1 = 'Hello from ABAP'.
    CALL METHOD OF DIALOG 'setDisplayDirectory'
    EXPORTING #1 = 'file:///C:'.
    CALL METHOD OF DIALOG 'setMultiSelectionMode'
    EXPORTING #1 = 1.
    CALL METHOD OF DIALOG 'Execute'.
    CALL METHOD OF DIALOG 'getFiles' = FILE_ARRAY.
    According to the documentation, last line returns an empty array if no file has been selected. My hope was that I could use this as the 4th parameter of loadComponentFromURL, but I still get "conversion not possible".
    I also wonder what should be the type of FILE_ARRAY - I expected OLE2_OBJECT, but if I try that, I can see in the debugger that the object is not properly initialized (HEADER and TYPE are not 'OBJH' and 'OLE2').

Maybe you are looking for

  • How to get sum for each currency's in ALV Report

    Hi, A column has amounts with various currency's. May I know how to get sum quantity for each currency in ALV Report? Thanks in advance.

  • Downcasting in Object PL/SQL Does not Work in Oracle 10g Enterprise Edition

    create type one_t as object ( x number, y date ) not final create type two_t under one_t() set serverout on declare super one_t; sub two_t := two_t(1, sysdate); begin super := one_t(1, sysdate); sub := new two_t(1, sysdate); dbms_output.put_line('sub

  • Error in starting the database

    when i shut down my database,there is no error but as i startup my database it is giving the following errors ORA-24324: service handle not initialized ORA-01041: internal error. hostdef extension doesn't exist ORA-12514: TNS:listener could not resol

  • Mail in Mavericks is Extremely Slow and a Resource Hog

    Since upgrading to Mavericks it is taking a very long time to fetch mail, and during this wait my computer is pretty much non-responsive.  (For example, fetching 56 emails using my webmail client took 4 seconds, while fetching the same 56 emails usin

  • Dreamweaver Template Issues

    Heyyy, I have been trying to set up some Dreamweaver Template files. I have defined an editable region for the content to go in, I then create a new file using this template and start editing the page.  However when I put in too much content, the edi