Add a new column to an "Insert Form" created by HTMLDB Wizard throws Error

Hi,
My table design has changed and I had to add 2 new columns.
The corresponding Insert Form/Report/Update Forms created by the HTMLDB should now reflect the new columns that have been added.
In report and update forms I did not have a problem but in the Insert form, under Edit Page Process I tried to change the sql and I get the below error
"Encountered the symbol "end-of-file" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with "
My Edit Page Process SQL is as below-(Last two columns are the NEW columns i.e CDPL and CDPLCA)
insert into "L2ENTRIES"
("AUTONUML2E",
"ROLLNO",
"AWARDCODE",
"ROLLCLASSCODE",
"SURNAME",
"FORENAME",
"SEX",
"DOB",
"PPSNO",
"M1",
"M2",
"M3",
"M4",
"M5",
"M6",
"M7",
"M8",
"M9",
"M10",
"M11",
"M12",
"M13",
"M14",
"M15",
"M16",
"FEES",
"CNULLS",
"CDUPPPS",
"CROLL",
"CAWARDS",
"CMODULES",
"CHECKCHAR",
"CHECKNO",
"VALIDPPS",
"VALIDPPSUK",
"PPSNOPAD",
"CDPL",
"CDPLCA")
values (
:P3_AUTONUML2E,
:P3_ROLLNO,
:P3_AWARDCODE,
:P3_ROLLCLASSCODE,
:P3_SURNAME,
:P3_FORENAME,
:P3_SEX,
:P3_DOB,
:P3_PPSNO,
:P3_M1,
:P3_M2,
:P3_M3,
:P3_M4,
:P3_M5,
:P3_M6,
:P3_M7,
:P3_M8,
:P3_M9,
:P3_M10,
:P3_M11,
:P3_M12,
:P3_M13,
:P3_M14,
:P3_M15,
:P3_M16,
:P3_FEES,
:P3_CNULLS,
:P3_CDUPPPS,
:P3_CROLL,
:P3_CAWARDS,
:P3_CMODULES,
:P3_CHECKCHAR,
:P3_CHECKNO,
:P3_VALIDPPS,
:P3_VALIDPPSUK,
:P3_PPSNOPAD,
:P3_CDPL,
:P3_CDPLCA)
It will be great if some one can assist me in this matter.
Thanks.

Resolved this by a simple ";" at the end of the insert sql.
I did not think a ";" will be necessary because when you edit the page process a ";" is not visible.

