Send data collected in UCCX script to external url

I have a requirement to have a caller select an option in a UCCX script that will populate a variable (whatever type it may be).  I then would like to send that variable to an external URL.  Has anyone had success at doing this?  If so can I see an example script?

Hi,
I am not sure whether I got this correct, but if you mean that you have a block of Java code within your script (probably in a Set or a Do node, but any node which accepts an expression would do), then a UCCX script variable can be referenced within the Java code block by the variable's name.
G.

Similar Messages

  • Searching for a possibility to send data of an itab vial email

    Hello,
    i want to send data from an itab to an external emailadress. Does anybody know a FM or something other?
    Thanks for your help

    Below is the sample code for sending and email, just concatenate all the field line into one and pass that table to
    CONTENTS_BIN as attachment.
    DATA:
        L_DATE(10).
    DATA:
      LI_RECLIST         LIKE SOMLRECI1  OCCURS 5  WITH HEADER LINE,
      LI_OBJTXT          LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE,
      LI_OBJECT_CONT     LIKE SOLI       OCCURS 20 WITH HEADER LINE,
      LI_OBJPACK         LIKE SOPCKLSTI1 OCCURS 2  WITH HEADER LINE,
      LI_OBJHEAD         LIKE SOLISTI1   OCCURS 1  WITH HEADER LINE,
      LS_DOC_CHNG        LIKE SODOCCHGI1,
      LV_LINES           TYPE I,
      GI_OUTPUT          LIKE SOLISTI1   OCCURS 5  WITH HEADER LINE.
    DO 10 TIMES.
      GI_OUTPUT-LINE = 'Answerthink'.
      APPEND GI_OUTPUT.
    ENDDO.
    WRITE SY-DATUM TO L_DATE.
    LS_DOC_CHNG-OBJ_NAME  = 'ANGEBOT'.
    CONCATENATE 'ZMBIBC_CCMS_LOAD Error Report u2013'
                L_DATE
           INTO LS_DOC_CHNG-OBJ_DESCR.
    LI_OBJTXT = 'Please find the attached document'.
    APPEND LI_OBJTXT.
    CLEAR  LI_OBJTXT.
    DESCRIBE TABLE LI_OBJTXT LINES LV_LINES.
    READ TABLE LI_OBJTXT INDEX LV_LINES.
    LS_DOC_CHNG-DOC_SIZE = ( LV_LINES - 1 ) * 255 + STRLEN( LI_OBJTXT ).
    * Creation of the entry for the compressed document - body text
    CLEAR LI_OBJPACK-TRANSF_BIN.
    LI_OBJPACK-HEAD_START = 1.
    LI_OBJPACK-HEAD_NUM   = 0.
    LI_OBJPACK-BODY_START = 1.
    LI_OBJPACK-BODY_NUM   = LV_LINES.
    LI_OBJPACK-DOC_TYPE   = 'RAW'.
    APPEND LI_OBJPACK.
    DESCRIBE TABLE GI_OUTPUT LINES LV_LINES.
    LI_OBJHEAD = 'OUTPUT'.
    APPEND LI_OBJHEAD.
    LI_OBJPACK-TRANSF_BIN = 'X'.
    LI_OBJPACK-HEAD_START = 1.
    LI_OBJPACK-HEAD_NUM   = 1.
    LI_OBJPACK-BODY_START = 1.
    LI_OBJPACK-BODY_NUM   = LV_LINES.
    LI_OBJPACK-DOC_TYPE   = 'RAW'.
    LI_OBJPACK-OBJ_NAME   = 'ANLAGE'.
    LI_OBJPACK-OBJ_DESCR  = 'Output List'.
    LI_OBJPACK-DOC_SIZE   = LV_LINES * 255.
    APPEND LI_OBJPACK.
    LI_RECLIST-RECEIVER = 'give email address.
    LI_RECLIST-REC_TYPE = 'U'.
    LI_RECLIST-EXPRESS  = 'X'.
    APPEND LI_RECLIST.
    CLEAR LI_RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA              = LS_DOC_CHNG
        PUT_IN_OUTBOX              = 'X'
      TABLES
        PACKING_LIST               = LI_OBJPACK
        OBJECT_HEADER              = LI_OBJHEAD
        CONTENTS_BIN               = GI_OUTPUT
        CONTENTS_TXT               = LI_OBJTXT
        RECEIVERS                  = LI_RECLIST
      EXCEPTIONS
        TOO_MANY_RECEIVERS         = 1
        DOCUMENT_NOT_SENT          = 2
        OPERATION_NO_AUTHORIZATION = 4
        OTHERS                     = 99.
    BREAK PANAKAPALLY.
    SUBMIT RSCONN01 WITH MODE   EQ 'INT'
                    WITH OUTPUT EQ SPACE
                     AND RETURN.
    COMMIT WORK AND WAIT.
    CASE SY-SUBRC.
      WHEN 0.
        LOOP AT LI_RECLIST.
          IF LI_RECLIST-RETRN_CODE = 0.
            MESSAGE S000(Z1) WITH 'The document was sent'.
          ELSE.
            MESSAGE S000(Z1) WITH 'The document could not be sent'.
          ENDIF.
        ENDLOOP.
      WHEN 1.
        MESSAGE S000(Z1) WITH 'No authorization for sending'
                              'to the specified number'
                             'of recipients'.
      WHEN 2.
        MESSAGE S000(Z1) WITH 'Document could not be'
                               'sent to any recipient'.
      WHEN 4.
        MESSAGE S000(Z1) WITH 'No send authorization'.
      WHEN OTHERS.
        MESSAGE S000(Z1) WITH 'Error occurred while sending'.
    ENDCASE.

  • How does a JSP page send data to a servlet?

    I know, elementary school question, but I can't seem to do it no matter what I tried to do. Here is my code:
           URL url = new URL("http://" + ChatGlobals.SERVER_NAME + "/" +
                    ChatGlobals.SERVLET_PATH + "/ppowell.ChatServlet?message=" +
                    URLEncoder.encode("/a " + cookieArray.getValue())
    out.println("<P>" + url.toString());
    HttpURLConnection conn = (HttpURLConnection)url.openConnection();
    conn.setDoInput(true);     // NOT REALLY INTERESTED IN INPUT BUT MUST BE TRUE
    conn.setDoOutput(false);     // NO OUTPUT
    conn.setUseCaches(false);
    conn.setDefaultUseCaches(false);
    conn.setRequestProperty("Content-type", "text/plain");
         * Do servlet connection to retrieve from ChatServlet URL instance
         * by instantiating an InputStreamReader object
         * @see ChatServlet
    BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    String stuff = null;
    stuff = in.readLine();
    out.print(stuff);
    in.close();
    in = null;
    conn = null;
    Upon running this code my page just locks up.. URL: http://www.myjavaserver.com/~ppowell/chat.jsp
    But if I call the servlet directly:
    http://www.myjavaserver.com/servlet/ppowell.ChatServlet?message=/a+Phil
    Everything works perfectly, no lockups, no errors, the log and txt files are created. So if my browser calls the servlet everything is ok, but my JSP script in the same directory as my servlet is the one that needs to call the servlet.
    How then does a JSP send data to a servlet?
    Please help, I've been searching in books and online resources for days now with absolutely no apparent luck to do it.
    Thanx
    Phil

    It's correct that a JSP is compiled to a servlet. All HTTP servlets receive requests and send responses via HTTP, of course.
    But this JSP is making a URL connection to a servlet and sending data.
    Are you sure that the URL your JSP creates is identical to the one that works in your browser? Have you printed it out to stdout to verify that it's true? (Code inspection and "it looks right" doesn't count.)
    Why are you doing it this way? It's common to have a JSP send to a servlet, but the usual way of doing it is to put an HTML form in the JSP, including an HTML <input type="submit">, and POSTing the form data to a servlet URL. Why aren't you doing that? - MOD

  • Using session/cookies to send data to External Application

    How do I send data to an External Application using either the session store or cookies? I've tried both, but the data isn't visible to the External Application.
    I'm using the owa_cookie package to send a cookie from the "before page is displayed" section of a dynamic page.
    I'm also using the wwsto_api_session api to set attributes in the session store.
    Neither method allows data to be viewable in the External Application (iFS).

    Did you backup your data from that external disk using some other backup software before?
    I am also trying to figure out problems with external HD using time machine to back it up. Am not quite sure yet why it is not working right.

  • UCCX script to pull XML data

    Hello,
    My goal is to create a UCCX script that will run on a Standard license server. Basically, when a user dials a four digit "speed dial", I want them to be translated to a UCCX route point, that will take the original called number, and the calling number, and use that to create a URL that it will then query and retrieve the actual number that will need to be dialed.
    So my plan currently is to have a phone inside of a partition that has a translation pattern of XXXX. The called number gets translated to 1158, which is the trigger of the application on UCCX.
    The url I want to query will be something like this:
    http://localhost:35798/RestServiceImpl.svc/XML/1017/6314
    "Localhost" will eventually become the IP address of the server hosting IIS application that will provide the XML output. 1017 is the "speed dial" or the original called number, 6314 is the calling number.
    Going to that URL should return me this output:
    <XMLDataResponse xmlns="http://tempuri.org/">
      <XMLDataResult>
      <CallingXML>
      <Extension>6300</Extension>
      <SpeedDial>1001</SpeedDial>
      <PhoneNumber>918005551212</PhoneNumber>
      </CallingXML>
      </XMLDataResult>
    </XMLDataResponse>
    This is the script as I have written it out so far:
    It does not seem to like what I have put together thus far when I try to validate it. I'm just wondering if I'm doing something that's obviously wrong.
    The end goal will be to take the NewNumber and dial it, while hiding it from the phone.
    Thanks,
    Mark

    Here's an update: I have the script retrieving the correct numbers and formulating the URL correctly. It also appears to be delivering the query from the XML.
    Here's what the XML looks like when I hit it from my browser:
    http://tempuri.org/
    ">
      http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">63141017918003551111
    When I do an Interactive Script Debug session and dial the number, I can see that there are two problems: 1) the NewNumber string is "null" by the time it gets to the step to do a Call Consult Transfer, and 2) the script just shows up a blank Exception.
    This tells me I am not parsing the XML correctly.
    Here is what I have currently:
    NewNumber = Get XML Data (xml, "/descendant::XMLDataResponse/child::XMLDataResult/child::PhoneNumber")
    Which based upon what I've read in Cisco's Volume 2 and elsewhere, should be correct.
    Notice in the screenshot that the XML data that UCCX pulls in looks different from when I look at it from my browser. I've also attached the script.
    Thanks,
    Mark

  • How to get tomorrows date in UCCX script

    I am trying to determine how to get tomorrow's date in UCCX. I am wanting to determine if today is the last day of the month by checking if tomorrow is the 1st day of the month. I currently use D[now].date to get today's date in some scripts. I tried the set command tomorrowDate = D[now].date + 1 and it showed 28 when today is the 27th, but I was thinking this was just adding 1 to the number returned by D[now].date and not actually showing the next day's date. I am thinking this might return 32 on Jan. 31st.
    Does anyone know how to get an acurate tomorrow's date in UCCX scripting?
    Thank you,
    Mark

    I got this to work after reading nowcommsupports' post. I hadn't thought of setting a date for a month with 31 days to 32 and having it converted to the 1st day of the next month. I did it something like the below:
    variables:
    todaysDay     int     D[now].date
    todaysMonth  int     D[now].month
    todaysYear     int     D[now].year
    tomorrowsDate     String     ""
    tomorrowsDay     int     0
    set tomorrowsDay = todaysDay + 1
    set tomorrowsDate = D[todaysMonth + "/" + tomorrowsDay + "/" + todaysYear]
    set tomorrowsDay = D[tomorrowsDate].date
    If the date is past the last day of the current month, it will role over to the next month. For example, 1/31/11 + 1 = 1/32/11 which is converted to 2/1/11 by the system.
    Now I use the int variable "tomorrowsDay" in the routing logic of my script knowing if it equals 1 then today is the last day of the month.
    I put this here in case it may help someone else and for my own records. I needed to know if it was the last day of the month for different hours of operation in our help desk script.
    Mark

  • Get / Send ICM data in a CVP Script

    Hi,
    My objective is to translate a CCX Script in a Call Studio script and I'm not sure on the way to do with "Get/Send Enterprise Call Info" functionnality with Call Studio.
    1) Get data from ICM
    I'm working with an ICM script that calls a CVP Script. I want to use ICM variables like peripheral variables in Call Studio. As I read in Cisco documentation, the only way to do this is to create CVP session variable with ICM variable user.microapp.ToExtVXML.
    ex : user.microapp.ToExtVXML[0] --> application=TestApplication;param1=Call.PeripheralVariable1
    If I'm right, it means that I can only use 5 strings with a size of 210 characters to pass data from ICM to CVP.
    2) Send data to ICM
    I have to use a Subdialog Return (or a CVP Subdialog Return) object and set the parameters of this object.
    Is there another way to do like setting ICM call var during the exceution of my CVP script ?
    Same conclusion : I can only use 5 strings with a size of 210 characters to return data from CVP to ICM.
    Does it exist other possibilities to exchange data between ICM and CVP ?
    Thanks !

    Not really, any other method will be completely unreliable or very confusing to maintain, such as DB lookups within ICM.  Do you really need to pass more data around?  Your IVR is not a CRM, leave desktop lookups for the desktop.
    david

  • How to send data one row at a time from xml to flex

    I want to setTimerEvent while sending data from xml to flex, one row at a time.
    I have attached the xml.
    Thanks in advance.

    Hi Greg,
    Thanks for the reply. You must have seen the xml which i have attached.Here is the .mxml code which i have written:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="accountData.send()">
    <mx:Script>
    <![CDATA[
    import mx.controls.*;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var AccountInformation:ArrayCollection;
    private function AccountHandler(evt:ResultEvent):void
        AccountInformation = evt.result.xml.AccInfo;
    private function faultHandler(evt:FaultEvent):void
        var faultMessage:String = "Could not connect with XML file";
        Alert.show(faultMessage, "Error opening file");
    ]]>
    </mx:Script>
    <mx:HTTPService id="accountData" url="pgm1.xml" result="AccountHandler(event)" fault="faultHandler(event)"  />
    <mx:DataGrid x="20" y="24" width="950" dataProvider="{AccountInformation}" />
    </mx:Application>
    This reads and displays all the rows. But I want to display single row at a time with sometime time gap between the display of two consecutive rows.I am new to flex and this is my first code, so need your help on this.
    I hope i have made myself clear. If there is anything else please let me know.
    Looking forward to some solution.
    Thanks in advance.
    Regards,
    praj58

  • Order status using UCCX scripting

    I have Oracle DB which contain information about customer order such as if order has been shipped, when has been shipped,and so on. We do not want to query directly against the DB, and as far as I know Oracle has XML DB web services. If we turn that on, and have a report in xml that give me all information I needed. How do I use UCCX scripting to access these data, and read it back to customer when they call.
    I am using UCCX 8.5 premium.

    Hi,
    I see.
    This way: I certainly need the WSDL. It's basically the contract between the SOAP server and the SOAP client, the description of the protocol they are going to use. Its a file or a URL, in both cases, it's an XML document.
    SOAP might be a bit tricky, but I can help you with that. It's basically the SOAP client (in our case, the UCCX server) sending an XML over HTTP to the SOAP server, and expecting some result, which is usually an XML document, too.
    There are several approaches of enabling a UCCX script to perform SOAP commmunication, and I have created several documents about it:
    https://supportforums.cisco.com/document/97736/uccx-8x-really-simple-soap-client-no-custom-jar
    https://supportforums.cisco.com/document/112616/uccx-oop-soap-client-1-custom-jar-using-jax-ws
    Or, there's a recent thread about a similar integration:
    https://supportforums.cisco.com/discussion/12240436/uccx-soap-request
    Please ask the administrator of your Oracle DB about the WSDL, download it, post it to here.
    About the second integration option: I was thinking about a Grails proxy app - do you have a Tomcat or other Java application server in your environment we could use? 
    G.

  • HTTPService of e4x sending data from an XMLListCollection?

    I'm converting an applicaton to use e4x httpservice calls to get and send variables to a PHP remote service and seems to have run into a few questions I can't find any forums posts or documentation about. Currently the application uses the object model to get data and sends and receives variables
    from the PHP scripts through a bunch of $_POST variables. When pulling stuff into the application it gets stored in an array collection so I can sort it and search it easily using cursors. Here are my questions:
    Getting stuff from an HTTPservice with a type of e4x is easy. works great. I toss it right into an XMLarraycollection and get my sorting. But sending data to the same service setup as a type of 'e4x' I can't figure out. Using the object model I could just send an object of keys and properties so sending a { key : value }, would go to the PHP file as a $_POST['key'] and I could read the value. Since httpservice of e4x enforces the need for a root XML tag, all I seem to get is a $_POST['root'], and none of the real key:value data I need. I'm clearing missing something. So how on the PHP side do I get my values if I have to send this root tag? Or in flex how to I send XMLlists instead of XML.? This has to be possible. I don't want to use a different service just to send.
    Second, and a minor thing. When I do send variables to  and httpservice of e4x from an XML arraycollection, do I just send it in key:value format, or do I need to toString() it? When it gets to the php script after the post would the variable name and value be $_POST['key']=value or $_POST[<key>']=<value>.
    Thanks in advance!  

    hi,
    have you looked at creating a new document with the root tag as parent then inserting the collection, haven't tried this with xmllistcollection but I would think the process is similar to the atraycollection conversion
    var qName:QName = new QName("root");
    var xmlDocument:XMLDocument = new XMLDocument();
    var simpleXMLEncoder:SimpleXMLEncoder = new SimpleXMLEncoder(xmlDocument);
    var xmlNode:XMLNode = simpleXMLEncoder.encodeValue(myArrayCollection.source, qName, xmlDocument);
    trace(xmlDocument.toString());
    David

  • Sending data to EXCEL from Oracle Forms 6.0 URGENT!!!!!

    Dear all,
    I have a problem to which I hope to get a solution from anyone
    out there...
    The problem is as follows:
    I have a form that contains some data. Now this data I need to
    transfer to an excell sheet. I tried to do so through report
    builder (6.0) but every time I try to convert my report I get a
    general protection fault. So instead I'm sending the data to a
    text file through text_io built in then reopening the text file
    from excel. Isn't there a better way to do it? ie sending the
    data stright from forms to excel?
    Thanks in advance
    null

    TRY THIS OUT....OLE2.... IT WORKS GREAT...DIRECTLY TO EXCEL...
    Oracle Corporate Support
    Problem Repository
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    Problem ID : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: OLE AUTOMATION NO LONGER WORKS AFTER UPGRADE TO OFFICE97
    +=+
    Problem Description:
    ====================
    You have upgraded to Microsoft Office97 and OLE calls in your
    Developer/2000
    applications no longer work.
    Problem Explanation:
    ====================
    Examples:
    You are using Forms to send data to a Microsoft Word document
    and print
    letters, using ole automation. This worked fine with Word 6.0,
    but when
    they
    upgraded to Word 8.0 (Office97), the letters do not get printed.
    When you try to get an object handle to the Excel97 Workbooks
    collection
    using
    the OLE2 Package, you get the following error:
    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception
    ORA-305500
    The Same code works fine against Excel 7.0.
    [ Search Words: Office 97 msoffice ms office object linking and
    embedding
    application get_obj_property workbook invoke_obj
    appshow
    upgrade upgrading bug483090 olex.rdf demo ]
    +==+
    Diagnostics and References:
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    Solution ID : 2077481.6
    For Problem : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: MICROSOFT CHANGED OLE INTERFACE FOR OFFICE97
    +=+
    Solution Description:
    =====================
    WORD:
    Microsoft made some changes in the upgraded version of Word
    which cause it
    to
    come up as a hidden application. Customer had to add "AppShow"
    to his code,
    and ole automation works fine now.
    EXCEL:
    The issue here is that Microsoft changed the object "Workbooks",
    which is
    now
    a property of object "Excel.Application". So, replace the call:
    workbooks := ole2.invoke_obj(application, 'workbooks');
    with
    workbooks := ole2.get_obj_property(application, 'workbooks');
    For example:
    PACKAGE BODY olewrap IS
    -- Declare the OLE objects
    application OLE2.OBJ_TYPE;
    workbooks OLE2.OBJ_TYPE;
    workbook OLE2.OBJ_TYPE;
    worksheets OLE2.OBJ_TYPE;
    worksheet OLE2.OBJ_TYPE;
    cell OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    procedure init is
    begin
    -- Start Excel and make it visible
    application := OLE2.CREATE_OBJ('Excel.Application');
    ole2.set_property(application,'Visible', 'True');
    workbooks := OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'c:\test\ms\excel\test.xls');
    workbook := OLE2.GET_OBJ_PROPERTY(workbooks, 'Open', args);
    OLE2.DESTROY_ARGLIST(args);
    worksheets := OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    worksheet := OLE2.GET_OBJ_PROPERTY(worksheets,'Add');
    -- Return object handle to cell A1 on the new Worksheet
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 1);
    OLE2.ADD_ARG(args, 1);
    cell:=OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'Hello Excel!'
    OLE2.SET_PROPERTY(cell, 'Value', 'Hello Excel!');
    END;
    procedure addstuff is
    BEGIN
    -- Return object handle to cell A1 on the new Worksheet
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 2);
    OLE2.ADD_ARG(args, 2);
    cell:=OLE2.INVOKE_OBJ(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'This is the added stuff'
    OLE2.SET_PROPERTY(cell, 'Value', 'This is the added stuff');
    END;
    procedure stop is
    begin
    -- Release the OLE objects
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\OLETEST2.XLS');
    OLE2.INVOKE(worksheet, 'SaveAs', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(cell);
    OLE2.RELEASE_OBJ(worksheet);
    OLE2.RELEASE_OBJ(worksheets);
    OLE2.RELEASE_OBJ(workbook);
    OLE2.RELEASE_OBJ(workbooks);
    OLE2.RELEASE_OBJ(application);
    END;
    Solution Explanation:
    =====================
    Microsoft changed some of the OLE calling interfaces for the
    Office97
    products. Thus, some of your existing OLE calls may need to be
    changed to
    comply with the Office97 interface.
    Consult with Microsoft and your Office97 documentation or more
    information
    on
    what the OLE interface is for the Office97 suite of products.
    Additional Information:
    =======================
    Related Bugs:
    483090 (Closed, Vendor OS Problem)
    FORM GIVES FRM-40735: UNHANDLED EXCEPTION ORA-305500 AGAINST
    EXCEL97.OFMPE0497
    +==+
    References:
    ref: {8192.4} BUG-483090
    Oracle Corporate Support
    Problem Repository
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    1. Prob# 1030046.6 NEW: OLE AUTOMATION NO LONGER WORKS AFTER
    UPGRADE TO OF
    Problem ID : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: OLE AUTOMATION NO LONGER WORKS AFTER UPGRADE TO OFFICE97
    +=+
    Problem Description:
    ====================
    You have upgraded to Microsoft Office97 and OLE calls in your
    Developer/2000
    applications no longer work.
    Problem Explanation:
    ====================
    Examples:
    You are using Forms to send data to a Microsoft Word document
    and print
    letters, using ole automation. This worked fine with Word 6.0,
    but when
    they
    upgraded to Word 8.0 (Office97), the letters do not get printed.
    When you try to get an object handle to the Excel97 Workbooks
    collection
    using
    the OLE2 Package, you get the following error:
    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception
    ORA-305500
    The Same code works fine against Excel 7.0.
    [ Search Words: Office 97 msoffice ms office object linking and
    embedding
    application get_obj_property workbook invoke_obj
    appshow
    upgrade upgrading bug483090 olex.rdf demo ]
    +==+
    Diagnostics and References:
    2. Soln# 2077481.6 NEW: MICROSOFT CHANGED OLE INTERFACE FOR
    OFFICE97
    Solution ID : 2077481.6
    For Problem : 1030046.6
    Affected Platforms : MS Windows 95
    MS Windows NT
    Affected Products : SQL*Forms
    Oracle Reports
    Oracle Graphics
    Oracle Developer/2000
    Affected Components : SF40 V04.05.XX
    SQLREP V02.05.XX
    ORAGRAPH V02.05.XX
    DEV2K Generic
    Affected Oracle Vsn : Generic
    Summary:
    NEW: MICROSOFT CHANGED OLE INTERFACE FOR OFFICE97
    +=+
    Solution Description:
    =====================
    WORD:
    Microsoft made some changes in the upgraded version of Word
    which cause it
    to
    come up as a hidden application. Customer had to add "AppShow"
    to his code,
    and ole automation works fine now.
    EXCEL:
    The issue here is that Microsoft changed the object "Workbooks",
    which is
    now
    a property of object "Excel.Application". So, replace the call:
    workbooks := ole2.invoke_obj(application, 'workbooks');
    with
    workbooks := ole2.get_obj_property(application, 'workbooks');
    For example:
    PACKAGE BODY olewrap IS
    -- Declare the OLE objects
    application OLE2.OBJ_TYPE;
    workbooks OLE2.OBJ_TYPE;
    workbook OLE2.OBJ_TYPE;
    worksheets OLE2.OBJ_TYPE;
    worksheet OLE2.OBJ_TYPE;
    cell OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    procedure init is
    begin
    -- Start Excel and make it visible
    application := OLE2.CREATE_OBJ('Excel.Application');
    ole2.set_property(application,'Visible', 'True');
    workbooks := OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'c:\test\ms\excel\test.xls');
    workbook := OLE2.GET_OBJ_PROPERTY(workbooks, 'Open', args);
    OLE2.DESTROY_ARGLIST(args);
    worksheets := OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    worksheet := OLE2.GET_OBJ_PROPERTY(worksheets,'Add');
    -- Return object handle to cell A1 on the new Worksheet
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 1);
    OLE2.ADD_ARG(args, 1);
    cell:=OLE2.GET_OBJ_PROPERTY(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'Hello Excel!'
    OLE2.SET_PROPERTY(cell, 'Value', 'Hello Excel!');
    END;
    procedure addstuff is
    BEGIN
    -- Return object handle to cell A1 on the new Worksheet
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 2);
    OLE2.ADD_ARG(args, 2);
    cell:=OLE2.INVOKE_OBJ(worksheet, 'Cells', args);
    OLE2.DESTROY_ARGLIST(args);
    -- Set the contents of the cell to 'This is the added stuff'
    OLE2.SET_PROPERTY(cell, 'Value', 'This is the added stuff');
    END;
    procedure stop is
    begin
    -- Release the OLE objects
    args:=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\OLETEST2.XLS');
    OLE2.INVOKE(worksheet, 'SaveAs', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(cell);
    OLE2.RELEASE_OBJ(worksheet);
    OLE2.RELEASE_OBJ(worksheets);
    OLE2.RELEASE_OBJ(workbook);
    OLE2.RELEASE_OBJ(workbooks);
    OLE2.RELEASE_OBJ(application);
    END;
    Solution Explanation:
    =====================
    Microsoft changed some of the OLE calling interfaces for the
    Office97
    products. Thus, some of your existing OLE calls may need to be
    changed to
    comply with the Office97 interface.
    Consult with Microsoft and your Office97 documentation or more
    information
    on
    what the OLE interface is for the Office97 suite of products.
    Additional Information:
    =======================
    Related Bugs:
    483090 (Closed, Vendor OS Problem)
    FORM GIVES FRM-40735: UNHANDLED EXCEPTION ORA-305500 AGAINST
    EXCEL97.OFMPE0497
    +==+
    References:
    ref: {8192.4} BUG-483090
    null

  • How can i send data POST with a html link in a textfield

    Hello,
    This is my problem : I generate (from a php script) html
    links in a textfield. I would like for each link to send data with
    the POST method to an other script.
    My problem is that the getURL("lien", "", "POST") function
    can be use only by a movieclip or button event ... and not from a
    html link ...
    How can i do it ?
    Have you a small idea???
    Thanks ....

    yes, thanks but now my problem is in my function associated
    to this link :
    function SendPost()
    var toto="toto";
    getURL("
    http://127.0.0.1/board/scheduledfirst.php",
    "_blank", "GET");
    The function is executed but after in php i can get anything
    with echo ($_GET["toto"]); echo ($_POST["toto"]);
    Why ?

  • Error While Sending Data for Currency Translation

    Hello Experts,
    I am trying to send data via template. Data is getting saved but I am getting following error displayed.
    1.) When I try to enter data for a particular month then, error as FX-200.
    2.) When I try to enter data accross months of more than year then , FX-045 and FX-310 error.
    I had look on various SAP Notes available for the errors.
    As per them, I ran Full optimization, I checked rates are maintained for previous year too, I checked for LC Currency Type Property is maintained as L.
    But nothing Worked.
    Currently only the 3 members are maintained in Rate Dimension, so exceeding the size limit cannot be an issue.
    Kindly Suggest, what could be another possible reason for the errors.
    Regards,
    Apoorva Garg

    Hello,
    1.)  I am getting issues  for example for 2010.Mar, 2010.Dec, 2013.Dec, 2012.Dec
    2.)  Business Rules Maintained
    3.) Business Rule called via Default Script Logic
    // Default base level logic - applies to all base members in all dimensions
    *INCLUDE system_constants.lgl
    //Process_Each_Member = TIME
    *RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','KPI_Working_Act_FX','','GLOBAL','%SCOPETABLE%','%LOGTABLE%')
    *COMMIT
    //*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','KPI_Working_AOP_FX','','GLOBAL','%SCOPETABLE%','%LOGTABLE%')
    //*COMMIT
    Regards,
    Apoorva

  • How to update XML file through UCCX script ?

    Hi,
    I have an UCCX script with MENU step. One of the step is for technical support team. When caller chose this step, information about date and time of the call and calling number should be recorded on a XML file located on the web server.
    This XML is uploaded into the web server , but I don't know how to update it through UCCX script.
    Here is how the XML file looks like:
    <?xml version="1.0" ?>
    <rss version="2.0">
    <channel>
    <title>CALL LOG</title>
    <link></link>
    <description>Support Call log</description>
    <ttl>1</ttl>
    <item>
    <title>2011-08-24 14:56:39 - 00044 123 123 123</title>
    <link></link>
    <description></description>
    </item
    </channel>
    </rss>
    Any idea?
    Thanks,
    O

    Hi
    The 'keyword transform' step uses the template XML file to generate the actual XML file you want to post... the template would be a plain text file uploaded to the repository, and would look like so:
    <?xml version="1.0" ?>
    CALL LOG
    Support Call log
    1
    %%calldatetime%% - %%clinumber%%
    Now - if you had that bit of XML, with correct time/number in it - have you verified know that you can definately just post that XML to a certain URL to get it on the server? Check with whoever manages that server exactly what you need to do to get it to appear - then worry about how you do that from UCCX. It may not be a matter of posting up that XML, you may need it in a different format or something..
    Aaron

  • Problem in sending data to BW through XI

    Hi all,
    I am using "How to..push data to BW from XI".
    There a javascript code is given for sending data to BW using XI.
    But when I use that code for sending XML file it is showing a java script error:"Automation server can't create object".
    I think it has something to do with ADODB.Stream object.
    As given in the microsoft document I have deleted the registry entry which disables ActiveX component ADODB.Stream object.
    Even then it is showing the same error.
    Can someone figure out what is the problem.
    Any help will be appreciated.
    Regards,
    Anand

    Hi Anand,
            Sure, first i tried to send hardcoded data by using a report in bw, and refering the classes from transaction sproxy.
    The code was:
    REPORT  ZZ_TEST_XI_POC.
    *& Report  ZZ_TEST_XI_POC
    *& start of code by Anirban Ghatak , 14/03/06
    *& This Report will send data to sap xi
    *& start of code by Anirban Ghatak , 14/03/06
    DATA prxy TYPE REF TO ZPUSHCO_PROXY_INTERFACE_OB.
    CREATE OBJECT prxy.
    DATA it TYPE  ZPUSHPUSH_TABLE1.
    TRY.
        it-PUSH_TABLE-EMP_NO = 'Anirban'.
        it-PUSH_TABLE-EMP_NAME = '393'.
        it-PUSH_TABLE-DEPARTMENT_NAME = 'NetWeaver'.
        CALL METHOD prxy->execute_asynchronous
          EXPORTING
            output = it.
         commit work.
      CATCH cx_ai_system_fault .
        DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    ENDTRY.
    *& End of code by Anirban Ghatak , 14/03/06
    then execute it , this sends data to xi.
    Refer /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    this can send data from bw to xi.
    Try have a look and see if you can replicate, actually mine is a POC so i have a little bit of flexibility but if you are working on a live devlopement reconsider the solution.
    Anirban.

