Error adding up columns

All i have a strange problem when i run the following code it produces the
table, but the totals don't add up. If you look at the bottom row you can see the value is
one short, am i missing something.
     select trader, tradername,
          max( decode( MARKET, 'E-CBOT', cnt, 0 ) )"E-CBOT",
          max( decode( MARKET, 'GLOBEX', cnt, null ) )"GLOBEX",
          max( decode( MARKET, 'EUNXP', cnt, null ) )"EUNXP",
          max( decode( MARKET, 'EUNXPE', cnt, null ) )"EUNXPE",
          max( decode( MARKET, 'LIFFE', cnt, null ) )"LIFFE",
          max( decode( MARKET, 'LIFFEE', cnt, null ) )"LIFFEE",
          max( decode( MARKET, 'EUREX', cnt, null ) )"EUREX",     
          max( decode( MARKET, 'HKFE', cnt, null ) )"HKFE",
          max( decode( MARKET, 'IDEM', cnt, null ) )"IDEM",
          max( decode( MARKET, 'IPE', cnt, null ) )"IPE",
          max( decode( MARKET, 'ISE', cnt, null ) )"ISE",
          max( decode( MARKET, 'AEX', cnt, null ) )"AEX",
          max( decode( MARKET, 'MTRL', cnt, null ) )"MTRL",
          max( decode( MARKET, 'NYMEX', cnt, null ) )"NYMEX",
          max( decode( MARKET, 'NZFO', cnt, null ) )"NZFO",
          max( decode( MARKET, 'OSE', cnt, null ) )"OSE",
          max( decode( MARKET, 'SFE', cnt, null ) )"SFE",
          max( decode( MARKET, 'SGX', cnt, null ) )"SGX",
          max( decode( MARKET, 'TIFFEC', cnt, null ) )"TIFFEC",
          max( decode( MARKET, 'TSE', cnt, null ) )"TSE",
          max( decode( MARKET, 'TSEN', cnt, null ) )"TSEN",
          max( decode( MARKET, 'E-CBOT', cnt, 0 ) ) +
          max( decode( MARKET, 'GLOBEX', cnt, 0 ) ) +
          max( decode( MARKET, 'EUNXP', cnt, 0 ) ) +
          max( decode( MARKET, 'EUNXPE', cnt, 0 ) ) +
          max( decode( MARKET, 'LIFFE', cnt, 0 ) ) +
          max( decode( MARKET, 'LIFFEE', cnt, 0 ) ) +
          max( decode( MARKET, 'EUREX', cnt, 0 ) ) +
          max( decode( MARKET, 'HKFE', cnt, 0 ) ) +
          max( decode( MARKET, 'IDEM', cnt, 0 ) ) +
          max( decode( MARKET, 'IPE', cnt, 0 ) ) +
          max( decode( MARKET, 'ISE', cnt, 0 ) ) +
          max( decode( MARKET, 'AEX', cnt, 0 ) ) +
          max( decode( MARKET, 'MTRL', cnt, 0 ) ) +
          max( decode( MARKET, 'NYMEX', cnt, 0 ) ) +
          max( decode( MARKET, 'NZFO', cnt, 0 ) ) +
          max( decode( MARKET, 'OSE', cnt, 0 ) ) +
          max( decode( MARKET, 'SFE', cnt, 0 ) ) +
          max( decode( MARKET, 'TIFFEC', cnt, 0 ) ) +
          max( decode( MARKET, 'TSE', cnt, 0 ) ) +
          max( decode( MARKET, 'TSEN', cnt, 0 ) ) +
          max( decode( MARKET, 'TEX', cnt, 0 ) ) TOTAL
          from (
          SELECT A1.trader, A1.TRADERNAME, A2.MARKET, SUM(A2.VOLUME) cnt
               FROM table1 A1, table2 A2
               where A1.trader = A2.GIMSG
               and A1.APPLICATION = :P44_SHOWCLIENTNAMES
               and A2.market != 'DBFX'
               and A2.market != '-'
               and A1.application != '?'
               and A2.BAF_INDICATOR not in ('B','E')
               and A2.ACTION = 'A'
               and A1.USERFRONTENDSYSTEM not in ('?','System',Data1,'N/A')
               and trunc(A2.TRADEDATE,'MONTH') between :P44_SHOWMONTH and :P44_SHOWMONTHBK
               group by A1.trader, A2.MARKET, A1.TRADERNAME
          group by trader, tradername
Trader     Name     E-Cbot     Globex     Liffe     Liffee     Eurex     Ipe     Sgx     Tse     Tsen     Total     
test1     tester     3,450     4,294     122          13,029     45     410     25     10     20,975     
test2     tester     40     208               163               1          412     
test3     tester     4     115               66                         185     
test4     tester     22     12     2          465          2               501     
Total          3,516     4,629     124     0     13,723     45     412     26     10     22,073

test4 tester 22 12 2 465 2 501
the total 501 is not true
22 + 12 + 2 + 465 + 2 = 503.The vertical totalling is all correct. What is wrong is the horizontal totalling. The values for Test1 and Test 4 are wrong, as is the total at the end. Test1 is out by 410, test4 by 2 and the total by 412. So it is consistent. The one market that fits this pattern is SGX. And lo! that market is missing from your Total aggregation.
Do I get a prize?
Cheers, APC
P.S. If you're on 10g you may wish to have a look at the SQL MODEL clause, as that is specifically designed to do this sort of spreadsheet-y calculations.

Similar Messages

  • Changing Time Zone (stsadm tzmove) = Error: Adding a value to a 'datetime' column caused an overflow

    After updating timezone.xml и RGNLSTNG.xml files for my SharePoint 2010 (SP2 - 14.0.7015.1000)
    I have to run this command to Update time zone on calendar events:
    stsadm -o tzmove -name "russ2014" -update all
    But this cause an error: Adding a value to a 'datetime' column caused an overflow
    ULS log event: System.Data.SqlClient.SqlException: Adding a value to a 'datetime' column caused an overflow.  The statement has been terminated.
    How to fix this?

    Hi,
    Whether you added new time zone definition to your timezone.xml 
    and  RGNLSTNG.xml files.  if not, please provide the details about what content you updated in timezone.xml and RGNLSTNG.xml files.
    The stsadm.exe –o tzmove command does not work for new time zone definition changes. 
    This command is designed for making changes in the existing time zone, 
    not for creating a new time zone definition.
    After you modify the Timezone.xml and Regnlstng.xml files to include the new time zone definition, you must restart Internet Information Services (IIS).
     To do this, click Start, click Run, type
    iisreset in the Open box, and then click
    OK.
    Try to do IIS restart, compare the results.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact 
    [email protected]

  • Errors processing after adding Computed Column to Time.

    Errors in the high-level relational engine. The 'Time' table is based on a named query, and contains one or more computed columns. A table based on a named query cannot contain computed columns. If the computed columns are necessary, add them to the query
    expression.
    Help me, pls! Thanks!

    Hi CUONGNV0207,
    According to your description, you get this error when processing cube. Right?
    As the error message mentioned, a table based on a named query cannot contain computed columns. If you create a computed column in this table, it will throw this error. In this scenario, please go to the DSV and check if that table is set up with named query.
    You can replace it with a DimTable in your database.
    Reference:
    cryptic error when processing cube
    Errors processing after adding Computed
    Column to Time
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Error adding a child form to more than one form

    When I try to add a child form to more than one form, I get the following error:
    Error Keyword: SDK.ADDFKCON
    Description: Error Adding Foreign Key/Constraint.
    Remedy:
    Action: F
    Severity: H
    Help URL:
    Detail:
    The following is the log trace:
    ERROR,23 nov 2011 17:22:42,050,[XELLERATE.ADAPTERS],Event: SDH Drop Foreign Constraint has encountered an error.
    ERROR,23 nov 2011 17:22:54,519,[XELLERATE.DATABASE],ALTER TABLE UD_TICKET3 ADD (UD_ADUSER_KEY NUMBER(19) CONSTRAINT NN_UD_TICKET3_UD_ADUSER_KEY NOT NULL, CONSTRAINT FK_UD_TICKET3_UD_ADUSER FOREIGN KEY(UD_ADUSER_KEY) REFERENCES UD_ADUSER(UD_ADUSER_KEY))
    java.sql.SQLException: ORA-01758: table must be empty to add mandatory (NOT NULL) column
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1285)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1772)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1741)
         at com.thortech.xl.util.JDBCUtils.executeUpdate(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.createColumns(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.implementation(Unknown Source)
         at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcSDHBean.save(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at tcSDH_RemoteProxy_6ocop18.save(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ERROR,23 nov 2011 17:22:54,519,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01758: table must be empty to add mandatory (NOT NULL) column
    java.sql.SQLException: ORA-01758: table must be empty to add mandatory (NOT NULL) column
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1285)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1772)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1741)
         at com.thortech.xl.util.JDBCUtils.executeUpdate(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.writeStatement(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.createColumns(Unknown Source)
         at com.thortech.xl.client.events.tcSDHAddForeignConstraint.implementation(Unknown Source)
         at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcSDHBean.save(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at tcSDH_RemoteProxy_6ocop18.save(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ERROR,23 nov 2011 17:22:54,519,[XELLERATE.ADAPTERS],Event: Adding Foreign Constraint has encountered an error.
    How to correct this?
    Thank you!

    899043 wrote:
    Thanks for your reply!
    I have a form named UD_TICKET3. This form contains information about the ticket number and a comment about any action taken on a resource of identity. We want to add this form as a child of all the resources forms. The problem occurs when I try to add the child form to the second form.You cannot add same detail table (child form) to more than one master table (resource form).

  • Retain field order on form when adding/deleting columns

    If I move my html around to change the layout of the fields on an AddForm.aspx and then I start adding and deleting columns, the ordering of the ff## changes and I can have problems. 
    Its fine if I've only added new columns...what I've done is create an AddForm1.aspx to get the fresh ff##'s at the end of the list.  I copy them over to my AddForm.aspx
    If I add and delete columns, then I can have problems.
    The ff## may be renumbered when making an AddForm1.aspx and copying the new fields might create an error because of dupe ff##'s.
    If I use AddForm1.aspx,  I lose my layout of the fields on my form AddForm.aspx.
    I have been successful finding the ordering of the columns on AddForm1 and renumbering on AddForm.
    But this is pain and error-prone.
    What do people do to get around this dilema?
    thx
    Rich

    Hi,
    By default, we can change the order at the Lists content type settings page.
    I suggest you provide more information about your requirement(screenshot) to make others easier to find a solution for you.
    More information:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/31a5030b-9494-4057-b4ad-485435fdceb0/sharepoint-designer-2010-reorder-fields-for-newform-edifform-viewform?forum=sharepointgeneralprevious
    http://kalsing.blogspot.com/2006/11/create-custom-list-form-for-sharepoint.html
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Filter for custom added site columns using rest

    Hi everybody,
    I'm trying to filter a REST Response by a custom added site column.
    when i'm using the endpoint lists() with /Items the filter works great:
    site/_api/Web/Lists(guid'805e17b0-2728-4b30-a889-a7e8f025696b')/items?$filter=astringcolumn%20eq%20%27dfg%20-----------------------------%27
    but when I'm trying to filter using
    site/_api/Web/GetFolderByServerRelativeUrl('/sites/DennisDevSite/alib')/Files?$filter=astringcolumn%20eq%20%27dfg%20-----------------------------%27
    I get a response that states Field or property "astringcolumn" does not exist.
    event if I add &$select=astringcolumn&$expand=astringcolumn to the url the same error is returned
    Why does the first work and the second does not?
    Thx in advance
    Dennis
    P.S.: sorry: I also posted this question in the sharepoint 2013 apps forums. but I think it's better to post it here

    Hi Dennis,
    Steve as mentioned the reason this happens. You may try any of the following workarounds:
    Get the files using Files Rest endpoint and then perform the filteration in the success handler based on the custom column. The Rest query needs to include ListItemAllFields. Example: site/_api/Web/GetFolderByServerRelativeUrl('/sites/DennisDevSite/alib')Files?$expand=ListItemAllFields
    Note that you cannot use filter in the Url.  
    The other option is to use CAML Query Payload, but that can only be used with getitems REST endpoint. However, this will return the ListItem corresponding to the file. It wont be a file object. Example:
    function getListItems(viewXml)
    var url = "http://aissp2013/_api/web/lists/getbytitle('Management Documents')/getitems";
    var queryPayload = {
    'query' : {
    '__metadata': { 'type': 'SP.CamlQuery' },
    'ViewXml' : viewXml,
    'FolderServerRelativeUrl': '/ManagementDocuments/F1'
    return $.ajax({
    url: url,
    method: "POST",
    data: JSON.stringify(queryPayload),
    headers: {
    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
    "Accept": "application/json; odata=verbose",
    "content-type": "application/json; odata=verbose"
    var query = "<View><Query><Where><Eq><FieldRef Name='Location' /><Value Type='Text'>Srinagar</Value></Eq></Where></Query></View>";
    getListItems(query)
    .done(function(data)
    console.log(data);
    .fail(
    function(error){
    console.log('Error');
    Still, the other option is to use old fashioned ListData.svc. It will allow filter in the url and will also return some file properties like Name, approval status, version etc along with all custom properties. Example:
    http://aissp2013/_vti_bin/ListData.svc/ManagementDocuments/?$filter=Path eq '/ManagementDocuments/F1' and Location eq 'Srinagar'
    Please remember to up-vote or mark the reply as answer if you find it helpful.

  • Problem in Adding a column

    Hi All,
    I have to added a segment Previous Department from Further Previous Employer Information DFF, so for I have added a column in Employment History section in iRecruitment named as Department through personalize page link also added a flex (Dept) where I am getting confuse and don't know how to configure this with DFF and its segment , can any body help me out , its urgent
    Regards,

    set fnd: diagnostics to 'Yes'
    You can see detailed error message.
    You can browse the page in the functional administrator responsibility and disable or delete personalizations.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                           

  • Issues in IDoc Sender Scenario:IDoc  with errors added

    Hi all
             Am working on an IDoc to JDBC scenario. In R/3 system, I have created distribution model, partner profile, RFC destination and port.The IDoc is generated and is sent to XI successfully. But in XI , there is no entry in SXI_MONITOR for this (unfortunately IDX5 is not available in the XI server! ;as of now). Instead an entry is made in WE05 and WE02 with stautus 56(IDoc with errors added). In the status record:
    status 56 : External segment name E2KOMG003 cannot be interpreted
    status 60 : Basic IDoc type COND_A03 could not be found.
    And the segments displayed in data record  are different from the segments in the data record of the IDoc generated at R/3. (say for E1KOMG at R/3, E2KOMG003 in XI).Earlier the flow was working fine and the DB table was updated successfully. And the entire stuff is believed to be 'unmodified' .
    Would any one help in resolving the issue.
    Thanks,
    Chilanka

    Hi,
    >>>>I have created partenr profile in R/3.Need I create a partner profile in XI for R/3 system?
    no you cannot create any partner profiles in XI
    for more about IDOC configuration in XI check :
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Error while renaming column in Apex 3.2.1

    Hi,
    I am getting the following error while renaming column in Oracle Apex 3.2.1 through SQL workshop:
    "ORA-24344: success with compilation error"
    Interestingly, it only gives an error when I rename the column again to its original name. For example, if I renaming the column X to X1 (no problem) but renaming back to X, I get this error. Same is true for X to X1 to X2 without any issues but renaming back from X2 to either X1 or X, I get the same error.
    Any insight into this issue would be very helpful and greatly appreciated.
    Thanks,
    Milaan

    I've moved a step ahead, getting the new apex screen at http://127.0.0.1:8080/apex/ and can also login to my application. However there is no image for Application Express on http://127.0.0.1:8080/apex/ and I cannot click on the Login button. Hitting http://127.0.0.1:8080/i/ does list down the images. Any clue on what could be the problem?
    For others reference: I'm not sure what was wrong, but I tried the entire steps again, with the 2 changes: shutdown the listener and job process ( in step 3.1) before running 'apexins' and second that I installed on SYSAUX and not USERS (in step 4)
    1. Downloaded apex_3.2.1.zip to C:\Software
    2. unzip apex_3.2.1.zip to C:\Software\apex
    3. started command prompt and set these variables
    set ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server
    set ORACLE_SID=xe
    set ORACLE_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin
    set LD_LIBRARY_PATH=C:\oraclexe\app\oracle\product\10.2.0\server\lib
    3.1 Shutdown the listener and job services
    4.
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    @apexins SYSAUX SYSAUX TEMP /i/
    5.
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    @apxchpwd
    6.
    Stopped and Started the Database, also the listener and job processes
    7.
    sqlplus /nolog
    connect sys as sysdba
    @apxldimg.sql c:\software
    8.
    sqlplus /nolog
    connect sys as sysdba
    exec dbms_xdb.setListenerLocalAccess (l_access => FALSE);

  • Unable to load the following resource: Error: too many columns- form won't

    Hi ..
    Can you please suggest on the following error, which i am facing the issue while opening data form in Hyperion Planning 11.1.1.4 .
    Unable to load the following resource: Error: too many columns- form won't
    Regards,
    Vasu

    It is something around 256 if I am not mistaken, I dread to think what a form with 700 columns is like to work with.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error adding buffer entry when using Asynchronous mode of JRA and JCO call

    Enviroment: XMII 12.1.4 / CE EhP1 SP03
    When I using SAP JRA Function Call or SAP JCO Funciton Call in transaction, it works well when I choose 'Process Type' as 'Synchronous processing' in 'Data Buffering Configuration' tab. But when I use 'Asynchronouse processing' it doesn't work.
    I check the Netweaver logs, there some logs like following:
    Error adding buffer entry (com.sap.xmii.dataqueue.DataBufferManager)
    Couldn't add buffer entry (com.sap.xmii.dataqueue.DataBufferManager)
    ManagedConnectionImpl.dissociateConnections(), dissociation of a non-cci transaction, H1, C1(com.sap.mw.jco.jra)
    how could I solve this problem?

    Solved after deploy 12.1 SP05 (xMII 12.1.5 build 91)

  • Status 56 -  IDOC with errors added

    Hi everyone,
            I was configuring File to IDOC Scenario, in the receiving R/3 system, i am getting error as Status 56 -  IDOC with errors added "<b>EDI: Partner Profile not available</b>".
            but i had already created Partner profile in WE20.
    Regards,
    Varun Reddy.K

    Hi Varun,
                   The below link will help u in solving u r problem
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Just try follow the steps followed in above mentioned link
    And also check u r RFC connection in TC "SM59".
    Reward with ponits if helpful
    Regards
    Sai Ganesh

  • Error in Receiver - IDoc with errors added

    Hi All,
    I am getting error in 56 - IDoc with errors added in receiver System.
    I am new in Idoc - please tell me How to resolve this issue..
    Thanks in advance..

    Hi all thanks for reply .
    All are the help full answer ,
    I use T-code WE19 and change partner profile and execute now it is fine.
    But i have checked all configuration regard partner profile from T-code WE20 it looking everything is fine but in Test tool for Idoc Processing by t-code WE19 i have checked it will taken wrong partner profile detail after giving correct manually now it is working fine.

  • Adding a column in the MSS Approval view

    What are the options for adding a column in the MSS approval view (CATS regular) ?

    there are lot of colums available in cats customisation for this
    Please check
    In the IMG (transaction SPRO), go to
    - SAP Customizing Implementation Guide
      - Cross-Application Components
        - Time Sheet
          - Specific Setting for CATS regular
            - CATS regular
              - Approve Working Time
                - Define Field Selection for Individual Approval View
                - Define Field Selection for Detail View
    Here you can assign lot of columns to your profile
    which is easily customisable

  • How to add get the field name for a newly added site column.

    I have the following:-
    Enterprise wiki site collection inside SharePoint server 2013.
    I added a new site column of type managed metadata.
    I opened the enterprisewiki.aspx page layout using the SP designer, to add the newly added site column to it.
    But I have noted that to add any site column I need to know the field name , for example the default wiki category column is referenced inside the page layout as follow:-
    <Taxonomy:TaxonomyFieldControl FieldName="Wiki_x0020_Page_x0020_Categories" EmptyValueDescriptionForTargetTemplate="<%$Resources:cms,enterwiki_nocategories_assigned%>" DisableInputFieldLabel="true" runat="server"/>
    <b>
    So my question is how I can know the field name for my newly added site column?
    Thanks in advance for any help.
    Regards

    Hi,
    The “FieldName” should be the internal name of the column, you will find it at the address bar at the “Site Columns”->”Edit Column” page:
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for