How  to find whether excel is open or not-urgent plzzzzzzzzzzzzzzz

hi
i have used dde command to export the info in a form to excel it works fine.but when ever the user accidently closes the excel sheet and if the user again tries to import data to excel using a push button the application is not raised..the user has 2 refesh or come back to the form again for rasiing the excel......how can i track whether excel is closed or open......can i have a global variable but in case of closing the excel how can i reset it.........

If you are using Forms 6i, you can use the D2kwutil package (search this site to find it). This package consists of a .pll and .dll library which you link to your application (you just copy the dll to either the Windows/System or Oracle\Bin folder).
In that library, look for the "Find3rdPartyApp" function within the win_api_session package.
For more recent versions of Oracle forms, I think that the package (D2kwutil) has been renamed to WebUtil.

Similar Messages

  • How to Find whether schedular is started or not

    HI,
    i am facing a problem. in my application admin is logging in , starting a schedular
    and log off. when any admin comes to the screen, i need to show whether the schedular
    is started or not.
    For starting and stopping i am not maintaining any log file, as our log is too
    big, it is difficult to find the last started time of the schedular from the log,
    if i log the details.
    Can anybody help me in this???
    Regards
    glkishore

    You check check if the port is open from your client to server by running the following command from the client:
    If the client is unix/linux:
    from a terminal run the command:
    telnet server-ip port-no
    eg
    telnet 172.29.64.208 1521
    If the client is windows:
    From the command prompt or from windows terminal run the command:
    telnet server-ip port-no
    eg
    telnet 172.29.64.208 1521
    Closed port will result:
    WINDOWS:
    Connecting To sedefu01...Could not open connection to the host, on port 6789: Co
    nnect failed
    UNIX:
    -bash-3.2$ telnet 172.29.64.208 1521
    Trying 172.29.64.208...
    telnet: Unable to connect to remote host: Connection refused
    Open port will result:
    WINDOWS:
    The telnet will pass
    UNIX:
    -bash-3.2$ telnet 172.29.64.208 1521
    Trying 172.29.64.208...
    Connected to 172.29.64.208.

  • How to find whether my netbook is bluetooth enabled

    I want to connect to my Android Tablet via bluetooth to my netbook Aspire One running on Windows XP.
    How to find whether my netbook is bluetooth enabled ?
    K.R.Kumar

    Click Start, click Run, type bthprops.cpl, and then click OK.
    If your computer has bluetooth capabiliteis, it will launch "Bluetooth Devices". If you successfully opened Bluetooth Devices, then your computer does have Bluetooth capabilities, otherwise, it does not have...
    If it has:
    On the Options tab, click to select the Turn discovery on check box, and then click Apply. To enable Bluetooth devices to connect to your computer, click to select the Allow Bluetooth devices to connect to this computer check box, and then click OK.

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • Hi guys,Explain how to find whether the user request is dialog or bc ...

    how to find whether the user request is dialog or bc or some other wp and where we can see that ?

    Hello Damodar,
    You can find out that in SM50.
    However one piece of advice. I have noticed that you are raising lots of questions about very basic questions. Either you new to SAP or dont know anything about SAP Basis and want to get in this area. Or else you are preparing for some interview. In either of these cases expecting solutions given at SDN are not going to be of much help. Better read yorself in SAP Help as most people do. SDN should not be overly used for such purposes. Basic questions are welcome but you want to learn SAP through SDN !!!
    Regards.
    Ruchit.

  • How to find whether MIRO is done for a PO

    Hi All,
    Is there any indicator attached to POs that indicates whether MIRO is done for that PO?
    I mean after PO creation in ME21N -> GR in MIGO -> Excise (if applicable) and -> MIRO... how to find whether MIRO is done for a particular PO?
    Helpful tips will be gratefully rewarded...
    Regards,
    Karthik

    See if an entry exist in EKBE for the PO Number and its items.
    The complete process though is, to find the GR Quantity for each PO Item and see if it matches with the PO Item quantity.
      SELECT EBELN
             EBELP
             MENGE
             LOEKZ
        FROM EKPO
        INTO TABLE LT_EKPO
       WHERE EBELN = P_EBELN.
      IF NOT LT_EKPO[] IS INITIAL.
        SELECT EBELN
               EBELP
               MENGE
               BEWTP
               GJAHR
               BELNR
               BUZEI
               SHKZG
          FROM EKBE
          INTO TABLE LT_EKBE
          FOR ALL ENTRIES IN LT_EKPO
         WHERE EBELN = LT_EKPO-EBELN
           AND EBELP = LT_EKPO-EBELP
           AND VGABE = '1'.
      ENDIF.
      LOOP AT LT_EKBE.
    * Change the sign of the quantity for debit
        IF LT_EKBE-SHKZG = C_SHKZG_H.
          LT_EKBE-MENGE = -1 * LT_EKBE-MENGE.
        ENDIF.
        MOVE-CORRESPONDING LT_EKBE TO LT_EKBE_SUM.
        COLLECT LT_EKBE_SUM INTO LT_EKBE_SUM.
        CLEAR LT_EKBE_SUM.
        ENDLOOP.
       loop at it_ekpo.
    ** For each line item, calculate the total GR Quanity
        READ TABLE LT_EKBE_SUM WITH KEY EBELN = LT_EKPO-EBELN
                                        EBELP = LT_AWKEY-EBELP.
        IF SY-SUBRC = 0.
    * If the PO Item Quantity is equal to GR Quantity
            IF LT_EKPO-MENGE <= LT_EKBE_SUM-MENGE.
    * The PO Item can be considered completed GRed
            ENDIF.
        ENDIF.
      ENDLOOP.

  • How does u find whether query touches aggregates or not?

    Hi gurus
         How does u find whether query touches aggregates or not?
    Thanks in advance
    Raj

    Hi Rajaiah.
    You can test this from TA RSRT -> Execute and debug -> Display aggregate found.
    Hope it helps.
    BR
    Stefan

  • How to find whether the installed sap software is 32 bit or 64 bit?

    How to find whether the installed sap software is 32 bit or 64 bit?
    Hi Community,
    We have Windows machine - 64 bit - x64. So, we can install either 32 bit or 64 bit sap software, both are supported, right. Now, a sap system is already installed on this machine and i would like to find out whether the sap software is 32 bit or 64 bit, how can i check?
    I have already seen under Menu System - Status - Other Kernel Info & at OS level, with the command disp+work but i cant find the info iam looking for.
    Please help.
    Regards,
    Mohan.

    Hi Sunny,
    Thank you very much for your quick reply.
    Didnt know that one has to look under "Compiled for".
    Regards,
    Mohan.

  • How to find whether remote database is up or not (connected via dblink)

    Hi,
    I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
    Running dbms job using the dblink from the Dev database to update data on Biz database...
    Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
    1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
    2) How to reschedule the dbms jobs once the database is up
    pls suggest me how to find whether the database is up or not b4 running the dbms job?
    Using- Oracle 10g

    The only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
    By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
    Justin

  • How to find whether the cookies are enabled or not

    Hi All,
    Please suggest me, while sending the first request only how to find whether the cookies are enabled or not.
    thanks.

    you could use a servlet, write a cookie and then try to read it, if it's read then it's enabled else not.

  • How to Find whether  JRE is installed in a system or not ?

    I have to write an application in which I want my app to find whether jre is installed or not ?
    Can any one help in this ? My E-Mail ID is
    [email protected]
    Kumanan.

    For windows OS this is the solution.
    Find out the following key in the registry.
    HKEY_LOCALMACHINE/Software/javaSoft/Java Runtime Environment
    if the key to javasoft is there then JRE is installed and to see the version of JRE look a level down further and you will find the versions.

  • How i find my i5c is genuine or not

    how i find my i5c is genuine or not?

    See this thread: https://discussions.apple.com/message/23719985#23719985

  • How to programatically find whether excel is installed in a client system.

    Hi all,
    I am developing a web application and need to send the output as excel so that end user sees it in excel format..
    how could i find whether the client system is having Excel installed..

    how could i find whether the client system is having Excel installed..
    Some queries :
    1) For pdf file don't you give link to download acrobat reader ?Since it is required to view pdf.
    2) Checking user registry may not be a good option for web application.
    Since you are sending excel file, user will either open it or will be asked to save it.

  • How to programatically find whether excel is installed in a client system o

    Hi all,
    I am developing a web application and need to send the op as excell so that end user sees it in excel format..
    how could i find whether he is having excel instaled in the system or not...

    dont cross post

  • How to find list of all open windows?

    Hi,
    I was wondering how to find a list of all open windows on the
    desktop. I have been able to use this to find the number of open
    windows in the AIR application:
    var windows:Array =
    NativeApplication.nativeApplication.openedWindows;
    test.text = String(windows.length);
    I cant seem to get the list of all open windows on the
    desktop though or the names of the windows.
    Any pointers would be appreciated.
    Thanks!

    Thanks anirudhs. I had a feeling this was the case. It just
    seemed odd that the built-in function calls like orderToBack() and
    orderToFront actually put the AIR windows behind or in front of all
    the windows on the desktop. Somehow AIR is finding the list of open
    windows on the desktop. I just didnt know if there was some way to
    access AIR's way of finding the windows. Guess it must be a
    protected function. Thanks!

Maybe you are looking for

  • Preview application not working

    When I open a pdf, the Preview application opens in the dock, but nothing shows up on the screen. I can force quit Preview by ctrl-clicking, but that's it. Any suggestions?

  • Support for Memory Dynamic Reconfiguration Capability

    Hi, one of the exiting new features of the new Solaris release is "Memory Dynamic Reconfiguration Capability" for logical domains. but , will it work with ldom manager 1.3 or do we have to wait for a new release of ldom manager ( and firmware maybe ?

  • Trying to transfer songs from ipod to mac

    I have an Ipod touch that is my bf's, his ex was the primary user and the account info is all her. I do not have itunes password. We don't care about apps, and i would like to reset with his info, but there are over 1,200 songs and most are not itune

  • Protect content/doc/entity of server!!

    I need to protect some documents or .mp3 files which stored in abc.us.arvika.com server. Can it be possible through the OAM11g or latest versions? if yes, please take through steps/details. Many Thanks

  • Apple TV for In car computer....  in idea phase, please help

    so im looking at throwing money at my car to make it a mac powered vw I know its complicated, and will require a lot of components, but my basic question for you all is this; LINKS BELOW can I take my apple tv, and use this hdmi to RCA and VGA cable