Robohelp 9 does not generate table headers

Hi all,
the new table style mapping works, but is of no worth for me if Robohelp is not able to generate table headers in the Word output. Having headers in Word is also a prerequisite for the first line to repeat on each new page.
Is there a way to output the first line as a header?

Hi,
I can partially confirm that. HTML does have the concept of table headers, captions, footers and content. When using a table that is set up correctly, most browsers will render the table header on every printed page:
<table>
     <thead>
          <tr><th>First heading</th><th>Second heading</th></tr>
     </thead>
     <tbody>
          <tr><td>Value</td><td>Value</td></td>
     <tbody>
</table> 
RoboHelp does not use such tables. You can manually create these tables in HTML mode. When converting that to Word, the table headings are correctly converted to a Word table heading. In my default Word template, these headers correctly repeat after every pagebreak. But when you switch to Design view, RoboHelp then removes the structure information. The above table will be recreated as: 
<table>
  <tr><th>First heading</th><th>Second heading</th></tr>
  <tr><td>Value</td><td>Value</td></td>
</table> 
This table will not have it's first row set as a header in Word. 
As to what to do, I can think of two options:
  - You can write a script to quickly transform the tables in your project to have a table structure that works for printed documentation. Since RoboHelp will reset your tables, you will need to execute this script every time you want to generate your Word output. Also, because the structure of the tables will be changed, you probably need to amend your css. (The first table row uses th instead of td.)
  - Personally, I use default RoboHelp tables and I use the macro Peter mentioned. Peter's site contains several macro's that will greatly improve the quality of the RoboHelp Word output.
Greet, 
Willam

