Calling query doc. (text file) from a web template with JavaScript

Hi,
I would like to have an explanation of the following:
My goal is to develop a solution within a dynamic web template that supports calling of query documentation (description and purpose of the certain report). This query documentation will be provided from a textfile(e.g .csv) and presented under the information tab applying a text element web item. This will be done with query technical name acting as key with the following column structure:
Technical name    Description    Purpose
I really would appreciate if anyone could provide me with a more or less detailed solution proposal for this. Javascript etc.?
Thanx in advance

You can use the command line tool cURL instead of a GUI browser.
set myFonts to do shell script "curl http://site.com/fonts.txt"

Similar Messages

  • When I try to save a file from the Web, even with web complete, it saves it as an MS Word file. How do I change this?

    I cannot execute the Save Page As for any files on Firefox. Each time I try it saves it as a .htm file -- even if I choose Web Complete, and it opens as an illegible MS Word document.
    The error message says Windows cannot find C:\Documents and Settings, etc with my file folder.
    I think that the problem began when a old version of the Netscape browser I had stopped working, so I removed it.
    Please advise how I can save Web files properly. Thank you very much.

    removed firefox and installed V.10. Back to normal! Interestingly did not have problemm on Blackberry so not sure where the problem was!!!!!!!!!

  • Cannot view or download PDF files from secure web site with Reader X.

    Ran into a similar problem when Reader X first came out (Reader 9 had been working fine).  Only a blank window was displayed, but a work around was to "Save As" and use the view option to display and print the document. I recently had to replace my modem. Since then, that work around option is no longer available; it errors out saying that the file could not be downloaded.  We are using IE9 and Windows 7.  I tried another browser, Google Chrome, with the same negative results. Also, I got the same results on another secure website.  I have deleted and downloaded another copy of Reader X (10.1.1) and checked for updates, run the Repair program, and confirmed that Protected Mode and AdobePDF.dll are both enabled.  I looked at my Internet settings, too but found nothig that would obviously
    interfere with Reader.

    Usually, this message occurs with Windows. First time I've seen it with OS X. Looking into it.

  • 'No Upload Authorization' While Uploading a Text File from Multiple Select

    Hi all,
       The User is trying to upload a text file from Multiple Selection screen of a Query in BEx and it gives the error message of 'No Upload Authorization' (Error DB886).
       In 'Logon data' tab of Tcode SU01, it has 'User' for 'User Group for Authorization check' for this User.
       I could upload a text file from Multiple Selection screen with my User Id.
       An idea about this error, PLEASE ?
    Thanks,
    Venkat.

    Hi Ron,
       This User does not have the access to Tcode ST01.
       The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
      Any further suggestions, PLEASE.
    Thanks.

  • Uploading a text file from webi filter area as part of the query condition

    Post Author: balasura
    CA Forum: Publishing
    Requirement : Uploading a text file from webi filter area as part of the query condition Hi, I am in a serious requirement which I am not sure available in BO XI. Can some one help me plz. I am using BO XI R2, webi I am generating a ad-hoc report, when I want to give a filter condition for a report, the condition should be uploaded from a .txt file. In the current scenario we have LOV, but LOV could hold only a small number of value, my requirement is just like a lov but the list of values will be available in a text file ( which could number to 2000 or 2500 rows). I would like to upload this 2500 values in the form of a flat text file to make a query and genrate report. Is it possible in BO XI? For Eg:- Select * from Shipment Where u201CShipment id = u2018SC4539u2019 or Shipment id = u2018SC4598u2019u201D The u201Cwhereu201D condition (filter) which has shipment id will be available in a text file and it needs to be loaded in the form of .txt file so that it will be part of the filter condition. Content of a .txt file could be this shipment.txt =============== SC4539 sc2034 SC2343 SC3892 . . . . etc upto 2500 shipment Ids I will be very glad if some could provide me a solution. Thanks in advance. - Bala

    Hi Ron,
       This User does not have the access to Tcode ST01.
       The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
      Any further suggestions, PLEASE.
    Thanks.

  • Create a new dimension in business layer from Data source: text file on the web

    Hi,
    I have a text data source which is published every few hours that is accessible from a certain URL. I follow the instruction given in this http://scn.sap.com/docs/DOC-43144 - where it shows in great detail how to create the connection, data foundation as well as business layer to create a universe for this type of data.
    All is well - I can use this universe in my WEBI doc and display the data.
    However, in order for me to merge the data from this universe with another universe, I need to create  new dimension based on the data from the text file. The new dimension value is simply the first 4 characters of the Subject found in the text file. The "Subject" dimension is of variant type: varchar.
    Following the guide mentioned earlier, the connection is using SAP BO OpenConnectivity driver. And this driver limits severely the SQL statement that I can use to extract a substring of another string. Here's the screenshot of the SQl expression that I can use with this driver
    After hours of searching, I cannot find any other connection driver for a text file that's published on a certain URL. The BO OpenConnection driver is the best that I could find.
    So here are my problems
    1. one of my data source is a text file published on a web
    2. the only connection I can create does not allow me to create  new dimension in the universe to create an important column "subject ID"
    3. I can create the column in webi as a variable. But when I do so, I cannot merge it with existing dimension (webi not allowing to merge these 2 types). And without the merge, the flat file universe with my database universe can't be combined.
    I'm using WEBI Rich client version 4.1 SP3 Patch 1. Build 14.1.3.1300
    Is there any other idea that you can suggest without requiring to change the extracted data?
    Thanks.
    With warm regards

    Hi Bala,
    Were you able to find out a solution for the problem with uploading values for a variable from a text file on the web?  I am confronted with the same request from users.
    Thanks,
    BQ

  • Producing text file from PL/SQL procedure (UTL_FILE)?

    Hi,
    I need to produce a text file from a PL/SQL procedure. My output should be a little over 38K records and my query has 70 fields. I'd like to separate the fields by pipe delimiters in the text file. I can either concatenate all 70 fields into one variable for each record or send all 70 fields over with a pipe, whichever is easier. It looks like I can't spool within PL/SQL but UTL_FILE might be an option from what I'm reading. Does anyone have any good, simple example(s) to produce a text file using this package in calling multiple fields from a LOOP? Our os is UNIX and db is Oracle 9i.
    Also, I've read that UTL_FILE has a record output of 1,023 bytes. Is this for each record line or the whole file size? I belive the max # of characters for each line wouldn't exceed 500 characters. The 38K rows I have for the data set would be well over 1MB. If this is the case, is there a work around to produce a larger text file?
    Any suggestions and/or examples would be greatly appreciated.
    Thanks,
    Eric

    Assuming the goal is to create a text file on the database server, you can use UTL_FILE here. Each line can be 1023 characters, but you can have as many lines as you'd like.
    Tom Kyte has an example here
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:235814350980
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Can't read pdf-files from the web

    Some pdf-files from the web (using Safari 6) is not readable on my iMac, OSX 10.7.4.
    I get a lot of
    instaed of text.
    Why?
    /Karin

    It happens even to me (iMac late 2006, OS X 10.6.8, Safari 5.1.7(6534.57.2)), but instead of ??? I get black screens. Here some links to several PDF files:
    http://www.heathrowairport.com/static/Heathrow/Languages/Downloads/italian-secur ity-guide.pdf
    http://www.crs.lombardia.it/ds/ccurl/487/15/2008_10_15_Manuale_di_installazione_ e_configurazione_del_CRS_Kit_per_Mac_V1.0.pdf
    http://tda.panasonic-europe-service.com/docs/2z508fef28z3z36c0fz6974z706466z23zc 6217222fafecd42377558ba5cd29331bfd3c26a/tsn2/data/EU/TXP42ST50E/OI/890961/TQB0E2 271C.pdf
    http://www.trenitalia.com/cms-file/allegati/trenitalia/treni/Frecciargento_sched atecnica.pdf
    Luciano

  • How to call a help file from a WAD Template button

    Hi All
    I need to implement a button in a web template when I press the button it displays another HTML or text file it is mainly on help on the report.
    I am just wondering how to store this HTML or text file in the system and what function to implement in the web template button ti display this text or HTML when the button is pressed.
    Thanks
    Karen

    Hi Karen,
    Please try this out:
    With WAD 3.5 it's easy. You could use javascript function: window.open().
    window.open("/sap/bw/Mime/Customer/.../file.htm","NewWindow","width=750,height=700,left=100,top=100");
    Try using the SCRIPT Item in WAD 7.0. You can use the same code within the SCRIPT Item and call the function which has been defined in the Script Item, in the XHTML part of the Template.
    It may help.
    Or put the file in another web template and on click of a button, the new template opens up and displays the content of the file.
    Not sure though if the latter one would be useful, its just a thought.
    Hope it Helps,
    Regards,
    Amit

  • Why does Acrobat suddenly not work on my Mac (won't open pdf files from a web page), yet I can open them from my iPhone? Everything worked fine yesteray.

    Hello:
    I have a Mac running OS 10.8.5 and I use Acrobat Pro and Acrobat Reader. Today for some reason, any time I try and access a pdf file from a web page, it won't open. I get a blank window. PDF files already on my computer open fine and I can create PDF files from Word docs, but I can't download or view any pdf file from any web page. Strangely, PDF files on web pages open just fine on my iPhone.
    I checked that both my copy of Acrobat Pro and Acrobat Reader are up-to-date. They are.
    I checked that my copy of Firefox is up-to-date. It is. And nothing changed with Firefox within the last 24 hours.
    I am a humble computer end-user. I am baffled as to why this would suddenly not work. I have not changed any settings, etc. Any help or suggestions would be greatly appreciated.

    Thank you.
    I checked your instructions you sent and as far as I can tell all of my settings, etc for Firefox (plugin updates and preferences) are correct but I am having the same problem.
    However, everything works in Safari. I don't have time to attempt to diagnose why Firefox no longer works. I will just switch to Safari.
    Many thanks.
    Charles
    Charles Deister
    (503) 949-5762
    [email protected]<applewebdata://81CB4171-226F-49DF-BD59-A38A7360B3FB/[email protected]>
            PO Box 5032
         Salem, OR 97304
    http://www.pilotstrat.com<http://www.pilotstrat.com/>
    This transmission (including any attachments) may contain confidential information, privileged material, or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

  • Reading a text file from a URL

    I am having problems trying to read a text file from a URL.
    This is the code i have been using:
    package Java;
    import java.net.*;
    import java.io.*;
    public class Main_1 {
    public static void main(String[] args) throws Exception {
         URL myAddress = new URL("http://www.geocities.com/simonrobinson1/java/farrago.txt");
         BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        myAddress.openStream()));
         String inputLine;
         while ((inputLine = in.readLine()) != null)
         System.out.println(inputLine);
         in.close();
    but it returns an error saying:
    java.net.NoRouteToHostException: Operation timed out: no further information
    at java.net.PlainSocketImpl.socketConnect(Native Method) .....etc etc.
    Is this just a problem due to my network or is there something wrong with my code ????

    Altho you can access the file by typing the URL in a browser, geocities being a free web-hosting service don't like you to access the materials without seeing their ads. You have to find a way to trick it into thinking that you are indeed coming in from a web browser even tho you aren't.
    V.V.

  • Creating text file from table

    Hi all
    I have a table LFA1 with headers LIFNR, MANDT, NAME1, NAME2, ...., . That table contains data and I need to create text file that collects all headers with all data, where each field is separated by TAB.
    thanks for your help.

    Here is program for KNA1.
    *"Table declarations...................................................
    tables:
      kna1.                              " General Data in Customer Master
    *"Selection screen elements............................................
    select-options:
      s_kunnr for kna1-kunnr.            " Customer Number 1
    *" Type declarations...................................................
    types:
      begin of type_s_customer_details,
        name        like kna1-kunnr,
        address     like kna1-adrnr,
        title       like kna1-anred,
        createdon   like kna1-erdat,
        createdby   like kna1-ernam,
      end of type_s_customer_details.
    Internal table to hold General Data in Customer Master data         *
    data:
      t_customer_details type table
                           of type_s_customer_details
                         with header line.
                          START-OF-SELECTION EVENT                      *
    start-of-selection.
      perform select.
    *&      Form  select
    This subroutine selects information from database and exports the    *
    data into presentation layer                                         *
    There are no interface parameters to be passed to this subroutine.  *
    form select .
      select kunnr
              adrnr
              anred
              erdat
              ernam
         into table t_customer_details
         from kna1
        where kunnr in s_kunnr.
      if sy-subrc ne 0.
        write : / 'DATABASE SELECTION FAILED'.
      else.
        call function 'GUI_DOWNLOAD'
          exporting
      BIN_FILESIZE                    =
           filename                        = 'd:\customer_details.txt'
           filetype                        = 'ASC'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
    IMPORTING
      FILELENGTH                      =
          tables
            data_tab                        = t_customer_details
      FIELDNAMES                      =
         exceptions
           file_write_error                = 1
           no_batch                        = 2
           gui_refuse_filetransfer         = 3
           invalid_type                    = 4
           no_authority                    = 5
           unknown_error                   = 6
           header_not_allowed              = 7
           separator_not_allowed           = 8
           filesize_not_allowed            = 9
           header_too_long                 = 10
           dp_error_create                 = 11
           dp_error_send                   = 12
           dp_error_write                  = 13
           unknown_dp_error                = 14
           access_denied                   = 15
           dp_out_of_memory                = 16
           disk_full                       = 17
           dp_timeout                      = 18
           file_not_found                  = 19
           dataprovider_exception          = 20
           control_flush_error             = 21
           others                          = 22
        if sy-subrc <> 0.
          write : / 'Upload Failed' , sy-subrc.
        else.
          write : / 'Upload Completed'.
        endif.
      endif.
    endform.                               " SELECT

  • Reading text file from database server in OA Page

    Hi Guys,
    I am trying to embed an applet with in an OA Page. The applet is used to mainly for showing Gantt chart. I have to pass my connection details from OA Page to applet, I dont pass directly the connection details to the applet so i am placing all the server details, user name and password in a text file on the database server.
    So from the OA Page i have to read the contents of the file on the database server and pass them to the applet using the <PARAM> tag. My question is how to read the text file from the database server.Any Inputs?
    Thanks in advance for your help.
    Regards,
    Nagesh Manda.

    If the file to be read is on the database, then it makes sense to use the pl/sql code to read the file. Make a call to this pl/sql code from page controller to get back the values.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                           

  • How to copy/send text file from FTPS to SAP ECC File Port

    Hi Frdns,
    I am working on one design, actually my requirement as follows
    I am receiving financial information document from Banks, which is in the form of BIA2 message format, it looks like text file. This information needs to be sending to SAP ECC system.
    I identified some approaches to full fill the requirement
    1)Using Conversion agent/or third party tools to convert BIA2 message in to XML, then using PI I will pick up the XML message, convert it in to IDoc.
    2)Without any conversion I will copy the same file (original BIA2 message) in to SAP ECC file port, in this case no conversion required, calling some program I will schedule it.
    I am looking forward t implement the second approach because it saves lot of money to my client.
    Now I am wondering using File adapter can i copy to SAP ECC File Port or I required ABAP proxy?
    What is the best approach to copy the BIA message text file from FTPS to SAP ECC File Port.??
    Regards,
    Raj

    Hi Raja,
    >>Now I am wondering using File adapter can i copy to SAP ECC File Port or I required ABAP proxy?
    Yes you can do this copy, the only restriction that can happen is the file size.. If you are sure that the fiel will be of few MB at the max then you can use the Configuration part alone and copy it to ECC folder. For doing this you need the following:
    1. Sender agreement (mention the sender interface as anything XYZ)
    2. Sender communication channel. Pick the file in binary mode
    3. Receiver determination (keep both the sender and receiver service as same)
    4. Interface Detemiantion (dont specify any mapping and keep the receiver interface name as XYZ)
    5. Create receiver agreement (with same service and interface)
    6. Use file adapter here
    Regards
    Suraj

  • Download a file from the web

    Helo,
    I have to download a file from the web and copy it to the file system (ex: download from http://172.26.20.22/test.csv to \\server01\teste.csv).
    I must do this using only pl/sql and java sources, I have to do this calling a procedure from pl/sql and the server doesn't have any component installed.
    I've built a java procedure using java to download the file, but it give-me AccessControlException when trying to download.
    Can anyone tel me what permissions I should have to accomplish this? Is there any other easier way?
    Thanks.

    Thanks a lot! Your post was very helpfull.
    I create a procedure do download the file from the web and record in a network share.
    But I'm still having a problem while writing that each line in my source file generate a duplicate line in my destination one.
    Can you help me with that problem to?
    Thanks
    My procedure is below:
    create or replace procedure SP_DOWNLOAD(astr_url_orig varchar2, astr_cam_dest varchar2, astr_nome_arq_dest varchar2) is
    l_pagina utl_http.html_pieces;
    l_arquivo utl_file.file_type;
    begin
    l_pagina := utl_http.request_pieces(astr_url_orig);
    l_arquivo := utl_file.fopen(astr_cam_dest, astr_nome_arq_dest, 'W');
    for i in 1 .. l_pagina.count
    loop
    utl_file.put_nchar(l_arquivo, l_pagina(i));
    dbms_output.put_line(l_pagina(i));
    end loop;
    utl_file.fclose(l_arquivo);
    end SP_DOWNLOAD;

Maybe you are looking for

  • I need help printing with HP laserjet 2200 and OS 10.6

    I need help setting up my HP laserjet 2200 and OS 10.6 -- I've downloaded and installed all the software and still can't print.

  • Can't get "Type Mask Tool" to work

    I'm a newbie to the program and have been able to understand how to use all the tools so far EXCEPT the Type Mask Tool. The Product Help in the Adobe Help Center is very brief and vague. I searched all the online avenues and didn't see my problem add

  • Flash player version 11.7 doesn't breaks FLV playback

    Hello, Since the last 11.7 update, with chrome and ff on win 7, the FLV vidéo in a AS2 player don't work. I tested on many computers. http://asp-gb.secure-zone.net/v2/index.jsp?id=1879/2428/6978&lng=en&startPage=7 Click on the picture with the play b

  • Is this bug fixed in Logic 8?

    Hello- I use the 8 core with Logic, and have noticed and read that there has been a bug regarding Intel macs and SMPTE getting messed up in Logic when moving tempo maps around. I have been experiencing this myself and it is a major PITA. I am wonderi

  • Nokia E52 - downloading maps direct to the phone

    Hello, i would ask if here is chance to download maps directly to the phone without using a PC. (through WiFi). I have Ovi Maps appliaction v 3.04 , phone Nokia E52. Thanks for answers.