Maybe you are looking for

  • Do not buy a MacBook Pro?

    I am a lifelong mac user and Apple cheerleader and I just got off an absolutely devastating phonecall. About a month ago I finally convinced my fiancee to switch to Mac. I've loved my Powerbook G4 and so she decided to get a MacBook Pro 15". She is a

  • Can I add my hotmail account to icloud

    I would like to add my hotmail account to my icloud account.  It was there in my account settings but i could not get it to resend the verification email so I delete the account to try and start again.  Now it won't let me enter this account name.  D

  • Was reset and now it won't charge?

    I have had my Ipad less than one year. I had about 20 pictures, no music, no videos. I had I Books that had 3 books on my shelf, TWCable app and Walgreens App. I tried to record an event I attended and I got a message saying I did not have enough mem

  • Reducing time while Filtering Out New Records with the Same Key

    Hi Experts, I have an issue .. I am trying to load data into 0MATERIAL . While loading via DTP the step u201CFilter Out New Records with the Same Keyu201D   takes much time for processing . For each datapackage it is taking around 30 minutes to filte

  • MS SQL and SP2 for WinXP

    I have installed SP2 for windows XP and since then there is a problem with theMS SQL server. The service manager is running but the default port 1433 for sql server doesn,t listen. I have checked it with an active port utility and I 've noticed that