How to export spool data to memory / save spool data to file in app server

I need to save output from a report painter generated report to the file in app server.
I tried submit exporting list to memory and return. but got Not_Found exception when call FM LIST_FROM_MEMORY.  I also tried to call FM CONVERT_ABAPSPOOLJOB_2_PDF with no device parameter, but the pdf output from that FM is not readable.
Any suggestions will be greatly appreciated!

Moderator message - Welcome to SCN.
But please do not cross post. Have a look at Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... before posting.
Rob

Similar Messages

  • How can export one data base file out windows Quick Books?

    Please advise how can export one customer statement and billing data base from PC Windows Quick Books 2002 and transfer data base to new 2005 Quick Books Data Base on Powerbook G$
    Thanks for the information
    Jonathan

    You should probalby post your question on the QuickBooks Community:
    http://www.quickbooksgroup.com/

  • How to export the data to a excel file from RSA3?

    Hi experts,
    1.I am trying to save the RSA (SRM extractor) to excel spread sheet to compare SRM data with BI data. When i run the the transaction RSA3 it just showed me 10 different data packets. How to export the data to excel spread sheet for reconciliation?
    2. Does any body know if the stepup tables exist for SRM extractors?
    Thank in advance
    Sharat.

    Hello Sharat,
    You have two options of saving data to excel sheet:
    Step 1: 
    Goto RSA3, change the "Data Records / Calls" to 1000 and then execute. This way instead of 10 different packets you will get one packet.
    Step2:
    Click on the list button, open the packet by double clicking it. You will see all the data on your screen.
    Step3:
    Goto System -> List -> Save - > Local File -> Spreadsheet and give some name for your xls file.
    Assign points if helpful.
    Regards,
    F-S

  • How to export a data as an XML file from oracle data base?

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
    Thankz in advance
    Bala

    SQL> SELECT * FROM v$version;
    BANNER
    Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
    Directory created.
    SQL> declare                                                                                                               
      2    doc  DBMS_XMLDOM.DOMDocument;                                                                                       
      3    xdata  XMLTYPE;                                                                                                     
      4                                                                                                                        
      5    CURSOR xmlcur IS                                                                                                    
      6    SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",                       
      7                                  'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")              
      8                              ,xmlelement("EmployeeNumber",e.empno)                                                     
      9                              ,xmlelement("EmployeeName",e.ename)                                                       
    10                              ,xmlelement("Department",xmlelement("DepartmentName",d.dname)                             
    11                                                      ,xmlelement("Location",d.loc)                                     
    12                                         )                                                                              
    13                   )                                                                                                    
    14     FROM   emp e                                                                                                       
    15     ,      dept d                                                                                                      
    16     WHERE  e.DEPTNO=d.DEPTNO;                                                                                          
    17                                                                                                                        
    18  begin                                                                                                                 
    19    OPEN xmlcur;                                                                                                        
    20    FETCH xmlcur INTO xdata;                                                                                            
    21    CLOSE xmlcur;                                                                                                       
    22    doc := DBMS_XMLDOM.NewDOMDocument(xdata);                                                                           
    23    DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');                                                                  
    24  end;                                                                                                                  
    25  /                                                                                                                      
    PL/SQL procedure successfully completed.
    .

  • How to export some data from the tables of an owner with integrity?

    Hi to all,
    How to export some data from the tables of an owner with integrity?
    I want to bring some data from all tables in a single owner of the production database for development environment.
    My initial requirements are: seeking information on company code (emp), contract status (status) and / or effective date of contract settlement (dt_liq_efetiva) - a small amount of data to developers.
    These three fields are present in the main system table (the table of contracts). Then I thought about ...
    - create a temporary table from the query results table to contract;
    - and then use this temporary table as a reference to fetch the data in other tables of the owner while maintaining integrity. But how? I have not found the answer, because: what to do when not there is the possibility of a join between the contract and any other table?
    I am considering the possibility of consulting the names of tables, foreign keys and columns above, and create dynamic SQL. Conceptually, something like:
    select r.constraint_name "FK name",
    r.table_name "FK table",
    r.column_name "FK column",
    up.constraint_name "Referencing name",
    up.table_name "Referencing table",
    up.column_name "Referencing column"
    from all_cons_columns up
    join all_cons_columns r
    using (owner, position), (select r.owner,
    r.constraint_name fk,
    r.table_name table_fk,
    r.r_constraint_name r,
    up.table_name table_r
    from all_constraints up, all_constraints r
    where r.r_owner = up.owner
    and r.r_constraint_name = up.constraint_name
    and up.constraint_type in ('P', 'U')
    and r.constraint_type = 'R'
    and r.owner = 'OWNERNAME') aux
    where r.constraint_name = aux.fk
    and r.table_name = aux.table_fk
    and up.constraint_name = aux.r
    and up.table_name = aux.table_r;
    -- + Dynamic SQL
    If anyone has any suggestions and / or reuse code to me thank you very much!
    After resolving this standoff intend to mount the inserts in utl_file by a table and create another program to read and play in the development environment.
    Thinking...
    Let's Share!
    My thanks in advance,
    Philips

    Thanks, Peter.
    Well, I am working with release 9.2.0.8.0. But the planning is migrate to 10g this year. So my questions are:
    With Data Pump can export data just from tables owned for me (SCHEMAS = MYOWNER) parameterizing the volume of data (SAMPLE) and filters to table (QUERY), right? But parameterizing a contract table QUERY = "WHERE status NOT IN (2,6) ORDER BY contract ":
    1º- the Data Pump automatically searches for related data in other tables in the owner? ex. parcel table has X records related (fk) with Y contracts not in (2,6): X * SAMPLE records will be randomly exported?
    2º- for the tables without relation (fk) and which are within the owner (MYOWNER) the data is exported only based on the parameter SAMPLE?
    Once again, thank you,
    Philips
    Reading Oracle Docs...

  • How to export image data into XDP

    Hi, All
      I'm working on a healthcare project that needs to export the doctor's signature image into XDP file from the database to fill in the Insurance company claim form. My question is how to export image data into a field node in the XDP file, we know the name of the image field which defined in the PDF form, Is it something like:
      the signature image data ?
    Should the image data in this node be base64 encoded or text encoded or something else?
    Can the image be any kind? e.g. BMP, PNG, JPEG, ..., etc?
    Thanks
    William

    Hi Andre,
    Document will be of ASCII characters right?? but image data will be in binary format. as per database concept it is stored as binary large object. But in datawarehousing the back end is also going to be some database such as Oracle or other DBs.
    which can take blob's. so it would be possible to store the binary data.
    If any one has faced this situation can reply.to this ques.
    can post the step to load image(jpg/bmp or any image format) data in to info cube??
    hi andre if u have done loading image data as you say.pls reply me if you have the steps with you.
    thanks Andre

  • How to export&import data using sql *loader

    Hi all,
    How to export&import data from sql*loader. Give me the clear steps..
    Thanks in Advance

    Hi did you already exported data from SQL SERVER? if not using SQL*LOADER you cannot export data. SQL*LOADER is only mean for importing data from flat files(usually text files) into ORACLE tables.
    for importing data into oracle tables using sql*loader use below steps
    1) create a sql*loader control file.
    it looks like as follows
    LOAD DATA
    INFILE 'sample.dat'
    BADFILE 'sample.bad'
    DISCARDFILE 'sample.dsc'
    APPEND
    INTO TABLE emp
    TRAILING NULLCOLS
    or for sample script of control file search google.
    2) at command prompt issue following
    $ sqlldr test/test
    enter control file=<give control file name which you create earlier>
    debug any errors (if occured)

  • Goto: How to export some data from the tables of an owner with integrity?

    Hi to all,
    Help please: How to export some data from the tables of an owner with integrity?
    My thanks in advance,
    Philips

    Thanks, Peter.
    Well, I am working with release 9.2.0.8.0. But the planning is migrate to 10g this year. So my questions are:
    With Data Pump can export data just from tables owned for me (SCHEMAS = MYOWNER) parameterizing the volume of data (SAMPLE) and filters to table (QUERY), right? But parameterizing a contract table QUERY = "WHERE status NOT IN (2,6) ORDER BY contract ":
    1º- the Data Pump automatically searches for related data in other tables in the owner? ex. parcel table has X records related (fk) with Y contracts not in (2,6): X * SAMPLE records will be randomly exported?
    2º- for the tables without relation (fk) and which are within the owner (MYOWNER) the data is exported only based on the parameter SAMPLE?
    Once again, thank you,
    Philips
    Reading Oracle Docs...

  • How to export the data to excel in OAF Page - Urgent

    Hi All,
    I have a developed a page wich dispaly the records based on some condition.
    The Page has two regions.
    1.RowLayout Region
    2.Table Region
    Both the regions are getting the data from two diffrent VOs.
    In this case how to export the data to excel as the export button will not work if the page uses more than one VO(I think).
    Please help me.
    Thanks,
    Srinivas
    Edited by: SrinivasChanda on Oct 7, 2009 10:07 AM

    Hi Gaurav,
    Yes you are rite.When i tried exporting the data(which is coming from two different VOs altogether),i got only one region's data and then got error.
    Please note: Two regions(RowLayout,Table) are getting data from two different VOs
    below is one of the region(row layout) data:
    Hierarchy     Learning Certification Status     Learning Certification     Supervisor
    Direct Reports     Passed Only     All     Michael Swinnerton
    below is the error:               
    <div CLASS="errorText">               
    <html lang="en-US">               
    <head>               
    <script>               
    function ignoreWarnAboutChanges(url)               
    document.location.href = url;               
    </script>                
    <title>Error Page</title>               
    <link rel="stylesheet" charset="UTF-8" type="text/css" href="/OA_HTML/cabo/styles/blaf.css">               
    <META name="fwk-error" content="Error occured while processing the request">               
    <META name="fwk-error-detail" content="oracle.apps.fnd.framework.OAException: Application: FND     Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.io.IOException: Stream closed;           
    "     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)"               
    "     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)"               
    "     at OAErrorPage.jspService(OAErrorPage.jsp:34)"               
    "     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"               
    "     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"               
    "     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"               
    "     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"               
    "     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)"               
    "     at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)"               
    "     at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)"               
    "     at OAExport.jspService(OAExport.jsp:122)"               
    "     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"               
    "     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"               
    "     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"               
    "     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"               
    "     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)"               
    "     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)"               
    "     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)"               
    "     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)"               
    "     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)"               
    "     at java.lang.Thread.run(Thread.java:534)"               
    ## Detail 0 ##               
    java.io.IOException: Stream closed               
    "     at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:98)"               
    "     at java.io.BufferedWriter.write(BufferedWriter.java:197)"               
    "     at OAExport.jspService(OAExport.jsp:107)"               
    "     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"               
    "     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"               
    "     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"               
    "     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"               
    "     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)"               
    "     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)"               
    "     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)"               
    "     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)"               
    "     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)"               
    "     at java.lang.Thread.run(Thread.java:534)"               
    java.io.IOException: Stream closed               
    "     at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:98)"               
    "     at java.io.BufferedWriter.write(BufferedWriter.java:197)"               
    "     at OAExport.jspService(OAExport.jsp:107)"               
    "     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"               
    "     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"               
    "     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"               
    "     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"               
    "     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"               
    "     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)"               
    "     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)"               
    "     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)"               
    "     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)"               
    "     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)"               
    "     at java.lang.Thread.run(Thread.java:534)"               
    ">
    </head>
    <body>
    <table width=100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"               
    <tr> <td><img src="/OA_MEDIA/FNDSSCORP.gif" alt=""> </td></tr>               
    <tr> <td> </td>                
    <td> <a href= /OA_HTML/OALogout.jsp>Logout </a></td>                
    </tr>               
    <tr> <td width="100%" nowrap class="OraBGColorDark" >  </td> </tr>               
    </table>               
    <p>               
    <center>               
    <table width="95%" border="0" cellspacing="0" class="OraBGAccentDark" cellpadding="0">               
    <tr> <td>   </td> </tr>               
    <!-- <tr> <td class="OraErrorHeader"> <img src=/OA_HTML/cabo/images/errorl.gif> Error Page </td> </tr> -->               
    <tr> <td class="OraErrorHeader"> <center> Error Page </center> </td> </tr>               
    <tr> <td colspan=2 class="OraBGColorDark"> </td> </tr>               
    <tr> <td>   </td> </tr>                
    <tr> <td colspan=2 class="OraErrorText" >You have encountered an unexpected error. Please               
    contact the System Administrator for assistance. </td> </tr>                
    <tr> <td colspan=2 class="OraErrorText"> Click <a href=javascript:ignoreWarnAboutChanges("/OA_HTML/OAErrorDetailPage.jsp")> here </a> for exception details.                
    </td> </tr>               
    </table>               
    </center>               
    </div>               
    </body>               
    </html>
    Please help me to solve this issue.
    Thanks,
    Srinivas

  • How we export report data into excel in report 10g

    hi can any one tell me
    how we export report data into excel in report 10g (except spreadsheet)

    We can use TEXT_IO Package

  • How to store xml data into file in xml format through java program?

    HI Friends,
    Please let me know
    How to store xml data into file in xml format through java program?
    thanks......
    can discuss further at messenger.....
    Avanish Kumar Singh
    Software Engineer,
    Samsung India Development Center,
    Bangalore--560001.
    [email protected]

    Hi i need to write the data from an XML file to a Microsoft SQL SErver database!
    i got a piece of code from the net which allows me to parse th file:
    import java.io.IOException;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import org.apache.xerces.parsers.SAXParser;
    import java.lang.*;
    public class MySaxParser extends DefaultHandler
    private static int INDENT = 4;
    private static String attList = "";
    public static void main(String[] argv)
    if (argv.length != 1)
    System.out.println("Usage: java MySaxParser [URI]");
    System.exit(0);
    String uri = argv[0];
    try
    XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    MySaxParser MySaxParserInstance = new MySaxParser();
    parser.setContentHandler(MySaxParserInstance);
    parser.parse(uri);
    catch(IOException ioe)
    ioe.printStackTrace();
    catch(SAXException saxe)
    saxe.printStackTrace();
    private int idx = 0;
    public void characters(char[] ch, int start, int length)
    throws SAXException
    String s = new String(ch, start, length);
    if (ch[0] == '\n')
    return;
    System.out.println(getIndent() + " Value: " + s);
    public void endDocument() throws SAXException
    idx -= INDENT;
    public void endElement(String uri, String localName, String qName) throws SAXException
    if (!attList.equals(""))
    System.out.println(getIndent() + " Attributes: " + attList);
    attList = "";
    System.out.println(getIndent() + "end document");
    idx -= INDENT;
    public void startDocument() throws SAXException
    idx += INDENT;
    public void startElement(String uri,
    String localName,
    String qName,
    Attributes attributes) throws SAXException
    idx += INDENT;
    System.out.println('\n' + getIndent() + "start element: " + localName);
    if (localName.compareTo("Machine") == 0)
    System.out.println("YES");
    if (attributes.getLength() > 0)
    idx += INDENT;
    for (int i = 0; i < attributes.getLength(); i++)
    attList = attList + attributes.getLocalName(i) + " = " + attributes.getValue(i);
    if (i < (attributes.getLength() - 1))
    attList = attList + ", ";
    idx-= INDENT;
    private String getIndent()
    StringBuffer sb = new StringBuffer();
    for (int i = 0; i < idx; i++)
    sb.append(" ");
    return sb.toString();
    }// END PRGM
    Now , am not a very good Java DEv. and i need to find a soln. to this prob within 1 week.
    The next step is to write the data to the DB.
    Am sending an example of my file:
    <Start>
    <Machine>
    <Hostname> IPCServer </Hostname>
    <HostID> 80c04499 </HostID>
    <MachineType> sun4u [ID 466748 kern.info] Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 360MHz) </MachineType>
    <CPU> UltraSPARC-IIi at 360 MHz </CPU>
    <Memory> RAM : 512 MB </Memory>
    <HostAdapter>
    <HA> kern.info] </HA>
    </HostAdapter>
    <Harddisks>
    <HD>
    <HD1> c0t0d0 ctrl kern.info] target 0 lun 0 </HD1>
    <HD2> ST38420A 8.2 GB </HD2>
    </HD>
    </Harddisks>
    <GraphicCard> m64B : PCI PGX 8-bit +Accel. </GraphicCard>
    <NetworkType> hme0 : Fast-Ethernet </NetworkType>
    <EthernetAddress> 09:00:30:C1:34:90 </EthernetAddress>
    <IPAddress> 149.51.23.140 </IPAddress>
    </Machine>
    </Start>
    Note that i can have more than 1 machines (meaning that i have to loop thru the file to be able to write to the DB)
    Cal u tellme what to do!
    Even better- do u have a piece of code that will help me understand and implement the database writing portion?
    I badly need help here.
    THANX

  • How do I get the last changed date & time of a file in app server?

    Hi Experts,
    How do I get the last changed date & time of a file in app server?
    Thanks!
    - Anthony -

    Hi,
    that's what I use...
      CALL 'C_DIR_READ_FINISH'.             " just to be sure
      CALL 'C_DIR_READ_START' ID 'DIR' FIELD p_path.
      IF sy-subrc <> 0.
        EXIT. "Error
      ENDIF.
      DO.
        CLEAR l_srvfil.
        CALL 'C_DIR_READ_NEXT'
          ID 'TYPE'   FIELD l_srvfil-type
          ID 'NAME'   FIELD l_srvfil-file
          ID 'LEN'    FIELD l_srvfil-size
          ID 'OWNER'  FIELD l_srvfil-owner
          ID 'MTIME'  FIELD l_mtime
          ID 'MODE'   FIELD l_srvfil-attri.
    *    l_srvfil-dir = p_path .
        IF sy-subrc = 1.
          EXIT.
        ENDIF." sy-subrc <> 0.
        PERFORM p_to_date_time_tz
          USING    l_mtime
          CHANGING l_srvfil-mod_time
                   l_srvfil-mod_date.
        TRANSLATE l_srvfil-type TO UPPER CASE.               "#EC TRANSLANG
        PERFORM translate_attribute CHANGING l_srvfil-attri.
        CHECK:
          NOT l_srvfil-file = '.',
          l_srvfil-type = 'D' OR
          l_srvfil-type = 'F' .
        APPEND l_srvfil TO lt_srvfil.
      ENDDO.
      CHECK NOT lt_srvfil IS INITIAL.
      pt_srvfil = lt_srvfil.
    FORM p_to_date_time_tz  USING    p_ptime  TYPE p
                            CHANGING p_time   TYPE syuzeit
                                     p_date   TYPE sydatum.
      DATA:
        l_abaptstamp TYPE timestamp,
        l_time       TYPE int4,
        l_opcode     TYPE x VALUE 3,
        l_abstamp    TYPE abstamp.
      l_time = p_ptime.
      CALL 'RstrDateConv'
        ID 'OPCODE' FIELD l_opcode
        ID 'TIMESTAMP' FIELD l_time
        ID 'ABAPSTAMP' FIELD l_abstamp.
      l_abaptstamp = l_abstamp.
      CONVERT TIME STAMP l_abaptstamp TIME ZONE sy-zonlo INTO DATE p_date
          TIME p_time.
    ENDFORM.                    " p_to_date_time_tz
    Regards,
    Clemens

  • How to export book pdf using custom presets for all book files in indesign using javascript

    How to export book pdf using custom presets for all book files in indesign using javascript.

    Hi jackkistens,
    Try the below js code.
    Note: you can change your preset name in below (e.g, Your preset name).
    var myBook = app.activeBook;
    myBook.exportFile(ExportFormat.PDF_TYPE, File (myBook.filePath+"/"+myBook.name.replace(/\.indb/g, ".pdf")), false, "Your preset name", myBook.bookContents, "Book_PDF", false);
    example:
    var myBook = app.activeBook;
    myBook.exportFile(ExportFormat.PDF_TYPE, File (myBook.filePath+"/"+myBook.name.replace(/\.indb/g, ".pdf")), false, "[High Quality Print]", myBook.bookContents, "Book_PDF", false);
    thx,
    csm_phil

  • Export Master Data to file with selected properties SAP BPC 10 NW

    Hello Gurus,
    Can you kindly help me with this. I am trying to export master data from one of my dimension using DM package "Export Master Data to File". The exported file should contain selected properties because the source dimension is having a lot of properties which are relevant for some usage but not required for the exported file.
    I used transformation file first to indicate the properties i wanted to be extracted under mapping, it extracted master data but it extracted all the properties. It's like it doesn't read from the transformation file.
    Does anyone encountered this scenario? Any other possible workaround to extract selected properties aside from opening the file and delete manually?
    Thanks as always,
    yajepe

    Hi Yajape
    I am unable to export the master data.
    Can you please tell me what is the mapping section you specified in transformation file.
    There is option in member selection screen called  member selection by properties through which you can select your properties.
    Regards
    Srikant

  • Tab delimited file on app server. How to do that?

    Hello,
    When i transfer a tab delimited file from pre. server(windows) to app. server(windows) using CG3Z , the tab delimitation  is not working.
    for eg : the file with below layout
    01.04.2007     31.03.2008     1     120     
    01.05.2007     31.07.2008     2     140     
    is getting changed like
    01.04.2007#31.03.2008#1#120     
    01.05.2007#31.07.2008#2#140     
    All i need is a tab delimited file in app server also . Wats that i need to do for this ? Also how can i write a tab delimited file on app server through my program using open dataset.
    Thanks for ur time.
    Jeeva.

    Hi..
    Check this code: you will find the solution:
    Using the Static Attribute <b>CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB</b>
    Example:
    This is the Simple way you can download the ITAB with Tab delimiter:
    DATA : V_REC(200).
    OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT ITAB INTO WA.
      Concatenate WA-FIELD1 WA-FIELD2
             INTO V_REC
             SEPARATED BY CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
      TRANSFER V_REC TO P_FILE.
    ENDLOOP.
    CLOSE DATASET P_FILE.
    Note: if there are any Numeric fields ( Type I, P, F) In your ITAB then before CONCATENATE you have to Move them to Char fields ..
    Reward if Helpful.
    Example:
    DATA: V_RECORD(200).
    OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF SY-SUBRC <> 0.
      EXIT.
    ENDIF.
    DO.
    READ DATASET P_FILE INTO V_RECORD.
      IF SY-SUBRC NE 0.
        EXIT.
      ENDIF.
    SPLIT V_Record at CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
                                INTO WA-FIELD1 WA-FIELD2.
    APPEND WA TO ITAB.
    ENDDO.
    <b>reward if Helpful.</b>

Maybe you are looking for