Import CALS table as Indesign Table

Hi All,
InDesign CS3.
Im working on NLM-DTD, When im importing the xml file into indesign template, i have checked the option "Import CALS table as Indesign table". So it is transfered to table format, after finished the pagination, i want to export the xml file, now the formatting of the table cells (italic, bold, etc) are not coming properly. so i have troubled with this.
Can you help me!!!
Regards,
sudar

Hello,
Thanks.
Yes, that worked fine. But the small XML file below, containing some titles and a table, does not work. I assumed that I could drag and drop the <informaltable> element onto the page and get a rendered table.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article lang="en">
  <articleinfo>
    <pubsnumber>Some number</pubsnumber>
    <releaseinfo>Another number</releaseinfo>
    <title>A title</title>
  </articleinfo>
  <informaltable frame="all" rowsep="1" colsep="1">
    <tgroup cols="2">
      <colspec colname="col_1" colwidth="50*" />
      <colspec colname="col_2" colwidth="50*" />
      <thead>
        <row>
          <entry align="left" valign="top" namest="col_1" nameend="col_2">
            Some heading here
          </entry>
        </row>
      </thead>
      <tbody>
        <row>
          <entry align="left" valign="top">
            Some content in left cell
          </entry>
          <entry align="left" valign="top">
            Some content in right cell
          </entry>
        </row>
        <row>
          <entry align="left" valign="top">
            Some content in left cell
          </entry>
          <entry align="left" valign="top">
            Some content in right cell
          </entry>
        </row>
       </tbody>
    </tgroup>
  </informaltable>
</article>
Best wishes,
Sven

