BOOLEAN DEFAULT FALSE NOT NULL for key-column

Hello,
These statements show an unexpected behavior when a column is added to a table as 'BOOLEAN DEFAULT FALSE NOT NULL' and added afterward to the table's primary key column set:
create table test_1 (a char(1))
insert into test_1 values('A')
alter table test_1 add b boolean default false not null
alter table test_1 add primary key (a,b)
create table test_2 (a char(1), b boolean default false not null)
insert into test_2 (a) values('A')
alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
      -> [350]: Referential integrity violated
update test_1 set b=false
alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
      -> success
delete from test_2
delete from test_1
insert into test_1 (a,b) values('A',false)
insert into test_2 (a) values('A')
      -> success
I think the error message '[350] Referential integrity violated' should not happen because the column 'b' really contains 'false'. But there obviously seem to be a difference before and after setting the column 'b' explicitly to 'false'. I can imagine that this depends on the way how the index for the primary key is updated. Probably the index is not properly updated in this context(?)
Gabriel

Hi Gabriel,
you're right, this is a bug and indeed seems to caused by the way the DEFAULT boolean is stored in the page.
(There is no separate index for the primary key in MaxDB as all data is stored in B*trees - basically the table is the primary key).
This is how the record looks like when column b is 'false' only due to the change of the DEFAULT value:
ROOT/LEAF 460  perm       entries : 1         [block 0]
     bottom  : 93         filevers: 14888     convvers: 83
                                              writecnt: 1
  1: (pos 00081)
00001      recLen      : 12                recKeyLen   : 4
00005      recVarcolOff: 0                 recVarcolCnt: 0
     record
      1  2  3  4  5  6  7  8  9 10 11 12
     81 82 83 84 85 86 87 88 89 90 91 92
dec: 12  0  4  0  0  0  0  0 32 65  0  0
hex: 0C 00 04 00 00 00 00 00 20 41 00 00
chr:                             A
And this is how it looks like after the explicit UPDATE:
ROOT/LEAF 460  perm       entries : 1         [block 0]
     bottom  : 93         filevers: 14888     convvers: 84
                                              writecnt: 2
  1: (pos 00081)
00001      recLen      : 11                recKeyLen   : 3
00005      recVarcolOff: 0                 recVarcolCnt: 0
     record
      1  2  3  4  5  6  7  8  9 10 11
     81 82 83 84 85 86 87 88 89 90 91
dec: 11  0  3  0  0  0  0  0 32 65  0
hex: 0B 00 03 00 00 00 00 00 20 41 00
chr:                             A
Little difference but this leads to the problems during the foreign key validation.
I'll inform the developers next week about this.
As a workaround you'll have to explicitly update the columns for which you change the default setting.
regards,
Lars

