Books _ External files

hi all,
I have a req to add Excel doc, Power point doc to the books along with FR reports. but when the book is open in Complete book in pdf option the external files (Excel,Power point,PDf ,word files) are not visible in the contents file and in the subsequent pages where they are added.
can we show these files along with FR reports when we open them in Complete book in pdf option

Hi,
Did u get the answer for this?
let me know which software you have installed in FR Server.. (Ex. Adobe Acrobat or GNU Ghost Script)
I Think Adobe will not support to generating the word/excel doc to PDF Format.
Can you install Ghost script and try it.
Please let me know.. if you are getting the word/excel as a pdf format.
Kishore G.
Edited by: user13012270 on 30-Apr-2010 01:33

Similar Messages

  • Adding a link to an external file into SQL table

    I would like to add a link to an external file (picture stored on my local hard drive) into SQL table. Then use C# to query data from SQL table and export to Excel.  I got everything working ok except the link to external file. I would like to export
    this link to Excel and user can click on the link to open the file. How can I accomplish this? Thank you very much in advance for your help!

    In that case the Filetable feature could be of interest to you. With this feature the file can be part of the database, and still be accessible from tools outside SQL Server.
    I don't really have any good examples handy, but if anyone knows of a good blog post that could help Nhan, please feel free to add.
    Here is a link to the description in Books Online:
    http://msdn.microsoft.com/en-us/library/ff929144.aspx
    Erland Sommarskog, SQL Server MVP, [email protected]

  • For loop not working & way to include an external file

    Hi everyone, i am new to java and am having some problems with my program.
    I have a for loop but it doesnt work it completely gets ignored and i have
    no idea why it does that.
    IS there a way that i add another option in the menu to open an external file
    which would be similar to this but it would be for cabinBooking. If so how do
    i do that. if opening an external file is impossible then could you please show me an example of how to extend the booking class.
    Any help would be appreciated.
    Thank you very much
    import java.util.Scanner;
    import java.io.*;
    public class Booking{
    Booking(String bId,     String bName,int bNum){
    bookId = bId;
    bookName = bName;
    bookNum     = bNum;
    String bookId;
    String bookName;
    int     bookNum;
    public double calculateBookingPrice(){
    double cost     = bookNum *     genBookingcost;
    return cost;
    double genBookingcost =     80;
    public void     summary(){
         System.out.println();
    System.out.println("Booking Number is: " + bookId + ", ");
    System.out.println("Booking Made for : " + bookName);
    System.out.println("Cost of booking = $" + calculateBookingPrice());
    System.out.println();
    public static void main(String[] args) throws IOException{
    Scanner     keyboard = new Scanner(System.in);
    BufferedReader charInput = new BufferedReader
    (new InputStreamReader (System.in));
    int bookCount = 0;
    char answer;
    Booking[] bookings = new Booking[6];
    do {
         menu();
         System.out.println("book Count = " + bookCount);
         answer = charInput.readLine().charAt(0);
                   if (answer == 'a' || answer == 'A'){
                        System.out.println("Booking     ID : ");
              String idstring     = keyboard.nextLine();
              System.out.println("Booking     Name : ");
              String namestring =     keyboard.nextLine();
              System.out.println("number of people : ");
              int     ppl     = keyboard.nextInt();
              bookings[bookCount] = new Booking(idstring,namestring,ppl);
              bookings[bookCount].summary();
                        bookCount++;
                   }else if (answer == 'b' || answer == 'B'){
                        System.out.println("Enter printing");
                        bookings[0].summary();
                        bookings[1].summary();
                        // this is the loop that it is ignoring GGRRRR!!!
                   for(int i = 0; i >= bookCount; i++){
                        System.out.println("Counter: " + i);
                        bookings.summary();
                   }else if (answer == 'x' || answer == 'X'){
                        System.out.println("Exiting the programme...");
    System.out.println();
    System.exit(0);
    }while (answer != 'x' || answer != 'X');
    public static void menu(){
         System.out.println("********** Main Menu ***********");
              System.out.println(" A. Make General Booking");
              System.out.println(" B. Print Summary");
              System.out.println(" X. Exit program");
              System.out.println("*****************************");
              System.out.println("Select one of the options above");

    in order to extend the Booking class, you can create anew class like this..
    public class CabinBooking extends Booking
       public CabinBooking( /*String bId, String bName,int bNum .. more args or fewer, or none.. */)
        // add new methods or override ones from Booking
    }

  • Launch external files on Linux

    I want to launch external files from Java, in a cross platform way.
    ie say I have a file fred.jpg, I want to launch that on any platform to open in the editor defined on that computer.
    The book 'Swing Hacks' (Marinaccci and Adamson), shows how to do this for Windows and Mac. My version of their code is
         static public void launch(URL url){
              try{
                   String cmd;
                   if (OS.isMac())
                        cmd = "open "+url;
                   else     // TODO linux?
                        cmd = "cmd.exe /c start "+url;     
                   Runtime.getRuntime().exec(cmd);
              catch(Exception e){new Fail(e);}          
         }However, I don't know what to put in for linux?
    Searching the web I came across http://weblogs.java.net/blog/ixmal/archive/2006/05/javaawtdesktop.html,
    which suggests that
    Desktop.getDesktop().open(new File(filename));is more platform independant. However for me it seems to work only on Windows, failing silently on Mac and Linux?
    Can someone with a good knowledge of Linux help please.

    >
    Will Duke stars get anyone to answer this?>I cannot say. What I can tell you is that at least it got me to read it.
    And now I look over your original post..
    >
    ..However for me it seems to work only on Windows, failing silently on Mac and Linux?>'Seems'? The docs. for Desktop.open(File) suggest it throws a whole range of exceptions if it cannot perform the task. Are you sure the code is not 'swallowing exceptions'?
    Can you produce an SSCCE that fails as you claim? If so, this really sounds like a bug.
    And as an aside, Desktop was introduced in 1.6, but AFAIR, Apple is still stuck on 1.5. How did you get it to 'fail silently' on a Mac.?
    Edit 1:
    But if you are intent on doing it the way that you originally asked about, you might be able to pick up some tips from the [http://browserlaunch2.sourceforge.net/|BrowserLauncher2] code.
    Edited by: AndrewThompson64 on May 22, 2008 4:48 PM

  • Reading the Blob and writing it to an external file in an xml tree format

    Hi,
    We have a table by name clarity_response_log and content of the column(Response_file) is BLOB and we have xml file or xml content in that column. Most probably the column or table may be having more than 5 records and hence we need to read the corresponding blob content and write to an external file.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
      DATE_UPDATED   VARCHAR2(20 BYTE)              DEFAULT SYSDATE
    )The xml content in the insert statement is very small because of some reason and cannot be made public and indeed we have a very big xml file stored in the BLOB column or Response_File column
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (5, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (6, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (7, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (8, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (9, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');THe corresponding proc for reading the data and writing the data to an external file goes something like this
    SET serveroutput ON
    DECLARE
       vstart     NUMBER             := 1;
       bytelen    NUMBER             := 32000;
       len        NUMBER;
       my_vr      RAW (32000);
       x          NUMBER;
       l_output   UTL_FILE.FILE_TYPE;
    BEGIN
    -- define output directory
       l_output :=
          UTL_FILE.FOPEN ('CWFSTORE_RESPONCE_XML', 'extract500.txt', 'wb', 32760);
       vstart := 1;
       bytelen := 32000;
    ---get the Blob locator
       FOR rec IN (SELECT response_file vblob
                     FROM clarity_response_log
                    WHERE TRUNC (date_crated) = TRUNC (SYSDATE - 1))
       LOOP
    --get length of the blob
    len := DBMS_LOB.getlength (rec.vblob);
          DBMS_OUTPUT.PUT_LINE (len);
          x := len;
    ---- If small enough for a single write
    IF len < 32760
          THEN
             UTL_FILE.put_raw (l_output, rec.vblob);
             UTL_FILE.FFLUSH (l_output);
          ELSE  
    -------- write in pieces
             vstart := 1;
             WHILE vstart < len AND bytelen > 0
             LOOP
                DBMS_LOB.READ (rec.vblob, bytelen, vstart, my_vr);
                UTL_FILE.put_raw (l_output, my_vr);
                UTL_FILE.FFLUSH (l_output);
    ---------------- set the start position for the next cut
                vstart := vstart + bytelen;
    ---------- set the end position if less than 32000 bytes
                x := x - bytelen;
                IF x < 32000
                THEN
                   bytelen := x;
                END IF;
                UTL_FILE.NEW_LINE (l_output);
             END LOOP;
    ----------------- --- UTL_FILE.NEW_LINE(l_output);
          END IF;
       END LOOP;
       UTL_FILE.FCLOSE (l_output);
    END;The above code works well and all the records or xml contents are being written simultaneously adjacent to each other but we each records must be written to a new line or there must be a line gap or a blank line between any two records
    the code which I get is as follow all all xml data comes on a single line
    <?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7369</empno><ename>James</ename><job>Manager</job><salary>1000</salary></emp><?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7370</empno><ename>charles</ename><job>President</job><salary>500</salary></emp>But the code written to an external file has to be something like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
      <empno>7369</empno>
      <ename>James</ename>
      <job>Manager</job>
      <salary>1000</salary>
    </emp>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
    <empno>7370</empno>
    <ename>charles</ename>
    <job>President</job>
    <salary>500</salary>
    </emp>Please advice

    What was wrong with the previous answers given on your other thread:
    Export Blob data to text file(-29285-ORA-29285: file write error)
    If there's a continuing issue, stay with the same thread, don't just ask the same question again and again, it's really Pi**es people off and causes confusion as not everyone will be familiar with what answers you've already had. You're just wasting people's time by doing that.
    As already mentioned before, convert your BLOB to a CLOB and then to XMLTYPE where it can be treated as XML and written out to file in a variety of ways including the way I showed you on the other thread.
    You really seem to be struggling to get the worst possible way to work.

  • How to open and read an external file in Dashboard widget?

    I am new to Dashboard widgets and also Javascript. I have written a widget that needs to open and read a file on the local file system. I have searched a lot and have not found any documentation or reference on the internet as to how to do this.
    I know it can be done since there is a checkbox in the widget attributes that says "Allow External File Access".
    can anyone help me out here?
    Thanks

    You need to define the AllowFileAccessOutsideOfWidget key to Yes.
    You also need to define the AllowFullAccess key.
    You may also need to define the AllowSystem key (to Yes of course).
    Mihalis.
    PS. If you cannot find any other documentation please check http://widgetbook.blogspot.com.

  • External table: How to load data from a fixed format UTF8 external file

    Hi Experts,
    I am trying to read data from a fixed format UTF8 external file in to a external table. The file has non-ascii characters, and the presence of the non-ascii characters causes the data to be positioned incorrectly in the external table.
    The following is the content's of the file:
    20100423094529000000I1 ABÄCDE 1 000004
    20100423094529000000I2 OMS Crew 2 2 000004
    20100423094529000000I3 OMS Crew 3 3 000004
    20100423094529000000I4 OMS Crew 4 4 000004
    20100423094529000000I5 OMS Crew 5 5 000004
    20100423094529000000I6 OMS Crew 6 6 000004
    20100423094529000000I7 Mobile Crew 7 7 000004
    20100423094529000000I8 Mobile Crew 8 8 000004
    The structure of the data is as follows:
    Name Type Start End Length
    UPDATE_DTTM CHAR 1 20 20
    CHANGE_TYPE_CD CHAR 21 21 1
    CREW_CD CHAR 22 37 16
    CREW_DESCR CHAR 38 97 60
    CREW_ID CHAR 98 113 16
    UDF1_CD CHAR 114 143 30
    UDF1_DESCR CHAR 144 203 60
    UDF2_CD CHAR 204 233 30
    DATA_SOURCE_IND CHAR 294 299 6
    UDF2_DESCR CHAR 234 293 60
    I create the external table as follows:
    CREATE TABLE "D_CREW_EXT"
    "UPDATE_DTTM" CHAR(20 BYTE),
    "CHANGE_TYPE_CD" CHAR(1 BYTE),
    "CREW_CD" CHAR(16 BYTE),
    "CREW_DESCR" CHAR(60 BYTE),
    "CREW_ID" CHAR(16 BYTE),
    "UDF1_CD" CHAR(30 BYTE),
    "UDF1_DESCR" CHAR(60 BYTE),
    "UDF2_CD" CHAR(30 BYTE),
    "DATA_SOURCE_IND" CHAR(6 BYTE),
    "UDF2_DESCR" CHAR(60 BYTE)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER DEFAULT DIRECTORY "TMP"
    ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE
    CHARACTERSET UTF8
    STRING SIZES ARE IN BYTES
    NOBADFILE NODISCARDFILE NOLOGFILE FIELDS NOTRIM
    ( "UPDATE_DTTM" POSITION (1:20) CHAR(20),
    "CHANGE_TYPE_CD" POSITION (21:21) CHAR(1),
    "CREW_CD" POSITION (22:37) CHAR(16),
    "CREW_DESCR" POSITION (38:97) CHAR(60),
    "CREW_ID" POSITION (98:113) CHAR(16),
    "UDF1_CD" POSITION (114:143) CHAR(30),
    "UDF1_DESCR" POSITION (144:203) CHAR(60),
    "UDF2_CD" POSITION (204:233) CHAR(30),
    "DATA_SOURCE_IND" POSITION (294:299) CHAR(6),
    "UDF2_DESCR" POSITION (234:293) CHAR(60) )
    ) LOCATION ( 'D_CREW_EXT.DAT' )
    REJECT LIMIT UNLIMITED;
    Check the result in database:
    select * from D_CREW_EXT;
    I found the first row is incorrect. For each non-ascii character,the fields to the right of the non-ascii character are off by 1 character,meaning that the data is moved 1 character to the right.
    Then I tried to use the option STRING SIZES ARE IN CHARACTERS instead of STRING SIZES ARE IN BYTES, it doesn't work either.
    The database version is 11.1.0.6.
    Edited by: yuan on May 21, 2010 2:43 AM

    Hi,
    I changed the BYTE in the create table part to CHAR, it still doesn't work. The result is the same. I think the problem is in ACCESS PARAMETERS.
    Any other suggestion?

  • Is it possible to link and update external files in a Indesign document when sharing the Indesign file in Creative Cloud with multiple users?

    I am new to Creative Cloud, but have been using Adobe software for many years.
    Now we are considering sharing an Indesign file with my project group using CC.
    The Indesign file contains links to external files (one Illustrator and multiple .txt files); and we export the approved version to an Hi-Res PDF.
    These .txt files are currently hosted on our internal server but have not been linked directly: we first copy them over to local desktop and update the links in Indesign before creating a new PDF. 
    Since these file can be update by different people we would like to keep them outside the Indesign and Illustrator files.
    Is it still possible with CC to link directly to the files on our server in Indesign and see if there have been updated?
    Or can they also be stored in the CC cloud? Or is there another method?
    Thanks in advance for any help or suggestions
    Ronald

    This will work if you all use the file syncing of the Creative Cloud desktop application and then you use the Collaborate option for the folder containing all the files. Then it will work on each of your desktops.
    Links to files will not work in the browser when viewing the InDesign document from https://creative.adobe.com/files.

  • How to Read a External File in a livecycle form (using javascript)

    Hi Everyone,
       First of all, i would like to thank you in advanced for your help !!
       I have a situation were i need to load some values into some fields inside a dinamic pdf that was created in livecycle, what can i do so far ?
       I can load the fields with some values using a livecycle event and javascript, the values come from some functions that i have created but ... are fixed of course...
    What i need is to load up the values from the outside world.... from a external file (text or xml) or a webservice... i have some several experiences but nothing has worked so far...
    Can anyone publish a sample code in javascript to load up a file (text or xml) that works inside livecycle ??
    Thanks in advanced.
    Miguel Angelo (migas)

    Hi, Paul,
      Thanks i have looked inside the link (dam big ) but i'm still kind of lost, can anyone please publish a code example ?
    Miguel

  • Need how to get the data from the external file in eCatt

    Hi ,
      Could any body suggest how to get the values from the external file(Excel,CSV file,Text file) and pass it as varaiable in ecatt Test script.
    Problem: Need to execute FK01-Vendor creation Transaction with multiple set of data .As per my understanding we could achive through Variants in Testdata set in eCatt .
    But is there any way to store the data in excell file and get the data and pass it to FK01 Test scripts
    Appreciate response on this

    Hi
    See the links they may be useful
    check these link,
    eCATT- An Introduction
    /people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
    Creating Test Scripts
    /people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
    eCATT Logs
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    eCATT Scripts Creation – TCD Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    Creation of Test Data Container
    /people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
    eCATT Scripts Creation - SAPGUI Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    Integrating ECATT & MERCURY QTP Part -1
    /people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
    Using eCatt to Test Web Dynpro ABAP
    /people/thomas.jung/blog/2006/03/21/using-ecatt-to-test-web-dynpro-abap
    and
    -command reference
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/3c333b40389c46e10000000a114084/content.htm
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    http://prasadbabu.blogspot.com
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=test_tool_integration_for_sap_e-catt.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    http://www.erpgenie.com/ecatt/index.htm
    hope this helps.
    Reward points for useful Answers
    Regards
    Anji

  • Problem writing external file to externally mounted disk in Windows

    Folks,
    I've got a puzzling problem with a simple OWB mapping where I'm dumping the contents of a table to an external file.
    Versions are OWB v 11.2.0.2 64-bits on Oracle RDBMS 11.2.0.2 Windows 2007 64-bits Enterprise Server.
    When the external files module is hooked up to a location that points to a local disk and directory on the OWB-server, everything works fine - files are created and written.
    When the external files module is hooked up to a location that points to a mounted disk on another Windows 2007 64-bits Enterprise Server, I get +"Invalid Path for target file, check if connector is deployed correctly".+
    The "File System Location Path" in OWB is set to "N:" (no slashes either way). "Test Connection" reports OK.
    I've given both the Oracle os-user and "Everyone" (for good measure) all rights on the mounted disk, and I can see that the generated package code is using the correct Directory, and the Directory Path is the correct one on the server. The mounted disk (N:) should appear as a local disk to Oracle as far as I can see. I'm able to create and delete files on the disk using command line on the OWB/DB-server.
    I'm scratching my head on this one....

    then mapped that share as a network drive (N:) on server A (the OWB/DB-server)I think that problem was with different accounts used for run Oracle database (usually database instance run under SYSTEM account) and which you used to map share (it was interactive session). Even when you made this map persistent (enable "Reconnect at logon" option during mapping) you don't grant access to this drive to other accounts (including SYSTEM ) - this drive will not be visible to other users.
    I think it is possible to create "persistent" network drive mapping for Oracle database context with specification non-SYSTEM account (domain or server local) for running Oracle database instance (and Oracle Listener service).
    Also it seems there is a workaround to access mapped network drive under SYSTEM account:
    http://stackoverflow.com/questions/182750/how-to-map-a-network-drive-to-be-used-by-a-service
    Regards,
    Oleg

  • I have an iPad 2 with iOS 5.1 and iBooks version 2.1.1. I have 64GB of storage, 80% is used. iBooks is using 250MB of storage. I have a large number of PDF files in my iBooks library. At this time I can not add another book or PDF file to my library.

    I have an iPad 2 with iOS 5.1 and iBooks version 2.1.1. I have 64GB of storage, 80% is used. iBooks is using 250MB of storage. I have a large number of PDF files in my iBooks library. At this time I can not add another book or PDF file to my library.  When I try to move a PDF file to iBooks the system works for a while...sometimes the file appears and than disappears....sometimes the file never appears. Is ther some limit to the number of books or total storage used in IBooks?  Thanks....

    Hi jybravo70, 
    Welcome to the Apple Support Communities!
    It sounds like you may be experiencing issues on your non iOS 8 devices because iOS 8 is required to set up or join a Family Sharing group.
    The following information is located in the print at the bottom of the article. 
    Apple - iCloud - Family Sharing
    Family Sharing requires a personal Apple ID signed in to iCloud and iTunes. Music, movies, TV shows, and books can be downloaded on up to 10 devices per account, five of which can be computers. iOS 8 and OS X Yosemite are required to set up or join a Family Sharing group and are recommended for full functionality. Not all content is eligible for Family Sharing.
    Have a great day, 
    Joe

  • Writing agents o/p to external file and if i run the agent again it should

    Hi All,
    i want to run a agent and that result should be displayed in external file system.and i achieved this by using writing VB script and in agents i used actions in that we have invoke server script.And i got the perfect output but what 's my scenario is when i run the agnent again it should create another file with below requirements.
    The file name must contain a suffix containing the date in yyyymmdd format. In cases where the file stored more than once per day, a sequence number must also be provided within the filename.
    (i.e. v1_yyyymmdd, v2_yyyymmdd, v3_yyyymmdd, v4_yyyymmdd, v5_yyyymmdd…)
    And my VB script is like below
    '#####=========================================================================
    '## Title: Export Report
    '## Rev: 1.0
    '## Author: Paul McGarrick
    '## Company: Total Business Intelligence / http://total-bi.com
    '## Purpose:
    '## 1. This script takes a file from OBIEE and saves to the file system
    '## 2. Creates a reporting subdirectory if not already present
    '## 3. Creates a further subdirectory with name based on current date
    '## Inputs (specified in Actions tab of OBIEE Delivers Agent):
    '## 1. Parameter(0) - This actual file to be exported
    '## 2. Parameter(1) - The filename specified within OBIEE
    '## 3. Parameter(2) - Report sub directory name specified within OBIEE
    '#####=========================================================================
    Dim sBasePath
    sBasePath = "E:\reports\reports"
    Dim sMasterPath
    sMasterPath = sBasePath & "\" & Parameter(2)
    Dim objFSO
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'check whether master directory exists, if not create
    Dim objMasterDir
    If Not objFSO.FolderExists(sMasterPath) Then
         Set objMasterDir = objFSO.CreateFolder(sMasterPath)
    End If
    Set objMasterDir = Nothing
    'build string to get date in yyyy-mm-dd format
    Dim sDate, sDateFull
    sDate = Now
    sDateFull = DatePart("yyyy", sDate) & "-"
    If Len(DatePart("m", sDate))=1 Then sDateFull = sDateFull & "0" End If
    sDateFull = sDateFull & DatePart("m", sDate) & "-"
    If Len(DatePart("d", sDate))=1 Then sDateFull = sDateFull & "0" End If
    sDateFull = sDateFull & DatePart("d", sDate)
    Dim sDir
    sDir = sMasterPath & "\" & sDateFull
    Dim objDir
    If Not objFSO.FolderExists(sDir) Then
         Set objDir = objFSO.CreateFolder(sDir)
    End If
    Set objDir = Nothing
    Dim sFileName
    sFileName = sDir & "\" & Parameter(1)
    Dim objFile
    objFSO.CopyFile Parameter(0), sFileName, True
    Set objFile = Nothing
    Set objFSO = Nothing
    could you please any body help me out from this....

    I assume you are using Windows. Try to write a batch file so that that would look for the ibot name when ever its finds rename the file name as required.
    This would be easiest way..
    http://lmgtfy.com/?q=rename+a+file+to+current+date+using+batch+file
    Edited by: Srini VEERAVALLI on Apr 8, 2013 7:23 AM
    Can you updates all your posts?
    Edited by: Srini VEERAVALLI on May 13, 2013 6:44 AM

  • How can I write to a (external)file from a stored procedure

    I want to write some data to a (external) file. I have it working with the function UTL_FILE.
    My problem is I want to write to a file on a mapped drive (so a drive on a different machine). This is not working.
    Does anyone know a way to build this.
    Please send your responses to [email protected]
    Many thanks,
    Alex Nagtegaal

    an extraction out of expert one-on-one from Thomas Kyte
    <quote>
    when an oracle istance is created the services that support it are setup to 'log on as' the system (or operating system) account, this account has very few privileges and no acces to Window NT Domains. To access another Windows NT machine the OracleServiceXXXX must be setup to logon to the appropriate Windows NT Domain as a user who has acces to the required location for UTL_FILE.
    To change the default logon for the Oracle services go to (in Windows NT):
    Control Panel | Services | OracleServiceXXXX | startup | log on as; (where XXXX is the instance name)
    In Windows 2000, this would be:
    Control Panel | Administrative Tools | Services | OracleServiceXXX | Properties | Log on tab; (again XXXX is the instance name)
    Choose the This Account radio button, and then complete the appropriate domain login information. ONce the services have been setup as a user with the appropriate privileges, ther are two options dfor setting UTL_FILE_DIR:
    * Mapped Dirve: To use a mapped drive, the user that the service starts as must have setup a drive to match UTL_FILE_DIR and be logged onto the server when UTL_FILE is in use.
    * Universal Naming Convention: UNC is preferable to Mapped Drives because it does not require anyone to be logged on and utl_file_dir should be set to a name in the form \\<machine name>\<share name>\<path>
    You will of course need to stop and restart Oracle after changing the properties of the service.
    <\quote>
    I want to write some data to a (external) file. I have it working with the function UTL_FILE.
    My problem is I want to write to a file on a mapped drive (so a drive on a different machine). This is not working.
    Does anyone know a way to build this.
    Please send your responses to [email protected]
    Many thanks,
    Alex Nagtegaal

  • How to slipt  fields in a row of an external file and store in Table

    Hi Experts,
    I need to proces an External file and store into a table. Here need to Split the fields in a row and write as multiple rows of a table.
    here i am giving the data sample ..
    outlet1     type1     type2     type3          
    outlet2     type1     type3     type4     typ6     type7
    The table  should be as below.
    outlet1     type1
    outlet1     type2
    outlet1     type2
    outlet2     type1
    outlet2     type3
    outlet2     type4
    outlet2     type6
    outlet2     type7
    Please give your suggesions and code sample that you have
    Thanks

    hi,
    try with the below code. This code is as per data given by u in your first thread.
    DATA : it_string TYPE TABLE OF string,
           wa_string TYPE string,
           BEGIN OF it_itab OCCURS 0,
           f1(7),
           f2(5),
           END OF it_itab,
           fld TYPE TABLE OF string,
           wa TYPE string,
           wa1 TYPE string,
           cnt TYPE i VALUE 1.
           data lin TYPE i.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = 'C:\Documents and Settings\User\Desktop\abc.txt'
        filetype                = 'ASC'
        has_field_separator     = 'X'
      TABLES
        data_tab                = it_string
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    *  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    BREAK-POINT.
    LOOP AT it_string INTO wa_string.
      cnt = 1.
      SPLIT wa_string AT space INTO TABLE fld.
      DESCRIBE TABLE fld LINES lin.
      LOOP AT fld INTO wa.
        cnt = cnt + 1.
        IF cnt <= lin.
          READ TABLE fld INTO wa INDEX 1.
          IF sy-subrc = 0.
            it_itab-f1 = wa.
          ENDIF.
          READ TABLE fld INTO wa1 INDEX cnt.
          IF sy-subrc = 0.
            it_itab-f2 = wa1.
          ENDIF.
          APPEND it_itab TO it_itab[].
        ENDIF.
      ENDLOOP.
    ENDLOOP.
    Thanks & Regards

Maybe you are looking for

  • Printing a report from forms

    I would like to print a report from forms without opening reports first. Is this possible and if so how?

  • Can't open After Effects (version 11.0.2) in New iMac (OSX Version 10.9.4)

    Just bought new iMac (OSX Version 10.9.4) and downloaded After Effects (version 11.0.2). On opening After effects I received the message 'You can't use this version of the application "Adobe After Effects CS6" with this version of OS X.' After googIe

  • DataGuard in a Cluster

    The standby and production are on different cluster nodes, but in case of a failure on the same node. I know that is possible to run the production and the standby on the same server using the lock_name_space parameter. Is it possible to use DataGuar

  • Walking Dead schedule mix up

    Something is not right with The walking dead season 3 show! I aint judas just played sunday the 24th! The new episode for season 3 called" The clear" is due to play on march 3rd! It is not showing up on my DVR nor my T.V GUIDE! I also noticed that th

  • How I know which manageability tools(Oracle Change Management Pack,Oracle C

    Dear all, How I know which manageability tools(Oracle Change Management Pack,Oracle Configuration Management Pack,Oracle Diagnostic Pack,Oracle Tuning Pack, etc.) are installed on my oracle databases? Is there v$view to look at? Thank you in advance