Similar Messages

  • Want to add one new column in Report form

    Hi all,
    I have searched in forum but not able to find the answer.
    I want to add one new column in form 12KST1C. I have added one column PR commitment in left and saved the form, it is showing in form but when i am running the report again then pr commitment column which i have added in form is not coming in report.
    How to activate this form or column?
    Help me....in doing so...

    If you are copying the 12KST1C to Z12KST1C and executing the s_alr_8701333 report, you will not see the new column added to Z12KST1C
    With the new Form Z12KST1C, create a new Report Z12KST1C and assign a new TCODE. Also you have to select all rows and column of form Z12KST1C
    TCODE CJE5
    Select the form Z12KST1C
    Extras--Drildown display --Select Rows and columns
    Select the all colhmns by F9
    Hope this helps.
    Edited by: psconsultant on May 20, 2011 8:42 AM

  • Can't add a new column to LCD table? Option there, just wont add it.

    I have a LCD form with a table in it. Im trying to simply add a new column to the table. The option is there but the column just wont appear after clicking add Column to Left. I selected a column, right clicked the space > Insert > Column to left. But wont intsert. The table object properties tab shows rows and colum numbers but they are grayed out.
    See screenshots:
    http://www.emermed.net/staging/forums...
    http://www.emermed.net/staging/forums...
    This is a dynamic table where a new row can be inserted using a button. Is that dynamic nature the issue? Id hate to undo all the dynamic flow and programming just to add a column then reapply everything.
    Thanks!

    Hi,
    You don't add columns in the Object > Table palette (Screenshot 2). I suspect that the problem is that there is not enough on the page (within the content area) to actually add the column. In Screenshot 1, if you look at the width of the highlighted column versus the space available to the right of the table, you will see that a column cannot be added due to space restrictions.
    Reduce the width of the highlighted column (temporarily), then add a column. Once added, you can resize the columns to match the page width.
    Hope that helps,
    Niall

  • How can I add a new column in compress partition table.

    I have a compress partition table when I add a new column in that table it give me an error "ORA-22856: CANNOT ADD COLUMNS TO OBJECT TABLES". I had cretaed a table in this clause. How can I add a new column in compress partition table.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    COMPRESS PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    Note :
    When I create table with this clause it will allow me to add a column.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    But for this I have to drop and recreate the table and I dont want this becaue my table is in online state i cannot take a risk. Please give me best solution.

    Hi Fahed,
    I guess, you are using Oracle 9i Database Release 9.2.0.2 and the Table which you need to alter is in OLTP environment where data is usually inserted using regular inserts. As a result, these tables generally do not get much benefit from using table compression. Table compression works best on read-only tables that are loaded once but read many times. Tables used in data warehousing applications, for example, are great candidates for table compression.
    Reference : http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_data.html
    Topic : When to Use Table Compression
    Bug
    Reference : http://dba.ipbhost.com/lofiversion/index.php/t147.html
    BUG:<2421054>
    Affects: RDBMS (9-A0)
    NB: FIXED
    Abstract: ENH: Allow ALTER TABLE to ADD/DROP columns for tables using COMPRESS feature
    Details:
    This is an enhancement to allow "ALTER TABLE" to ADD/DROP
    columns for tables using the COMPRESS feature.
    In 9i errors are reported for ADD/DROP but the text may
    be misleading:
    eg:
    ADD column fails with "ORA-22856: cannot add columns to object tables"
    DROP column fails with "ORA-12996: cannot drop system-generated virtual column"
    Note that a table which was previously marked as compress which has
    now been altered to NOCOMPRESS also signals such errors as the
    underlying table could still contain COMPRESS format datablocks.
    As of 10i ADD/SET UNUSED is allowed provided the ADD has no default value.
    Best Regards,
    Muhammad Waseem Haroon
    [email protected]

  • Issue to Add one new column in search Page..

    I have a JSP file of Service Form of Oracle Install Base . In this on select party Site page when search for any item it shows some result as a column. like address , name, country..
    we have to add a new column in that search. means when we search for any Item then with address, Name and country it shows a new column also with that. I have the jsp file of that page "csifLOV.jsp". This is the generic LOV page for any database columns.
    Can anybody please help where to add this new column definition.
    this is code of "csifLOV.jsp".
    <%--
    +==========================================================================+
    | Copyright (c) 2000 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +==========================================================================+
    | FILENAME |
    | csifLOV.jsp |
    | DESCRIPTION |
    | This is the generic LOV page for any database columns |
    | NOTES |
    | |
    | DEPENDENCIES |
    | |
    | HISTORY |
    | 23-Aug-2000 X. Li Created. |
    | $Header: csifLOV.jsp 115.30 2004/06/14 21:05:05 anukal ship $
    +==========================================================================+
    --%>
    <%@ include file="jtfincl.jsp" %>
    <%@ include file="csifContextIncl.jsp" %>
    <%
    csiPageContext.setPermissionName("SupPer");
    csiPageContext.setJspName("csifLOV.jsp");
    csiPageContext.setFormName("LOVForm");
    String jspName = csiPageContext.getJspName();
    String csiFormName = csiPageContext.getFormName();
    String formName = csiFormName;
    appName = "CSI";
    if (CsifutDebug.LOCAL_DEV_ENV)
    Properties param = System.getProperties();
    String prop = param.getProperty("JTFDBCFILE",
    "E:\\myprojects\\dbcfiles\\crmdev04_SCCSIDV1.dbc");
    param.put("JTFDBCFILE", prop);
    prop = param.getProperty("service.Logging.common.filename",
    "E:\\myprojects\\jtflogs\\ebppFW_log");
    param.put("framework.Logging.system.filename", prop);
    prop = param.getProperty("service.Logging.common.filename",
    "E:\\myprojects\\ebppSys_log");
    param.put("framework.Logging.system.filename",prop);
    System.setProperties(param);
    // this may have to change for other people
    // ServletSessionManager.startStandAloneSession(appName,true,
    // "csiuser","welcome");
         ServletSessionManager.startRequest(request,response,
    appName,true,"csiuser","csiuser","Authenticator.system");
    /* Push the logFileName into the cookie for future use */
    oracle.apps.jtf.util.SystemCheck.setJTFCookie();
    // Set cookies for menu rendering
    MenuRenderer.setMenuCookies(request);
    //Added HTML tag with language code for accessibility.
    String CSI_HTML_LANG_CODE;
    CSI_HTML_LANG_CODE = oracle.apps.jtf.util.HtmlUtil.getHtmlLanguageCode();
    if (CSI_HTML_LANG_CODE == null)
    CSI_HTML_LANG_CODE = "en-US";//Added HTML tag with language code for accessibility.
    %>
    <HTML lang="<%=CSI_HTML_LANG_CODE%>">
    <%@ include file="csifStartReqIncl.jsp" %>
    <%@ include file="csifExceptionHandleBegin.jsp" %>
    <jsp:useBean id="lovBean" class="oracle.apps.csi.framework.pb.CsifpbLOVBean" scope="page" />
    <%
    lovBean.init(csiPageContext, request);
    lovBean.process();
    int pageMode = lovBean.getMode();
    if (pageMode == CsifpbBasePageBean.LOVRETURN_MODE) //forward to the caller of the LOV
         if (CsifutDebug.DEBUG)
    CsifutDebug.addMessage("forward URL=" + lovBean.getForwardToURL());
    csiPageContext.setForwardToJSP(lovBean.getForwardToURL());
    %>
    <%@include file="csifForwardIncl.jsp" %>
    <%
    else
    CsifcmException error = lovBean.getException();
    String callerName = lovBean.getJspCallerName();
    String labelSelect=null;
    String labelEnterPartial=null;
    String labelSearch=null;
    String labelTitle=null;
    int origAppID = csiPageContext.getPageAppId();
    String origAppName = csiPageContext.getPageAppName();
    csiPageContext.setPageAppId(542);
    csiPageContext.setPageAppName("CSI");
    Hashtable allLovPrompts = CsifutRegion.getPrompts(csiPageContext, "CSI_FRAMEWORK_LOV");
    csiPageContext.setPageAppId(origAppID);
    csiPageContext.setPageAppName(origAppName);
    if (allLovPrompts != null)
    labelSelect = (String)allLovPrompts.get("CSI_SELECT");
    labelEnterPartial = (String)allLovPrompts.get("CSI_ENTER_PARTIAL");
    labelSearch = (String)allLovPrompts.get("CSI_SEARCH");
    labelTitle = (String)allLovPrompts.get("CSI_LOV_TITLE");
    else
    allLovPrompts = new Hashtable();
    String cancelPrm = (String)allLovPrompts.get("CSIF_CANCEL");
    %>
    <head>
    <title><%=labelTitle%></title>
    <script language="JavaScript">
    function newSearch()
    document.<%=csiFormName%>.<%=CsifpbBasePageBean.PAGE_MODE_PARAM%>.value = '<%=CsifpbBasePageBean.QUERY_MODE%>';
    document.<%=csiFormName%>.submit();
    function returnToCaller()
    // alert("Return to " + "<%=callerName%>" )
    document.<%=formName%>.action = "<%=callerName%>";
    document.<%=formName%>.submit();
    function <%=lovBean.LOV_CANCEL_FUNC%>()
    var LOVForm = document.forms['<%=csiFormName%>'];
    var LOVFieldName = '<%=lovBean.getLOVFieldName()%>';
    var LOVOrigValFieldName = LOVFieldName + '<%=lovBean.LOV_ORIG_VAL_FIELD%>';
    LOVForm.elements[LOVFieldName].value = LOVForm.elements[LOVOrigValFieldName].value;
    LOVForm.elements['<%=CsifpbBasePageBean.PAGE_MODE_PARAM%>'].value = '<%=CsifpbBasePageBean.LOVRETURN_MODE%>';
    LOVForm.elements['<%=CsifpbBasePageBean.MODE_ACTION_PARAM%>'].value = '<%=CsifpbBasePageBean.ACTION_CANCELLED%>';
    LOVForm.action = '<%=lovBean.getJspCallerName()%>';
    LOVForm.submit();
    function onPageLoad()
    document.<%=csiFormName%>.<%=lovBean.getLOVFieldName()%>.focus();
    </script>
    <%=lovBean.renderLovReturnJS()%>
    <%@ include file="jtfscss.jsp" %>
    </head>
    <%@ include file="csifBodyBeginIncl.jsp" %>
    <%
    //if (!CsifutDebug.LOCAL_DEV_ENV)
    if (CsifutTimer.TIME)
    CsifutTimer.start(CsifutTimer.JTF_MENU);
    %>
    <%@ include file="jtfdnbartop.jsp" %>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <%
    if (CsifutTimer.TIME)
    CsifutTimer.stop(CsifutTimer.JTF_MENU);
    } // end local_dev_env
    %>
    </td>
    </tr>
    <tr>
    <td>
    <form name="<%=csiPageContext.getFormName()%>" method="post" action="<%=jspName%>">
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td valign="top">
    <table summary="" width="100%">
    <tr>
    <td> </td>
    <td class="pageTitle" colspan="4"><%=labelSelect%> <%=lovBean.getLOVPageTitle()%>
    </td>
    <td> </td>
    </tr>
    <%@ include file="csifDisplayException.jsp" %>
    <tr>
    <td width="5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="5%"> </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <div nowrap align="right" class="promptReadOnly"><%=labelEnterPartial%></div>
    </td>
    <td colspan="3">
    <input type="text" name="<%=lovBean.getLOVFieldName()%>" id="<%=lovBean.getLOVFieldName()%>"
    value="<%=HtmlWriter.preformat(lovBean.getLOVSearchPattern())%>" size="15">
    <input type="button" name="SearchButton" id="SearchButton"
    value="<%=labelSearch%>" onClick="javascript:newSearch()">
    <input type="button" name="CancelButton" id="CancelButton"
    value="<%=cancelPrm%>" onClick="javascript:<%=lovBean.LOV_CANCEL_FUNC%>()">
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td colspan="4">
    <hr>
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td class="prompt" colspan="4">
    <!-- Search Result goes here -->
    <%
    if (lovBean.getMode() != CsifpbBasePageBean.LOVRETURN_MODE)
    out.print(lovBean.renderLOVValuesTable(labelSelect));
    %>
    <!-- End of Search Result -->
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td colspan="4">
    <input type="button" name="CancelButton" value="<%=cancelPrm%>"
    onClick="javascript:<%=lovBean.LOV_CANCEL_FUNC%>()">
    </td>
    <td> </td>
    </tr>
    </table>
    <!-- Content ends here -->
              </td>
         </tr>
         </table>
    <!--Hidden Fields Go Here-->
    <input type="hidden" name="<%=CsifpbLOVBean.LOV_VALUE_SEL_PARAM%>" >
    <%
    if(csiPageContext.isAccessible())
    %>
    <label for="<%=lovBean.getLOVFieldName()%>" class='hidelabel'><%=labelEnterPartial%></label>
    <!-- Kamal for ADA v2 03-Mar-04
    <label for="SearchButton" class='hidelabel'><%=labelSearch%></label>
    <label for="CancelButton" class='hidelabel'><%=cancelPrm%></label>
    -->
    <%
    %>
    <%@ include file="csifHiddenFieldsIncl.jsp" %>
    </form>
    <%@ include file="csifBodyEndIncl.jsp" %>
    </HTML>
    <%
    } // end of if (pageMode == CsifpbBasePageBean.LOVRETURN_MODE ) .. else {
    %>
    <%@ include file="csifExceptionHandleEnd.jsp" %>
    <%@ include file="csifEndReqIncl.jsp" %> <!-- send an end request -->
    Thanks,

    If you are copying the 12KST1C to Z12KST1C and executing the s_alr_8701333 report, you will not see the new column added to Z12KST1C
    With the new Form Z12KST1C, create a new Report Z12KST1C and assign a new TCODE. Also you have to select all rows and column of form Z12KST1C
    TCODE CJE5
    Select the form Z12KST1C
    Extras--Drildown display --Select Rows and columns
    Select the all colhmns by F9
    Hope this helps.
    Edited by: psconsultant on May 20, 2011 8:42 AM

  • How to add a new column to a existing table and add data to this column?

    I have a table with about 10 millions row and I want to add a new column to this table, then fill this new column with prepared data.
    How to do it ?
    Thank you

    Can I use insert statement to add the data to new-added column?No.
    07:19:37 oracle >create table test (x number);
    Table created.
    Elapsed: 00:00:03.05
    07:19:53 oracle >
    07:19:53 oracle >
    07:19:53 oracle >insert into test values (1);
    1 row created.
    Elapsed: 00:00:00.00
    07:20:01 oracle >insert into test values (2);
    1 row created.
    Elapsed: 00:00:00.00
    07:20:10 oracle >insert into test values (3);
    1 row created.
    Elapsed: 00:00:00.00
    07:20:12 oracle >
    07:20:13 oracle >commit;
    Commit complete.
    Elapsed: 00:00:00.00
    07:20:14 oracle >
    07:20:19 oracle >select * from test;
             X
             1
             2
             3
    Elapsed: 00:00:00.00
    07:20:22 oracle >
    07:20:36 oracle >alter table test add (y number);
    Table altered.
    Elapsed: 00:00:00.05
    07:20:41 oracle >
    07:20:41 oracle >
    07:20:41 oracle >
    07:20:41 oracle >select * from test;
             X          Y
             1
             2
             3
    Elapsed: 00:00:00.00
    07:20:43 oracle >
    07:20:44 oracle >
    07:20:44 oracle >update test set y=1;
    3 rows updated.
    Elapsed: 00:00:00.02
    07:20:52 oracle >commit;
    Commit complete.
    Elapsed: 00:00:00.00
    07:20:56 oracle >select * from test;
             X          Y
             1          1
             2          1
             3          1
    Elapsed: 00:00:00.00
    07:20:58 oracle >Anand

  • How To Add a new column for ZPR0 price in open sales order report ??

    HI,
    my requirement is To Add a new column for ZPR0 price in open sales order report if the order/scheduling agreement is a cross-company code transaction l(company code of order/scheduling agreement <> company code of delivering plant), price = ZPR0 price as at estimated GI date

    k

  • To Add a new column for ZPR0 prce in open sales order report

    HI,
    my requirement is To Add a new column for ZPR0 prce in open sales order report if the order/scheduling agreement is a cross-company code transaction l(company code of order/scheduling agreement <> company code of delivering plant), price = ZPR0 price as at estimated GI date

    HI,
    my requirement is To Add a new column for ZPR0 prce in open sales order report if the order/scheduling agreement is a cross-company code transaction l(company code of order/scheduling agreement <> company code of delivering plant), price = ZPR0 price as at estimated GI date

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How can I add a new column to Grid view under Tests tab

    I understand in "ORACLE Test manager for web Applications", the Grid view under Tests tab should be customised.
    How can I add a new column to Grid view under Tests tab? Thanks Katherine

    I don't think this is possible.
    Regards,
    Jamie

  • How can I add a new column to an Attachments Table

    How can I add a new column to an Attachments Table??
    And I want to remove the usage column also!
    Thanks!

    I tried to remove the usage column doing this:
    OAAttachmentTableBean attachTable = (OAAttachmentTableBean)webBean.findChildRecursive("attachTable");
    if (attachTable != null)
    attachTable.findChildRecursive("UsageTypeColumn").setRendered(false);
    but I'm getting null pointer exception on "UsageTypeColumn"...
    :(

  • How to add a new column as "Warehouse name" in Goods Receipt PO screen?

    Hi, Experts
    I hope to add a new column or just "display" warehouse name besides Whse column in Goods Receipt PO.  How can I do?
    Thanks

    still not work.
    Maybe I did something wrong in UDF definition. Please help to check.   Thanks
    I named UDF as WhseName, and set it as Alphanumeric and lengh is 20, structure is Regular. And all below check-boxes are not ticked.
    And in Goods Receipt PO screen, I marked the UDF as Visible and Active.
    Then I ALTSHIFF2 in the UDF fields, and FMS screen displayed.
    Then I chose the 3rd one: Search in Existing User-defined value According to Saved Query
    T05
    Auto Refresh when field changes is not ticked.

  • Add a new column for WBS description

    Hi all
    how to Add a new column for WBS description and derive the value as per the FS
    anybody can provide document for this

    Hi ,
    In Table <b>PRPS</b>, alread you have short description field <b>POST1 and POSTU</b> for the WBS element, apart from that still if you want to include a feild for your own requirement , then create a structure and with the description field of your requirement and append that structure into PRPS table.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Add a new column and the value

    I want to add a new column to a table with a single value for all rows of this column. for example, add a new column called 'sid' with the value of 'dbp'. can I use this statement?
    alter table ... add sid varchar(8) 'dbp';
    or I have to add first then update?

    SQL> alter table blah add (sid varchar2(8) default 'dbp');
    Table altered.
    SQL> select * from blah;
                    COL1 SID
                       1 dbp
                       2 dbp
                       3 dbpMessage was edited by: SomeoneElse
    (used OP's column name)

  • Add a new column into repository

    hi
    In BI11g, how to add a new column into repository?
    Thanks
    kavi

    Hi kavitha,
    If your adding a new column to the physical layer or BMM layer the process is same as 10g.
    Steps:-
    1) Right click table where you want to add the column.
    2)Select new object >>physical column/BMM column
    3) Enter your choice labelling and data type,if needed formula.
    4) Click ok and you can see the column being added on to the table.
    CHeers,
    KK

Maybe you are looking for

  • Error in PSA with special characters

    Hello, I'm having a problem with sprecial characters in PRD system. This happen with standard extractor for Confirmations in SRM module, 0BBP_TD_CONF_1. I have 5 records with error in PSA. The field that have the error is 0bbp_delref and it has the t

  • PDF form vs Fodm Guide

    My form is about 1.04 MB size and it takes around 10 seconds to render in the workspace. Will it render faster if i convert the PDF into form guide? Or any other way to decrease the rendering duration? -Nith

  • What is error code 8058

    Hi all could anyone tell me what is error code 8058. Regards.

  • Online Increasing the Size of Ext3 File System (no lvm)

    Using Suse linux entreprise Server SP1 Using multpath disks using a ext3 file system mounted on a partition How to increase the size of f Ext3 (no lvm) online without umounting the File system ? a use

  • Decimals for the currency

    HI our client has a requirement that, his GL should show only 2 digits after decimal and his standard cost/planned cost/unit cost in material master, unit selling price values in the billing document  should have 4 digits after decimals. they are usi