Similar Messages

  • Account determination not possible for key 3000

    Hi gurus,
    While generating invoice iam getting the error like
    "Account determination not possible for key 3000" 
    3000 is comapny code.
    it shows the Diagnosis
    "The system could find no entry for the following key combinations in the entries for account determination:"
    "Chart of accounts  
    Posting area Billing Default Values: Repayment Method (R401) 
    Key 3000 
    Field names BUKRS "

    Hi,
    For the error, go to details, and check the main/sub transaction.  From there you can navigate thru error analysis and it will take you to the configuration details in SPRO. Check for the key specified in the error log, if the entry is present or not. If not maintain the entries accordingly.
    Alternatively
    Please check the configuration for Automatic GL account determination.
    Please check if the GL determination is made for the main transaction and sub transaction for which it is giving the error.
    Path -: SPRO -> Financial accounting -> Contract Account receivable and payable -> basic functions -> Postings and documents -> document -> define account assignments for automatic postings -> Automatic GL determination.
    Check for ISU : Define account assigment data related to main transaction and data relevant to transaction.
    Alternatively check tcodes EK01 / EK02.
    Hope this helps!!
    Regards,
    Rajesh Popat

  • Defaulting Rules Not Working for Repair Orders in OM?

    Hi,
    Defaulting Rules have been setup for return line & standard line based on few conditions and it is working fine if we create a sales order directly from OM (Manual SO)?
    But in our project we are using  Depot Repair(Repair Orders), we tried to create a service request and then converted to a sales order here defaulting rules not working for repair orders?
    Please help me to solve this issue ASAP.
    Thanks,
    Kishor

    Hi,
    You have like this:
    1. Price list
    2.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    You have to make
    1. XXOE_DEFAULT_PVT.custom_code
    2. Price list
    3.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    Did you made own custom code to pick currency?
    Regards,
    Luko

  • Missing comments and notes fields for view columns

    Hello,
    I am missing the comments and notes fields for view columns in the relational model of DM. For the table columns these fields are present, so it would be nice to make this available for views too. The Designer import should be adapted too to import those fields.
    Joop

    Hi Joop,
    My question is about the import of Designer for those fields. This is still not solved, even not in rel 4.0
    In fact even DM 3.3 imports comments, notes and comments in RDBMS from Designer repository.  Though comments and notes are not accessible through UI they are there and you can include them in custom report.
    Comments and notes are accessible through UI in DM 4.0
    Philip

  • Get list of Not Null and PK Columns

    hi All,
    I need to get the list of all the columns which are part of PK and not null, can you help me on this?
    with the below query I am getting the not null ones but need to get the PK columns  also
    SqlServer Version is 2008R2
    SELECT TABLE_CATALOG AS Database_Name, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, IS_NULLABLE
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE TABLE_SCHEMA = 'Express'
    AND IS_NULLABLE = 'NO'
    Thanks!
    Neil

    Give this a go. It includes by bitval solver function, as the status column is stored that way.
    CREATE FUNCTION dbo.solveBitVal(@val BIGINT)
    RETURNS @result TABLE (id INT, bitvalue BIGINT)
    BEGIN
    DECLARE @bitTranslate TABLE (id INT, bitvalue BIGINT)
    DECLARE @numbah TABLE (num INT)
    DECLARE @loopah INT
    SET @loopah = 1
    WHILE @loopah <= 63
    BEGIN
    INSERT INTO @bitTranslate (id, bitvalue) VALUES (@loopah, POWER(CAST(2 AS BIGINT),@loopah-1))
    INSERT INTO @numbah (num) VALUES (@loopah)
    SET @loopah = @loopah + 1
    END
    WHILE @val > 0
    BEGIN
    INSERT INTO @result
    SELECT MAX(id), MAX(bitvalue) FROM @bitTranslate WHERE bitvalue <= @val
    SELECT @val = @val - MAX(bitvalue) FROM @bitTranslate WHERE bitvalue <= @val
    END
    RETURN
    END
    GO
    ;WITH cons AS (
    SELECT o.name, c.*, b.id AS statusID, ROW_NUMBER() OVER (PARTITION BY c.id, colid ORDER BY b.id) AS seq
    FROM sys.sysconstraints c
    INNER JOIN sys.objects o
    ON c.id = o.object_id
    CROSS APPLY dbo.solveBitVal(c.status) b
    ), rCTE AS (
    SELECT c.name, c.constid, c.id, c.colid, c.spare1, c.status, c.actions, c.error, CAST(CASE WHEN statusID = 1 THEN 'PRIMARY KEY constraint '
    WHEN statusID = 2 THEN 'UNIQUE KEY constraint '
    WHEN statusID = 3 THEN 'FOREIGN KEY constraint '
    WHEN statusID = 4 THEN 'CHECK constraint '
    WHEN statusID = 5 THEN 'DEFAULT constraint '
    WHEN statusID = 16 THEN 'Column-level constraint'
    WHEN statusID = 32 THEN 'Table-level constraint '
    END AS NVARCHAR(MAX)) AS statusName, c.seq, c.statusID
    FROM cons c
    WHERE seq = 1
    UNION ALL
    SELECT c.name, c.constid, c.id, c.colid, c.spare1, c.status, c.actions, c.error, CAST(r.statusName + ', ' + CASE WHEN c.statusID = 1 THEN 'PRIMARY KEY constraint '
    WHEN c.statusID = 2 THEN 'UNIQUE KEY constraint '
    WHEN c.statusID = 3 THEN 'FOREIGN KEY constraint '
    WHEN c.statusID = 4 THEN 'CHECK constraint '
    WHEN c.statusID = 5 THEN 'DEFAULT constraint '
    WHEN c.statusID = 16 THEN 'Column-level constraint'
    WHEN c.statusID = 32 THEN 'Table-level constraint '
    END AS NVARCHAR(MAX)), c.seq, c.statusID
    FROM cons c
    INNER JOIN rCTE r
    ON c.id = r.id
    AND c.colid = r.colid
    AND c.seq - 1 = r.seq
    SELECT *
    FROM rCTE
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.

  • Default Value , Not Null and EJB2.1

    Hi ,
    Am using Weblogic10.3 + Oracle Db + EJB2.1 Local Entity Beans .
    The issue is that one of the table has createdDt which is not null and is defualt is set to Sysdate. When I try to create this Entity with createdDt null , I get an exception like below , But since I have mentioned default value , I shouldnt be getting this. Have I missed something ?
    Code is quite straighforward
    Organisation org = organisationHome.create();
    ....org.setter methods..
    java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-01400: cannot insert NULL into ("XXX"."ORGANISATION_T"."CREATEDDT_F")
    ErrorCode=1400 SQLState=23000
    java.sql.SQLException: [BEA][Oracle JDBC Driver][Oracle]ORA-01400: cannot insert NULL into ("XXX"."ORGANISATION_T"."CREATEDDT_F")
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.executeUpdate(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
         at weblogic.ejb.container.manager.BaseEntityManager.executeInsertStmt(BaseEntityManager.java:763)
         at weblogic.ejb.container.internal.TxManager$TxListener.executeInsert(TxManager.java:900)
         at weblogic.ejb.container.internal.TxManager$TxListener.executeDBOperations(TxManager.java:831)
         at weblogic.ejb.container.internal.TxManager$TxListener.beforeCompletion(TxManager.java:1054)
         at weblogic.transaction.internal.ServerSCInfo.doBeforeCompletion(ServerSCInfo.java:1217)
         at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1195)
         at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:118)
         at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1302)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:2114)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:263)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:230)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.tieto.tix.core.domain.DomainServices_7p8lqs_EOImpl.createOrganisation(DomainServices_7p8lqs_EOImpl.java:7717)
         at com.tieto.tix.core.domain.DomainServices_7p8lqs_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    parmTest( , "param2") is syntactically incorrect, so there can be no "workaround".
    In addition to solutions offered by SwapnilVJ and Saransoft84, you could also use a rest parameter:
    function parmTest(... args)
    // set up default values
    var val1:Boolean=true;
    var val2:String="";
    switch(args.length)
      case 0:break;
      case 1:
       if(args[0] is String){val2=args[0] as String;}
       else{val1=args[0] as Boolean;}
       break;
      case 2:
      default:
       val1=args[0] as Boolean;
       val2=args[1] as String;
       break;
       trace(val1 + " " +val2);
    parmTest();
    parmTest("hello");
    parmTest(null,"hello");
    parmTest("hello",null);

  • NULL vs NOT NULL for end effectivity

    I am working on a data model that needs to keep track of the properties of a company asset as of certain dates. In short my table looks like this:
    (loc is a FK but for this example i made it more legible)
    create table assets
      asset_id     number,
      asset_no     number,
      loc          varchar2(20),
      eff_start_dt date,
      eff_end_dt   date 
    asset_id  asset_no  loc         eff_start_dt  eff_end_dt
    1         1         san diego   10-may-09     13-may-09
    2         1         los angeles 13-may-09     14-may-09
    3         1         sacromento  14-may-09     null
    4         2         san diego   10-may-09     19-may-09
    5         2         bakersfield 19-may-09     nullLong story short there was a debate on weather or not the "eff_end_dt" should be null for the current location or if it should be some predetermined date far off into the future like 01-JAN-99. Is one method truly better than the other or should we just pick one and write our queries accordingly.
    Cheers,
    Tyson Jouglet

    Not trying to be the devil's advocate, as I agree on using nulls to represent unknown values, still some authors like CJ Date and others say that using nulls should be avoided. Much of that is based on relational theory though, and in practical real life it becomes much harder to make your data model (and your application) null-proof. Better live with it in my opinion, since SQL and relational databases rely on it. One just has to know how to deal with null properly.
    http://www.dcs.warwick.ac.uk/~hugh/TTM/Missing-info-without-nulls.pdf
    http://www.snopes.com/autos/law/noplate.asp
    http://tkyte.blogspot.com/2009/10/back-from-oracle-openworld.html

  • ALV grid display the subtotal not getting for one column at the output

    Hi,
    I am working one report ALV grid display and subtotal is not getting for one paricular coulumn.
    Eventhough that column has some values.
    So can anyone give the proper solution.
    Waiting quick response.
    Best Regards,
    Bansi

    Hi
    see this link .
    https://wiki.sdn.sap.com/wiki/display/ABAP/SUBTOTALinALV
    or try this program.
    REPORT zalv.
    DATA:
    t_sflight TYPE TABLE OF sflight,
    fs_sflight TYPE sflight.
    DATA:
    r_container TYPE REF TO cl_gui_custom_container,
    r_grid TYPE REF TO cl_gui_alv_grid.
    *FIELD CATALOG
    DATA:
    t_fcat TYPE lvc_t_fcat,
    fs_fcat TYPE lvc_s_fcat.
    *SORTING THE BASIC LIST
    DATA:
    t_sort TYPE lvc_t_sort,
    fs_sort TYPE lvc_s_sort.
    fs_fcat-fieldname = 'PRICE'.
    fs_fcat-do_sum = 'X'.
    APPEND fs_fcat TO t_fcat.
    fs_sort-spos ='1'.
    fs_sort-fieldname = 'CARRID'.
    fs_sort-down = 'X'.
    fs_sort-group = '*'.
    fs_sort-subtot = 'X'.
    APPEND fs_sort TO t_sort.
    SELECT * FROM sflight INTO TABLE t_sflight.
    CALL SCREEN 100.
    *& Module STATUS_0100 OUTPUT
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'SCREEN1'.
    SET TITLEBAR 'TITLE1'.ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    MODULE user_command_0100 INPUT.
    CASE sy-ucomm.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    **& Module HANDLER OUTPUT
    MODULE list OUTPUT.
    CREATE OBJECT r_container
    EXPORTING
    container_name = 'CONTAINER'.
    CREATE OBJECT r_grid
    EXPORTING
    i_parent = r_container.
    CALL METHOD r_grid->set_table_for_first_display
    EXPORTING
    i_structure_name = 'SFLIGHT'
    CHANGING
    it_fieldcatalog = t_fcat
    it_outtab = t_sflight
    it_sort = t_sort.
    ENDMODULE. "list OUTPUT
    Regards
    Hareesh Menon

  • Default logic not running for a particular team

    Hello,
    I have a financial consolidation application in BPC 7.5 NW. We have a particular problem, whereby the default logic is not running for one team when they are uploading data. The error message is "Error running default logic. Error converting records. The root element is missing".
    Users in other teams are not affected by this and they are able to upload data successfully without any problems and are able to view converted records.
    Can someone please explain how this is possible in BPC?
    Also, our development consultant created 2 copies of the default logic in the Finance application. In the admin consol, one is called "Default.LGF" and the other one "DEF BU 9 Mar 2011.LGF". Can anyone kindly explain whether it is possible to have 2 copies of the default logic and if so, how does BPC decide which one to run.
    In both versions of the default logic, the following code is inserted for FX translation:
    // Query 6  - Perform currency translations - run currency translation stored procedure
    *XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
    *XDIM_MEMBERSET TIME=%TIME_SET%
    *XDIM_MEMBERSET ENTITY=%ENTITY_SET%
    *XDIM_MEMBERSET MEASURES=YTD
    *RUN_PROGRAM CURR_CONVERSION
          CATEGORY = %CATEGORY_SET% 
          CURRENCY = GBP
          TID_RA = %TIME_SET%
          RATEENTITY = GLOBAL
          OTHER = [ENTITY = %ENTITY_SET%]
    *ENDRUN_PROGRAM
    *COMMIT
    Thank you very much.
    Edited by: kashifmehmood on Jun 17, 2011 4:12 PM

    Hi
    1.Users in other teams are not affected by this and they are able to upload data successfully without any problems and are able to view converted records.
    One of the reason may be there are some secured dimensions involved like Entity, which is not assigned to the team. Refer to the HTG document below:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207995e8-deb8-2d10-3cb9-8ab146c95a09?quicklink=index&overridelayout=true
    2.Also, our development consultant created 2 copies of the default logic in the Finance application. In the admin consol, one is called "Default.LGF" and the other one "DEF BU 9 Mar 2011.LGF". Can anyone kindly explain whether it is possible to have 2 copies of the default logic and if so, how does BPC decide which one to run.
    In my opinion your consultant created "DEF BU 9 Mar 2011.LGF" and maintained the logic in that logic file. To run the logic by default, he has to call the earlier logic file in DEFAULT.LGF.
    *INCLUDE DEF BU 9 Mar 2011.LGF ( Nothing wrong in  keeping the entire logic, but it is not required)
    Logic file ""DEF BU 9 Mar 2011.LGF" can be called by DM packages.
    Thanks

  • It says default search not available for this regi...

    i installed mobile cleaner...cleaned my mobile now my default search in my nokia browser does'nt work and says default search not available....
    please help me as i want my default serch back without formatting the phone...
    thanks in advance...

    Hi asimisrar,
    Welcome to the Nokia forum.
    Reinstall your current software with Nokia Suite to clear up any bugs that prevent you from accessing your default search bar. Connect your phone to Nokia Suite, click on the green arrow and click on 'reinstall current software'. Hopefully this will fix it and saves you from having to reset the device.
    If the above doesn't work though, delete the app by going to Menu > Applications > Press and hold the apphlication and press Delete. Then hard reset your phone, but make sure you make a back up first. Connect the phone to Nokia Suite, click on Tools > Back up and make sure you don't tick the Settings box as this will back up the bug. 
    Once you've made the back up, enter *#7370# into your phone with default security code 12345, unless you have changed this code yourself. Once rebooted, reinstall the current software as explained above to make sure your phone really is cleaned from any bugs and restore the back up by going to Tools > Restore. 
    In case the default search bar still doesn't work after doing this, please visit a local Care centre where they can check it out and fix this for you. You can find your nearest Care centre by visiting your local Nokia web page and clicking on the Support tab. 
    Let me know how you get on so that I can help further, if necessary.
    Iris9290
    If my post has helped you in any way, please accept it as a solution or click on the white star, so that other users will be able to benefit from it too.

  • 'id' attribute is not rendered for h:column tag in datatable

    Hello Everyone,
    There is a problem with rendering 'id' attribute for <h:column> tag. I'm using jsf 1.2_07.
    Here is source code:
    <h:dataTable id="reportList" var="item" cellpadding="1" cellspacing="0" border="0" value="#{myBean.reportList}">
    <h:column id="column1">
    <f:facet name="header">
    <h:outputText value="#{textProps.selected}" style="white-space:nowrap;"/> </f:facet>
    <h:selectOneRadio id="radio" onclick="javascript:setselected(this);">
    <f:selectItem itemValue="#{item.id}"/>
    </h:selectOneRadio>
    </h:column>
    <h:column id="column2">
    <f:facet name="header">
    <h:outputText value="#{textProps.name}" style="white-space:nowrap;"/>
    </f:facet>
    <h:outputText value="#{item.name}" style="white-space:nowrap;"/>
    </h:column>
    </h:dataTable>
    Thanks for your help,
    Sergei

    The attribute "id" is set properly but isn't shown in html
    because there is no html-element corresponding to UIColumn.

  • Defaulting Rule not working for Order Currency

    Hi,
    We have a requirement where we need to have defaulting currency as SEK for one of the Sweden customer. We have set the defaulting rules for the same but doesn't seem to work. Any suggestions will help..
    Thanks in Advance.

    Hi,
    You have like this:
    1. Price list
    2.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    You have to make
    1. XXOE_DEFAULT_PVT.custom_code
    2. Price list
    3.OE_DEFAULT_PVT.Get_SOB_Currency_Code
    Did you made own custom code to pick currency?
    Regards,
    Luko

  • How do i set a default group (not staff) for new files?

    by default, new files created from within applications appear to be assigned group "staff", regardless of the folder in which they are being created.
    i want new files to inherit the group of the folder in which they are being created. if i create a new file from the terminal command-line, this works. note that it also works when creating new folders from the finder and "save as" dialogue boxes.
    how do i get this to work for new files saved from all applications?
    thanks.

    I usually use the .NET method myself, but if I were forced to poll I would do something like this.  I use a variant to hold the list of filenames.  I would only poll the folder info, when it has been modified then do the Folder List.  Any new files are spotted when the variant attribute does not exist (Replace = FALSE), and this is added to the array.

  • Extension Point not working for extending Columns in sap.m.Table

    Hi Colleagues,
    We are recently developing a UI5 application and we tried to extend the Fragments and views as per wiki.
    Below is the code :
    <core:View xmlns:l="sap.ui.layout" xmlns:core="sap.ui.core"
      xmlns="sap.m" controllerName="ui.s2p.srm.sourcingcockpit.view.S1">
      <Page id="page" class="marginBoxContent" showNavButton="true"
      navButtonTap="_navBack">
      <content>
      <l:Grid class="" defaultSpan="L12 M12 S12">
      <Table id="demandsTable" mode="MultiSelect" growing="true"
      updateFinished="handleUpdateFinished" growingFinished="onListLoad"
      growingThreshold="20" items="{/UnsourcedDemandCollection}">
      <columns>
      <Column id="col_sos" minScreenWidth="tablet" demandPopin="true">
      <Text text="{i18n>col_sos}" />
      </Column>
      <core:ExtensionPoint id="extDemandColumn">
      <Column id="col_attach" minScreenWidth="tablet"
      demandPopin="false" width="4%">
      <Text text="{i18n>col_attach}" visible="false" />
      </columns>
      <items>
      <ColumnListItem>
      <cells>
      <Link
      text="{parts:[{path:'ObjectID'}, {path:'NUMBER_INT'}],formatter:'.formatObjectIdNumberInt'}"
      wrapping="true" />
      <core:ExtensionPoint name='extDemandList' />
      <l:HorizontalLayout>
      <l:content>
      <core:Icon src="sap-icon://attachment">
      </core:Icon>
      <Text text="({AttachmentCount})" class="paddingRightLeft" />
      </l:content>
      </l:HorizontalLayout>
      </cells>
      </ColumnListItem>
      </items>
      </Table>
      </l:Grid>
      </content>
      </Page>
    </core:View>
    In the above code we have specified two extension points. While extending it through Component.js, extDemandList works fine, but extDemandColumn does not work.
    Please let me know the way through which we can extend the columns in table and similarly formelements in FormContainer control.
    Thanks in advance.
    Best Regards,
    Ankit Jain

    I think you have defined 'id' instead of 'name' for the extDemandColumn
    <core:ExtensionPoint id="extDemandColumn">
    Regards,
    Jason

  • Formula is not working for key figures (  cumulative )

    hI
    I have  Qty A and qty B key figures  and changed property to cumulative in query designer . two key figures are working fine . I ahve another key figure which is formula ( Qty A + Qty B) .
    Issue is
    Formula ( Qty A + Qty B) is showing before cumulative values result . it is not showing cumulative total .
    Ex :  
                       Before cumulation prperty for Qty A and Qty B
                          Qty A       Qty B         Total ( formula ( Qty A+ Qty B)
                            10            20                  30
                             8              7                    15
        After changing propert cumulative in query designer for Qty A and Qty B
                         Qty A       Qty B           Total ( Formula 9Qty A + Qty B)
                           10            20                30
                            18           27                 15 ( still it is show 15 like above example means formula is not working on cumulative values)
    Formula is working on before cumulative value . it  is not taking cumulative values.
    Please helo to resolve this issue . I think I need to change some prperty in query designer.
    Appriciate your response.
    Thanks
    Rohan

    Hi
    Problem solved .
    Thanks
    Sree

Maybe you are looking for

  • How to change the resolution of printing from a picture in ipad ?

    Hello, Can anyone help me about the subject ? When you print a picture from the Ipad It only prints into small (13x18cm) in A4 page. I need to print some pages of magazine so I take a picture and then print... But it is in a small size like picture p

  • Officejet Pro 8600 e-all in one; "HP Solutions Center, Web Printing, etc did not install.

    Windows 7; Wireless network; Today I installed my new Officejet Pro 8600 e-all-in-one wireless printer. When finished I was able to print, I set up e-print, and the scanner works, but could not find what used to be called the "HP Solutions Center" th

  • .mp4 videos stuttering

    Hello all, I did some searching and found no definitive answer.. I am shooting HD video with a Sanyo Xacti VPC-CS1 in 1080p. When I am done shooting, I upload it to my desktop and try to play it from there. It opens up Quicktime and starts to play bu

  • Trying to update a ADO recordset date/time field.....

    opened recordset, read 1st records, read a field from 1st record, trying to update a date field in Oracle called "LastAccessed" Rs->Fields->Item["LastAccessed"]->Value = btemp; I want to feed it the system date & time. What type do I use ??? VC++ 6.0

  • RDS 2012 R2 Design.

    Hi All. I have a customer who wants 2 RDS webservers internally on their network, in their minds will support all internal users (3500 users), this is a easy and straight forward deployment. here is the tricky part. they want 2 RDS gateway servers in