Similar Messages

  • Mailing the Report Output-Does not generating file name

    Dear Gurus,
           The below program fulfils the "mailing the report" requirement .it sends the out put as an attachment in XLS format.But one problem exists i.e.,it does not generate  filename.It gives the filename as ".XLS"(DOT XLS).
    What should be done that system generates a filename?
    *& Report  ZTESTMAIL                                                   *
    REPORT  ZTESTMAIL                               .
    tables: ekko.
    parameters: p_email type somlreci1-receiver.
    types: begin of t_ekpo,
    ebeln type ekpo-ebeln,
    ebelp type ekpo-ebelp,
    aedat type ekpo-aedat,
    matnr type ekpo-matnr,
    end of t_ekpo.
    data: it_ekpo type standard table of t_ekpo initial size 0,
    wa_ekpo type t_ekpo.
    types: begin of t_charekpo,
    ebeln(10) type c,
    ebelp(5) type c,
    aedat(8) type c,
    matnr(18) type c,
    end of t_charekpo.
    data: wa_charekpo type t_charekpo.
    data: it_message type standard table of solisti1 initial size 0
    with header line.
    data: it_attach type standard table of solisti1 initial size 0
    with header line.
    data: t_packing_list like sopcklsti1 occurs 0 with header line,
    t_contents like solisti1 occurs 0 with header line,
    t_receivers like somlreci1 occurs 0 with header line,
    t_attachment like solisti1 occurs 0 with header line,
    t_object_header like solisti1 occurs 0 with header line,
    w_cnt type i,
    w_sent_all(1) type c,
    w_doc_data like sodocchgi1,
    gd_error type sy-subrc,
    gd_reciever type sy-subrc.
    t_object_header = 'Text.xls'. append t_object_header.
    *START_OF_SELECTION
    start-of-selection.
    Retrieve sample data from table ekpo
    perform data_retrieval.
    Populate table with detaisl to be entered into .xls file
    perform build_xls_data_table.
    *END-OF-SELECTION
    end-of-selection.
    Populate message body text
    perform populate_email_message_body.
    Send file by email as .xls speadsheet
    perform send_file_as_email_attachment
    tables it_message
    it_attach
    using p_email
    'Example .xls documnet attachment'
    'XLS'
    'PO'
    changing gd_error
    gd_reciever.
    Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *& Form DATA_RETRIEVAL
    Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp aedat matnr
    up to 10 rows
    from ekpo
    into table it_ekpo.
    endform. " DATA_RETRIEVAL
    *& Form BUILD_XLS_DATA_TABLE
    Build data table for .xls document
    form build_xls_data_table.
    *CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
    *con_tab TYPE x VALUE '09'. "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    constants:
    con_tab type c value cl_abap_char_utilities=>horizontal_tab,
    con_cret type c value cl_abap_char_utilities=>cr_lf.
    concatenate 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
    into it_attach separated by con_tab.
    concatenate con_cret it_attach into it_attach.
    append it_attach.
    loop at it_ekpo into wa_charekpo.
    concatenate wa_charekpo-ebeln wa_charekpo-ebelp
    wa_charekpo-aedat wa_charekpo-matnr
    into it_attach separated by con_tab.
    concatenate con_cret it_attach into it_attach.
    append it_attach.
    endloop.
    endform. " BUILD_XLS_DATA_TABLE
    *& Form SEND_FILE_AS_EMAIL_ATTACHMENT
    Send email
    form send_file_as_email_attachment tables pit_message
    pit_attach
    using p_email
    p_mtitle
    p_format
    p_filename
    p_attdescription
    p_sender_address
    p_sender_addres_type
    changing p_error
    p_reciever.
    data: ld_error type sy-subrc,
    ld_reciever type sy-subrc,
    ld_mtitle like sodocchgi1-obj_descr,
    ld_email like somlreci1-receiver,
    ld_format type so_obj_tp ,
    ld_attdescription type so_obj_nam ,
    ld_attfilename type so_obj_des ,
    ld_sender_address like soextreci1-receiver,
    ld_sender_address_type like soextreci1-adr_typ,
    ld_receiver like sy-subrc.
    ld_email = p_email.
    ld_mtitle = p_mtitle.
    ld_format = p_format.
    ld_attdescription = p_attdescription.
    ld_attfilename = p_filename.
    ld_sender_address = p_sender_address.
    ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
    w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'SAPRPT'.
    w_doc_data-obj_descr = ld_mtitle .
    w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
    clear w_doc_data.
    read table it_attach index w_cnt.
    w_doc_data-doc_size =
    ( w_cnt - 1 ) * 255 + strlen( it_attach ).
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'SAPRPT'.
    w_doc_data-obj_descr = ld_mtitle.
    w_doc_data-sensitivty = 'F'.
    clear t_attachment.
    refresh t_attachment.
    t_attachment[] = pit_attach[].
    Describe the body of the message
    clear t_packing_list.
    refresh t_packing_list.
    t_packing_list-transf_bin = space.
    t_packing_list-head_start = 1.
    t_packing_list-head_num = 0.
    t_packing_list-body_start = 1.
    describe table it_message lines t_packing_list-body_num.
    t_packing_list-doc_type = 'RAW'.
    append t_packing_list.
    Create attachment notification
    t_packing_list-transf_bin = 'X'.
    t_packing_list-head_start = 1.
    t_packing_list-head_num = 1.
    t_packing_list-body_start = 1.
    describe table t_attachment lines t_packing_list-body_num.
    t_packing_list-doc_type = ld_format.
    t_packing_list-obj_descr = ld_attdescription.
    t_packing_list-obj_name = ld_attfilename.
    t_packing_list-doc_size = t_packing_list-body_num * 255.
    append t_packing_list.
    Add the recipients email address
    clear t_receivers.
    refresh t_receivers.
    t_receivers-receiver = ld_email.
    t_receivers-rec_type = 'U'.
    t_receivers-com_type = 'INT'.
    t_receivers-notif_del = 'X'.
    t_receivers-notif_ndel = 'X'.
    append t_receivers.
    call function 'SO_DOCUMENT_SEND_API1'
    exporting
    document_data = w_doc_data
    put_in_outbox = 'X'
    sender_address = ld_sender_address
    sender_address_type = ld_sender_address_type
    commit_work = 'X'
    importing
    sent_to_all = w_sent_all
    tables
    object_header = t_object_header
    packing_list = t_packing_list
    contents_bin = t_attachment
    contents_txt = it_message
    receivers = t_receivers
    exceptions
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    others = 8.
    Populate zerror return code
    ld_error = sy-subrc.
    Populate zreceiver return code
    loop at t_receivers.
    ld_receiver = t_receivers-retrn_code.
    endloop.
    endform.
    *& Form INITIATE_MAIL_EXECUTE_PROGRAM
    Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
    wait up to 2 seconds.
    submit rsconn01 with mode = 'INT'
    with output = 'X'
    and return.
    endform. " INITIATE_MAIL_EXECUTE_PROGRAM
    *& Form POPULATE_EMAIL_MESSAGE_BODY
    Populate message body text
    form populate_email_message_body.
    refresh it_message.
    it_message = 'Please find attached a list test ekpo records'.
    append it_message.
    endform. " POPULATE_EMAIL_MESSAGE_BODY
    Your suggestions will be appreciated and rewarded.
    Thanks in advance
    Murali

    Hi
    Your pgm is not passing anything in obj_descr in packing list for excel file. If you pass a name your excel file will have that.
    Regards
    Sathar
    perform send_file_as_email_attachment
    tables it_message
    it_attach
    using p_email
    'Example .xls documnet attachment'
    'XLS'
    'PO'
    ' '  *------> no value*
    changing gd_error
    gd_reciever.
    form send_file_as_email_attachment tables pit_message
    pit_attach
    using p_email
    p_mtitle
    p_format
    p_filename
    p_attdescription *----> no value*
    p_sender_address
    p_sender_addres_type
    changing p_error
    p_reciever.
    t_packing_list-obj_descr = ld_attdescription.

  • Designerd does not generate Order BY code for Sort Order on a lookup tabel column.

    I am setting the Sort Order on a column which is based on a lookup table.
    When generate the the module, designer does not generate the code for the Sort Order that I set on the lookup table column.
    Is there a work around for this problem or is there some thing else that needs to be done in designer to make it generate the order by clause?
    I will very much appreciate help.
    Regards
    Prasad.

    A bound lookup item, will be generated as a NON-database item in Forms. Designer generates an ORDER BY CLAUSE (a Forms Block property) for the ordering. But a NON-database item cannot be included in the ORDER BY CLAUSE.
    I used a stored function for ordering the lookup item.
    Best regards
    Harm van Zoest

  • SQR does not generate PDF file

    Hi,
    on F9 with 8.49 tools on a Win 2003 server , the SQR does not generate PDF, but only nnnnn.out and nnnnn.log files.
    What might be the reason ? What should be verified ?
    Thank you.

    Hi ...
    the table that uses the output file type is PS_PRCSOUTPUTFILE , lokk into this table...
    (or)
    login to PIA ...
    navigate to peopletools--process scheduler--system settings--process type--process output type.
    select sqr and see type web and active and default are checked.
    Then navigate to process output format (the next tab to the previous one)
    then select process type sqr and output destination type web are selected...
    then u should see *.pdf is active and default... if not make it default...
    reconfigure the process scheduler(bounce the scheduler and clear cache).
    that should give u pdf doc....
    any questions... please update
    Thnks!

  • Does not generate detail of detail collection ADF task form

    Hi
    I use Jdev 12.1.3
    when i auto generate ADF task form from HT generated task forms does not contain tables in detail of detail.
    I have a tree business object as payload on root to many detail and every detail has a collection as detail.
    Also when i use manually by drag and drop from datacontrol on my page as table doesn't works.
    how does I have table and for every row i have a table as detail?
    thanks.
    Fazel.Business Process Management Suite user9525019

    Thanks Frank.
    I have set up the partial triggers on the dependent detail and still the table is empty. On Further investigation, we found that there is no row selected in its master and consequently the detail is empty. But now the question is why is no row getting selected in the Master. My understanding is that the default behavior for master-detail table , the first row for master will be selected by default and the detail will be populated.
    Could you let me know what could be the reasons /where to look for on why no row is getting selected in the Master?

  • Cancellation document does not generate Accounting document

    Hi Experts,
        I am facing an issue that when a Billing document is getting cancelled through workflow ,the billing document does not generate a accounting document .I tried debugging the issue to check it but could not find the root cause of the issue.
    In the code we are using 'BAPI_BILLINGDOC_CANCEL1 to cancel the billing document.
        How to find that the accounting documents are getting  generated from the corresponding billing documents correctly.
    Thanks&Regards,
    Praveen

    First of all, are you able to create S1 type cancellation document after you call the BAPI? If you are not even able to generate the cancel document, perhaps you are missing committing the BAPI after calling it by using BAPT_TRANSACTION_COMMIT.
    Also are you able to create cancellation and accounting document by calling the BAPI through a test ABAP program? First check it out before using it in your workflow.

  • [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]

    Hii ..
    need help on this ..
    This what I am doing ..
    I am using a DATAEXPORT function to export level0 data from my essbase 11.1.2.2 to Microsoft SQL 2008 tables.
    So what I did first I exported the level0 data to a flat file using DATAEXPORT and the created the SQL columns by the same  in that order only in my SQL table.
    When I run it fails with this error:
    ODBC Layer Error: [21S01] ==> [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021014)
    ODBC Layer Error: Native Error code [213]
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Error(1012085)
    Unable to export data to SQL table [dataexp]. Check the Essbase server log and the system console to determine the cause of the problem.
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021002)
    SQL Connection is Freed
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Warning(1080014)
    Transaction [ 0x1c50001( 0x51ee7d66.0x80342 ) ] aborted due to status [1012085].
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1012579)
    Total Calc Elapsed Time for [test.csc] : [1.44] seconds
    =============================================================
    I did a simple test on my Sample.basic application then ..
    loaded the calc data to it and then used the below script to export to a flat file
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET DATAEXPORTOPTIONS
                    DataExportLevel "Level0";
                    DataExportOverwriteFile ON;
                    DataExportColFormat OFF;
                    DataExportDimHeader OFF;
    FIX(
                "Jan",
                "Sales",
                "Actual"
    /*DATAEXPORT "File" "," "/home/hypadmin/samtest.txt";*/
    DATAEXPORT "DSN" "Abhitest" "sample" "sa" "welcome1";
    ENDFIX
    out put as below:
    "Sales"
    "100-30","California"
    "Jan","Actual",145
    Now In sql I created only 3 columns with name Jan/Sales/Actual and when I run this script again with comments removed .. I get the same error as what I have got in my first test case with other application ..
    but when I create the columns with same name as what its in export
    Sales/100-30/Califirnia/Jan/Actual
    It created the new rows successfully ..
    So with this I think the error which I am getting with my other application might be because of the same column issue  .. but then I have created all the columns by looking at the export file only as I did in sample ..
    Any idea would be helpful ..
    Thanks
    Abhishek
    I

    First make sure you add
    DataExportRelationalFile ON;
    to your set commands it is missing
    I alwats like to also add
    DataExportColHeader dimensionName;
    so I am sure what dimension is getting put into the columns.
    Then count the number of dimensions in your outline (exclude attribute dimensions). You need at least that many columns in your table  -1 + the number of  members you will be returning as columns in the export
    Taking your example Sample basic has 5 dimensions
    Measures
    Years
    Scenario
    Product
    Market
    Since you did not specify a dataexportcolheader it took the dense dimension Scenario as the columns. Your fix statement is limiting that to one member. Doing the math
    5 -1 + 1 = 5 columns in your table which is what you found works.  Suppose you fixed on bothe Actual and budget in scenario then you would need 6 columns 5 -1 +2

  • The RFUMSV50 program does not generate transfer lines of deferred VAT

    Hello;
    The RFUMSV50 program does not generate transfer lines of deferred VAT ,
    The context is the following one:
    Code VAT Created with code target VAT, general account of VAT also created,
    Rule of deferred VAT created and activated for the company code in question, with marks to compensate for check.
    The data of tests are the following ones:
    Creation of an invoice via the FB60,
    Integral payment of the invoice via F-53,
    Creation of the confirmation of the operation in bank via the manual statement FF67,
    Clearing of the intermediate banking account  with the bank account  via F-03.
    After all these elements, by executing the RFUMSV50 program, I have nothing in result.
    There somebody who had the same problem, could help us?
    Thank you.

    Hi
    Service Tax credit cannot be utilized unless the Vendor Invoice is Paid. This is the reason till the payment is done the service tax Amount will be accumulated in deferred tax account and once the invoice is paid the balance in deferred tax is need to be transferred  to respective Service Tax , Educational Cess and higher Education Cess account. There can be various business scenarios for full and Partial Payment to facilitates the transfer of such deferred balance to respective account SAP has come up with some new standard program RFUMSV50 instead of RFUMSV25. To overcome the limitation of this program i.e. not able to take care of more than one tax line item, below the solution is provided with scenarios “Full Payment is made to Vendor Invoice”. 
    hope this is help ful
    thanks
    Trinath

  • In other words jQuery mobile does not generate code with result can not test Apps in dw cs6

    from the time compiled in phonegap dw c6 tools and tested from dw the App in Android sdk, for a jQuery mobile App the, code in split/Live is the same as split/Live/Live Code.... in other words jQuery mobile does not generate code with result can not test Apps in dw cs6, but design shown without jQ mobile generated code, well?

    well, jQuery mobile stopped to generate code with result can not test Apps in dw cs6, but design shown without jQ mobile generated code, well (neither generated code seems nor design as seem in mobile)....????

  • Matrixx 7 autocode does not generate ucb and subsystem wrapper for "procedures" code style

    Under matrixx 6.1.3  when procedure style code generation is specified  (-procs), autocode generates subsystem and ucb style wrappers (see below):
    Executing the command:   
    autostar -l c -o "test.c" -d "/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac" -procs "test.rtf"   
    *        AutoCode/C       Code Generator V6.1           *
    *      (C) Copyright 1998.  Integrated Systems Inc.     *
    *      Unpublished work; Restricted rights apply.       *
    *      All rights reserved.  Portions U.S. Patent.      *
    Loading 'test.rtf' ...
    Initializing ...
    Processing names ...
    Building symbols ...
    Executing '/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac' :
                 Generating procedures declarations ...
                 Generating procedures definitions ...
                 Generating subsystem-style wrapper (subsys_1)
                 around procedure tt1 ...
                 Generating UCB-style wrapper(s) around procedure(s) ...
    Output generated in test.c.
    However, matrixx 7.1.4 does not generate the wrappers. see below :
    Executing the command:   
    autostar -l c -o "test.c" -d "/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac" -procs "test.rtf"   
    *           AutoCode/C       Code Generator V7.1               *
    *  (c) Copyright 1987-2004.  National Instruments Corporation  *
    *          All rights reserved.  Portions U.S. Patent.         *
    Loading 'test.rtf' ...
    Initializing ...
    Processing names ...
    Building symbols ...
    Executing '/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac' :
                 Generating internal procedure declarations ...
                 Generating procedures definitions ...
                 Generating MAKEFILE in test.mk
    Output generated in test.c.
    Code generation complete.
    Please note that the autocode user's guide for matrixx7 indicates that these wrappers are generated when -procs is specified.
    -procs: Sets the template parameter procs_only_b as True, and default template only generates Procedure SuperBlocks and generates UCBsand subsystem wrappers for each of these procedures.  
    Is ther a way to create the same behavior under matrixx7 when -procs option is used?
    Thanks

    Hello,
    These wrappers were separated into different templates.  What you would need to do is to run the templates that you need. You can find these templates in the C:\Program Files\National Instruments\MATRIXx\mx_71.4\case\ACC\templates folder.
    Hope this helps.
    Ricardo S.
    National Instruments

  • Referenced join path ___ does not have table '$2$' as endpoint

    Hi,
    We are trying to make one of our first views. I joined the schema in attach.
    The first part is a join between 3 tables: FMIFIIT and 2 dependent tables for further information.
    For the second part I made an analytical view on FMIFIIT making totals based on 3 secondary key fields.
    I would like to join the first view with the second one, so I can add total amounts to every detail line.
    But I always get an error when  activating the analytical view:
    <detail>
      <element>cubeSchema -> cubes -> cube (_SYS_BIC:kul.testing.kcl/AN_FMIFIIT_2/olap) -> characteristics -> dimension (BLDAT)</element>
      <code>41</code>
      <message>Referenced join path 'DATA_SLT_D11220:FMIFIHD' does not have table '$2$' as endpoint</message>
      </detail>
    I seems as if all 3 tables need to be fact-tables, and as I look at the definition that is not the case:
    <cubeTables>
      <cubeTable name="DATA_SLT_D11220:FMIFIHD" type="d-table"/>
      <cubeTable name="DATA_SLT_D11220:FMIFIIT" type="f-table"/>
      <cubeTable name="DATA_SLT_D11220:PRPS" type="d-table"/>
    </cubeTables>
    Is this 'TYPE' influenced by the presence of measures in it? And do all tables need to have measures in it?
    <measures>
      <measure name="FKBTR" table="DATA_SLT_D11220:FMIFIIT" column="FKBTR" aggregationType="sum" isVisible="true"/>
      <calculatedMeasure name="TOTBEDRAG" aggregationType="sum" isVisible="true" calculateBeforeAggregation="false" datatype="fixed" length="13" scale="2">
      <formula>"FKBTR"</formula>
      </calculatedMeasure>
      <calculatedMeasure name="BEDRAG54" aggregationType="sum" isVisible="true" calculateBeforeAggregation="false" datatype="fixed" length="13" scale="2">
      <formula>if("WRTTP"=''54'',"FKBTR",0)</formula>
      </calculatedMeasure>
      <calculatedMeasure name="BEDRAG57" aggregationType="sum" isVisible="true" calculateBeforeAggregation="false" datatype="fixed" length="13" scale="2">
      <formula>if("WRTTP"=''57'',"FKBTR",0)</formula>
      </calculatedMeasure>
    </measures>
    Can anyone advice on how I can solve this issue? It might be a issue with my design.
    Thanks a lot.
    Kris
    Message was edited by: Tom Flanagan

    Hi Kris,
    Did you manage to resolve this? I'm getting the same error now. Can you help me out of this...
    Regards,
    Chandra.

  • Form results does not show column headers

    I created a form and when I enter info and then view the results, the results page does not show column headers.  How do I correct this?

    I just found out that the engineered version (10g) is also quite strange:
    http://public.ceving.de/2012050900/postaladdress_10g.png
    It shows the values in the columns for the types.
    This looks very buggy.
    Is it not recommended to create views with the data modeler?
    Edited by: 931739 on 09.05.2012 06:38

  • TS3274 I  working in Citrix and the keyboard does note generate. How can I get it to work?

    I  working in Citrix and the keyboard does note generate. How can I get it to work?

    Close all open apps by double-tapping the home button, then swiping upward on the app window (not the smaller icon) off the screen.
    Then reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Upgrade with DBUA to 12c hangs while upgrade.xml does not generated

    Hi together,
    actually I've an upgrade problem with dbua. At a server with Oracle Linux 6 I've running an 121.0.2 GI. in that GI there are two Oracle Homes: one 12.1.0.2 wih PSU1 and one 11.2.0.4 with PSU4. I'm trying to upgrade the database "testdb" from 11.2.0.4 to 12.1.0.2 with dbua.
    So I'm logged in and set all session parameters to the new 12.1.0.2 home:
    $ export ORACLE_HOME=/usr/local/oracle/product/12.1.0.2/
    $ export PATH=$ORACLE_HOME/bin:$PATH
    After that I start the dbua. i select my testdb and wait. And still wait..... After selecting the db and dbua has getting al the database information he will hang at 0% by "Run Pre Upgrade Utility". But why?
    So I've looked into trace.log from dbua:
    oracle@testserver- DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
    $ ll
    total 96
    -rw-r----- 1 ora121 oinstall    1374   Oct 17 10:56 mapfile.txt
    -rw-r----- 1 ora121 oinstall      104   Oct 17 10:56 preupgdir.sql
    -rw-r----- 1 ora121 oinstall  29326    Oct 17 10:56 sqls.log
    -rw-r----- 1 ora121 oinstall  53994    Oct 17 10:56 trace.log
    -rw-r----- 1 ora121 oinstall         0    Oct 17 10:56 trace.log.lck
    ora121@QUM169 - DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
    $ less trace.log
    In the trace.log he tells me, that he weren't able to create a file called upgrade.xml and throws a java exception:
    [Thread-77] [ 2014-10-17 10:56:28.200 CEST ] [PreUpgradeToolGroup.validate:252]  validateConnectionToDB using user:=null
    [Thread-77] [ 2014-10-17 10:56:28.233 CEST ] [PreUpgradeToolGroup.validate:268]  create log dir obj for pre upgrade tool
    [Thread-77] [ 2014-10-17 10:56:28.234 CEST ] [PreUpgradeToolGroup.validate:274]  creating dir object for pre upgrade spool at/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
    [Thread-77] [ 2014-10-17 10:56:28.239 CEST ] [PreUpgradeToolGroup.validate:320]  Executing CREATE OR REPLACE DIRECTORY PREUPG_OUTPUT_DIR AS '/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2'  using SQLEngine.
    [Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:362]  validationLogDir =
    [Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:376]  Preupgrade Utility used= /usr/local/oracle/product/12.1.0.2/rdbms/admin/preupgrd.sql
    [Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:462]  Executed Pre Upgrade Script successfully, now load MEP............
    [Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [DbuxUtils.writeRootElementForUpgradeXML:509]  Passed in upgrade xml file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml does not exist.
    [Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:479]  Executing preupgrade tool
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:480]  Spool file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [DbuxUtils.getPreUpgradeLoader:236]  upgrade.xml does not generated
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:487]  Executing Preupgrade tool failed..Upgrade xml does not exist
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:491]  upgrade.xml does not generated
    [Thread-77] [ 2014-10-17 10:56:29.745 CEST ] [SQLEngine.done:2278]  Done called
    Exception in thread "Thread-77"
    java.lang.NullPointerException
            at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.prepareMaps(ValidationPage.java:1989)
            at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.check(ValidationPage.java:1651)
            at oracle.sysman.assistants.dbma.wizard.view.ValidationPage$Check.run(ValidationPage.java:2040)
            at java.lang.Thread.run(Thread.java:682)
    But why? Does anybody know that error?
    Thanks a lot for help and regards,
    Dave

    Yep they are! The own group they weren't in was the asmadmin group. Amusingly I had to add them both to the asmadmin group, so that the upgrade.xml was created with the oracle 12c user and group oinstal and not with oracle 11g user and group asmadmin. I can't tell you really, why, because it is a little bit confusing why he generate a file with the correct group when I add that group to the user, which was assigned wrong before to the file ?!?!

  • TopLink does not generate SQL statements for inserting new objects

    TopLink does not generate SQL statements for inserting new objects. Why?
    Thanks in advance...

    Please see the response in
    Why does not unitofwork.commit write data to the database?
    Regards,
    Chris

Maybe you are looking for