Call Usage download .ACTION file

I downloaded my call usage using the "Download to spreadsheet" link on the website and it downloaded the file with a .ACTION file type.  Does anyone know what program you would use to open this file type?

I saved the action file, then opened it, when windows asked me what application to use I selected Excel. It opened just fine.

Similar Messages

  • Where do I go on the Net to download action files?

    Where do I go on the Net to download action files?

    Just google "actions photoshop elements" without the quotes. You'll get enough hits to keep you busy for a long, long time.

  • I can not download any files, i think i by misstake put the download manager in the trash and then deleted it, what should i do? I am not so shore what the program is called in English( in Swedish:filhämtare) but it looks like a little grey box

    Hi, i really need help... I think i by accident deleted the "download manager" i´m not shore what the program is called in English ( Swedish : filhämtaren), but its symbol looks like a grey little box and when you download a file it appears on a list and is then saved in this program. I don`t know how i didn´t see it in the trash, but somehow i deleted this program by mistake. And as a consequence i can no longer open/download any files. I just got my macbook pro and i do love the system but i am now unsure about what i should do with this problem since i am not that terribly good with computers.... Is there any way you can fix this?

    soffi h wrote:
    Hi, i really need help... I think i by accident deleted the "download manager" i´m not shore what the program is called in English ( Swedish : filhämtaren), but its symbol looks like a grey little box
    If it looks like this:
    It's called an "installer.app"
    You can custom install the "installer.app" directly from your System DVD that originally came w/your computer.  It will be either inside the "Bundled Software" folder or inside the "Applications" folder.

  • How do I call browser Save As dialog box before downloading pdf files?

    How do I call browser Save As dialog box before downloading pdf files?
    Here's my favorite scenario:
    1. User clicks button
    2. Save As dialog displays
    3. User chooses location
    4. A set of PDF files download to that location OR a single zip file downloads
    Background:
    I want to ensure the user sees that files are being downloaded. I'm delivering content to users who may not be Web savvy.
    Concern:
    1. User has no clue how to find downloaded files or that files have even downloaded.
    2. I'd like to deliver the set as zip files. Not sure if self-opening zip files still exist.
    FYI:
    I'm using jQuery UI buttons. Not sure if that factors into response.

    Just for clarity, I'm not forcing a download. The user will click a button.
    Click a button or click a link, either way you're technically executing a script to force a download.
    I'm assuming that's the php file resident on the server.
    Yes but that's only part of it.  Once the contact form executes, another script is called up which opens the browser's download dialogue.
    Is there a php script for simply calling the Open/Save dialog box?
    Yes. 
    <?php
    /* This short script forces a file download.
       For simplicity, it's intended to be used for a single file.
       You can use multiple copies of this file (with unique names)
       with different variable values to use it with multiple files.
       Use of this script has a side-effect of hiding the location of the
       file on your server.
    // full server path to file to be downloaded (including filename)
    $Path2File = "path/to-file-on-server.zip";
    // the filename
    $theFileName = "name-of-file.zip";
    //the work gets done here
    header ("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header ("Content-Type: application/octet-stream");
    header ("Content-Length: " . filesize($Path2File));
    header ("Content-Disposition: attachment; filename=$theFileName");
    readfile($Path2File);
    ?>
    Name this file zip2download.php.
    Add a link to your HTML page:
    <a href="zip2download.php">Download Zip</a>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Each time I try to download a file document (ie. PDF), foxfire begins to open multiple new tabs, and wont quit. it also never really opens the file , and I can't stop the action unless I log off.

    I am unable to download any files without multiple new tabs opening at the top of my screen. I am unable to identify what the tabs are for and can't stop the process without logging off Foxfire completely. FoxFire has also corrupted other files and made them impossible to download (saved files)

    Could you check your PDF viewer preference and try changing it to a different viewer to see whether that helps? This article describes how to access that setting: [[How to disable the built-in PDF viewer and use another viewer]].
    Unfortunately, the settings file that stores those application handling preferences sometimes contains crossed up settings or settings which Firefox cannot actually implement. In that case, you generally need to rename or remove that file and let Firefox rebuild it. The steps for that are in this article: [[Firefox repeatedly opens empty tabs or windows after you click on a link]] -- skip to the section "Reset actions for all content types".

  • How do i add a download action for dxf files. firefox assumes its a text file and just opens it with no download action dialog box

    I want to add a download action for dxf files so they open in Autodesk trueview. The steps described here (http://support.mozilla.com/en-US/kb/Managing%20file%20types#w_adding-download-actions) say to click on a link for the filetype you want to add an action to but firefox thinks the dxf is a text file and just opens it in a new tab with no download action dialog box.

    Use the right-click context menu and choose "Save Link As" or hold down the alt key and left-click the link.

  • I use javaFx WebViewBrowser to download ZIP file, the page no action

    I use javaFx WebViewBrowser to download ZIP file, the page no action; other tools example chrome ,ie can download the zip file .
    so can you writer a download zip file example for me ?
    thanks ,my english is so bad ,sorry !!! :)

    WebView doesn't have a built in file downloader - you have to implement it yourself.
    You can find a sample implementation for file downloads in JavaFX here =>
    http://www.zenjava.com/2011/11/14/file-downloading-in-javafx-2-0-over-http/
    That sample does not include the hooks into WebView to trigger the downloads.
    You will need to trigger off the mime type or the file extension in the url.
    A rudimentary sample trigger a download off of webview is provided in the code below.
    For a nice solution, you would probably want to spin the downloader off with it's own UI similar and manage the download itself as a JavaFX Task similar to how the zenjava component works.
    Code adapted from => http://code.google.com/p/willow-browser/source/browse/src/main/java/org/jewelsea/willow/BrowserWindow.java
    // monitor the location url, and if it is a pdf file, then create a pdf viewer for it, if it is downloadable, then download it.
    view.getEngine().locationProperty().addListener(new ChangeListener<String>() {
      @Override public void changed(ObservableValue<? extends String> observableValue, String oldLoc, String newLoc) {
        if (newLoc.endsWith(".pdf")) {
          try {
            final PDFViewer pdfViewer = new PDFViewer(false);  // todo try icepdf viewer instead...
            pdfViewer.openFile(new URL(newLoc));
          } catch (Exception ex) {
            // just fail to open a bad pdf url silently - no action required.
        String downloadableExtension = null;  // todo I wonder how to find out from WebView which documents it could not process so that I could trigger a save as for them?
        String[] downloadableExtensions = { ".doc", ".xls", ".zip", ".tgz", ".jar" };
        for (String ext: downloadableExtensions) {
          if (newLoc.endsWith(ext)) {
            downloadableExtension = ext;
            break;
        if (downloadableExtension != null) { 
          // create a file save option for performing a download.
          FileChooser chooser = new FileChooser();
          chooser.setTitle("Save " + newLoc);
          chooser.getExtensionFilters().add(new FileChooser.ExtensionFilter("Downloadable File", downloadableExtension));
          int filenameIdx = newLoc.lastIndexOf("/") + 1;
          if (filenameIdx != 0) {
            File saveFile = chooser.showSaveDialog(view.getScene().getWindow());
            if (saveFile != null) {
              BufferedInputStream  is = null;
              BufferedOutputStream os = null;
              try {
                is = new BufferedInputStream(new URL(newLoc).openStream());
                os = new BufferedOutputStream(new FileOutputStream(saveFile));
                int b = is.read();
                while (b != -1) {
                  os.write(b);
                  b = is.read();
              } catch (FileNotFoundException e) {
                System.out.println("Unable to save file: " + e);
              } catch (MalformedURLException e) {
                System.out.println("Unable to save file: " + e);
              } catch (IOException e) {
                System.out.println("Unable to save file: " + e);
              } finally {
                try { if (is != null) is.close(); } catch (IOException e) { /** no action required. */ }
                try { if (os != null) os.close(); } catch (IOException e) { /** no action required. */ }
            // todo provide feedback on the save function and provide a download list and download list lookup.
    });

  • Mavericks 10.9.1. Freezes or trackpad becomes slow and unresponsive when viewing downloaded PDF files in Preview.Help!

    The earlier post was my first attempt at posting and had some typos. Repeated with typos corrected.
    I have a Macbook Pro Retina 13" Late 2013 with preinstalled Mavericks.I now have the 10.9.1 update. Almost from the time of purchase in Nov '13, I have been experiencing freezes and slow & unresponsive trackpad. I have more or less narrowed this symptom as happening when viewing downloaded PDF files. The only option is to force eject, if available or shut down. I spoke to Support as I thought it was a RAM issue and they told me that in Mavericks RAM showing almost full was normal as it uses RAM differently. They took me through some resets and cleaning up which has helped a little but freezing stll happens. This never happened with my Macbook AIr running Lion. Any suggestions?
    Shankar9
    Macbook Pro Retina 13" Late '13-Mavericks 10.9.1
    Macbook Air 13" Mid '11-Lion
    Macbook Aluminium 13" Late '08-Snow Leopard

    So a PDF file that you can view in Preview on your MBA causes your new MBP to lock up and/or slow down. Is this right? Also you say more or less narrowed down to PDFs with Preview but does the computer exhibit this behavior with other programs and if so under what conditions? And how much free hard drive space do you have?
    Viewing memory use in Mavericks is different than with previous versions of the OS. Today it looks like we need to pay attention to what Apple calls Memory Pressure which is gauged by the bar graph in Activity Monitor and to the Virtual Memory being used. When the memory pressure graph bar gets too high it turns red and that's bad news. Looking at how much memory is being used doesn't help - I have a 16GB computer and with almost nothing running it still shows something like 15.79GB used but the memory pressure graph is just a think green line. So unless you see the memory pressure bar turning red lets not worry about memory usage at the moment.
    If among the things AppleCare had you do was reinstall Mavericks then I recommend a trip to the Apple store - and take a problem PDF file with you to demonstrate.

  • How to download a file version from office 365 using csom

    I need to download an older file version from office 365 and get the data into a byte array. I have no trouble downloading the latest version with File.OpenBinaryStream() and I have no trouble loading the previous file versions with File.Versions. But now
    I need to actually download an older version of the file and it seems the only way is to use File.OpenBinaryDirect. So I am creating a client context using my oAuth access token and providing the correct path, but I am getting a (401) Unauthorized
    error. Looking with Fiddler I can see that the call to OpenBinaryDirect is somehow trying to post to my file URL and the server is responding with 401.
    context = TokenHelper.GetClientContextWithAccessToken(SPHostUrl, AccessToken);
    FileInformation info = File.OpenBinaryDirect(context, "/" + _fileVersion.Url);  //throws 401
    //leading slash required otherwise ArgumentOutOfRangeException
    I have to be able to access the older file versions with my c# code -- I don't have a viable app without that ability -- any help urgently needed and greatly appreciated!

    Thank you SO much (Can't wait for the next release)!
    For anyone else who lands here, here's the code I ended up using:
    // VersionAccessUser and VersionAccessPassword are stored in web.config
    // web.Url is loaded via the clientContext
    // myVersion is the FileVersion I got from the file's Versions.GetById() method
    // probably a lot of ways to get hostUrl, it just needs to be https://yourdomain.sharepoint.com/
    // - I'm running my app from a subweb
    // I had trouble following the links to get the full MsOnlineClaimsHelper code
    // (the one on msdn.com was missing RequestBodyWriter, WSTrustFeb2005ContractClient,
    // and IWSTrustFeb2005Contract
    // so I've included the code I used here.
    string myVersionFullUrl = string.Format("{0}/{1}", web.Url, myVersion.Url);
    string userName = WebConfigurationManager.AppSettings.Get("VersionAccessUser");
    string strPassword = WebConfigurationManager.AppSettings.Get("VersionAccessPassword");
    string hostUrl = Regex.Replace(web.Url, "([^/]+//[^/]+/).*", "$1");
    MsOnlineClaimsHelper claimsHelper = new MsOnlineClaimsHelper(hostUrl, userName, strPassword);
    var client = new WebClient();
    client.Headers["Accept"] = "/";
    client.Headers.Add(HttpRequestHeader.UserAgent, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    client.Headers.Add(HttpRequestHeader.Cookie, claimsHelper.CookieContainer.GetCookieHeader(new Uri(hostUrl)));
    var document = client.DownloadString(myVersionFullUrl);
    // These classes are needed to download old versions of files (see: http://social.msdn.microsoft.com/Forums/en-US/7746d857-d351-49cc-b2f0-496663239e02/how-to-download-a-file-version-from-office-365-using-csom?forum=sharepointdevelopment)
    // I cobbled this file from http://social.technet.microsoft.com/Forums/msonline/en-US/4e304493-7ddd-4721-8f46-cb7875078f8b/problem-logging-in-to-office-365-sharepoint-online-from-webole-hosted-in-the-cloud?forum=onlineservicessharepoint
    // and http://fredericloud.com/2011/01/11/connecting-to-sharepoint-with-claims-authentication/
    using Microsoft.IdentityModel.Protocols.WSTrust;
    using Microsoft.SharePoint.Client;
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Net.Security;
    using System.ServiceModel;
    using System.ServiceModel.Channels;
    using System.Text;
    using System.Web;
    using System.Xml;
    using System.Xml.Linq;
    namespace DPSiDoxAppWeb.Helpers
    /// <summary>
    /// Create a new contract to use for issue claims for the SharePoint requests
    /// </summary>
    [ServiceContract]
    public interface IWSTrustFeb2005Contract
    [OperationContract(ProtectionLevel = ProtectionLevel.EncryptAndSign,
    Action = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue",
    ReplyAction = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue",
    AsyncPattern = true)]
    IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state);
    Message EndIssue(IAsyncResult asyncResult);
    /// <summary>
    /// Implement the client contract for the new type
    /// </summary>
    public class WSTrustFeb2005ContractClient : ClientBase<IWSTrustFeb2005Contract>, IWSTrustFeb2005Contract
    public WSTrustFeb2005ContractClient(Binding binding, EndpointAddress remoteAddress)
    : base(binding, remoteAddress)
    public IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state)
    return Channel.BeginIssue(request, callback, state);
    public Message EndIssue(IAsyncResult asyncResult)
    return Channel.EndIssue(asyncResult);
    /// <summary>
    /// Create a class that will serialize the token into the request
    /// </summary>
    class RequestBodyWriter : BodyWriter
    readonly WSTrustRequestSerializer _serializer;
    readonly RequestSecurityToken _rst;
    /// <summary>
    /// Constructs the Body Writer.
    /// </summary>
    /// <param name="serializer">Serializer to use for serializing the rst.</param>
    /// <param name="rst">The RequestSecurityToken object to be serialized to the outgoing Message.</param>
    public RequestBodyWriter(WSTrustRequestSerializer serializer, RequestSecurityToken rst)
    : base(false)
    if (serializer == null)
    throw new ArgumentNullException("serializer");
    _serializer = serializer;
    _rst = rst;
    /// <summary>
    /// Override of the base class method. Serializes the rst to the outgoing stream.
    /// </summary>
    /// <param name="writer">Writer to which the rst should be written.</param>
    protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
    _serializer.WriteXml(_rst, writer, new WSTrustSerializationContext());
    public class MsOnlineClaimsHelper
    #region Properties
    readonly string _username;
    readonly string _password;
    readonly bool _useRtfa;
    readonly Uri _host;
    CookieContainer _cachedCookieContainer = null;
    DateTime _expires = DateTime.MinValue;
    #endregion
    #region Constructors
    public MsOnlineClaimsHelper(string host, string username, string password)
    : this(new Uri(host), username, password)
    public MsOnlineClaimsHelper(Uri host, string username, string password)
    _host = host;
    _username = username;
    _password = password;
    _useRtfa = true;
    public MsOnlineClaimsHelper(Uri host, string username, string password, bool useRtfa)
    _host = host;
    _username = username;
    _password = password;
    _useRtfa = useRtfa;
    #endregion
    #region Constants
    public const string office365STS = "https://login.microsoftonline.com/extSTS.srf";
    public const string office365Login = "https://login.microsoftonline.com/login.srf";
    public const string office365Metadata = "https://nexus.microsoftonline-p.com/federationmetadata/2007-06/federationmetadata.xml";
    public const string wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
    public const string wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
    private const string userAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
    #endregion
    class MsoCookies
    public string FedAuth { get; set; }
    public string rtFa { get; set; }
    public DateTime Expires { get; set; }
    public Uri Host { get; set; }
    // Method used to add cookies to CSOM
    public void clientContext_ExecutingWebRequest(object sender, WebRequestEventArgs e)
    e.WebRequestExecutor.WebRequest.CookieContainer = getCookieContainer();
    //e.WebRequestExecutor.WebRequest.UserAgent = userAgent;
    // Creates or loads cached cookie container
    CookieContainer getCookieContainer()
    if (_cachedCookieContainer == null || DateTime.Now > _expires)
    // Get the SAML tokens from SPO STS (via MSO STS) using fed auth passive approach
    MsoCookies cookies = getSamlToken();
    if (cookies != null && !string.IsNullOrEmpty(cookies.FedAuth))
    // Create cookie collection with the SAML token
    _expires = cookies.Expires;
    CookieContainer cc = new CookieContainer();
    // Set the FedAuth cookie
    Cookie samlAuth = new Cookie("FedAuth", cookies.FedAuth)
    Expires = cookies.Expires,
    Path = "/",
    Secure = cookies.Host.Scheme == "https",
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(samlAuth);
    if (_useRtfa)
    // Set the rtFA (sign-out) cookie, added march 2011
    Cookie rtFa = new Cookie("rtFA", cookies.rtFa)
    Expires = cookies.Expires,
    Path = "/",
    Secure = cookies.Host.Scheme == "https",
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(rtFa);
    _cachedCookieContainer = cc;
    return cc;
    return null;
    return _cachedCookieContainer;
    public CookieContainer CookieContainer
    get
    if (_cachedCookieContainer == null || DateTime.Now > _expires)
    return getCookieContainer();
    return _cachedCookieContainer;
    private MsoCookies getSamlToken()
    MsoCookies ret = new MsoCookies();
    try
    var sharepointSite = new
    Wctx = office365Login,
    Wreply = _host.GetLeftPart(UriPartial.Authority) + "/_forms/default.aspx?wa=wsignin1.0"
    //get token from STS
    string stsResponse = getResponse(office365STS, sharepointSite.Wreply);
    // parse the token response
    XDocument doc = XDocument.Parse(stsResponse);
    // get the security token
    var crypt = from result in doc.Descendants()
    where result.Name == XName.Get("BinarySecurityToken", wsse)
    select result;
    // get the token expiration
    var expires = from result in doc.Descendants()
    where result.Name == XName.Get("Expires", wsu)
    select result;
    ret.Expires = Convert.ToDateTime(expires.First().Value);
    HttpWebRequest request = createRequest(sharepointSite.Wreply);
    byte[] data = Encoding.UTF8.GetBytes(crypt.FirstOrDefault().Value);
    using (Stream stream = request.GetRequestStream())
    stream.Write(data, 0, data.Length);
    stream.Close();
    using (HttpWebResponse webResponse = request.GetResponse() as HttpWebResponse)
    // Handle redirect, added may 2011 for P-subscriptions
    if (webResponse.StatusCode == HttpStatusCode.MovedPermanently)
    HttpWebRequest request2 = createRequest(webResponse.Headers["Location"]);
    using (Stream stream2 = request2.GetRequestStream())
    stream2.Write(data, 0, data.Length);
    stream2.Close();
    using (HttpWebResponse webResponse2 = request2.GetResponse() as HttpWebResponse)
    ret.FedAuth = webResponse2.Cookies["FedAuth"].Value;
    ret.rtFa = webResponse2.Cookies["rtFa"].Value;
    ret.Host = request2.RequestUri;
    else
    ret.FedAuth = webResponse.Cookies["FedAuth"].Value;
    ret.rtFa = webResponse.Cookies["rtFa"].Value;
    ret.Host = request.RequestUri;
    catch (Exception ex)
    return null;
    return ret;
    static HttpWebRequest createRequest(string url)
    HttpWebRequest request = HttpWebRequest.Create(url) as HttpWebRequest;
    request.Method = "POST";
    request.ContentType = "application/x-www-form-urlencoded";
    request.CookieContainer = new CookieContainer();
    request.AllowAutoRedirect = false; // Do NOT automatically redirect
    request.UserAgent = userAgent;
    return request;
    private string getResponse(string stsUrl, string realm)
    RequestSecurityToken rst = new RequestSecurityToken
    RequestType = WSTrustFeb2005Constants.RequestTypes.Issue,
    AppliesTo = new EndpointAddress(realm),
    KeyType = WSTrustFeb2005Constants.KeyTypes.Bearer,
    TokenType = Microsoft.IdentityModel.Tokens.SecurityTokenTypes.Saml11TokenProfile11
    WSTrustFeb2005RequestSerializer trustSerializer = new WSTrustFeb2005RequestSerializer();
    WSHttpBinding binding = new WSHttpBinding();
    binding.Security.Mode = SecurityMode.TransportWithMessageCredential;
    binding.Security.Message.ClientCredentialType = MessageCredentialType.UserName;
    binding.Security.Message.EstablishSecurityContext = false;
    binding.Security.Message.NegotiateServiceCredential = false;
    binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
    EndpointAddress address = new EndpointAddress(stsUrl);
    using (WSTrustFeb2005ContractClient trustClient = new WSTrustFeb2005ContractClient(binding, address))
    trustClient.ClientCredentials.UserName.UserName = _username;
    trustClient.ClientCredentials.UserName.Password = _password;
    Message response = trustClient.EndIssue(
    trustClient.BeginIssue(
    Message.CreateMessage(
    MessageVersion.Default,
    WSTrustFeb2005Constants.Actions.Issue,
    new RequestBodyWriter(trustSerializer, rst)
    null,
    null));
    trustClient.Close();
    using (XmlDictionaryReader reader = response.GetReaderAtBodyContents())
    return reader.ReadOuterXml();

  • Download a file and give the file name as default name while saving

    Hi folks
    I am facing a problem. I have jsp which fetchs the file name and it's location from the database.
    It can fetch many row's. Now i have provided a radio button, against each row, By clicking on it , the user selects the file to download.
    And clicks on download button, which call an action say "Download File".
    It's downloading the file successfully. But displaying the action name as default name while selecting the location to save the file on local machine.
    I want the file name which he opted to download, should get displayed as default name.

    Set it in the content disposition header.
    The downloadFile() snippet here might give some useful insights: http://balusc.xs4all.nl/srv/dev-jep-pdf.html

  • Download a file

    hi i i've the following problem, i need download i fiel into web dynpro application i'm using file download action but thios action request me a node with suply file and a component of type xstring but when i invoke the follow code i can't insert the context from a internal an d i need download the context of the table from webdynpro
      data conv_out type ref to cl_abap_conv_out_ce.
      data struct type if_main=>element_file_suply.
    fill the file content
      conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).
      conv_out->convert(
        exporting
          data = here data
       importing
          buffer = struct-file ).
      node->bind_structure( struct ).
    so i need download a table with all the column inside anyone know how i can do it

    Hi John
    You can use following funcntions. First one to create internal table to string and second FM SCMS_STRING_TO_XSTRING to convert String to XSTRING. Then this XSTRING value you can pass to CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE. here i created small test code. may be helpful for you.
    data: tab_str type string.
      data: begin of it_tab1,
           name(20),
           age(10) ,
          end of it_tab1.
    data : lv_name type xstring.
             data it_tab like STANDARD TABLE OF it_tab1.
             data: wa like line of it_tab.
             wa-name = 'naresh'.
             wa-age = '30'.
             append wa to it_tab.
             wa-name = 'naresh1'.
             wa-age = '31'.
             append wa to it_tab.
    CALL FUNCTION 'SOTR_SERV_TABLE_TO_STRING'
    IMPORTING
       TEXT                      = tab_str
      TABLES
        TEXT_TAB                  = it_tab
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
      EXPORTING
        TEXT           = tab_str
    IMPORTING
       BUFFER         = lv_name
    CALL METHOD CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE
      EXPORTING
        I_FILENAME      = 'c:\test.txt'
        I_CONTENT       = lv_name
        I_MIME_TYPE     = 'TXT'
    Regards
    Naresh

  • How to view the items call usage in online bill?

    How do I view the items call usage in my latest or previous on line bill.
    I only can view them in Recent Usage currently. But I can't view detailed call in previous bill online.

    Log into your account at BT.com.
    Select the relevent account.
    Click on billing.
    Click on the bill you want to view.
    Click on usage charges.
    Click on the type of calls you want to view or click on total.
    and there you have it.
    Click next at the bottom of the page to view more calls if there is more than one page full.
    You can also download the usage as csv file to open in excel.
    Hope that helps.

  • Menu button to download Pdf file on the application

    Hi,
    I have a AM method that takes in some parameters and generates xml data and then calls the BI Publisher report service and generates a PDF providing the xml data as input. The method needs to have a file download action listener so that the Pdf file returned would be saved. The triggering point for the AM method can be in several UI pages and the triggering methods can also be different. It can be a action command button, a link or even a menu. Where and how can I provide this method so that it is kind of generic and there is not much of a configuration things that need to be done to invoke this method from the UI pages.
    Thanks,
    Rakesh

    Hello there,
    This assumes you are using Flash CS3 with the default
    Actionscript 3.0 settings.
    1) Create a button and in the Properties panel give it an
    instance name. This example is called 'pdfButton'.
    2) Create a new layer in your timeline and name it "Actions".
    3) Click on Frame 1 of this layer and press F9 to open the
    Actions panel.
    4) Copy and paste the following code.
    NOTE: If you have Script Assist on, click on it to turn it
    off.

  • Problems With Downloading TXT File

    I have a procedure that when called creates a .txt file, which is used as an upload to another application.
    If I run my procedure, the txt file is created, but when I look at the file, it contains the required records but also information about the page.
    See below.
    My code is
    create or replace PROCEDURE mer_fuel_coupon_download_1 IS
    CURSOR c_fuel_coupon IS
    SELECT A.VIN,
        A.FIRST_BFG,
        F.DRIVER_POSITION,
        A.BFG_NO,
        C.MAKES MAKE,
        D.MODEL,
        A.FRG_NO,
        E.COLOUR,
        A.MANUFACTURED_DATE MANUFACTURED,
        A.DEREG_ON,
        A.OTHER_VRN NON_BFG_REG_NO,
        B.VALID_FROM,
        B.VALID_UNTIL,
        'Not Held Anymore' UNREG_FROM,
        'Not Held Anymore' UNREG_TO,
        G.FUEL_TYPE,
        A.CC,
        A.FUEL_RATION,
        H.PERSONAL_NO,
        I.RANK,
        H.FIRST_NAME,
        H.SURNAME,
        'Not Held Anymore' HEAD_OF_FAMILY,
        J.UIN,
        TO_DATE(H.DATE_OF_BIRTH,'DD-MON-YY') DATE_OF_BIRTH,
        J.UNIT_NAME,
        K.BFPO,
       -- A.ITEM_ID
        ROWNUM
      FROM MER_IMPORTED_ITEMS A,
           MER_VEHICLE_OWNERSHIPS B,
           MER_MAKES C,
           MER_MODELS D,
           MER_COLOURS E,
           MER_DRIVER_POSITION F,
           MER_FUEL_TYPE G,
           MER_PERSONS H,
           MER_RANKS I,
           MER_UNITS J,
           MER_BFPO K
      WHERE H.PERSONAL_ID(+) = B.PERSONAL_ID
      AND B.ITEM_ID(+) = A.ITEM_ID
      AND C.MAKE_ID(+) = A.MAKE_ID
      AND D.MODEL_ID(+) = A.MODEL_ID
      AND E.COLOUR_ID(+) = A.COLOUR_ID
      AND F.DRIVER_POSITION_ID(+) = A.DRIVER_POSITION_ID
      AND G.FUEL_TYPE_ID(+) = A.FUEL_TYPE_ID
      AND I.RANK_ID(+) = H.RANK_ID
      AND J.UNIT_ID(+) = H.UNIT_ID
      AND K.BFPO_ID(+) = J.BFPO_ID
      AND A.BFG_NO IS NOT NULL
      AND (A.DEREG_ON IS NULL
      OR A.DEREG_ON    > (SYSDATE - 1826));
      line_of_data VARCHAR2(5000);
      dir_prob         EXCEPTION;
      file_write_done  EXCEPTION;
      record_ct        NUMBER(6) :=0;
      output_file      VARCHAR2(12) := 'FUEL.TXT';
      target_file      utl_file.File_Type;
      success_ct       NUMBER(6) :=0;
      fail_ct          NUMBER(6) :=0;
    BEGIN
    -- Set MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set name fo file
    htp.p('Content-Disposition: attachment; filename="FUEL.TXT"');
    -- Close the HTTP header
    owa_util.http_header_close;
    BEGIN
    FOR r_fuel IN c_fuel_coupon
        LOOP
         BEGIN
    line_of_data := r_FUEL.VIN||','
    ||TO_CHAR(r_FUEL.FIRST_BFG,'DD/MON/YY')||','
    ||r_FUEL.DRIVER_POSITION||','
    ||r_FUEL.BFG_NO||','
    ||r_FUEL.MAKE||','
    ||r_FUEL.MODEL||','
    ||r_FUEL.FRG_NO||','
    ||r_FUEL.COLOUR||','
    ||TO_CHAR(r_FUEL.MANUFACTURED,'DD/MON/YY')||','
    ||TO_CHAR(r_FUEL.DEREG_ON,'DD/MON/YY')||','
    ||r_FUEL.NON_BFG_REG_NO||','
    ||TO_CHAR(r_FUEL.VALID_FROM,'DD/MON/YY')||','
    ||TO_CHAR(r_FUEL.VALID_UNTIL,'DD/MON/YY')||','
    ||r_FUEL.UNREG_FROM||','
    ||r_FUEL.UNREG_TO||','
    ||r_FUEL.FUEL_TYPE||','
    ||r_FUEL.CC||','
    ||r_FUEL.FUEL_RATION||','
    ||r_FUEL.PERSONAL_NO||','
    ||r_FUEL.RANK||','
    ||r_FUEL.FIRST_NAME||','
    ||r_FUEL.SURNAME||','
    ||r_FUEL.HEAD_OF_FAMILY||','
    ||r_FUEL.UIN||','
    ||TO_CHAR(r_FUEL.DATE_OF_BIRTH,'DD/MON/YY')||','
    ||r_FUEL.UNIT_NAME||','
    ||r_FUEL.BFPO||','
    --||r_FUEL.ITEM_ID||','
    ||r_FUEL.ROWNUM||','
    || CHR(13)||CHR(10);
    htp.prn(line_of_data);
    success_ct := success_ct + 1;
    EXCEPTION
    WHEN no_data_found THEN
              RAISE file_write_done;
            WHEN others THEN
              fail_ct := fail_ct + 1;
    END;
        END LOOP;
    END;
    END;At the end of the txt file, I see information like this
    <head>
    <title>Fuel Coupon Download</title>
    <link rel="stylesheet" href="/i/themes/theme_20/theme_3_1.css" type="text/css" />
    <link rel="stylesheet" href="/i/bfg_css/j6.css" type="text/css" />
    <script type="text/javascript" src="/i/bfg_javascript/jquery/jquery-1.3.2.js"></script>
    <link rel="stylesheet" href="/i/bfg_javascript/jquery/jqueryui/themes/redmond/jquery-ui-1.7.2.custom.css" type="text/css" />
    <script type="text/javascript" src="/i/bfg_javascript/jquery/jqueryui/jquery-ui-1.7.2.custom.js"></script>
    <script type="text/javascript" src="/i/bfg_javascript/j6_javascript.js"></script>
    <!--[if IE]><link rel="stylesheet" href="/i/themes/theme_20/ie.css" type="text/css" /><![endif]-->
    <style>
    * {font-size: 10pt;font-family: Tahoma,Arial,Helvetica,Geneva,sans-serif};
    </style>
    <script src="/i/javascript/apex_ns_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_get_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_builder.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    /*Global JS Variables*/
    var htmldb_Img_Dir = "/i/";
    //-->
    </script>
    <link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_3_1.css" type="text/css" /><![endif]-->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body ><form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm">
      <input type="hidden" name="p_flow_id" value="111" id="pFlowId" />  <input type="hidden" name="p_flow_step_id" value="388" id="pFlowStepId" />  <input type="hidden" name="p_instance" value="1780009464230900" id="pInstance" />  <input type="hidden" name="p_page_submission_id" value="18077377520018" id="pPageSubmissionId" />  <input type="hidden" name="p_request" value="" id="pRequest" /><div id="t20PageHeader">
    <table border="0" cellpadding="0" cellspacing="0" summary="">
    <tr>
    <td id="t20Logo" valign="top"><span style="font-family:Arial; color:#FFFFFF; font-size:18px; white-space:nowrap; font-weight:bold;">Vehicle Licensing Office Application</span><br /></td>
    <td id="t20HeaderMiddle"  valign="top" width="100%"><br /></td>
    <td id="t20NavBar" valign="top"><br /></td>
    </tr>
    </table>
    </div>
    <div id="t20BreadCrumbsLeft"></div>
    <table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageBody"  width="100%" height="70%">
    <td width="100%" valign="top" height="100%" id="t20ContentBody">
    <div id="t20Messages"></div>
    <div id="t20ContentMiddle"></div>
    </td>
    <td valign="top" width="200" id="t20ContentRight"><br /></td>
    </tr>
    </table><table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageFooter" width="100%">
    <tr>
    <td id="t20Left" valign="top"><span id="t20UserPrompt">ADMIN</span><br /></td>
    <td id="t20Center" valign="top"></td>
    <td id="t20Right" valign="top"><span id="t20Customize"></span><br /></td>
    </tr>
    </table>
    <br class="t20Break"/>
    <input type="hidden" name="p_md5_checksum" value=""  /></form>
    <script type="text/javascript">
    <!--
    //-->
    </script><!-- Code generated for user with developer privileges.  -->
    <script type="text/javascript">
    function popupInfo()
      w = open("f?p=4000:34:1780009464230900:PAGE:NO:34:F4000_P34_SESSION,F4000_P34_FLOW,F4000_P34_PAGE:1780009464230900,111,388","winLov","Scrollbars=1,resizable=1,width=700,height=450");
      if (w.opener == null)
         w.opener = self;
         w.focus();
    </script><table cellpadding="0" border="0" cellspacing="0" summary="Developer Toolbar" align="center"><tbody><tr><td><a class="htmldbToolbar" href="f?p=4500:1000:1780009464230900" style="border-left:1px solid black;" title="Application Express Home">Home</a></td><td><a class="htmldbToolbar" title="Application 111" href="f?p=4000:1:1780009464230900::NO:1,4150,RP:FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388" style="border-left:1px solid #000000;border-right:1px solid #000000;">Application 111</a></td><td><a class="htmldbToolbar" title="Edit Page 388" href="f?p=4000:4150:1780009464230900::NO:1,4150:FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388">Edit Page 388</a></td><td><a class="htmldbToolbar" href="f?p=4000:336:1780009464230900::::FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388" style="border-left:1px solid black;" title="Create">Create</a></td><td><a class="htmldbToolbar" href="javascript:popupInfo()" style="border-left:1px solid black;" title="Session">Session</a></td><td><a class="htmldbToolbar" href="f?p=4000:14:1780009464230900::::FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388" style="border-left:1px solid black;" title="Activity">Activity</a></td><td><a class="htmldbToolbar" title="Debug" style="border-left:1px solid black;" href="f?p=111:388:1780009464230900::YES">Debug</a></td><td id="hideEdit" style="display:none;"><a class="htmldbToolbar" title="Hide Edit Links" href="javascript:quickLinks('HIDE');"  style="border-right:1px solid #000000;border-left:1px solid black;">Hide Edit Links</a></td><td id="showEdit"><a class="htmldbToolbar" title="Show Edit Links" href="javascript:quickLinks('SHOW');"  style="border-right:1px solid #000000;border-left:1px solid #000000;">Show Edit Links</a></td></tr></tbody></table>
    <script type="text/javascript">
       if(GetCookie('ORA_WWV_QUICK_EDIT') != null){
           if(GetCookie('ORA_WWV_QUICK_EDIT') == 'SHOW')
               quickLinks('SHOW');
    </script>
    </body>
    </html>Can anyone tell me why it is tagging this information on to my txt file
    Cheers
    Gus

    Hi,
    before exception handler call
    apex_application.g_unrecoverable_error := true;Regards,
    Jari

  • Problem downloading a file from popup

    Hi,
    I have scenario like this.
    popup on a page.
    region on that popup. when i click on a button inside the region i want to close the popup and download a file of type excel.I am able to close the popup.but the problem is the download of file is not happening.I think when i hide the popup the response is coming back as the parent page.but i want to download the file.Is there any way i can achieve this?
    Here is the code for downloading and hiding the popup.closePopup method is being called from the action Listener of the button.
    public void closePopup(ActionEvent actionEvent) {
    // Add event code here...
    RichPopup parentpopup = getMyPopup(actionEvent.getComponent());
    parentpopup.hide();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    PrintWriter pw= null;
    HttpServletResponse httpServletResponse =
    (HttpServletResponse)facesContext.getCurrentInstance().getExternalContext().getResponse();
    try {
    pw = httpServletResponse.getWriter();
    httpServletResponse.setContentType("application/vnd.ms-excel");
    httpServletResponse.setHeader("Content-disposition", "attachment; filename=" + "test");
    pw.write("test");
    pw.flush();
    pw.close();
    FacesContext.getCurrentInstance().responseComplete();
    } catch (Exception e) {
    e.printStackTrace();
    private RichPopup getMyPopup(UIComponent component){
    if(component ==null){
    return null;
    if(component instanceof RichPopup){
    return (RichPopup)component;
    return getMyPopup(component.getParent());
    please guide me here.

    use following code
        public void fileDownloadListener(FacesContext facesContext,
                                         OutputStream outputStream) {
            OutputStreamWriter outputStreamWrite =
                new OutputStreamWriter(outputStream);
            //PrintWriter pw = null;
            HttpServletResponse httpServletResponse =
                (HttpServletResponse)facesContext.getCurrentInstance().getExternalContext().getResponse();
            try {
                //pw = httpServletResponse.getWriter();
                httpServletResponse.setContentType("application/vnd.ms-excel");
                httpServletResponse.setHeader("Content-disposition",
                                              "attachment; filename=" + "test.xls");
                outputStreamWrite.write("test");
                outputStreamWrite.flush();
                outputStreamWrite.close();
                FacesContext.getCurrentInstance().responseComplete();
            } catch (Exception e) {
                e.printStackTrace();
        }

Maybe you are looking for

  • Custom Text Format not available

    Hi, I'm trying to specify a column (text datatype) in a report as a hyperlink, but when I navigate to the column properties screen and check the "Overide default data format" box, I only have the two "Plain Text" options in the drop down list. This i

  • How to delete extra tab space in the flat file??

    Hi all,     I have a flat file on presentation server which has 20000 records. In this file there are 16 fields and distance between each field is different and what I want is each field should have one tab space between another. Thanks & Regards Jer

  • While using data pump (impdp) how to rename references within objects?

    using 10g; what i want to accomplish is to change schema & tablespace ownership using the data pump method via the command line; i have had success using the command line for expdp / impdp. Problem is that there are objects that reference the old sch

  • Abstract Method Error and XML Parsing

    I am using wl6sp1. I am parsing an XML file from within the servlet using jaxp1.1 and crimson. Following is code: 1- SAXParserFactory spf = SAXParserFactory.newInstance(); 2- sp = spf.newSAXParser(); 3- xr = sp.getXMLReader(); 4- xr.setContentHandler

  • Photos covering captions and not lined up

    I am adding photos to a photo page in iWeb and they line up fine with captions However when I publish them they are not lined up (some are higher than others and some to the side). Some of the captions show but others are covered up by the photos. Ap