PLSQL and Create Table

Hi
I was wondering whether someone would help me with my first ever piece of PLSQL. I am trying to embed a create table as select statement into a PLSQL loop so that I can create a number of tables automatically. I am unclear as to whether this is possible or not, but my attempts so far has been unsucessful. My code so far is as follows:
declare
l_loops number :=1;
begin
loop
if l_loops > 4 then
exit;
end if;
create table l_loops as select year, month from caadatanum
where month = l_loops;
l_loops := l_loops +1;
end loop;
end;
I am trying to use the loop to change the where condition
as it loops through. The error message I get tells me
that it doesn't expect the create statement so I am quite confused. Any help anyone could give me would be greatly appreciated.
Thanks
John

Hi
Firstly can I thanks you all for your help. The code no runs ok apart from one thing. It concerns the labelling of the table itself
so 'create table '||l_loops||' as select ...
errors with invalid table name presumably because it doesn't like giving tables numbers as names. I have tried
'create table '||to_char(l_loops)||' as select .. but to no avail
Is it possible to concatenate the l_loops number with a string somehow to get the statement to work ?
create table mytable||'||l_loops||' doesn't work so I am not really sure what to do.
Once again thanks
John

Similar Messages

  • Expdp fail and create table SYS_EXPORT_SCHEMA_20

    Hi Gurus
    I am using Oracle 10.2.0.3 in AIX env
    My database size is around 1600 GB. Sometime my expdp fail and create table like SYS_EXPORT_SCHEMA_20, SYS_EXPORT_SCHEMA_05. As I run expdp from system user , I notice that it create this type of table into system tablespace. It time it consume around 5gb space. Now my system tablespace size is 68 GB.
    Can I drop those table? If I drop these table then it create any problem? This is my production database.
    Regards
    Rabi

    user13134974 wrote:
    Hi Gurus
    I am using Oracle 10.2.0.3 in AIX env
    Regards
    RabiThose tables you were mentioning, SYS_EXPORT_SCHEMA_nn , are the data pump master tables used for data pump jobs;their purpose is to
    hold the info about the job details.
    Once the job has finished table should be droped, but in case of a job failure table remains so every new dp job must create new SYS_EXPORT_SCHEMA_nn table
    with the +1 nn iteration depending on the name of the last master table that was left due to the dp job failure.
    Cleaning those tables can be done with the dbms_datapump STOP_JOB Procedure, check the docs about the details :
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_export.htm
    You can also go visit youroracle support to see examples and instructions for cleaning your db from those dismised master tables,
    How To Cleanup Orphaned DataPump Jobs In DBA_DATAPUMP_JOBS ? [ID 336014.1]

  • Way to programmatically drop-and-create-tables?

    Hi all,
    I have a persistence unit which exists to provide lookup information to my application. It is populated by data that is available at runtime. It takes a long time to parse this data, and therefore my intention is to only parse it once at the deployment target. To do this, I have created a main method that does all the parsing, and I do not set the toplink.ddl-generation property in persistence.xml. This causes the application to fail if the database is not created.
    However, this means that during the population stage, I must drop and create any existing tables. I had thought it would be possible to do this by obtaining an EntityManagerFactory which has a property map sent to it, containing the property toplink.ddl-generation set to drop-and-create-tables. But this does not work... the tables are not dropped (if they exist) and are not created (if the database is empty).
    Is it possible to do the drop-and-create-tables programmatically using the JPA?
    I may have another EntityManagerFactory open at the same time, which has been opened with the default options... would this be conflicting?

    I don't think there is any easy way to generate the default tables once your have created the EntityManagerFactory. You could use the EclipseLink/TopLink schemaframework or TableCreator to create tables using a EclipseLink/TopLink DatabaseSession.
    There is a DefaultTableGenerator in org.eclipse.persistence.tools.schemaframework, which may give you what you are looking for.
    -- James : http://www.eclipselink.org

  • Insert, select and create table as give different results

    Hi all
    I have a strange situation with this three cases:
    1) select statement: SELECT (...)
    2) insert statement with that same select as above: INSERT INTO SELECT (...)
    3) create table statement again with that same select: CREATE TABLE AS SELECT (...)
    Each of these cases produce different number of rows (first one 24, second 108 and third 58). What's more the data for second and third case doesn't have any sense with what they should return. The first case returns good results.
    One interesting thing is that select uses "UNION ALL" between 2 queries. When simple UNION is used, everything works fine and all three cases return 24 rows. Also if each query is run seaprately, they work fine.
    Anyone encountered something like this? (before i create an SR :)
    Database is 10.2.0.2 on AIX 5.3. It's a data warehouse.
    Edited by: dsmoljanovic on Dec 10, 2008 3:57 PM

    I understand UNION vs UNION ALL. But that doesn't change the fact that same SELECT should return same set of rows wether in INSERT, CREATE TABLE AS or a simple SELECT.
    DB version is 10.2.0.2.
    Here is the SQL:
    INSERT INTO TMP_TRADING_PROM_BM_OSTALO
    select
    5 AS VRSTA_PLANIRANJA_KLJUC, u1.UNOS_KLJUC, t1.TRADING_TIP_KLJUC, i1.IZVOR_KLJUC, m1.ITEMNAME AS MJESEC,
    l1.PLAN AS IZNOS, l1.TEKUA AS TEKUCA, l1.PROLA AS PROSLA, l1.PLANTEKUA_ AS IZNOS_TEKUCA, l1.PLANPROLA_ AS IZNOS_PROSLA, l1.TEKUAPROLA_ AS TEKUCA_PROSLA, l1.DATUM_UCITAVANJA
    from
    HR_SP_PLAN.L_12_ET_PROMETI_I_BRUTO_MARZA l1,
    select
    m1.ITEMIID, m1.ITEMNAME
    from
    HR_SP_PLAN.L_12_IT_4_MJESECI m1
    where
    UPPER (m1.ITEMNAME) NOT LIKE '%KVARTAL%' AND UPPER (m1.ITEMNAME) NOT LIKE '%GODINA%' AND UPPER (m1.ITEMNAME) NOT LIKE '%PROC%' and
    m1.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy')
    union all
    select -99, null from dual
    ) m1,
    HR_SP_PLAN.L_12_IT_5_SEKTORI l2,
    HR_SP_PLAN.L_12_IT_2_TIPOVI_OSTALO l3, HR_SP_PLAN.D_UNOS u1, HR_SP_PLAN.D_TRADING_TIP t1, HR_SP_PLAN.L_12_IT_1_PROMET_I_BM_OSTALO p1, HR_SP_PLAN.D_IZVOR i1
    where
    l1.ELIST = l2.ITEMIID and
    l2.ITEMNAME = u1.UNOS_NAZIV and u1.USER_KLJUC = 12 and l2.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    l1.DIMENSION_1_PROMET = p1.ITEMIID and
    p1.ITEMNAME = i1.IZVOR_NAZIV and i1.USER_KLJUC = 12 and p1.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    nvl(l1.DIMENSION_4_MJESEC , -99) = m1.ITEMIID and
    l1.DIMENSION_2_TIPOVI = l3.ITEMIID and
    l3.ITEMNAME = t1.TRADING_TIP_NAZIV and l3.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    l1.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    'PROC' = 'PLAN'
    union all
    select
    4 AS VRSTA_PLANIRANJA_KLJUC, u1.UNOS_KLJUC, t1.TRADING_TIP_KLJUC, i1.IZVOR_KLJUC, m1.ITEMNAME AS MJESEC,
    l1.PROCJENA AS IZNOS, l1.TEKUA AS TEKUCA, l1.PROLA AS PROSLA, l1.PROCJENATEKUA_ AS IZNOS_TEKUCA, l1.PROCJENAPROLA_ AS IZNOS_PROSLA, l1.TEKUAPROLA_ AS TEKUCA_PROSLA, l1.DATUM_UCITAVANJA
    from
    HR_SP_PLAN.L_13_ET_PROMETI_I_BRUTO_MARZA l1,
    select
    m1.ITEMIID, m1.ITEMNAME
    from
    HR_SP_PLAN.L_13_IT_4_MJESECI m1
    where
    UPPER (m1.ITEMNAME) NOT LIKE '%KVARTAL%' AND UPPER (m1.ITEMNAME) NOT LIKE '%GODINA%' AND UPPER (m1.ITEMNAME) NOT LIKE '%PROC%' and
    nvl(ceil(to_number(m1.ITEMNAME)/3), mod(4, 5)) = mod(4, 5) and m1.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy')
    union all
    select -99, null from dual
    ) m1,
    HR_SP_PLAN.L_13_IT_5_SEKTORI l2, HR_SP_PLAN.L_13_IT_2_TIPOVI_OSTALO l3,
    HR_SP_PLAN.D_UNOS u1, HR_SP_PLAN.D_TRADING_TIP t1,
    HR_SP_PLAN.L_13_IT_1_PROMET_I_BM_OSTALO p1, HR_SP_PLAN.D_IZVOR i1
    where
    l1.ELIST = l2.ITEMIID and
    l2.ITEMNAME = u1.UNOS_NAZIV and u1.USER_KLJUC = 13 and l2.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    l1.DIMENSION_1_PROMET = p1.ITEMIID and
    p1.ITEMNAME = i1.IZVOR_NAZIV and i1.USER_KLJUC = 13 and p1.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    nvl(l1.DIMENSION_4_MJESEC , -99) = m1.ITEMIID and
    l1.DIMENSION_2_TIPOVI = l3.ITEMIID and
    l3.ITEMNAME = t1.TRADING_TIP_NAZIV and l3.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    l1.DATUM_UCITAVANJA = to_date('24.11.2008','dd.mm.yyyy') and
    'PROC' = 'PROC';

  • How to create stored procedure to drop and create table

    Version: Oracle 10g
    I am trying to create a stored procedure that will drop and create a table based on a select statement. I can create the table but I can't drop it.
    CREATE OR REPLACE procedure EC_LOAD is
    begin
    INSERT INTO Sales_table
    (FSCL_WK,
    DIV,
    ACCT_TYPE)
    Select
    FSCL_WK,
    DIV,
    ACCT_TYPE
    from
    sales_revenue;
    end ecload;
    I need to drop Sales_table before inserting the values. How do i do this?

    Or with a drop:
    SQL> desc emp2
    ERROR:
    ORA-04043: object emp2 does not exist
    SQL>
    SQL> declare
      2    cnt      int := 0;
      3  begin
      4    select max (1)
      5      into cnt
      6      from user_tables
      7     where table_name = 'EMP2';
      8
      9    if cnt = 1
    10    then
    11      execute immediate 'drop table emp2';
    12    end if;
    13
    14    execute immediate 'create table emp2 as select * from emp';
    15  end;
    16  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> desc emp2
    Name                                      Null?    Type
    EMPNO                                              NUMBER(4)
    ENAME                                              VARCHAR2(10)
    JOB                                                VARCHAR2(9)
    MGR                                                NUMBER(4)
    HIREDATE                                           DATE
    SAL                                                NUMBER(7,2)
    COMM                                               NUMBER(7,2)
    DEPTNO                                             NUMBER(2)
    SQL>

  • Find/Change Item Numbers and create Table of Contents

    Hello! I need help to find all my item numbers and apply a paragraph style to it so I can use them to create a Table of Contents page.
    Sample item numbers
    #12345
    #12345-5
    #12345-20
    #12345-ABC
    #12345/N
    I tried entering #^?^?^?^?^? on the Find/Change box and but this will find exactly the 5 characters after the # sign. I wonder if you can find all characters starting with # and until the last characters.
    Once I find all the item numbers, how can I apply the paragraph style for only those characters after the # sign? Because I only want to show the item numbers without the # sign on the Table of contents/Index page.
    By the way, I have InDesign CS2 which have no GREP function Maybe I can do this without the GREP?
    I really appreciate any help. Thank you very much.

    You actually have two problems here. The first is to assign the paragraph style. For that you can use GREP.
    Find #\d+ and leave the change field blank, but in the change formatting pick the paragraph style. Stricly speaking you only need to find #\d or even just # because a paragraph style applies to an entire paragraph, so assigning it to any character inthe paragraph will assign it to the entire paragraph.
    Which is your second problem. The TOC is based on paragraph styles and will include all of the text in each paragraph (up to the character limit for a TOC entry, which I think is 256 characters). You can't make a TOC and only use some of the paragraph. For that you need to use an index, or you need to make hidden or non-pinting frames with only the exact text you want in the TOC and assign a unique style to those.
    It's also possible someone has written (or could write) a script that can find text strings that match a pattern such as your numers, assign a character style to them (you could actually do that part in the paragraph style by adding a nested GREP style), then making a list of the text strings along with the page number on which they appear -- almost the same as an index except it would be based on character style, not an index marker.

  • Oracle 11g R2, CREATE TABLE and QUOTAS

    Hello everyone,
    I need some insight about a strange behavior I found out in Oracle 11gR2. Don't know if I do miss something or if I just found out a security issue with Oracle.
    Oracle Version : 11.2.0.1.0
    The problem is related with the CREATE TABLE privilege and the QUOTA on specific tablespace.
    Please, try this on your systems (if you have some spare time and care to confirm the "bug").
    Create a user, grant only two privileges, CREATE SESSION and CREATE TABLE.
    Grant NO quota on any tablespace.
    Try to create table on any tablespace (except SYSTEM) and tell everyone if it worked or not.
    The oracle documentation states the following :
    To create a relational table in your own schema, you must have the CREATE TABLE system privilege. To create a table in another user's schema, you must have the CREATE ANY TABLE system privilege. Also, the owner of the schema to contain the table must have either space quota on the tablespace to contain the table or the UNLIMITED TABLESPACE system privilege.
    [http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_7002.htm#SQLRF01402]
    The fact is, so far, on two different instances of Oracle 11gR2, my users are not limited in creating tables only where they have quotas but wherever they want except SYSTEM.
    The correct behavior would be to deny the table creation on tablespace where there is no quota but it does not.
    My instance of Oracle 10g are behaving correctly and thus the table creation is denied on tablespace with no quota.
    P.S1 Sorry if this a well known "bug/problem/issue". I've been ridicule on a well known forum for asking the same question. I am in no need to be "spoon filled" as stated on that famous website! I have read the documentation! I have googled a lot!
    P.S2 Even though the table creation work on tablespace with no quota, you still can't insert data in it. So, big picture, the user can't filled the tablespace with irrelevant data but he can creates thousand of tables...!
    Do I miss something?
    Is there any "default" option I have to flag to prevent table creation where it should not?
    ?(?)

    Hi. I'm planning on taking my OCP exam. If the exam ask a question realted to this topic, what is the correct answer?
    create user barry identified barry
    grant create session, create table to barry
    1) barry cannot create a table since he has no quota
    2) barry can create a table
    According to the oracle document, the barry needs quota on the tablespace to create a table. however, according to the link you provided, in 11gR2, barry does not need quota to create a table. He only needs a quota to insert data.

  • Drop and recreate table in stored procedure

    Hi all
    When creating tables using Transact-SQL scripts, I have always preferred to drop the table if it exists and then create it explicitly using CREATE TABLE.  For two reasons:
    1) It does not matter if it is the first time the SP is run ie. if I create the table manually in the first instance and just use TRUNCATE TABLE it could fail if the table is deleted
    2) I have control over the data types of the table fields
    Just recently though I discovered the error that can occur when dropping and creating a table in the same batch (see link below)
    Microsoft Website
    This causes me a problem when dropping and creating tables in stored procedures, as I understand that a stored procedure is in itself a single batch?
    Can I avoid this error in a stored procedure whilst continuing to drop and create tables?  Or should I be taking a different approach?
    Coding best practice advice would be greatly appreciated.
    Thank you

    Thanks Ronen
    Please see my second post immediately before your reply.
    Given that I need to store the data output in a physical table for use in QlikView, would you suggest truncating the table each time the SP runs?  And then having a script that handles both dropping and creating the physical table, and also creating
    the SP?
    >> QlikView
    QlikView is an Israeli company, right?
    In any case I am not familiar with QlikView's application, therefore I can only give you general information, based on assumptions regarding the application, and facts regarding the SQL Server.
    >> for use in QlikView
    I assume that external application use specific database structure (table
    structure) and it is change only in rare situations (for example CMS interface might change the tables if and when a module s update/install). In this case there is no need to drop the table and recreate it and TRUNCATE is the solution.
    >> would you suggest truncating the table each time the SP runs
    I am sorry but i cant recommend on TRUNCATE a table each time you execute SP, without know the exact reason for this logic. It sound to me, at this point of time (with the information that we have), that this
    is very bad logic (application architecture). As I wrote above, basing your application on TRUNCATING the table each time mean that you have problems with multi users. Thins about 2 people that try to execute the same SP at almost the same time. Think about
    locking in the SQL Server and bad data (one truncate while the other already inserted the new data and get no rows, if there is no locking).
    But TRUNCATE is much better in this case probably then DROP and DELETE, since it is faster, and locking will be shorter (hopefully the application use the correct locking). There are other reasons why TRUNCATE is better, and other people already mentioned
    most of them, but time in this scenario might be critical.
    >> having a script that handles both dropping and creating the physical table, and also creating the SP?
    I do not undestand what is this second step. we said that you truncate the table, so why do you need to
    dropping and creating the physical table and who
    creating the SP?
    Are you meaning that the application create the tables and SP?
    There are lot of application that during installation create the database structure. is this what you mean?
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Create table of type integer

    How can we create a table of type integer in MDM. (what the code should be?)
    When I create a table, it only allows type Text.
    Thanks

    Hi R.N,
    we can create table of type Flat, Hierarachy, Taxanomy, Qualified Flat and Families.
    you are talking about field, by default whenever you create any table a field "Name" of type Text get generated, but here if you want this field to be integer, just create new field by right clickin "Add Field" by going into table in which you want that field. here you can give any name to that field and select type Integer . if you want only Integer field into your table then also make it "Display Field" only after that you can delete field "Name" of type Text.
    Note: For creating Table Click on your repository where you can see and create tables and for field just click on any table where you want to include that field into table
    Code takes important incase of Java APis and ABAP Apis. where APIs recognise table and fields with their code only.
    Remember to unload repository before creating Table and Fields and then load it.
    Hope it helps you,
    Mandeep Saini
    Edited by: Mandeep Saini on May 6, 2008 10:43 AM
    Edited by: Mandeep Saini on May 6, 2008 10:48 AM

  • Need Answer with Create Table

    Hi OTN Peeps,
    I would like to ask, what's the difference between this two syntax.
    create table table_name as
    select * from other_table;and
    create table table_name as
    (select * from other_table);Thanks and More Power!

    Hi,
    Cloud Nines Bliss wrote:
    Hi OTN Peeps,
    I would like to ask, what's the difference between this two syntax.
    create table table_name as
    select * from other_table;and
    create table table_name as
    (select * from other_table);
    There's no difference. Oracle often allows parentheses when they're not needed. For example:
    SELECT  SYSDATE - (1 / 24)    AS one_hour_ago
    FROM    dual;The results would be the same if you lost the parentheses, but it's nice to have them in this case, to make it clear that the / operation is being doen before the -.

  • Difference between an XMLType table and a table with an XMLType column?

    Hi all,
    Still trying to get my mind around all this XML stuff.
    Can someone concisely explain the difference between:
    create table this_is_xmltype_tab of xmltype;and
    create table this_is_tab_w_xmltpe_col(id number, document xmltype);What are the relative advantages and disadvantages of each approach? How do they really differ?
    Thanks,
    -Mark

    There is another pointer Mark, that I realized when I was thinking about the differences...
    If you would look up in the manual regarding "xdb:annotations" you would learn about a method using an XML Schema to generate out of the box your whole design in terms of physical layout and/or design principles. In my mind this should be the preferred solution if you are dealing with very complex XML Schema environments. Taking your XML Schema as your single point design layout, that during the actual implementation automatically generates and builds all your needed database objects and its physical requirements, has great advantages in points of design version management etc., but...
    ...it will create automatically an XMLType table (based on OR, Binary XML of "hybrid" storage principles, aka the ones that are XML Schema driven) and not AFAIK a XMLtype column structure: so as in "our" case a table with a id column and a xmltype column.
    In principle you could relationally relate to this as:
    +"I have created an EER diagram and a Physical diagram, I mix the content/info of those two into one diagram." "Then I _+execute+_ it in the database and the end result will be an database user/schema that has all the xxxx amount of physical objects I need, the way I want it to be...".+
    ...but it will be in the form of an XMLType table structure...
    xdb:annotations can be used to create things like:
    - enforce database/company naming conventions
    - DOM validation enabled or not
    - automatic IOT or BTree index creation (for instance in OR XMLType storage)
    - sort search order enforced or not
    - default tablenames and owners
    - extra column or table property settings like for partitioning XML data
    - database encoding/mapping used for SQL and binary storage
    - avoid automatic creation of Oracle objects (tables/types/etc), for instance, via xdb:defaultTable="" annotations
    - etc...
    See here for more info: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#ADXDB4519
    and / or for more detailed info:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#i1030452
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#i1030995
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#CHDCEBAG
    ...

  • Creating tables on SQL studio and viewing the table in the SAP system

    i have just created a table using the SQL studio and wants to use it view it in the SAP system using the SAP logon. till now i have not found a way to create it therefore any help is much appreciated.

    Hmm... you want to see tables via SAPLogon ??
    Ok, let's assume you really want to access tables via ABAP instead.
    For that you've two options:
    1. Create the table in the ABAP dictonary (SE11) exactly like you created it in the database and activate the table.
    After that you can access the table via SE16 or any ABAP as you like.
    2. You don't create the table in the ABAP dictonary and use native SQL to access the data.
    Neither of these options is meant to be the way to do it.
    The correct way would be to design the whole table in the ABAP dictionary and create the table on the database from that.
    regards,
    Lars

  • Creating a single context index on a one-to-many and lookup table

    Hello,
    I've been successfully setting up text indexes on multiple columns on the same table (using MULTI_COLUMN_DATASTORE preferences), but now I have a situation with a one-to-many data collection table (with a FK to a lookup table), and I need to search columns across both of these tables. Sample code below, more of my chattering after the code block:
    CREATE TABLE SUBMISSION
    ( SUBMISSION_ID             NUMBER(10)          NOT NULL,
      SUBMISSION_NAME           VARCHAR2(100)       NOT NULL
    CREATE TABLE ADVISOR_TYPE
    ( ADVISOR_TYPE_ID           NUMBER(10)          NOT NULL,
      ADVISOR_TYPE_NAME         VARCHAR2(50)        NOT NULL
    CREATE TABLE SUBMISSION_ADVISORS
    ( SUBMISSION_ADVISORS_ID    NUMBER(10)          NOT NULL,
      SUBMISSION_ID             NUMBER(10)          NOT NULL,
      ADVISOR_TYPE_ID           NUMBER(10)          NOT NULL,
      FIRST_NAME                VARCHAR(50)         NULL,
      LAST_NAME                 VARCHAR(50)         NULL,
      SUFFIX                    VARCHAR(20)         NULL
    INSERT INTO SUBMISSION (SUBMISSION_ID, SUBMISSION_NAME) VALUES (1, 'Some Research Paper');
    INSERT INTO SUBMISSION (SUBMISSION_ID, SUBMISSION_NAME) VALUES (2, 'Thesis on 17th Century Weather Patterns');
    INSERT INTO SUBMISSION (SUBMISSION_ID, SUBMISSION_NAME) VALUES (3, 'Statistical Analysis on Sunny Days in March');
    INSERT INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME) VALUES (1, 'Department Chair');
    INSERT INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME) VALUES (2, 'Department Co-Chair');
    INSERT INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME) VALUES (3, 'Professor');
    INSERT INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME) VALUES (4, 'Associate Professor');
    INSERT INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME) VALUES (5, 'Scientist');
    INSERT INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX) VALUES (1,1,2,'John', 'Doe', 'PhD');
    INSERT INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX) VALUES (2,1,2,'Jane', 'Doe', 'PhD');
    INSERT INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX) VALUES (3,2,3,'Johan', 'Smith', NULL);
    INSERT INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX) VALUES (4,2,4,'Magnus', 'Jackson', 'MS');
    INSERT INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX) VALUES (5,3,5,'Williard', 'Forsberg', 'AMS');
    COMMIT;I want to be able to create a text index to lump these fields together:
    SUBMISSION_ADVISORS.FIRST_NAME
    SUBMISSION_ADVISORS.LAST_NAME
    SUBMISSION_ADVISORS.SUFFIX
    ADVISOR_TYPE.ADVISOR_TYPE_NAME
    I've looked at DETAIL_DATASTORE and USER_DATASTORE, but the examples in Oracle Docs for DETAIL_DATASTORE leave me a little bit perplexed. It seems like this should be pretty straightforward.
    Ideally, I'm trying to avoid creating new columns, and keeping the trigger adjustments to a minimum. But I'm open to any and all suggestions. Thanks for for your time and thoughts.
    -Jamie

    I would create a procedure that creates a virtual document with tags, which is what the multi_column_datatstore does behind the scenes. Then I would use that procedure in a user_datastore, so the result is the same for multiple tables as what a multi_column_datastore does for one table. I would also use either auto_section_group or some other type of section group, so that you can search using WITHIN as with the multi_column_datastore. Please see the demonstration below.
    SCOTT@orcl_11gR2> -- tables and data that you provided:
    SCOTT@orcl_11gR2> CREATE TABLE SUBMISSION
      2  ( SUBMISSION_ID           NUMBER(10)          NOT NULL,
      3    SUBMISSION_NAME           VARCHAR2(100)          NOT NULL
      4  )
      5  /
    Table created.
    SCOTT@orcl_11gR2> CREATE TABLE ADVISOR_TYPE
      2  ( ADVISOR_TYPE_ID           NUMBER(10)          NOT NULL,
      3    ADVISOR_TYPE_NAME      VARCHAR2(50)          NOT NULL
      4  )
      5  /
    Table created.
    SCOTT@orcl_11gR2> CREATE TABLE SUBMISSION_ADVISORS
      2  ( SUBMISSION_ADVISORS_ID      NUMBER(10)          NOT NULL,
      3    SUBMISSION_ID           NUMBER(10)          NOT NULL,
      4    ADVISOR_TYPE_ID           NUMBER(10)          NOT NULL,
      5    FIRST_NAME           VARCHAR(50)          NULL,
      6    LAST_NAME           VARCHAR(50)          NULL,
      7    SUFFIX                VARCHAR(20)          NULL
      8  )
      9  /
    Table created.
    SCOTT@orcl_11gR2> INSERT ALL
      2  INTO SUBMISSION (SUBMISSION_ID, SUBMISSION_NAME)
      3    VALUES (1, 'Some Research Paper')
      4  INTO SUBMISSION (SUBMISSION_ID, SUBMISSION_NAME)
      5    VALUES (2, 'Thesis on 17th Century Weather Patterns')
      6  INTO SUBMISSION (SUBMISSION_ID, SUBMISSION_NAME)
      7    VALUES (3, 'Statistical Analysis on Sunny Days in March')
      8  SELECT * FROM DUAL
      9  /
    3 rows created.
    SCOTT@orcl_11gR2> INSERT ALL
      2  INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME)
      3    VALUES (1, 'Department Chair')
      4  INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME)
      5    VALUES (2, 'Department Co-Chair')
      6  INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME)
      7    VALUES (3, 'Professor')
      8  INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME)
      9    VALUES (4, 'Associate Professor')
    10  INTO ADVISOR_TYPE (ADVISOR_TYPE_ID, ADVISOR_TYPE_NAME)
    11    VALUES (5, 'Scientist')
    12  SELECT * FROM DUAL
    13  /
    5 rows created.
    SCOTT@orcl_11gR2> INSERT ALL
      2  INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX)
      3    VALUES (1,1,2,'John', 'Doe', 'PhD')
      4  INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX)
      5    VALUES (2,1,2,'Jane', 'Doe', 'PhD')
      6  INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX)
      7    VALUES (3,2,3,'Johan', 'Smith', NULL)
      8  INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX)
      9    VALUES (4,2,4,'Magnus', 'Jackson', 'MS')
    10  INTO SUBMISSION_ADVISORS (SUBMISSION_ADVISORS_ID, SUBMISSION_ID, ADVISOR_TYPE_ID, FIRST_NAME, LAST_NAME, SUFFIX)
    11    VALUES (5,3,5,'Williard', 'Forsberg', 'AMS')
    12  SELECT * FROM DUAL
    13  /
    5 rows created.
    SCOTT@orcl_11gR2> -- constraints presumed based on your description:
    SCOTT@orcl_11gR2> ALTER TABLE submission ADD CONSTRAINT submission_id_pk
      2    PRIMARY KEY (submission_id)
      3  /
    Table altered.
    SCOTT@orcl_11gR2> ALTER TABLE advisor_type ADD CONSTRAINT advisor_type_id_pk
      2    PRIMARY KEY (advisor_type_id)
      3  /
    Table altered.
    SCOTT@orcl_11gR2> ALTER TABLE submission_advisors ADD CONSTRAINT submission_advisors_id_pk
      2    PRIMARY KEY (submission_advisors_id)
      3  /
    Table altered.
    SCOTT@orcl_11gR2> ALTER TABLE submission_advisors ADD CONSTRAINT submission_id_fk
      2    FOREIGN KEY (submission_id) REFERENCES submission (submission_id)
      3  /
    Table altered.
    SCOTT@orcl_11gR2> ALTER TABLE submission_advisors ADD CONSTRAINT advisor_type_id_fk
      2    FOREIGN KEY (advisor_type_id) REFERENCES advisor_type (advisor_type_id)
      3  /
    Table altered.
    SCOTT@orcl_11gR2> -- resulting data:
    SCOTT@orcl_11gR2> COLUMN submission_name FORMAT A45
    SCOTT@orcl_11gR2> COLUMN advisor      FORMAT A40
    SCOTT@orcl_11gR2> SELECT s.submission_name,
      2           a.advisor_type_name || ' ' ||
      3           sa.first_name || ' ' ||
      4           sa.last_name || ' ' ||
      5           sa.suffix AS advisor
      6  FROM   submission_advisors sa,
      7           submission s,
      8           advisor_type a
      9  WHERE  sa.advisor_type_id = a.advisor_type_id
    10  AND    sa.submission_id = s.submission_id
    11  /
    SUBMISSION_NAME                               ADVISOR
    Some Research Paper                           Department Co-Chair John Doe PhD
    Some Research Paper                           Department Co-Chair Jane Doe PhD
    Thesis on 17th Century Weather Patterns       Professor Johan Smith
    Thesis on 17th Century Weather Patterns       Associate Professor Magnus Jackson MS
    Statistical Analysis on Sunny Days in March   Scientist Williard Forsberg AMS
    5 rows selected.
    SCOTT@orcl_11gR2> -- procedure to create virtual documents:
    SCOTT@orcl_11gR2> CREATE OR REPLACE PROCEDURE submission_advisors_proc
      2    (p_rowid IN           ROWID,
      3       p_clob     IN OUT NOCOPY CLOB)
      4  AS
      5  BEGIN
      6    FOR r1 IN
      7        (SELECT *
      8         FROM      submission_advisors
      9         WHERE  ROWID = p_rowid)
    10    LOOP
    11        IF r1.first_name IS NOT NULL THEN
    12          DBMS_LOB.WRITEAPPEND (p_clob, 12, '<first_name>');
    13          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (r1.first_name), r1.first_name);
    14          DBMS_LOB.WRITEAPPEND (p_clob, 13, '</first_name>');
    15        END IF;
    16        IF r1.last_name IS NOT NULL THEN
    17          DBMS_LOB.WRITEAPPEND (p_clob, 11, '<last_name>');
    18          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (r1.last_name), r1.last_name);
    19          DBMS_LOB.WRITEAPPEND (p_clob, 12, '</last_name>');
    20        END IF;
    21        IF r1.suffix IS NOT NULL THEN
    22          DBMS_LOB.WRITEAPPEND (p_clob, 8, '<suffix>');
    23          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (r1.suffix), r1.suffix);
    24          DBMS_LOB.WRITEAPPEND (p_clob, 9, '</suffix>');
    25        END IF;
    26        FOR r2 IN
    27          (SELECT *
    28           FROM   submission
    29           WHERE  submission_id = r1.submission_id)
    30        LOOP
    31          DBMS_LOB.WRITEAPPEND (p_clob, 17, '<submission_name>');
    32          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (r2.submission_name), r2.submission_name);
    33          DBMS_LOB.WRITEAPPEND (p_clob, 18, '</submission_name>');
    34        END LOOP;
    35        FOR r3 IN
    36          (SELECT *
    37           FROM   advisor_type
    38           WHERE  advisor_type_id = r1.advisor_type_id)
    39        LOOP
    40          DBMS_LOB.WRITEAPPEND (p_clob, 19, '<advisor_type_name>');
    41          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (r3.advisor_type_name), r3.advisor_type_name);
    42          DBMS_LOB.WRITEAPPEND (p_clob, 20, '</advisor_type_name>');
    43        END LOOP;
    44    END LOOP;
    45  END submission_advisors_proc;
    46  /
    Procedure created.
    SCOTT@orcl_11gR2> SHOW ERRORS
    No errors.
    SCOTT@orcl_11gR2> -- examples of virtual documents that procedure creates:
    SCOTT@orcl_11gR2> DECLARE
      2    v_clob  CLOB := EMPTY_CLOB();
      3  BEGIN
      4    FOR r IN
      5        (SELECT ROWID rid FROM submission_advisors)
      6    LOOP
      7        DBMS_LOB.CREATETEMPORARY (v_clob, TRUE);
      8        submission_advisors_proc (r.rid, v_clob);
      9        DBMS_OUTPUT.PUT_LINE (v_clob);
    10        DBMS_LOB.FREETEMPORARY (v_clob);
    11    END LOOP;
    12  END;
    13  /
    <first_name>John</first_name><last_name>Doe</last_name><suffix>PhD</suffix><submission_name>Some
    Research Paper</submission_name><advisor_type_name>Department Co-Chair</advisor_type_name>
    <first_name>Jane</first_name><last_name>Doe</last_name><suffix>PhD</suffix><submission_name>Some
    Research Paper</submission_name><advisor_type_name>Department Co-Chair</advisor_type_name>
    <first_name>Johan</first_name><last_name>Smith</last_name><submission_name>Thesis on 17th Century
    Weather Patterns</submission_name><advisor_type_name>Professor</advisor_type_name>
    <first_name>Magnus</first_name><last_name>Jackson</last_name><suffix>MS</suffix><submission_name>The
    sis on 17th Century Weather Patterns</submission_name><advisor_type_name>Associate
    Professor</advisor_type_name>
    <first_name>Williard</first_name><last_name>Forsberg</last_name><suffix>AMS</suffix><submission_name
    Statistical Analysis on Sunny Days inMarch</submission_name><advisor_type_name>Scientist</advisor_type_name>
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- user_datastore that uses procedure:
    SCOTT@orcl_11gR2> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('sa_datastore', 'USER_DATASTORE');
      3    CTX_DDL.SET_ATTRIBUTE ('sa_datastore', 'PROCEDURE', 'submission_advisors_proc');
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- index (on optional extra column) that uses user_datastore and section group:
    SCOTT@orcl_11gR2> ALTER TABLE submission_advisors ADD (any_column VARCHAR2(1))
      2  /
    Table altered.
    SCOTT@orcl_11gR2> CREATE INDEX submission_advisors_idx
      2  ON submission_advisors (any_column)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  PARAMETERS
      5    ('DATASTORE     sa_datastore
      6        SECTION GROUP     CTXSYS.AUTO_SECTION_GROUP')
      7  /
    Index created.
    SCOTT@orcl_11gR2> -- what is tokenized, indexed, and searchable:
    SCOTT@orcl_11gR2> SELECT token_text FROM dr$submission_advisors_idx$i
      2  /
    TOKEN_TEXT
    17TH
    ADVISOR_TYPE_NAME
    AMS
    ANALYSIS
    ASSOCIATE
    CENTURY
    CHAIR
    CO
    DAYS
    DEPARTMENT
    DOE
    FIRST_NAME
    FORSBERG
    JACKSON
    JANE
    JOHAN
    JOHN
    LAST_NAME
    MAGNUS
    MARCH
    PAPER
    PATTERNS
    PHD
    PROFESSOR
    RESEARCH
    SCIENTIST
    SMITH
    STATISTICAL
    SUBMISSION_NAME
    SUFFIX
    SUNNY
    THESIS
    WEATHER
    WILLIARD
    34 rows selected.
    SCOTT@orcl_11gR2> -- sample searches across all data:
    SCOTT@orcl_11gR2> VARIABLE search_string VARCHAR2(100)
    SCOTT@orcl_11gR2> EXEC :search_string := 'professor'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> SELECT s.submission_name,
      2           a.advisor_type_name || ' ' ||
      3           sa.first_name || ' ' ||
      4           sa.last_name || ' ' ||
      5           sa.suffix AS advisor
      6  FROM   submission_advisors sa,
      7           submission s,
      8           advisor_type a
      9  WHERE  CONTAINS (sa.any_column, :search_string) > 0
    10  AND    sa.advisor_type_id = a.advisor_type_id
    11  AND    sa.submission_id = s.submission_id
    12  /
    SUBMISSION_NAME                               ADVISOR
    Thesis on 17th Century Weather Patterns       Professor Johan Smith
    Thesis on 17th Century Weather Patterns       Associate Professor Magnus Jackson MS
    2 rows selected.
    SCOTT@orcl_11gR2> EXEC :search_string := 'doe'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> /
    SUBMISSION_NAME                               ADVISOR
    Some Research Paper                           Department Co-Chair John Doe PhD
    Some Research Paper                           Department Co-Chair Jane Doe PhD
    2 rows selected.
    SCOTT@orcl_11gR2> EXEC :search_string := 'paper'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> /
    SUBMISSION_NAME                               ADVISOR
    Some Research Paper                           Department Co-Chair John Doe PhD
    Some Research Paper                           Department Co-Chair Jane Doe PhD
    2 rows selected.
    SCOTT@orcl_11gR2> -- sample searches within specific columns:
    SCOTT@orcl_11gR2> EXEC :search_string := 'chair'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> SELECT s.submission_name,
      2           a.advisor_type_name || ' ' ||
      3           sa.first_name || ' ' ||
      4           sa.last_name || ' ' ||
      5           sa.suffix AS advisor
      6  FROM   submission_advisors sa,
      7           submission s,
      8           advisor_type a
      9  WHERE  CONTAINS (sa.any_column, :search_string || ' WITHIN advisor_type_name') > 0
    10  AND    sa.advisor_type_id = a.advisor_type_id
    11  AND    sa.submission_id = s.submission_id
    12  /
    SUBMISSION_NAME                               ADVISOR
    Some Research Paper                           Department Co-Chair John Doe PhD
    Some Research Paper                           Department Co-Chair Jane Doe PhD
    2 rows selected.
    SCOTT@orcl_11gR2> EXEC :search_string := 'phd'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> SELECT s.submission_name,
      2           a.advisor_type_name || ' ' ||
      3           sa.first_name || ' ' ||
      4           sa.last_name || ' ' ||
      5           sa.suffix AS advisor
      6  FROM   submission_advisors sa,
      7           submission s,
      8           advisor_type a
      9  WHERE  CONTAINS (sa.any_column, :search_string || ' WITHIN suffix') > 0
    10  AND    sa.advisor_type_id = a.advisor_type_id
    11  AND    sa.submission_id = s.submission_id
    12  /
    SUBMISSION_NAME                               ADVISOR
    Some Research Paper                           Department Co-Chair John Doe PhD
    Some Research Paper                           Department Co-Chair Jane Doe PhD
    2 rows selected.
    SCOTT@orcl_11gR2> EXEC :search_string := 'weather'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> SELECT s.submission_name,
      2           a.advisor_type_name || ' ' ||
      3           sa.first_name || ' ' ||
      4           sa.last_name || ' ' ||
      5           sa.suffix AS advisor
      6  FROM   submission_advisors sa,
      7           submission s,
      8           advisor_type a
      9  WHERE  CONTAINS (sa.any_column, :search_string || ' WITHIN submission_name') > 0
    10  AND    sa.advisor_type_id = a.advisor_type_id
    11  AND    sa.submission_id = s.submission_id
    12  /
    SUBMISSION_NAME                               ADVISOR
    Thesis on 17th Century Weather Patterns       Professor Johan Smith
    Thesis on 17th Century Weather Patterns       Associate Professor Magnus Jackson MS
    2 rows selected.

  • How to enter a data into the specified column and row in a created table

    Hi,
    I want to enter some data to specified column and row in a already created table. Please let me know how to do this.
    Regards
    Shivakumar Singh

    A table is just a 2D array of strings. Keep it in a shift register and use "replace array element" to modify the desired entry programmatically.
    If you want to modify it manually and directly from the front panel, make it into a control and type directly into the desired element. (In this case your program would need to write to it using a local variable).
    Atttached is a simple example in LabVIEW 7.0 that shows both possibilities.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ChangeTableEntries.vi ‏41 KB

  • BI Publisher Template Builder for Word 10.1.3.4.1 and Creating Pivot Table

    I'm new to BI (XML) Publisher and Pivot Tables.  I have XDO Engine version 5.6.3 and Template builder 10.1.3.4.1.  I creates a Word 2010 RTF template containing a pivot table.  When I preview in Word, it displays.  When I execute the Concurrent Request in Oracle 11, it ends with an error.
    I see this error in the log.  I'm assuming I forgot to do something or did it incorrectly.
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
    What am I doing incorrectly?  How do I resolve?
    The log follows:
    [8/20/13 1:17:19 AM] [main] Starting GSF service with concurrent process id = 276776.
    [8/20/13 1:17:19 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [8/20/13 1:17:20 AM] [Thread-21] Service thread starting up.
    [8/20/13 1:17:20 AM] [Thread-22] Service thread starting up.
    [8/20/13 7:51:58 AM] [OPPServiceThread0] Post-processing request 50656205.
    [8/20/13 7:51:58 AM] [276776:RT50656205] Executing post-processing actions for request 50656205.
    [8/20/13 7:51:58 AM] [276776:RT50656205] Starting XML Publisher post-processing action.
    [8/20/13 7:51:58 AM] [276776:RT50656205]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   null
    [082013_075159593][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [082013_075159594][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [082013_075159594][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [082013_075159594][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [082013_075159595][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [082013_075159595][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[UTF8]
    [082013_075159596][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[-1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [082013_075159596][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [082013_075159596][][EXCEPTION] [DEBUG]  [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=dtw-oadevdb.nasa.cpwr.corp)(PORT=1554)))(CONNECT_DATA=(SERVICE_NAME=udv1)))]
    [082013_075159596][][EXCEPTION] [DEBUG]  [RESP_ID]:[-1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [082013_075159596][][EXCEPTION] [DEBUG]  [USER_ID]:[-1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [082013_075159597][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RR]
    [082013_075159597][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [082013_075159597][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [082013_075159597][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [082013_075159597][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [082013_075159597][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[-1]
    [082013_075159597][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [082013_075159597][][EXCEPTION] [DEBUG]  [APPLTMP]:[/oracle/appl/udv1comn/temp]
    [082013_075159597][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) SE Runtime Environment]
    [082013_075159597][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[/oracle/appl/jdk1.6.0_24/jre/lib/sparc]
    [082013_075159597][][EXCEPTION] [DEBUG]  [java.vm.version]:[19.1-b02]
    [082013_075159597][][EXCEPTION] [DEBUG]  [OVERRIDE_DBC]:[true]
    [082013_075159598][][EXCEPTION] [DEBUG]  [dbcfile]:[/oracle/appl/udv1appl/fnd/11.5.0/secure/dtw-oadevdb_udv1.dbc]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [082013_075159598][][EXCEPTION] [DEBUG]  [path.separator]:[:]
    [082013_075159598][][EXCEPTION] [DEBUG]  [APPLCSF]:[/oracle/appl/udv1comn/admin]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Server VM]
    [082013_075159598][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [082013_075159598][][EXCEPTION] [DEBUG]  [sun.java.launcher]:[SUN_STANDARD]
    [082013_075159598][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[unknown]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vm.specification.name]:[Java Virtual Machine Specification]
    [082013_075159598][][EXCEPTION] [DEBUG]  [user.dir]:[/oracle/appl/udv1comn/admin/log/udv1_dtw-oadevdb]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.runtime.version]:[1.6.0_24-b07]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.endorsed.dirs]:[/oracle/appl/jdk1.6.0_24/jre/lib/endorsed]
    [082013_075159599][][EXCEPTION] [DEBUG]  [os.arch]:[sparc]
    [082013_075159599][][EXCEPTION] [DEBUG]  [JTFDBCFILE]:[/oracle/appl/udv1appl/fnd/11.5.0/secure/dtw-oadevdb_udv1.dbc]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[/var/tmp/]
    [082013_075159599][][EXCEPTION] [DEBUG]  [line.separator]:[
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [082013_075159599][][EXCEPTION] [DEBUG]  [os.name]:[SunOS]
    [082013_075159599][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [082013_075159599][][EXCEPTION] [DEBUG]  [cpid]:[276776]
    [082013_075159599][][EXCEPTION] [DEBUG]  [sun.jnu.encoding]:[ISO646-US]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.library.path]:[/oracle/appl/jdk1.6.0_24/jre/lib/sparc/server:/oracle/appl/jdk1.6.0_24/jre/lib/sparc:/oracle/appl/jdk1.6.0_24/jre/../lib/sparc:/oracle/appl/udv1ora/iAS/lib:/oracle/appl/udv1ora/8.0.6/network/jre11/lib/sparc/native_threads:/oracle/appl/udv1appl/cz/11.5.0/bin:/oracle/appl/udv1ora/8.0.6/lib:/usr/dt/lib:/usr/openwin/lib:/usr/jdk/packages/lib/sparc:/lib:/usr/lib]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.class.version]:[50.0]
    [082013_075159600][][EXCEPTION] [DEBUG]  [sun.management.compiler]:[HotSpot Tiered Compilers]
    [082013_075159600][][EXCEPTION] [DEBUG]  [os.version]:[5.10]
    [082013_075159600][][EXCEPTION] [DEBUG]  [LONG_RUNNING_JVM]:[true]
    [082013_075159600][][EXCEPTION] [DEBUG]  [user.home]:[/oracle/home/applmgr]
    [082013_075159600][][EXCEPTION] [DEBUG]  [user.timezone]:[US/Eastern]
    [082013_075159600][][EXCEPTION] [DEBUG]  [java.awt.printerjob]:[sun.print.PSPrinterJob]
    [082013_075159600][][EXCEPTION] [DEBUG]  [file.encoding]:[ISO646-US]
    [082013_075159600][][EXCEPTION] [DEBUG]  [java.specification.version]:[1.6]
    [082013_075159600][][EXCEPTION] [DEBUG]  [CACHEMODE]:[DISTRIBUTED]
    [082013_075159600][][EXCEPTION] [DEBUG]  [java.class.path]:[/oracle/appl/j2sdk1624/jre/lib/rt.jar:/oracle/appl/j2sdk1624/lib/dt.jar:/oracle/appl/j2sdk1624/lib/tools.jar:/oracle/appl/j2sdk1624/jre/lib/charsets.jar:/oracle/appl/udv1comn/java/appsborg2.zip:/oracle/appl/udv1ora/8.0.6/forms60/java:/oracle/appl/udv1comn/java]
    [082013_075159600][][EXCEPTION] [DEBUG]  [user.name]:[applmgr]
    [082013_075159600][][EXCEPTION] [DEBUG]  [DBCFILE]:[/oracle/appl/udv1appl/fnd/11.5.0/secure/dtw-oadevdb_udv1.dbc]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.vm.specification.version]:[1.0]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.home]:[/oracle/appl/jdk1.6.0_24/jre]
    [082013_075159601][][EXCEPTION] [DEBUG]  [sun.arch.data.model]:[32]
    [082013_075159601][][EXCEPTION] [DEBUG]  [user.language]:[en]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.specification.vendor]:[Sun Microsystems Inc.]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.vm.info]:[mixed mode]
    [082013_075159601][][EXCEPTION] [DEBUG]  [logfile]:[/oracle/appl/udv1comn/admin/log/udv1_dtw-oadevdb/FNDOPP276776.txt]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.version]:[1.6.0_24]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.ext.dirs]:[/oracle/appl/jdk1.6.0_24/jre/lib/ext:/usr/jdk/packages/lib/ext]
    [082013_075159601][][EXCEPTION] [DEBUG]  [sun.boot.class.path]:[/oracle/appl/jdk1.6.0_24/jre/lib/resources.jar:/oracle/appl/jdk1.6.0_24/jre/lib/rt.jar:/oracle/appl/jdk1.6.0_24/jre/lib/sunrsasign.jar:/oracle/appl/jdk1.6.0_24/jre/lib/jsse.jar:/oracle/appl/jdk1.6.0_24/jre/lib/jce.jar:/oracle/appl/jdk1.6.0_24/jre/lib/charsets.jar:/oracle/appl/jdk1.6.0_24/jre/lib/modules/jdk.boot.jar:/oracle/appl/jdk1.6.0_24/jre/classes]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.vendor]:[Sun Microsystems Inc.]
    [082013_075159601][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [082013_075159601][][EXCEPTION] [DEBUG]  [file.separator]:[/]
    [082013_075159602][][EXCEPTION] [DEBUG]  [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [082013_075159602][][EXCEPTION] [DEBUG]  [sun.io.unicode.encoding]:[UnicodeBig]
    [082013_075159602][][EXCEPTION] [DEBUG]  [sun.cpu.endian]:[big]
    [082013_075159602][][EXCEPTION] [DEBUG]  [APPLOUT]:[out/udv1_dtw-oadevdb]
    [082013_075159602][][EXCEPTION] [DEBUG]  [sun.cpu.isalist]:[]
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:06 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 07:52:06 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:06 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:06 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 07:52:06 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:07 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 07:52:07 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:07 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    [8/20/13 7:52:17 AM] [UNEXPECTED] [276776:RT50656205] java.sql.SQLException: ORA-01400: cannot insert NULL into ("APPLSYS"."FND_CONC_REQ_OUTPUTS"."FILE_TYPE")
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.updateOutputTable(XMLPublisherProcessor.java:516)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:329)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [8/20/13 7:52:17 AM] [276776:RT50656205] Completed post-processing actions for request 50656205.
    [8/20/13 8:46:00 AM] [OPPServiceThread1] Post-processing request 50656325.
    [8/20/13 8:46:00 AM] [276776:RT50656325] Executing post-processing actions for request 50656325.
    [8/20/13 8:46:00 AM] [276776:RT50656325] Starting XML Publisher post-processing action.
    [8/20/13 8:46:00 AM] [276776:RT50656325]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   null
    [8/20/13 8:46:01 AM] [UNEXPECTED] [276776:RT50656325] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 8:46:01 AM] [276776:RT50656325] Completed post-processing actions for request 50656325.
    [8/20/13 9:15:08 AM] [OPPServiceThread0] Post-processing request 50656367.
    [8/20/13 9:15:08 AM] [276776:RT50656367] Executing post-processing actions for request 50656367.
    [8/20/13 9:15:08 AM] [276776:RT50656367] Starting XML Publisher post-processing action.
    [8/20/13 9:15:08 AM] [276776:RT50656367]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:15:09 AM] [UNEXPECTED] [276776:RT50656367] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:15:09 AM] [276776:RT50656367] Completed post-processing actions for request 50656367.
    [8/20/13 9:17:06 AM] [OPPServiceThread0] Post-processing request 50656369.
    [8/20/13 9:17:06 AM] [276776:RT50656369] Executing post-processing actions for request 50656369.
    [8/20/13 9:17:06 AM] [276776:RT50656369] Starting XML Publisher post-processing action.
    [8/20/13 9:17:06 AM] [276776:RT50656369]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:17:07 AM] [UNEXPECTED] [276776:RT50656369] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:17:07 AM] [276776:RT50656369] Completed post-processing actions for request 50656369.
    [8/20/13 9:22:38 AM] [OPPServiceThread1] Post-processing request 50656370.
    [8/20/13 9:22:38 AM] [276776:RT50656370] Executing post-processing actions for request 50656370.
    [8/20/13 9:22:38 AM] [276776:RT50656370] Starting XML Publisher post-processing action.
    [8/20/13 9:22:38 AM] [276776:RT50656370]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:22:38 AM] [UNEXPECTED] [276776:RT50656370] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:22:38 AM] [276776:RT50656370] Completed post-processing actions for request 50656370.
    [8/20/13 9:24:46 AM] [OPPServiceThread0] Post-processing request 50656371.
    [8/20/13 9:24:46 AM] [276776:RT50656371] Executing post-processing actions for request 50656371.
    [8/20/13 9:24:46 AM] [276776:RT50656371] Starting XML Publisher post-processing action.
    [8/20/13 9:24:46 AM] [276776:RT50656371]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    [8/20/13 9:24:54 AM] [276776:RT50656371] XML Publisher post-processing action complete.
    [8/20/13 9:24:54 AM] [276776:RT50656371] Completed post-processing actions for request 50656371.
    [8/20/13 9:46:48 AM] [OPPServiceThread1] Post-processing request 50656374.
    [8/20/13 9:46:48 AM] [276776:RT50656374] Executing post-processing actions for request 50656374.
    [8/20/13 9:46:48 AM] [276776:RT50656374] Starting XML Publisher post-processing action.
    [8/20/13 9:46:48 AM] [276776:RT50656374]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:46:48 AM] [UNEXPECTED] [276776:RT50656374] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:46:48 AM] [276776:RT50656374] Completed post-processing actions for request 50656374.
    [8/20/13 10:08:16 AM] [OPPServiceThread0] Post-processing request 50656386.
    [8/20/13 10:08:16 AM] [276776:RT50656386] Executing post-processing actions for request 50656386.
    [8/20/13 10:08:16 AM] [276776:RT50656386] Starting XML Publisher post-processing action.
    [8/20/13 10:08:16 AM] [276776:RT50656386]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 10:08:16 AM] [UNEXPECTED] [276776:RT50656386] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 10:08:16 AM] [276776:RT50656386] Completed post-processing actions for request 50656386.
    [8/20/13 10:13:49 AM] [OPPServiceThread0] Post-processing request 50656387.
    [8/20/13 10:13:49 AM] [276776:RT50656387] Executing post-processing actions for request 50656387.
    [8/20/13 10:13:49 AM] [276776:RT50656387] Starting XML Publisher post-processing action.
    [8/20/13 10:13:49 AM] [276776:RT50656387]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:50 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    [8/20/13 10:13:57 AM] [276776:RT50656387] XML Publisher post-processing action complete.
    [8/20/13 10:13:57 AM] [276776:RT50656387] Completed post-processing actions for request 50656387.
    [8/20/13 1:19:36 PM] [OPPServiceThread1] Post-processing request 50656411.
    [8/20/13 1:19:37 PM] [276776:RT50656411] Executing post-processing actions for request 50656411.
    [8/20/13 1:19:37 PM] [276776:RT50656411] Starting XML Publisher post-processing action.
    [8/20/13 1:19:37 PM] [276776:RT50656411]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 1:19:37 PM] [UNEXPECTED] [276776:RT50656411] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 1:19:37 PM] [276776:RT50656411] Completed post-processing actions for request 50656411.
    [8/20/13 1:36:00 PM] [OPPServiceThread1] Post-processing request 50656414.
    [8/20/13 1:36:00 PM] [276776:RT50656414] Executing post-processing actions for request 50656414.
    [8/20/13 1:36:00 PM] [276776:RT50656414] Starting XML Publisher post-processing action.
    [8/20/13 1:36:00 PM] [276776:RT50656414]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 1:36:00 PM] [UNEXPECTED] [276776:RT50656414] java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 1:36:00 PM] [276776:RT50656414] Completed post-processing actions for request 50656414.
    [email protected]

    To make it work,
    inside the if condition add a form field,
    and add the following inside that
    <fo:block keep-with-previous='always' break-after='page'/>
    or
    <xsl:attribute name="break-after" xdofo:ctx="incontext">page</xsl:attribute>it should give u a new page.

Maybe you are looking for

  • Is Adobe Photoshop CS2 compatible with Windows 8.1

    I currently have Windows XP and after 10 years have to buy a new computer. I have seen that CS2 works fine on Windows 7 , but now see that Microsoft is discontinuing support for Windows 7 January 2015. Rather then buying a refurbished W7 computer and

  • Printing photos with Titles?

    Can this be done? How?

  • This is example for dynamic script in jsp (to coimbatore) author

    hai coimbatore me send ur doubts.. i forgot to put urs in watch list.. so i cant find where u post.. so i post newly .. sorry of inconvinence.. <%@page import="java.lang.*,java.sql.*" language="java" session="true" %> <%@include file="dbconnect.txt"

  • Ovi Player not open

    I instal yesterday this ovi player and first everything work, but today this ovi player not open anymore. When i try start this only few second and come "Ovi player stop working" Then u can choise close ovi player or find tips for internet. Proplem d

  • Help! garageband refuses to play the whole song.

    why do garageband cut off the end part of my songs when i play them, this has happend to songs i have exported to itunes also. the songs are about four minutes long with twelve tracks, all locked. i am new to both mac and garageband, am i giving gara