Determining column throwing error

Hi all,
Given the following script :
create table my_test (
d1 date,
d2 date
alter session set nls_date_format='DD/MM/YYYY';
insert into my_test(d1,d2) values('01/01/2008','01/0/2009');
OUTPUT :
create table succeeded.
alter session set succeeded.
Error starting at line 1 in command:
insert into my_test(d1,d2) values('01/01/2008','01/0/2009')
Error report:
SQL Error: ORA-01843: ce n'est pas un mois valide
01843. 00000 -  "not a valid month"
*Cause:   
*Action:I have tried to insert an incorrect date voluntarily: the second date. Obviously, i can change this date and make my "insert".
But i'd like to know if somewhere, Oracle stores the information of the faulting field (d2). In this case, is it possible to retrieve this information and how ?
Stephan

, so you get your line number...I suppose the line number will be the line number of where the failing statement begins, so it won't be really of a big help:
SQL>  begin
   insert into my_test
       values (
                  to_date ('01/01/2008', 'DD/MM/RRRR'),
                  to_date ('01/0/2009', 'DD/MM/RRRR')
end;
Error at line 1
ORA-01843: not a valid month
ORA-06512: at line 2

Similar Messages

  • PL/SQL throwing errors! trying to alter dates

    the following code keeps throwing errors, I was wondering if it is due to me getting confused when to use ":" before a variable and also ":=" when setting values?
    Can anyone see what I am doing wrong?
    Here is the code, at the moment it is throwing an error on line 44
    ORA-06550: line 44, column 1:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    CODE.....
    DECLARE
         QNStart DATE;
         QNFinish DATE;
         Q1Start DATE;
         Q1Finish DATE;
         Q2Start DATE;
         Q2Finish DATE;
         Q3Start DATE;
         Q3Finish DATE;
         Q4Start DATE;
         Q4Finish DATE;
         Q5Start DATE;
         Q5Finish DATE;
         QNT NUMBER;
         Q1T NUMBER;
         Q2T NUMBER;
         Q3T NUMBER;
         Q4T NUMBER;
         QNR NUMBER;
         Q1R NUMBER;
         Q2R NUMBER;
         Q3R NUMBER;
         Q4R NUMBER;
    BEGIN
         case current_date
              when current_date between to_date('01-JAN', 'DD-Mon') AND to_date('31-MAR', 'DD-Mon') then
                        QNStart := to_date('01-JAN', 'DD-Mon');
                        QNFinish := to_date('31-MAR', 'DD-Mon');
              when current_date between to_date('01-APR', 'DD-Mon') AND to_date('30-JUN', 'DD-Mon') then
                        QNStart := to_date('01-APR', 'DD-Mon');
                        QNFinish := to_date('30-JUN', 'DD-Mon');
              when current_date between to_date('01-JUL', 'DD-Mon') AND to_date('30-SEP', 'DD-Mon') then
                        QNStart := to_date('01-JUL', 'DD-Mon');
                        QNFinish := to_date('30-SEP', 'DD-Mon');
              when current_date between to_date('01-OCT', 'DD-Mon') AND to_date('31-DEC', 'DD-Mon') then
                        QNStart := to_date('01-OCT', 'DD-Mon');
                        QNFinish := to_date('31-DEC', 'DD-Mon');
         End Case
    :Q1Start := ADD_MONTHS(:QNStart,-3);
    :Q1Finish := ADD_MONTHS(:QNFinish,-3);
    :Q2Start := ADD_MONTHS(:QNStart,-6);
    :Q2Finish := ADD_MONTHS(:QNFinish,-6);
    :Q3Start := ADD_MONTHS(:QNStart,-3);
    :Q3Finish := ADD_MONTHS(:QNFinish,-3);
    :Q4Start := ADD_MONTHS(:QNStart,-4);
    :Q4Finish := ADD_MONTHS(:QNFinish,-4);
    :Q5Start := ADD_MONTHS(:QNStart,-5);
    :Q5Finish := ADD_MONTHS(:QNFinish,-5);
    select COUNT(COUNT(*)) INTO :Q1T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q1Start AND :Q1Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q2Start AND :Q2Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q3Start AND :Q3Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q4Start AND :Q4Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNT from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :QNStart AND :QNFinish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q1R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q5Start AND Q5Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNR from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN QNStart AND QNFinish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    EXECUTE
    Cheers
    Simon

    Dave had given you already some good advice.
    Your code is not only too complicated, but you have also probably a bug in it. You have for instance a QNstart as to_date('01.01, 'dd.mm') and a corresponding QNfinish as to_date('31.03', 'dd.mm'). As this means, it is the time portion at 00:01, you are missing the complete last day of this interval. So you better do:
    declare
      l_QNstart      date;
      l_Q1start      date;
      l_Q1finish     date;
      l_q1t          number
    begin
      l_QNstart := trunc(sysdate, 'Q');
      l_Q1start := add_months(l_QNstart, -3);
      l_Q1finish := l_QNstart;
      -- your condition is now
      select count(count(*))
      into   l_q1t
      from   ff_actions f, ff_action_type_lov a
      where  f.date_entered >= l_Q1start and f.date_entered < l_Q1finish
      and    a.action_score = 'y'
      and    f.input_type = a.action_name
      group by f.company_name;
    end;
    /Message was edited by:
    Leo Mannhart
    btw: what is the difference between Q1Start / Q3 Start and Q1Finish / Q3Finish resp.?

  • Invalid column Index error - While consuming Calculation view via Native SQL

    Hi Experts,
    I am trying to consume a Calculation view (sql script one) , which has input parameters, via Native SQL in a ABAP program .
    Code snippet for the same would be as follows , Upon execution, it throws an error "Invalid Column Index (8) error " . Can anyone help what could be the issue here ?
    Thanks in Advance,
    Suma
    REPORT ZTEST_HANA2.
    *Report to consume Calculation view (script based) from ABAP
    PARAMETERS: ip_docnr type BELNR_D,
                ip_gjahr type GJAHR,
                ip_bukrs type BUKRS,
                ip_blgr type FAGL_RLDNR.
       DATA: LO_SQL_STMT TYPE REF TO CL_SQL_STATEMENT,
              LO_CONN     TYPE REF TO CL_SQL_CONNECTION,
              LO_RESULT   TYPE REF TO CL_SQL_RESULT_SET,
              LV_SQL      TYPE STRING,
              LR_DATA     TYPE REF TO DATA.
        DATA: LX_SQL_EXC           TYPE REF TO CX_SQL_EXCEPTION,
              LT_SEPMAPPS_CLSDINV  TYPE TABLE OF SEPMAPPS_CLSDINV,
              LV_TEXT              TYPE STRING.
        TRY.
    lv_sql = |SELECT * FROM "_SYS_BIC"."DEMO-ABAP/CA_GET_FI_DATA" | &&
                     |WITH PARAMETERS ('placeholder'= ('$$p_DOCNR$$','{ ip_docnr }'),| &&
                      |'placeholder'=('$$p_GJAHR$$','{ ip_gjahr }')| &&
                      |,'placeholder'= ('$$S_BUKRS$$','{ ip_bukrs }')| &&
                      |,'placeholder'= ('$$p_base_ledger$$','{ ip_blgr }') )| .
             LO_CONN = CL_SQL_CONNECTION=>GET_CONNECTION( ).
             "Create an SQL statement to be executed via the connection
              LO_SQL_STMT = LO_CONN->CREATE_STATEMENT( ).
             "Execute the native SQL query
             LO_RESULT = LO_SQL_STMT->EXECUTE_QUERY( LV_SQL ).
             "Read the result into the internal table lt_sepmapps_clsdinv
             GET REFERENCE OF LT_SEPMAPPS_CLSDINV INTO LR_DATA.
             LO_RESULT->SET_PARAM_TABLE( LR_DATA ).
             LO_RESULT->NEXT_PACKAGE( ).
             LO_RESULT->CLOSE( ).
             LO_CONN->CLOSE( ).
        CATCH CX_SQL_EXCEPTION INTO LX_SQL_EXC.
             LV_TEXT = LX_SQL_EXC->GET_TEXT( ).
             MESSAGE LV_TEXT TYPE 'E'.
        ENDTRY.

    Hi Suma,
    Post the SQL you success run directly on Studio together with error message (even if is the Invalid column index error).
    Check there if the parameters case is working properly... Is it really this confusing options:
    p_GJAHR
    S_BUKRS
    p_base_ledger
    Why not all lower or all upper? Anyhow you must test and find which option works according your modeling
    Regards, Fernando Da Rós

  • Script throwing error" Object required: 'API'

    Hi All,
    We need help in one issue. We have following script which is running fine when we ran it from script editor, but when use this as expression in import format is throwing error
    Error: An error occurred importing the file.
    Detail: Object required: 'API'
    At line: 12
    Script:
    Function ME_to_LE(strField, strRecord)
    ME_to_LE =API.SqlMgr.fMapItemLookup (749, "UD8", Left(strField,3))
    End Function
    We have created few other Scripts which are running fine and producing required result when we check them with MsgBox. But when we are using these scripts in import format it is saying: Object required: 'API'
    IF I can not use API object in import script, how can I process multiple column with one script. We need to derive three-four column based on one input column and we don't want to write separate import script for each column. How and where we can write this script?
    Are we missing any step? Any help will be highly appreciated. Looks I asked long question :)
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 9:30 AM
    Edited by: shiv2 on Sep 16, 2011 10:36 AM

    Hi Robb,
    "It looks like you and James are on the same project" That is correct.
    OK. In requirment we have three-four column based on these column we need to derive few other column. We want to do spilitting and validation in Import itself. This is mainly a Validation requirment.
    There is one column which may have 12,13,14,17 or any other number of character in it. first three will represent one dimension but exact value be a mapped result based on these three digits.
    There are many validation based on the number on charaters and most importantly we don't want to process other column is validation get failed at any stage.
    Do we have anything like Import Action? Probably we want to change that script. Or if we can write something like integration script. We need every column to be processed in one shot.
    I don't think it is self explantry. Can we have your email please?
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 8:52 PM

  • Sybase JDBC driver & Invalid column name error

    I submitted a note a year ago concerning JDBC-ODBC bridge and SQL Server db. Same Invalid column name error. The resolution was a bug in the XSU code.
    This time the error is with a jconnect5 JDBC driver from Sybase to a Sybase ASA db. ASA is Adaptive Server Anywhere.
    <ERROR xsql-timing="140">oracle.xml.sql.OracleXMLSQLException: S0022: Invalid column name 'name'.</ERROR>
    However if I use a Sybase JDBC driver from INet Software of Germany, I get the desired result of my query.
    Below are sample XSQLConfig.xml definitions.
    INet Software Sybase JDBC driver definition:
    - <connection name="deasa">
    <username>dba</username>
    <password>sql</password>
    <dburl>jdbc:inetsyb:LEMKAU:2638?database=asademo</dburl>
    <driver>com.inet.syb.SybDriver</driver>
    <autocommit>true</autocommit>
    </connection>
    Sybase jconnect5 Sybase JDBC driver definition:
    - <connection name="asa">
    <username>dba</username>
    <password>sql</password>
    <dburl>jdbc:sybase:Tds:lemkau:2638?ServiceName=asademo</dburl>
    <driver>com.sybase.jdbc.SybDriver</driver>
    <autocommit>true</autocommit>
    </connection>
    I believe the bug has to do with the numeric codes that the drivers use to determine data types are not properly interpreted.
    See XML General note title "insert-request, xsu 2.1.0 beta & SQL Server" for reference.
    Steve.

    Thanks for the notification. We will look into this issue...

  • Oracle DB Query Generating Invalid Column Index error

    Dear All,
    Apologies for a question on this rather basic error but I don't understand why i'm experiencing the behaviour described.
    The piece of code below connects to a database, runs a query, then attempts to display the contents of the resultset. I understand from other posts on the topic that the query I am executing (INSERT INTO table VALUES (...)) as in the comments below needs to have autocommit disabled to allow me to access the resultset without the transaction closing.
      public void runQuery(String query) throws Exception {   Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection(database, username, password); con.setAutoCommit(false); Statement st = con.createStatement();         ResultSet rs = st.executeQuery (query);         // "select * from user_tables"         // "INSERT INTO BH VALUES ('','2.25','Dark Red','Samsonite','4987638762')"         while (rs.next()) {         System.out.print (rs.getString(1)); // Exception thrown here     }         con.commit(); st.close();   con.close();   }
    I have removed try {} catch {} error handling for clarity.
    I am receiving the invalid column index error from the indicated line, which clearly suggest column 1 doesn't exist, however if i run the same query in another tool, something like the following is returned:
    Rows Affected
    1
    The query is being received by the database as the row ends up in the table intact, so I am clearly missing something about how to access the resultset correctly.
    I am guessing that I am either misusing/misunderstanding the autocommit option or that the resultset is different to what I am expecting...
    Can someone please shed a little light?
    Many thanks!
    George

    Ok, I've done a little more digging, and i've come to the conclusion that an INSERT query doesn't return a resultset (or returns an empty one)
    Could someone with a little more knowledge confirm this as I've had little luck finding an explicit yes or no from the web!
    Many Thanks in advance...

  • FI SUBSTITUTION throwing error

    Hi,
    I copied RGGBS000 into ZBGGBS000 and added two exits U102 and U103 to it  after that we did all the steps required  like going to GCX2 then OB28 .......steps that are required to have custom include for substitution.
    now when we are transporting the customizing request which has these customizing changes it shows following error during transport
    User exit UFP00 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP01 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP04 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP05 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP06 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP13 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP02 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP30 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP31 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    User exit UFP32 not declared in form pool RGGBS000
    Postprocessing necessary when upgrade has been completed
    The sequence of transports are correct.
    Whan i am worried is how come these series of user exit are throwing error they are neither present in RGGBS000 or my version ZGGBS000. Can any one let me know how/where these exit UFP00  are called and declared.

    Have you added all your exits to the GET_EXIT_TITLES subroutine at the top of the program?  See below.
    *       FORM GET_EXIT_TITLES                                           *
    *       returns name and title of all available standard-exits         *
    *       every exit in this formpool has to be added to this form.      *
    *       You have to specify a parameter type in order to enable the    *
    *       code generation program to determine correctly how to          *
    *       generate the user exit call, i.e. how many and what kind of    *
    *       parameter(s) are used in the user exit.                        *
    *       The following parameter types exist:                           *
    *       TYPE                Description              Usage             *
    *       C_EXIT_PARAM_NONE   Use no parameter         Subst. and Valid. *
    *                           except B_RESULT                            *
    *       C_EXIT_PARAM_FIELD  Use one field as param.  Only Substitution *
    *       C_EXIT_PARAM_CLASS  Use a type as parameter  Subst. and Valid  *
    *  -->  EXIT_TAB  table with exit-name and exit-titles                 *
    *                 structure: NAME(5), PARAM(1), TITEL(60)
    FORM get_exit_titles TABLES etab.
      DATA: BEGIN OF exits OCCURS 50,
              name(5)   TYPE c,
              param     LIKE c_exit_param_none,
              title(60) TYPE c,
            END OF exits.
      exits-name  = 'U100'.
      exits-param = c_exit_param_none.
      exits-title = text-100.             "Cost center from CSKS
      APPEND exits.
      exits-name  = 'U101'.
      exits-param = c_exit_param_field.
      exits-title = text-101.             "Cost center from CSKS
      APPEND exits.
    * begin of insertion                                          "wms092357
      exits-name  = 'U200'.
      exits-param = c_exit_param_field.
      exits-title = text-200.             "Cons. transaction type
      APPEND exits.                       "from xref1/2
    * end of insertion                                            "wms092357
    * PLEASE DELETE THE FIRST '*' FORM THE BEGINING OF THE FOLLOWING LINES *
    *        IF THE ACCOUNTING MODULE IS INSTALLED IN YOUR SYSTEM:         *
    *  EXITS-NAME  = 'U102'.
    *  EXITS-PARAM = C_EXIT_PARAM_CLASS.
    *  EXITS-TITLE = TEXT-102.             "Sum is used for the reference.
    *  APPEND EXITS.
    ** EXIT EXAMPLES FROM PUBLIC SECTOR INDUSTRY SOLUTION
    ** PLEASE DELETE THE FIRST '*' FORM THE BEGINING OF THE FOLLOWING LINE
    ** TO ENABLE PUBLIC SECTOR EXAMPLE SUBSTITUTION EXITS
      INCLUDE rggbs_ps_titles.
      REFRESH etab.
      LOOP AT exits.
        etab = exits.
        APPEND etab.
      ENDLOOP.
    ENDFORM.                    "GET_EXIT_TITLES

  • Jpub invalid column name error

    I try to create a Wrapper for a PL/SQL Package in a Oracle8i database with jpublisher.
    I created Packages and Object Types with the SQl script Rational.sql. \oracle\ora81\sqlj\demo\jpub\Rational.sql
    jpub failed to produce any sqlj or java files, but produces a "invalid column name" error. This happened with all packages I have tested. Object Types are wrapped without problems.
    jpub -sql=RationalP -user=scott/tiger -url=jdbc:oracle:oci8:@xx
    SCOTT.RATIONALP
    ORA-00904: invalid column name
    JPub: Java Object Type Publisher, version 8.1.7.0.0 Production
    Thanks for Help, Konrad

    The database that your are running against is 8.1.6 or earlier.
    You are seeing an issue where JPublisher is not backwards compatible. It looks up system tables to determine the signatures of SQL types and of PL/SQL packages. A change happened with the 8.1.7 release in the representation for packages, but JPublisher did not keep backward compatibility. You can do one of the following:
    (1) Use the JPublisher version that came with your database. (Use the runtime.zip/translator.zip libraries under [Oracle Home]/sqlj/lib.)
    (2) Use the JPublisher from Oracle 9.0.1 or later. It also provides backward compatibility to 8i databases.
    Let us know if you have any further questions.

  • Wwsbr_notification_portlet.show_approval - Approve button throws error

    <p>
    Portal Version: 9.0.4.2<br>
    RDBMS Versjion: 10gR1<br>
    OS/Vers. Where Portal is Installed:: Sun Solaris 9<br>
    Error Number(s): Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)<br>
    </p>
    <p>
    I have a procedure that looks for pending items in the portal content tables, then sends emails to all users in the approval routing for each pending item. For some older pages, when I navigate to the approval form from a link in the email and click on the approve button, portal throws "Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)". If I backup to the approval form again follow the link to the pending item's page in mode 25, I'm able to approve the same item without any problem.
    </p>
    <p>
    For newer test pages I create, public or private it doesn't matter, the error does not happen and approval works without a hitch. I've tried updating the approval routing on the new page to match that of the "old" page and still the new page doesn't throw this error.
    </p>
    <p>
    The URL that is used to launch the approval form is generated using the following code (domain name and some details have been removed):
    </p>
    <p>
    </p>
    <p>
    select <br>
    'https://my.domain/pls/portal/PORTAL.wwsbr_notification_portlet.show_approval?p_back_url=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D'
    || ia.site_id || '%2C' || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL&p_item_id='
    || ia.item_id || '&p_page_id=' || ia.page_id || '&p_title=' || t.title
    || '&p_title_link=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D' ||ia.site_id || '%2C'
    || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL%26_mode%3D25&p_instance_id='
    || ia.approval_instance_id ||'&p_approver_id=' || ia.approver_id ||'&p_approval_id=' || ia.approval_id || '">'
    || NVL(t.title, '[NO NAME]') || '</A>' As APPROVALFORMURL
    from wwsbr_item_approval$ ia, wwv_things t, wwpob_page$ p
    where t.id = ia.item_id
    and t.subscriber_id=ia.subscriber_id(+)
    and t.cornerid = p.id
    and t.id = approval_items_rec.id
    and rownum = 1;
    </p>
    <p>
    </p>
    <p>
    Has anyone else seen this kind of problem before?
    </p>
    <p>
    I've determined that the error that occurs after clicking on the Approve button from the pending item approval form generated by a call to PORTAL.wwsbr_notification_portlet.show_approval is caused whenever the approval routing for the item's page has a group in it and someone edits the membership of that group while there are any pending items on that page.
    </p>
    <p>
    IMHO, this is not a very good "feature" of Portal. Portal stops users from editing the approval routing list of a page that has pending items, but it doesn't stop users from editing the group membership of a group that is on that same approval routing list. If the page in question is busy with a lot of different content authors adding content pending approval at any time of any day, when is it safe for someone to edit the membership of a group that is referenced in the approval routing (or a group that is a member of a group referenced in the approval routing)? In my opinion, this needs to be fixed. Portal should lock all of the groups associated with the approval routing list either directly or by composition when it locks the approval routing itself.
    </p>
    I've been able to work around the error by navigating to the page in _mode=25 and clicking on the approval actions icon next to the pending item (approve button works when form is generated by the link that calls wwv_thinghtml.content_actions_screen. It may be that this only works because my session is as the page creator.
    <p>
    Can I use PORTAL.wwv_thinghtml.content_actions_screen instead of PORTAL.wwsbr_notification_portlet.show_approval to display the approval form, or could this cause problems with the approval routing procedure or security? I've tried it and it works with a portlet wrapper and some error checking (determine if item has already been approved/rejected).
    </p>

    hi,
    please open a service request with oracle support to analyze the problem.
    in portal 10.1.4 we offer an easy way of doing this with our new CMEF (content management event framework). you can easily check for pending items and send out an email.
    find more information here:
    http://download-uk.oracle.com/docs/cd/B14099_15/portal.1014/b14135/pdg_cm_cmef.htm
    regards,
    christian

  • "This page contains the following errors: error on line 1 at column 1: error on line 1 at column 1: Encoding error Below is a rendering of the page up to the first error"

    I am getting this error since purchasing my latest book:
    “This page contains the following errors: error on line 1 at column 1: error on line 1 at column 1: Encoding error
    Below is a rendering of the page up to the first error”
    This message also appears on some, but not all books I purchased earlier.
    I've tried to restart my iPhone (5) and downloaded iBooks (and the books itself) again several times but nothing has changed. I’m also synced the iPhone via iTunes without luck.
    It’s the latest version of iBooks from Appstore. The same books on iBooks for iPad and Mac working fine!
    iOS 7.0.6
    iBooks 3.2 (2083)

    Did you Reset your iphone?

  • Report throwing error

    Hi BI Experts,
    I have an issue in the report output. The query is giving the data but the report is not showing the same.
    when nonexisting values are given, report is throwing ERROR instead of giving blank page. Client is expecting blank page or dummy page with tables or headings etc but not the error message.
    Please suggest a solution for this.
    Let me know if anybody needs any other information regarding this.
    Thanks in advance.

    you need to use no data found logic in order to get blank or any message saying no data found for that selected value.
    check this link
    https://blogs.oracle.com/xmlpublisher/entry/no_data_found
    or
    send me your sample xml having data and no data and template i can try at my side. email: [email protected]
    assign me some points if helpful

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Function module throwing error from work area. Cannot find the problem...

    REPORT  ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
          f1 type zf1,
          f2 type zf2,
          f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB                       =   .
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    this is my driver program.In my form interface  there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
    Edited by: Julius Bussche on Nov 14, 2008 10:09 AM

    REPORT ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
    f1 type zf1,
    f2 type zf2,
    f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    ITAB = .
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plz for this driver program. Give me the exact solution.I am passing the information like itab  like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I  am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

  • SAP HANA XSODATA service (Service exception: column store error.)

    Hi all,
    i have a problem with my calculation view using xsodata service on it. (There's an input parameter called P
    _SWERK)
    In my calculation view, the data origin are two analytic views (on which the input parameter P_SWERK should be filter data at beginning of the sql script code).
    First i read the analytic views with function CE_OLAP_VIEW and after i do a CE_PROJECTION function on them using the input parameter P_SWERK like a filter on field SWERK.
    But when i run my application on browser the following error occurs :
    <message xml:lang="en-US">Service exception: column store error.</message>
    The link is this :
    http://host:port/Project_DM/services/Test/TEST_ZIIG_PDM_CALC_VIEW_FINAL_service.xsodata/PianiDiManutenzioneParameters(P_SWERK='CO05')/Results
    The service definition is :
    service {
    "EricssonItalgas/TEST_ZIIG_PDM_VIEW_FINAL.calculationview" as "PianiDiManutenzione" keys generate local "ID"
    parameters via entity;
    The SAP HANA AWS revision is 60.
    Someone could you help me,please?
    Thanks in advance.
    Dario.

    Hi Dario,
    Does the calculation view work without xsodata service? From the URL, your XS project name should be Project_DM, but from the xsodata source, the project name is EricssonItalgas. I'm confused with this. Did you use rewrite_rules or?
    Best regards,
    Wenjun

Maybe you are looking for

  • Collaboration By WebEx-EP6SP2

    Hello, I am trying to incorporate the busines package "Collaboration By WebEx". Through the Iview "WebEx Meetings" (com.sapportals.pct.col.webexmeetings.default) when I try "Schedule Meeting" link, I get below error. Error in executing a process for

  • Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

    Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

  • Open file in IE

    Hi all. how can i open a file in internet explorer from my java program? many thanks

  • Typing Test

    What is the best algorithm to score a typing test? A user types from a sample. You compare the two samples and determine how accurate the sample is. A missed word, an extra word or a misspelled word are wrong. Having more than 2 spaces between words

  • Classloader and Sun One Application Server 8

    Hello. The problem is that it is impossible to load the digester at application level. Instead of it the digester at application server (Sun One Application Server 8) level is loaded. How can I change the situation? Thanks.