Similar Messages

  • [CS4/JS] Import CALS-Tables with merged cells

    Hello scripters.
    I am actually trying to import CALS-tables (which is in my imported XML) into InDesign.
    I used the convertElementToTable for this.
    That worked, except for the merged cells (only cells which are merged to two or three columns).
    How could I script the automatic generation for merged cells?
    My xml-cals-table looks the following:
    <example>
        <table class="n" width="600" border="0">
            <colgroup>
                <col width="35%"/>
                <col width="30%"/>
                <col width="35%"/>
            </colgroup>
            <tr>
                <td colspan="3">
                    <ta>content content content content content content content content</ta>
                </td>
            </tr>
            <tr>
                <td align="left" valign="top">
                    <ta>content content content content </ta>
                </td>
                <td align="left" valign="top">
                    <ta>content content </ta>
                </td>
                <td align="right" valign="top">
                    <ta>content content </ta>
                </td>
            </tr>
            <tr>
                <td align="left" valign="top">
                    <ta>content content </ta>
                </td>
                <td align="left" valign="bottom">
                    <ta>content content </ta>
                </td>
                <td align="right" valign="bottom">
                    <ta>content content </ta>
                </td>
            </tr>
        </table>
    </example>
    Thanks in advance for any help!
    Franziska

    Hello scripters.
    I am actually trying to import CALS-tables (which is in my imported XML) into InDesign.
    I used the convertElementToTable for this.
    That worked, except for the merged cells (only cells which are merged to two or three columns).
    How could I script the automatic generation for merged cells?
    My xml-cals-table looks the following:
    <example>
        <table class="n" width="600" border="0">
            <colgroup>
                <col width="35%"/>
                <col width="30%"/>
                <col width="35%"/>
            </colgroup>
            <tr>
                <td colspan="3">
                    <ta>content content content content content content content content</ta>
                </td>
            </tr>
            <tr>
                <td align="left" valign="top">
                    <ta>content content content content </ta>
                </td>
                <td align="left" valign="top">
                    <ta>content content </ta>
                </td>
                <td align="right" valign="top">
                    <ta>content content </ta>
                </td>
            </tr>
            <tr>
                <td align="left" valign="top">
                    <ta>content content </ta>
                </td>
                <td align="left" valign="bottom">
                    <ta>content content </ta>
                </td>
                <td align="right" valign="bottom">
                    <ta>content content </ta>
                </td>
            </tr>
        </table>
    </example>
    Thanks in advance for any help!
    Franziska

  • [CS3][VBS]Converting a CALS table to Indesign table in XML

    Hi!<br /><br />I have an xml-file with tables that I want to import into Indesign. It works fine when I use the Import CALS tables as Indesign tables in "Import options", but the problem is when I do this some emphasis elements inside the "entry" elements isn't found when I try to use XMLRules to format the emphasis elements in the document...<br />The structure of the table can be like this (in general):<br />Tabell<br />  table<br />    tblgrp<br />      tbody<br />       row<br />         <entry>Some text...<emp Type = "bold">bold text</emp></entry><br />         <entry>Some text</entry><br />         <entry>some text</entry><br />       row<br />      tbody<br />    tblgrp<br />   table<br /> Tabell<br /><br />When I import the Table as CALS tables to Indesign tables, the table structure is collapsed into just a <Tabell> element. I assume this is the reason why the <emp> element isn't found.<br /><br />I try to solve this by NOT importing CALS tables to Indesign tables. I see then that the whole table structure is intact in the structure panel and the <emp> elements are also found by the XMLRules, but the contents is not put inside a table in the indesign document. To put the table elements into a table in Indesign I use the Command: "ConvertElementToTable" but this doesnt work very well. I use it in XMLRules like this:<br /><br />Public Property Get xpath()<br />xpath = "//Tabell"<br />End Property<br /><br />Public Function apply(myXMLElement, myRuleProcessor)<br />With myXMLElement<br />.ConvertElementToTable "row", "entry"<br />End With<br />apply = False<br />End Function<br /><br />Does anyone have any experience of importing XML-tables in Indesign and formatting them? I could really need some to put the xml table into Indesign tables...Please help!<br /><br />In advance thanks!

    Hi!
    Just check the checkbox "Import CALS tables as Indesign tables" in the XML import options dialogbox. Then it should go automatically.
    The problem with this approach is that the entire table structure is collapsed to a single table element in the struture. If one want to do some xml-prosessing at row or cell level one need to to this outside indesign or not import CALS as Indesign tables. The big question is if there is some easy way to convert a CALS table to an Indesign table inside Indesign after one have imported the data and prosessed the row and cell elements...
    Hope anyone knows more than me about this....
    Anyway, mkarthic, I hope my answer helped you to import your CALS tables!:-)
    Greetings
    Pål

  • Importing graphics in CALS Table XML

    Does anyone have an example of how to import a graphic within one of the cells of a CALS table (XML)?
    thanks

    I was able to figure out the problem: the xml has to be declared with http://ns.adobe.com/AdobeInDesign/5.0/, the tablestyle attribute doesnt seem to exist in 4.0.
    The export seem to be using 4.0 by default and the pdf sample i was using was refering to "aid5". Nice feature.. but definitively need better documentation and more "realworld" exemples! :)
    I will have to play more with this, the import doesnt look good with the 5.0 (there is a bogus row that is added (compared to the same 4.0 declared xml)).

  • XML-Cals table with aid namespaces

    hi at all!
    i have a xml-cals table which i'd like to import in indesign including the aid-namespaces especially the tablestyle. for me, it never worked out. is it actually possible to include the aid namespaces in a xml-cals table model?!
    thanks in advace
    juerschen
    this is my cals table:
    <eigenschaften_tab>
    <table typ="eigenschaften" tab_modell="CALS">
    <tgroup cols="2">
    <colspec colnum="1" colname="eigenschaft" colwidth="72.87007874021651pt"/>
    <colspec colnum="2" colname="ausprägung" colwidth="93.89370078728348pt"/>
    <tbody>
    <row>
    <entry>Standort:</entry>
    <entry>hell, halbschattig</entry>
    </row>
    <row>
    <entry>Wuchs:</entry>
    <entry>mittel</entry>
    </row>
    <row>
    <entry>Pflanzenschmuck:</entry>
    <entry>Blatt</entry>
    </row>
    <row>
    <entry>Farbe:</entry>
    <entry>gelb, grün</entry>
    </row>
    </tbody>
    </tgroup>
    </table>
    </eigenschaften_tab>

    Hi,
    I think that it is not possible because the CALS and InDesign XML are using different namespaces.
    -Nissan

  • XSLT to convert CALS tables into html?

    This may be the wrong forum to post this, but I don't know
    where else I can, so I would very much appreciate if anyone
    can suggest where I can find such information.
    I need to write XSLT code that will transform
    CALS tables that InDesign exports in XML into HTML.
    (I can't simply use the xhtml export feature. I need to
    do the transformation from XML to HTML.)
    For starters, what would be the XSLT code that I would need to convert
      aaaa
      bbbb
      cccc
      dddd
      eeee
      ffff
    into
    <table>
    <tbody>
    <tr>
    <td>
    <p class="pstyle_cell">aaaa</p></td>
    <td>
    <p class="pstyle_cell">bbbb</p></td>
    </tr>
    <tr>
    <td>
    <p class="pstyle_cell">cccc</p></td>
    <td>
    <p class="pstyle_cell">dddd</p></td>
    </tr>
    <tr>
    <td>
    <p class="pstyle_cell">eeee</p></td>
    <td>
    <p class="pstyle_cell">ffff</p></td>
    </tr>
    </tbody>
    The thing that I am having the most trouble with
    is the extraction of the number of rows and columns from
    the xml file and creating the appropriate "for" loop
    that will get the <tr></tr> tags in the right places in the HTML.
    Thanks in advance.
    Tak Osato

    Not really. It's never a good idea to consider the actual web page creation as an afterthought to the graphical design. In fact many times it's just simpler to start the web page as such and only add graphical fancy if and when needed selectively. Anyway, there are a few sites that offer PSD to HTML conversion, either automatic or as a paid service, but it will never be perfect. It's the same why a CSS or HTML file created using Save for Web always was and at best always can be a crude start. And in light of all the above, of course PS (or Illustrator or InDesign) are not web design tools, not even for the graphical aspects. Rather spend your time with Muse, Fireworks, Edge, Dreamweaver or one of the gigazillion free tools out there more suitably aimed at web stuff than PS ever could...
    Mylenium

  • Importing a table from Microsoft Word

    I'm importing a table from Microsoft Word but the formatting isn't importing. For example, most of the grid lines are missing.
    Help!

    Hello,
    we don't want to be so awkward please have a look here:
    http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6ff5a.h tml#WSa285fff53dea4f8617383751001ea8cb3f-6ff2a and see "Importing tables from other applications".
    Good luck!
    Hans-Günter

  • CALS tables as external file entities

    Hi,
    I'm struggling with a problem while reading in XML fileset through importing XSL transformation (defined in structapps).
    I've got a main xml document + bunch of separate cals tables, each in it's own file.The location of those tables in the main document are marked with special element.
    My import xsl converts those elements to entities and makes local entity declarations creating something like (skipping xml decls etc..):
    <!DOCTYPE x [<!ENTITY table1 SYSTEM 'table1.xml']>
    <X ...all schema + namespace declarations..>
    <para>zzz</para>
    &table1;
    </X>
    file entity table1 has <table> as root element.
    XSLT goes fine and FM does not generate any validation errors against the schema. I've checked the tmp-file (created by XSLT) and it looks ok.
    But FM refuses to create the tables and flags errors like "Cannot create a new table for the FrameMaker element (table)" and same for every element in cals table.
    Tables that are in the main document already cause no hick ups. Also, if I change the content of the file entity to , say, <para>, it works.
    BR, Martti

    Hi Michael,
    I use the table model in Frame where table is the actual table and tgroup gets unwrapped by r/w-rules. Tables already in the main xml document (not from file entities) have been working ok all the time.
    Funny thing is that wrapping table into para in file entity solved the issue (my schema allows tables in para's too, so not a problem from that side). But I'm curious to understand why this happens.
    My understanding of frame's internal behaviour during xml read is that the XSL processing happens outside of frame, frame invokes xalan and passes the xml "as-is" to it and takes the result, parses and validates it. Then into framemaker through r/w rules.
    Could it be that that when parser hits a file entity reference and replaces it with actual content, this interferes how frame interpretes the result. Addinf a wrapping element seems to "help" frame to recognize the table. I tested briefly with file entities having just para-type content and frame ate then with no sweat.
    Martti

  • Importing word tables into ID

    I need to import a table from word to ID. The cols run several pages each in Word. How do I import the table so that cols break neatly within the frames?
    I've tried "help" but I couldn't make it work. I just need to know how to make the table flow.
    Thanks

    Unfortunately, table cells won't break across pages or frames in InDesign. When I had a project like this, I did a lot of prep work in Word using Convert Table to Text, and then messing around with the text formatting so I could import the content into InDesign. Instead of one text frame with a table with three columns, I'd have three separate text frames with "faked tables" made of paragraph rules and anchored "gridlines."
    Sorry, you're in for a bit of a manual slog on this one.

  • Script for setting Imported Excel Table Cell Inset

    InDesign CS3 Windows XP
    I've checked the FAQ and ran all the searches, but I can't find this. My old computer crashed and took with it a script that I had that would set all the cell insets for the cells of the imported Excel tables in one swelled foop. Can someone point me to the source again? My price sheets are nothing but imported Excel tables and it takes forever to set all the insets for each block separately.
    Thanks,
    JAG

    Phah.
    app.documents.everyItem().stories.everyItem().tables.everyItem().cells.everyItem().propert ies = [topInset:"1cm"]; //??
    This one-liner may need some additional work, but when I am done with it, it'll set the insets for all tables in every open document.
    Perhaps 'everyItem' also works on disk files ...
    [Edit] Just pulling your leg. I'll take a look on the one-liner when I'm back at work.
    I've got a class in a couple of weeks on Javascripting ...
    I'm jealous. They give classes about this? BTW, JavaScript is not that hard (e.g., not harder than any other reasonably popular programming language), but its interface to InDesign is something else. In this case, the magic word is 'everyItem'. (You'll learn.)

  • Regarding Exporting and Importing internal table

    Hello Experts,
    I have two programs:
    1) Main program: It create batch jobs through open_job,submit and close job.Giving sub program as SUBMIT.
    I am using Export IT to memory id 'MID' to export internal table data to sap memory in the subprogram.
    The data will be processed in the subprogram and exporting data to sap memory.I need this data in the main program(And using import to get the data,but it is not working).
    Importing IT1 from memory id 'MID' to import the table data in the main program after completing the job(SUBMIT SUBPROGRAM AND RETURN).
    Importing is not getting data to internal table.
    Can you please suggest something to solve this issue.
    Thank you.
    Regards,
    Anand.

    Hi,
    This is the code i am using.
    DO g_f_packets TIMES.
    * Start Immediately
           IF NOT p_imm IS INITIAL .
             g_flg_start = 'X'.
           ENDIF.
           g_f_jobname = 'KZDO_INHERIT'.
           g_f_jobno = g_f_jobno + '001'.
           CONCATENATE g_f_jobname g_f_strtdate g_f_jobno INTO g_f_jobname
                                                  SEPARATED BY '_'.
           CONDENSE g_f_jobname NO-GAPS.
           p_psize1 = p_psize1 + p_psize.
           p_psize2 = p_psize1 - p_psize + 1.
           IF p_psize2 IS INITIAL.
             p_psize2  = 1.
           ENDIF.
           g_f_spname = 'MID'.
           g_f_spid = g_f_spid + '001'.
           CONDENSE g_f_spid NO-GAPS.
           CONCATENATE g_f_spname  g_f_spid INTO g_f_spname.
           CONDENSE g_f_spname NO-GAPS.
    * ... (1) Job creating...
           CALL FUNCTION 'JOB_OPEN'
             EXPORTING
               jobname          = g_f_jobname
             IMPORTING
               jobcount         = g_f_jobcount
             EXCEPTIONS
               cant_create_job  = 1
               invalid_job_data = 2
               jobname_missing  = 3
               OTHERS           = 4.
           IF sy-subrc <> 0.
             MESSAGE e469(9j) WITH g_f_jobname.
           ENDIF.
    * (2)Report start under job name
           SUBMIT (g_c_prog_kzdo)
                  WITH p_lgreg EQ p_lgreg
                  WITH s_grvsy IN s_grvsy
                  WITH s_prvsy IN s_prvsy
                  WITH s_prdat IN s_prdat
                  WITH s_datab IN s_datab
                  WITH p1      EQ p1
                  WITH p3      EQ p3
                  WITH p4      EQ p4
                  WITH p_mailid EQ g_f_mailid
                  WITH p_psize EQ p_psize
                  WITH p_psize1 EQ p_psize1
                  WITH p_psize2 EQ p_psize2
                  WITH spid     EQ g_f_spid
                  TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                  VIA JOB g_f_jobname NUMBER g_f_jobcount AND RETURN.
    *(3)Job closed when starts Immediately
           IF NOT p_imm IS INITIAL.
             IF sy-index LE g_f_nojob.
               CALL FUNCTION 'JOB_CLOSE'
                 EXPORTING
                   jobcount             = g_f_jobcount
                   jobname              = g_f_jobname
                   strtimmed            = g_flg_start
                 EXCEPTIONS
                   cant_start_immediate = 1
                   invalid_startdate    = 2
                   jobname_missing      = 3
                   job_close_failed     = 4
                   job_nosteps          = 5
                   job_notex            = 6
                   lock_failed          = 7
                   OTHERS               = 8.
               gs_jobsts-jobcount = g_f_jobcount.
               gs_jobsts-jobname  = g_f_jobname.
               gs_jobsts-spname   = g_f_spname.
               APPEND gs_jobsts to gt_jobsts.
             ELSEIF sy-index GT g_f_nojob.
               CLEAR g_f_flg.
               DO.                         " Wiating untill any job completion
                 LOOP AT gt_jobsts into gs_jobsts.
                   CLEAR g_f_status.
                   CALL FUNCTION 'BP_JOB_STATUS_GET'
                     EXPORTING
                       JOBCOUNT                         = gs_jobsts-jobcount
                       JOBNAME                          = gs_jobsts-jobname
                    IMPORTING
                       STATUS                           = g_f_status
    *            HAS_CHILD                        =
    *          EXCEPTIONS
    *            JOB_DOESNT_EXIST                 = 1
    *            UNKNOWN_ERROR                    = 2
    *            PARENT_CHILD_INCONSISTENCY       = 3
    *            OTHERS                           = 4
                   g_f_mid = gs_jobsts-spname.
                   IF g_f_status = 'F'.
                     IMPORT gt_final FROM MEMORY ID g_f_mid .
                     FREE MEMORY ID gs_jobsts-spname.
                     APPEND LINES OF gt_final to gt_final1.
                     REFRESH gt_prlist.
                     CALL FUNCTION 'JOB_CLOSE'
                       EXPORTING
                         jobcount             = g_f_jobcount
                         jobname              = g_f_jobname
                         strtimmed            = g_flg_start
                       EXCEPTIONS
                         cant_start_immediate = 1
                         invalid_startdate    = 2
                         jobname_missing      = 3
                         job_close_failed     = 4
                         job_nosteps          = 5
                         job_notex            = 6
                         lock_failed          = 7
                         OTHERS               = 8.
                     IF sy-subrc = 0.
                       g_f_flg = 'X'.
                       gs_jobsts1-jobcount = g_f_jobcount.
                       gs_jobsts1-jobname  = g_f_jobname.
                       gs_jobsts1-spname   = g_f_spname.
                       APPEND gs_jobsts1 TO gt_jobsts.
                       DELETE TABLE gt_jobsts FROM gs_jobsts.
                       EXIT.
                     ENDIF.
                   ENDIF.
                 ENDLOOP.
                 IF g_f_flg = 'X'.
                   CLEAR g_f_flg.
                   EXIT.
                 ENDIF.
               ENDDO.
             ENDIF.
           ENDIF.
           IF sy-subrc <> 0.
             MESSAGE e539(scpr) WITH g_f_jobname.
           ENDIF.
           COMMIT WORK .
         ENDDO.

  • Getting error while importing a table partition

    Hi,
    I am trying to import a table partition from OEM and occurred with following error:
    Job IMPORT000042 has been reopened at Friday, 13 June, 2008 14:44
    Restarting "SYSMAN"."IMPORT000042":
    Processing object type TABLE_EXPORT/TABLE/TBL_TABLE_DATA/TABLE/TABLE_DATA
    ORA-31693: Table data object "SCOTT"."CONTAINER":"PARTITION_5" failed to load/unload and is being skipped due to error:
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    Job "SYSMAN"."IMPORT000042" completed with 1 error(s) at 14:44
    Job state: COMPLETED
    Thanks

    What's the source and target database Oracle version?
    What's the character set of both databases?

  • Error while Importing a Table in To Target Module

    Hi All,
    Iam getting follwong error msg while importing a table in OWB Target Module.
    API4806: Object description is not allowed to be translated before object business name. Please give a translation to the business name first.
    why I am getting this error ?
    Rajesh

    Guys,
    I am able to solve the problem. I think the problem is Language settings difference between Database and OWB repository.

  • How to import external table, which exist in export dump file.

    My export dump file has one external table. While i stated importing into my developement instance , I am getting the error "ORA-00911: invalid character".
    The original definition of the extenal table is as given below
    CREATE TABLE EXT_TABLE_EV02_PRICEMARTDATA
    EGORDERNUMBER VARCHAR2(255 BYTE),
    EGINVOICENUMBER VARCHAR2(255 BYTE),
    EGLINEITEMNUMBER VARCHAR2(255 BYTE),
    EGUID VARCHAR2(255 BYTE),
    EGBRAND VARCHAR2(255 BYTE),
    EGPRODUCTLINE VARCHAR2(255 BYTE),
    EGPRODUCTGROUP VARCHAR2(255 BYTE),
    EGPRODUCTSUBGROUP VARCHAR2(255 BYTE),
    EGMARKETCLASS VARCHAR2(255 BYTE),
    EGSKU VARCHAR2(255 BYTE),
    EGDISCOUNTGROUP VARCHAR2(255 BYTE),
    EGREGION VARCHAR2(255 BYTE),
    EGAREA VARCHAR2(255 BYTE),
    EGSALESREP VARCHAR2(255 BYTE),
    EGDISTRIBUTORCODE VARCHAR2(255 BYTE),
    EGDISTRIBUTOR VARCHAR2(255 BYTE),
    EGECMTIER VARCHAR2(255 BYTE),
    EGECM VARCHAR2(255 BYTE),
    EGSOLATIER VARCHAR2(255 BYTE),
    EGSOLA VARCHAR2(255 BYTE),
    EGTRANSACTIONTYPE VARCHAR2(255 BYTE),
    EGQUOTENUMBER VARCHAR2(255 BYTE),
    EGACCOUNTTYPE VARCHAR2(255 BYTE),
    EGFINANCIALENTITY VARCHAR2(255 BYTE),
    C25 VARCHAR2(255 BYTE),
    EGFINANCIALENTITYCODE VARCHAR2(255 BYTE),
    C27 VARCHAR2(255 BYTE),
    EGBUYINGGROUP VARCHAR2(255 BYTE),
    QTY NUMBER,
    EGTRXDATE DATE,
    EGLISTPRICE NUMBER,
    EGUOM NUMBER,
    EGUNITLISTPRICE NUMBER,
    EGMULTIPLIER NUMBER,
    EGUNITDISCOUNT NUMBER,
    EGCUSTOMERNETPRICE NUMBER,
    EGFREIGHTOUTBOUNDCHARGES NUMBER,
    EGMINIMUMORDERCHARGES NUMBER,
    EGRESTOCKINGCHARGES NUMBER,
    EGINVOICEPRICE NUMBER,
    EGCOMMISSIONS NUMBER,
    EGCASHDISCOUNTS NUMBER,
    EGBUYINGGROUPREBATES NUMBER,
    EGINCENTIVEREBATES NUMBER,
    EGRETURNS NUMBER,
    EGOTHERCREDITS NUMBER,
    EGCOOP NUMBER,
    EGPOCKETPRICE NUMBER,
    EGFREIGHTCOSTS NUMBER,
    EGJOURNALBILLINGCOSTS NUMBER,
    EGMINIMUMORDERCOSTS NUMBER,
    EGORDERENTRYCOSTS NUMBER,
    EGRESTOCKINGCOSTSWAREHOUSE NUMBER,
    EGRETURNSCOSTADMIN NUMBER,
    EGMATERIALCOSTS NUMBER,
    EGLABORCOSTS NUMBER,
    EGOVERHEADCOSTS NUMBER,
    EGPRICEADMINISTRATIONCOSTS NUMBER,
    EGSHORTPAYMENTCOSTS NUMBER,
    EGTERMCOSTS NUMBER,
    EGPOCKETMARGIN NUMBER,
    EGPOCKETMARGINGP NUMBER,
    EGWEIGHTEDAVEMULTIPLIER NUMBER
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EV02_PRICEMARTDATA_CSV_CON
    ACCESS PARAMETERS
    LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;
    While importing , when i seen the log file , it is failing the create the external table. Getting the error "ORA-00911: invalid character".
    Can some one suggest how to import external tables
    Addressing this issue will be highly appriciated.
    Naveen

    Hi Srinath,
    When i observed the create table syntax of external table from import dump log file, it show few lines as below. I could not understand these special characters. And create table definationis failing with special character viz ORA-00911: invalid character
    ACCESS PARAMETERS
    LOCATION (EV02_PRICEMARTDATA_CSV_CON:'VPA.csv').
    I even observed the create table DDL from TOAD. It is same as i mentioned earlier
    Naveen

  • Can I use Power Query to Import a table from Excel sheet range which starts not from the top row?

    Hi,
    Being an experienced Excel user before Power BI, I am just starting to explore the M and Power Query capabilities, and need help already (ain't easy to google this use case somehow):
    I need to import the table which sits in the Excel file with header row in the row 17 of Excel sheet, with some metadata header in the preceding rows of the columns A and B.
    01: Report name, Quick Report
    02: Report Date, 1/1/2014
    17: Employee Name, Manager, etc...
    18: John Doe, Matt Beaver, etc.
    Both (a) direct attempt to load as Excel file and (b) the indirect way through [From Folder] and formula in custom column -- both lead to the same error: "[DataFormat.Error] External table is not in the expected format."
    Specifically, I tried to use the [Power Query -> From File -> From Folder] functionality, select an Excel file and add a custom column to access the binary content: [Add Custom Column] with formula "=Excel.Workbook([Content])".
    It looks like Power Query expects a rectangular range with headers full-width followed by a contiguous table range to import anything, and refuses to load if that is not the case...
    QUESTION: Is there any way to load whatever-formatted data from Excel first, and then manipulate the overall imported range (like referring to rows starting from 17th using "Table.SelectRows" etc.) to read the actual data? Reading and using
    the metadata from header would be a bonus, but that comes second... The main issue is to get something from a non-regular Excel file to later work with using M formulae ...
    Thanks!
    SAM

    Finally found the answer to this one in ():
    You Cannot Open a Password-Protected Workbook
     If the Excel workbook is protected by a password, you
      cannot open it for data access, even by supplying the correct password with
      your connection settings, unless the workbook file is already open in the
      Microsoft Excel application. If you try, you receive the following error
      message:
    Could not decrypt file.
    ANSWER: So, will have either weave in the work with temporary unprotected files or requires opening them before updating the data source (although this almost defeats the purpose of automation...)
    ANSWER to ORIGINAL QUESTION: password was preventing Power Query from reading the Excel file. For solution see above.
    Thanks anyway for participation and inspiration, Imke!

Maybe you are looking for

  • My Tabs and History sync just fine, but my Bookmarks do not

    I am using Firefox Home on both my iPhone4 and iPad2. I have refreshed the data, and have re-input the sync properties, but I still don't get my Bookmarks. Tabs and History are working just fine. Help!

  • HT1386 how to delete photo albums

    How can you delete albums sync thru itunes from iphone?

  • Changing the look and feel of BSP pages(HAP_DOCUMENT)

    Hi all, My client doesn't like the standard layout of the appraisal documents. The standard BSP application used for this is HAP_DOCUMENT. I am trying to change the font type and sizes etc in the layout. I read about CSS. But i am not able to underst

  • Time Dimension Consistency Check Failed

    Dear all, Got a issue.. A cube which is found to be active in RSA1, but when we do the consistency check for time dimension in the transaction RSRV, we get the following error. Unknown, profound errors with instance creation in test "CL_RSRV_CHK_TIM_

  • IPhone 4/4S/5 questions

    1. If Wi-Fi is available (e.g. a home or free public network), is connecting to it and using the internet via that network from the iPhone always free, regardless of SIM or phone network status? Some sources say that this is the case, but some iPhone