Invalid values in 'Top Sessions'

I have a newly install OEM grid control and on the "Top Sessions" page for multiple databases, I am seeing 'bad' values for every session on numerous columns, i.e.
CPU (1/100 sec) 1127219200
Logical Reads 1106247680
Hard Parses 1127219200
Disk Sorts 5658315534953873408
I am getting these result against both 10.2.0.1 and 9.2.0.6 version databases. I have used 'Monitoring Configuration' to setup the dbsnmp user and install statspack. It seems to me as though I must have a bad version of the statspack tables or something.
Thanks for your help!

I am also facing same issue.. in fact, in our case, all the values in the columns like Disk sorts, total parses, hard parses are all same for all the sessions.
And our target OS is
SunOS 5.9 Generic_118558-22 (64-bit) .
Would you please pos the bug number, so I can gather some more info.

Similar Messages

  • XSQL file "Invalid at the top level of the document"

    I am trying to insert HTML form parameters into database using <xsql:insert-request>. It worked fine except that it displays <xsql-status action="xsql:insert-request" rows="1"/> after it inserts the data into the database. I am trying to follow the insertnewsform example in Steve's book "building oracle xml applications" to return user a thank-you note. Here is my problem:
    I have four files:
    faqform.html (html form, action=faqfeed.xsql)
    faqfeed.xsql
    request-to-faq.xsl (used as transform for faqfeed.xsql)
    thankyou.xsl (used for returning user a thank-you)
    When I submit the html form, I get an error saying:
    "The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Line 1, Position 43
    <?xml version = '1.0' encoding = 'UTF-8'?>"
    I didn't put "encoding..." in any of my xsql files, not sure where that came from. When I used faqfeed.xsql?xml-stylesheet=none in the url and it showed up as a well-formed xml file with all the info I need. Here is my faqfeed.xsql and thankyou.xsl
    ********* faqfeed.xsql ***********
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="thankyou.xsl"?>
    <page connection="template" xmlns:xsql="urn:oracle-xsql">
    <xsql:insert-request table="faq" transform="request-to-faq.xsl"/>
    <xsql:query tag-case="lower" max-rows="5" rowset-element="" row-element="faq">
    select * from faq
    </xsql:query>
    </page>
    ********* thankyou.xsl **********
    <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
    <head><title>Thank you!</title></head>
    <body>
    <h3>Thank you for your faq!</h3>
    Your faq has been successfully inserted to the database!
    <table>
    <xsl:for-each select="page/faq">
    <tr>
    <td><xsl:value-of select="question"/></td>
    <td><xsl:value-of select="answer"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </body>
    </html>
    Anything I am missing here that caused that error? Any hints would be greatly appreciated!
    Wenqi
    null

    Do the XSQL Demos work correctly on your system?
    The error you're getting seems like maybe the *.xsql extension is not mapped properly to the oracle.xml.xsql.XSQLServlet class in your servlet engine.

  • Top sessions from sql

    hi
    How can i get the top 5 or 2 users who consuming large physical and logical i/o s,like we getting the top sessions in OEM.I dont want to use OEM.Is it v$filestat and v$session?
    with regards
    ramya

    You can use v$sesstat and v$session. Something like :
    select * from (select
    b.username,
    b.terminal,
    to_char(b.logon_time,'dd/mm/yyyy hh24:mi:ss'),
    b.program,
    a.value
    from v$sesstat a, v$session b
    where a.statistic# in (40, 41, 42) and
    b.sid = a.siD and
    b.username is not null and
    b.username not like 'SYS%'
    order by a.value desc)
    where rownum < 6;In v$statname you can see all statistics, and eventually change statistic#.

  • Invalid value in HIR

    Hi,
    could some expert help me to resolve the following error
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Invalid value in [HIR].
    Source Error:
    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
      <%@ Page Language="C#" Debug="true" %>
    or:
    2) Add the following section to the configuration file of your application:
    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>
    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. 
    Stack Trace:
    [Exception: Недопустимое значение в [HIR].]
       Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +905
       OSoft.Consumers.ZFP.WebBase.PageBase.GetCurrentView() +518
       OSoft.Consumers.ZFP.WebBase.PageBase.get_CurrentView(String strDimension) +43
       ASP.Landing_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +96
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
       System.Web.UI.Control.Render(HtmlTextWriter writer) +7
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
       System.Web.UI.Page.ProcessRequestMain() +1926

    Yasynika,
    Please provide more detail,
    Which version of BPC?
    Where or how did you get his error? e.g when you try to process Dimension?
    was the application / dimension working before?
    Sam

  • Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document.Line.

    Using Installation wizard to deploy SSIS packages from DEV server to QA server package store cause this error;
    Failed to load XML from the package file "" due to error 0xC00CE556 "Invalid at the top level of the document. Line 773, Column 93". This happens when loading a package and the file cannot be opened or loaded correctly into XML document.  This can be the
    result of either providing an incorrect file name to the LoadPackage method or the XML file specified having an incorrect format.  Please who have the idea of how this issue can be resolved?BI Developer

    Hi ,
       for this Error one and only one solution 
    go to view Code, line number and Column number shown in error message,
    and Remove code from there till last and save it,  it happens when we are moving Package from one server to another server. and VS adds some lines of code at the bottom of package
    something like this 
    andles="1" allownudging="1" isannotation="0" dontautolayout="0" groupcollapsed="0" tabstop="1" visible="1" snaptogrid="0"&gt;
        &lt;control&gt;
          &lt;ddsxmlobjectstreaminitwrapper binary="00080000921400008c040000" /&gt;
        &lt;/control&gt;
        &lt;layoutobject&gt;
          &lt;ddsxmlobj&gt;
            &lt;property name="LogicalObject" value="{BBFB0E
    Remove this code and save package it will work.  
    hope this will help to Developers who are searching for same ......... :) 

  • About Top session in a DB

    Hi,all,
    I need to decide what is top session in a DB, to see how much it would consume resource in that server. When I use TOAD to do it, I find these are so many factors when I make dicision. such as "CPU used by","Physical write" ...
    That means "It is top session sort by CPU used by". So I want to know those essential factors, by which certain session would consume much resource.
    Do you have any advice? Are there any scripts on hand to do this job,except third-part tool like TOAD?
    Robin

    However when I want to work with the top sessions I use the Performance Manager ( This is part of OEM ). These are its advices and descriptions.
    Top SessionsSessions are displayed in descending order based upon the delta value of the statistic chosen as the sort statistic. This is a customizable chart that allows sorting and filtering of sessions based upon a number of user settable criterion.Typically the session that is performing the most I/O is the session that should be targetted for tuning. To identify the SQL statement the session is currently executing you can drill down to the Current SQL Chart. From this drilldown you can choose to tune the SQL statement directly.Complete detailed information about any session can be found by selecting the session and drilling down to the Session Details Chart. This chart allows you to view the current SQL statement as well as resource consumption and performance metrics at the same time.The list of all cursors the session has currently open is available through the Open Cursors For This Session Chart. This helps identify all the SQL statements the session is using. From this chart SQL statements can be selected for tuning further drilldown and analysis.This chart can be used to create a customized Top Sessions view. All of the available statistics and identifiers for sessions are shown in a large table by default. By using the Set Options button in the toolbar the chart can be customized to show only the items of interest and the sort criteria can be changed. Customized charts can then be saved, named and accessed directly by name. Specific advice for each of the data items shown on this chart is available below.This chart includes the following data items:
    Session NameDescription This data item represents either the Oracle username of the current session or, if the session is owned by an Oracle background process, the name of the background process. Data Source select NVL(s.username, b.name) from v$session s, v$bgprocess b User Action The session name is useful in determining which database users are consuming the most resources. If there is a need to prevent a particular session from consuming too much, one way to control resource usage is to create a resource profile. This profile can then be applied to the Oracle user specified in the session name. The profile provides hard limits on any resource that is explicitly added to it. Some of the resources that can be controlled with profiles are cpu usage, idle time, connect time, etc.
    OS UsernameDescription This data item represents the name of the operating system client user. That is the username reported at the time of the database connection time from the operating system. Data Source select osuser from v$session User Action The operating system username can be useful if more than one OS user shares a particular Oracle account (such as SYSTEM). If the session name is not unique, the OS username may provide the identity of the user for the session.
    and so on...
    Do you have OEM ?
    Joel Pérez

  • How To Print Field Value in TOP-OF-PAGE During Line Selection.

    How To Print Field Value in TOP-OF-PAGE During Line Selection when double click on field.

    (If my memory serves me well (not used for long time ago)
    Assign values to system fields sy-tvar0 - sy-tvar9, they will replace the placeholders "&0" through "&9" in the list headers and column headers.
    TOP-OF-PAGE DURING LINE-SELECTION.
         WRITE: / 'Interactive Report &3'.
      WRITE record-vbeln TO sy-tvar3.
    Regards,
    Raymond

  • Calling report from FORM - error Invalid value of paramente 'P_YEAR'

    Hi guys,
    Could you please help me to figure out what is going wrong
    with my form which run a report?
    I am using Developer suite 10g.
    when i run report from report application it run fine,
    but when i call that report from a form it gives me error.
    I have checked the datatype, checked the parameter value
    that I assign from form is available in the report parameter value.
    What else do i have to check in order to run this report
    from the form.
    Error Message from Report Queue Manager:
    Invalid value for parameter 'P_YEAR'.
    Your insight will be appreciated.

    Thank you for reply Denis,
    Here is the code which run_report from form.
    DECLARE
    -- variables for running individual reports
    report_filename               VARCHAR2(40);
    var_reportpath               VARCHAR2(100);
    report_otherparms      VARCHAR2(200);
    -- variables to keep track of successful reports in silent mode
    rep_status                         VARCHAR2(40);
    rep_req                                   NUMBER := 0;
    rep_count                              NUMBER := 0;
    dummy                                        NUMBER;
    -- variables to load the report names and checkboxes into the parameter list
    pl_id                                        PARAMLIST;
    plname                                   VARCHAR2(20) := 'rpt_list';
    -- variables to loop through the parameter list and run the reports
    i                                                  NUMBER;
    split_loc                              NUMBER;
         param_value                         VARCHAR2(40);
         checkbox_name                    VARCHAR2(40);
         report_basename               VARCHAR2(40);
         svc_name                              VARCHAR2(4);
         run_report                         BOOLEAN;
         disp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'DISP',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    hosp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'HOSPICE',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    orth_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'O/P',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    BEGIN
    -- Are any reports selected?
    IF BOXES_ARE_CHECKED(:System.Cursor_Block,'PRINT_NULL_REPORT') THEN
    if not CHECKBOX_CHECKED('print_null_report') then
    disp_exist := TRUE;
    orth_exist := TRUE;
    hosp_exist := TRUE;
    end if;
    -- Create Report Parameter Listing
    pl_id := GET_PARAMETER_LIST(plname);
    if NOT ID_NULL(pl_id) then
         DESTROY_PARAMETER_LIST(pl_id);
    end if;
    pl_id := CREATE_PARAMETER_LIST(plname);
    if ID_NULL(pl_id) then
         GENERIC_ALERT('Error creating report listing');
         RAISE Form_Trigger_Failure;
    end if;
    ADD_PARAMETER(pl_id,'id1', TEXT_PARAMETER,'cover_page_intro!INTRO');
    ADD_PARAMETER(pl_id,'id2', TEXT_PARAMETER,'utilization_profile!ALLUTIL');
    ADD_PARAMETER(pl_id,'id3', TEXT_PARAMETER,'utilization_summary!ALL_SUMMARY');
    ADD_PARAMETER(pl_id,'id4', TEXT_PARAMETER,'hiv_profile!HIV_PROFILE');
    ADD_PARAMETER(pl_id,'id5', TEXT_PARAMETER,'wound_care_profile!WOUND_CARE_PROF');
    ADD_PARAMETER(pl_id,'id6', TEXT_PARAMETER,'top_10_diagnosis!TOP10DIAG');
    ADD_PARAMETER(pl_id,'id7', TEXT_PARAMETER,'diagnosis_profile!DIAG_PROFILE');
    ADD_PARAMETER(pl_id,'id8', TEXT_PARAMETER,'physician_profile!PHYS_PROFILE');
    ADD_PARAMETER(pl_id,'id9', TEXT_PARAMETER,'physician_specialty!PHYS_SPECIALTY');
    ADD_PARAMETER(pl_id,'id10',TEXT_PARAMETER,'discharge_profile!DISCHARGE_PROFILE');
    ADD_PARAMETER(pl_id,'id11',TEXT_PARAMETER,'acute_care_discharge!ACUTE_DSCHRG');
    ADD_PARAMETER(pl_id,'id12',TEXT_PARAMETER,'excessive_cost_patients!EXCESSIVE_COST');
    ADD_PARAMETER(pl_id,'id13',TEXT_PARAMETER,'provider_profile!PROV_PROFILE');
    ADD_PARAMETER(pl_id,'id14',TEXT_PARAMETER,'service_profile!SERVICE_PROFILE');
    ADD_PARAMETER(pl_id,'id15',TEXT_PARAMETER,'age_gender_profile!AGE_GENDER_PROF');
    ADD_PARAMETER(pl_id,'id16',TEXT_PARAMETER,'network_services!NETWORK_SERVICES');
    ADD_PARAMETER(pl_id,'id17',TEXT_PARAMETER,'thh_section_header!THH_COVER');
    ADD_PARAMETER(pl_id,'id18',TEXT_PARAMETER,'thh_utilization!THH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id19',TEXT_PARAMETER,'thh_service_profile!THH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id20',TEXT_PARAMETER,'hit_section_header!HIT_COVER');
    ADD_PARAMETER(pl_id,'id21',TEXT_PARAMETER,'hit_utilization!HIT_UTILIZATION');
    ADD_PARAMETER(pl_id,'id22',TEXT_PARAMETER,'hit_service_profile!HIT_SVC_PROF');
    ADD_PARAMETER(pl_id,'id23',TEXT_PARAMETER,'hme_section_header!HME_COVER');
    ADD_PARAMETER(pl_id,'id24',TEXT_PARAMETER,'hme_utilization!HME_UTILIZATION');
    ADD_PARAMETER(pl_id,'id25',TEXT_PARAMETER,'hme_service_profile!HME_SVC_PROF');
    ADD_PARAMETER(pl_id,'id26',TEXT_PARAMETER,'disp_section_header!DISP_COVER');
    ADD_PARAMETER(pl_id,'id27',TEXT_PARAMETER,'disp_utilization!DISP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id28',TEXT_PARAMETER,'disp_service_profile!DISP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id29',TEXT_PARAMETER,'hosp_section_header!HOSP_COVER');
    ADD_PARAMETER(pl_id,'id30',TEXT_PARAMETER,'hosp_utilization!HOSP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id31',TEXT_PARAMETER,'hosp_service_profile!HOSP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id32',TEXT_PARAMETER,'orth_section_header!ORTH_COVER');
    ADD_PARAMETER(pl_id,'id33',TEXT_PARAMETER,'orth_utilization!ORTH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id34',TEXT_PARAMETER,'orth_service_profile!ORTH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id35',TEXT_PARAMETER,'encounter_detail!ENCOUNTER_DETAIL');
    --- set up other parameters to send to generate_report
    if :reports_control.output_choices = 'FILE' then
    var_reportpath := :global.report_directory || :reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         var_reportpath := var_reportpath || 'q' || :reports_control.quarter_list;
    end if;
    var_reportpath := var_reportpath || '_G' || :reports_control.group_list || '_';
    else
         var_reportpath := '';
    end if;
    report_otherparms := 'p_year='||:reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         report_otherparms := report_otherparms || '     p_quarter='||:reports_control.quarter_list;
    end if;
    report_otherparms := report_otherparms || ' P_REPORTGROUPID='||:reports_control.group_list;
    --- Check if reports are checked and submit to Reports Server
         for i in 1..35 loop
              GET_PARAMETER_ATTR(pl_id,'id'||i,dummy,param_value);
              split_loc := instr(param_value,'!');
              checkbox_name := substr(param_value,1,split_loc-1);
              report_basename := substr(param_value,split_loc+1,length(param_value));
    if CHECKBOX_CHECKED(checkbox_name) then
         run_report := TRUE;
         svc_name := substr(report_basename,1,4);
         if svc_name = 'DISP' then
              if not disp_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'ORTH' then
              if not orth_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'HOSP' then
              if not hosp_exist then
                   run_report := FALSE;
              end if;
         end if;
         if run_report then
              report_filename := :global.filename_prefix || report_basename || '_10G';---- :global.filename_prefix || report_basename || :global.filename_suffix;
         GENERIC_ALERT(report_filename || ' ' || report_otherparms);
              rep_status := GENERATE_REPORT(report_filename,:reports_control.output_choices,var_reportpath,report_otherparms);
              rep_req := rep_req + 1;
              if rep_status = 'FINISHED' then
                   rep_count := rep_count + 1;
              end if;
         end if;
         end if;
         end loop;
    -- if we're in silent mode, display a completion message
         if :reports_control.output_choices = 'FILE' and CHECKBOX_CHECKED('chk_silent') then
              SET_ALERT_PROPERTY('REPORT_CREATED',alert_message_text,
         '' || rep_count || ' of ' || rep_req || ' reports created successfully');     
              dummy := SHOW_ALERT('REPORT_CREATED');
    end if;
    ELSE
    dummy := SHOW_ALERT('select_report');
    END IF;
    END;

  • Invalid value for variable 0calyear in planning modeller

    Hi Experts,
    I have an urgent requirement. In my planning modeller I have a variable for 0calyear for accepting current year and target year. If I give target year(for example, 2015) which is not present in 0calyear it is showing error that 2015 is an invalid value for 0calyear. If I give 2012 it is working fine because it is already present in 0calyear.
    I would like to know how we can solve this issue. To forecast data anyway we have to enter a future year. I would really appreciate if anyone could give some information to solve the issue.
    Thanking you,
    Jerry.

    Hi Jerry,
    Just a thought.
    Can you load a flat file data with year values into a DSO with 0CALYEAR as key? ( SID generation as active ).
    What I am expecting is this flat file load will generate SIDs for 0CALYEAR in future year as well.
    Subsequently if you try to enter that in your planning variable it should work.
    I understand this is not a perfect solution. But want you to try and adopt if this is a reasonable work around.
    Thanks,
    Krishnan

  • SQLJ-JPublisher - J2T-153, Invalid value for -context:while generating the

    Hi All,
    I am trying to generate the java code for the oracle types defined for one of the module in our project.for that i have defined a new context by extending the 'DefaultContext'
    provided by SQLJ and as mentioned in the below URL.
    http://docs.oracle.com/cd/A91202_01/901_doc/java.901/a90214/jpub.htm
    Topic : JPublisher Generation of SQLJ Classes
    MyContext:-
    import java.sql.Connection;
    import java.sql.SQLException;
    import sqlj.runtime.ref.DefaultContext;
    public class MyContext extends sqlj.runtime.ref.DefaultContext{
    static {
    DefaultContext defaultContext = null;
    try {
    defaultContext = new DefaultContext(<datasource>);
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    DefaultContext.setDefaultContext(defaultContext);
    public MyContext(Connection arg0) throws SQLException {
    super(arg0);
    public Connection getConnection(){
    Connection con = null;
    try {
    con = <datasource>getConnection();
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    return con;
    JPub command:
    jpub -user=usr/pwd -context=com.test.context.MyContext -sql=<My Types Here> -compile=false
    I am getting the below error while running the jpub command in dos prompt.
    Error Log:
    J2T-153, Invalid value for -context: com.test.context.MyContext. This must be set to generated or to DefaultContext.
    Please let me know if anybody has come across this problem before.
    Thanks,
    Vijay
    Edited by: 905698 on 03-Jan-2012 09:53

    Hi Vijay,
    This post DOES NOT correspond to this forum.
    The current forum is for BI Publisher. Your question is for JPublisher and believe it corresponds to PL/SQL forums.
    Please close the thread
    thanks
    Jorge

  • Portal Invalid at the top level of the document.  Error processing resource...

    We installed WebLogic Portal.  We were able to bring up the webpage while we were configured on port 80.  As soon as we wired the portal for port 443, it would not display page.  Error:   Invalid at the top level of the document. Error processing resource...
    We are on a VM with Redhat Linux 5.  Oracle Weblogic portal 10.3.5
    Has anyone had this issue in the past and was able to resolve it?

    Did you upgrade your Portal to 10.1.4? Are you using the Web Cache port # or the HTTP Server port #? You can get this error message if you use the HTTP Server port # on Portal 10.1.4.

  • I am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me

    Dear ALL,
    i am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me solutions.
    var myBookFileName ,myBookFileName_temp;
                    if ( myFolder != null )
                            var myFiles = [];
                            var myAllFilesList = myFolder.getFiles("*.indd");    
                            for (var f = 0; f < myAllFilesList.length; f++)
                                        var myFile = myAllFilesList[f]; 
                                        myFiles.push(myFile);
                            if ( myFiles.length > 0 )
                                        myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
                                        myBookFileName_temp=myFolder.name ;
                                        myBookFile = new File( myBookFileName );
                                        myBook = app.books.add( myBookFile );  
                                       myBook.automaticPagination = false;
                                        for ( i=0; i < myFiles.length; i++ )
                                                   myBook.bookContents.add( myFiles[i] );             
                                        var pdfFile =File(File(myFolder).fsName + "\\"+myBookFileName_temp+"_WEB.pdf");
                                        var bookComps = myBook.bookContents;
                                        if (bookComps.length === 1)
                                                       bookComps = [bookComps];
                                         var myPDFExportPreset = app.pdfExportPresets.item("AER6");
                                        app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFEx portPreset,bookComps);
                                      //myBook.exportFile (ExportFormat.pdfType, pdfFile, false);
                                      //myBook.exportFile(pdfFile, false, pdfPref, bookComps);
                                        myBook.close(SaveOptions.yes);      

    Change the below line:
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset,bookComps);
    to
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset);
    Vandy

  • REP-2103: PL/SQL formula returned invalid value or no value

    Hi all,
    Before clone the report GEPS FA Prepare Mass Addition Report runs fine. But after cloned from production, it shows error:
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    REP-2103: Column 'G_MASS_ADDITION_INVOICE' : PL/SQL formula returned invalid value or no value.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-2103: Column 'G_MASS_ADDITION_INVOICE' : PL/SQL formula returned invalid value or no value.
    Actually I didn't have such column 'G_MASS_ADDITION_INVOICE'. This is a group name. I tried a lot, such as widden the formula column width or delete the formula column, but it still show this error. I didn't have any trigger or other formula column. Even I create a new report use the same name with a single query( select sysdate from dual), but it still shows the same error.
    Is there anyone faced this issue before or can help me ? Thanks
    ares
    Edited by: 930967 on Jun 13, 2012 12:46 AM

    Hi;
    Please see:R12 GL Account Balances Across Ledgers (GLRGCBGT) Report Errors With: REP-0004 MSG-00025 MSG-00104 MSG-01221 REP-2103 REP-0069 REP-57054, Program Exited With Status 1 [ID 1316929.1]
    Regard
    Helios

  • Invalid value in OPTION field of value table for IN itab operator. operato

    Hi,
    I am working on SELECT-OPTIONS to accept single and multiple values for company code. I am using CREATE_RANGE_TABLE and ADD_SELECTION_FIELD and all is good but I was prompted with error "Invalid value in OPTION field of value table for IN itab operator. operator"  when I enter 2 single value.
    SIGN OPTION LOW  HIGH
        |      |CN01|    |
        |      |SG02|    |
    However, below combinations working good for me and I don't get the above error.
    SIGN OPTION LOW  HIGH
    I   |BT   |CN01|CN02|
         |     |SG02|    |
    SIGN OPTION LOW  HIGH
         |     |SG02|    |
    I am using below coding.
      DATA:
        ls_cmp_restrictions TYPE if_wd_select_options=>t_complex_restrictions,
        ls_rsoptions        TYPE rsoptions.
      CLEAR ls_rsoptions.
      ls_rsoptions-bt = abap_true.
      ls_rsoptions-cp = abap_false.
      ls_rsoptions-eq = abap_true.   " for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_cmp_restrictions-m_exclude = ls_rsoptions.
      CLEAR ls_rsoptions .
      ls_rsoptions-bt = abap_true.
      ls_rsoptions-cp = abap_false.
      ls_rsoptions-eq = abap_true.   " for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_cmp_restrictions-m_include = ls_rsoptions.
    * Create a reference to range table
      lr_field = wd_this->m_helper->create_range_table( `BUKRS` ).
    * Add the select-option to the group
      wd_this->m_helper->add_selection_field(
        i_id                         = `BUKRS`
        i_value_help_structure       = 'P0001'
        i_value_help_structure_field = 'BUKRS'
        it_result                    = lr_field
        i_no_intervals               = abap_true
        i_no_extension               = abap_false
        i_complex_restrictions       = ls_cmp_restrictions
        i_use_complex_restriction    = abap_true ).
      FREE lr_field.
    Edited by: Girish Nabar on Jul 22, 2011 12:35 PM

    Hi Girish,
    People are answering not for points, just to share the knowledge.
    And I think the way of structure is wrong.  i think we cannot pass two single values in your way. am not sure about .
    low means it will accept single value. for one record in sign structure.
    wait for other replys.
    Regards
    Srinivas

  • Invalid at the top of the document error with fnd output

    I am using oracle standard of writing xml to the output directory using fnd_file.put_line(fnd_file.output,'<xxxxxx>'). On a rather random basis I am getting the following error when trying to open the output file. I specified utf8 in the first line of the xml file i produce. The xml is fine but tacks on an invalid character at the end of the file. If I remove the invalid character it can read the xml. The code is definitely not causing this and I can't seem to reproduce it on demand. When I see this happen on the xml outputs I can run a regular text based concurrent program and it too gets the extra invalid character on the end but doesn't affect that type of program.
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://testapps01.orangecounty.local:8013/OA_CGI/FNDWR...
    </EMP_ROSTER>
    Help! We are on 12.0.6 of the EBiz applications and on XML publisher version 5.6.3(XDO A)

    are you using DTD or anything else ?
    for DTD see last post in Re: how to register the .DTD file in Oracle Apps

Maybe you are looking for

  • New Awesome setup, a few questions.

    Hello everyone. Been tinkering away all day on a new lightweight setup using the Awesome WM. I like it a lot, but I have a few simple questions. I've tried searching the forums and the wiki to no avail. Hopefully it isn't because I wasn't looking har

  • Publish report as PDF to a network folder

    I'll take a chance and post this query here. We have been using Discoverer for 9+ years, against Oracle Financials. Most of our users are not that computer savy, and would rather have the report in a simple PDF or HTML format, delivered to their netw

  • Report with more than 30 columns

    XML Pub Gurus, I have a requirement where I need to create a table layout with proper spacing for more than 30 columns and I asked this question in Open World XML Pub team and they responded to my question as "The page size in word has to be increase

  • Probably not the right section but....  Java Machine error?

    three computer in a dental office which i've installed the dental software on. (connected to a server) 2 of the three work flawlessly however one computer gives this error when trying to connect to an EDI server or print. Couldn't Start Java Mahine -

  • Getting error while using BAPI  'BAPI_GOODSMVT_CREATE'

    Hi, I am using the BAPI 'BAPI_GOODSMVT_CREATE' in program for goods issue i.e code 03.I am providing all details. the quatity is in KG and i am also providing ISO code i.e KGM but still getting error that Deficit of BA Unrestricted-use 32,900 KG .wha