Problem with calculated attribute

I have created a calculated attribute on an Entity that derives its value from two persistent attributes.
I am only interested in displaying the calculated attribute and not the attributes it is derived from.
If I put the calculated attribute in a View object without the other attributes I will get an error ( (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for AccountPosting) when displaying data from the View object.
This error does not occur if I add the other attributes to the View object and it all works OK.
Why is this? Surely the calculated attribute is only calculated at the Entity object layer, so what does the View object have to do with this?

The Java datatype for the two Number attributes is Number
When I switch to Integer or Long, I get an error but the stack is different.
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for SLEO
     at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:658)
     at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5025)
     at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3386)
     at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2148)
     at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:2079)
     at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1774)
     at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1032)
     at mypackage2.SLEOImpl.setDETAIL(SLEOImpl.java:113)
     at mypackage2.SLEOImpl.setAttrInvokeAccessor(SLEOImpl.java:144)
     at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:945)
     at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1241)
     at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1150)
     at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1111)
     at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1086)
     at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:833)
     at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
     at oracle.jbo.jbotester.JBOFieldHelper.setDataValue(JBOFieldHelper.java:114)
     at oracle.jbo.jbotester.JBOFieldHelper.applyEdit(JBOFieldHelper.java:175)
     at oracle.jbo.jbotester.JBOFieldHelper.applyEditAndValidate(JBOFieldHelper.java:205)
     at oracle.jbo.jbotester.JBOFieldHelper$DefaultJBOFocusListener.focusLost(JBOFieldHelper.java:239)
     at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:172)
     at java.awt.Component.processFocusEvent(Component.java:5006)
     at java.awt.Component.processEvent(Component.java:4888)
     at java.awt.Container.processEvent(Container.java:1569)
     at java.awt.Component.dispatchEventImpl(Component.java:3615)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
     at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:777)
     at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:497)
     at java.awt.Component.dispatchEventImpl(Component.java:3506)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
## Detail 0 ##
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.
     at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
     at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
     at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
     at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
     at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
     at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
     at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:533)
     at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5025)
     at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3386)
     at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2148)
     at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:2079)
     at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1774)
     at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1032)
     at mypackage2.SLEOImpl.setDETAIL(SLEOImpl.java:113)
     at mypackage2.SLEOImpl.setAttrInvokeAccessor(SLEOImpl.java:144)
     at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:945)
     at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1241)
     at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1150)
     at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1111)
     at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1086)
     at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:833)
     at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
     at oracle.jbo.jbotester.JBOFieldHelper.setDataValue(JBOFieldHelper.java:114)
     at oracle.jbo.jbotester.JBOFieldHelper.applyEdit(JBOFieldHelper.java:175)
     at oracle.jbo.jbotester.JBOFieldHelper.applyEditAndValidate(JBOFieldHelper.java:205)
     at oracle.jbo.jbotester.JBOFieldHelper$DefaultJBOFocusListener.focusLost(JBOFieldHelper.java:239)
     at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:172)
     at java.awt.Component.processFocusEvent(Component.java:5006)
     at java.awt.Component.processEvent(Component.java:4888)
     at java.awt.Container.processEvent(Container.java:1569)
     at java.awt.Component.dispatchEventImpl(Component.java:3615)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
     at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:777)
     at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:497)
     at java.awt.Component.dispatchEventImpl(Component.java:3506)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
----- LEVEL 1: DETAIL 0 -----
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.
     at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
     at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.openCursor(Unknown Source)
     at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
     at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
     at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
     at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
     at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:533)
     at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5025)
     at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3386)
     at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2148)
     at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:2079)
     at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1774)
     at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1032)
     at mypackage2.SLEOImpl.setDETAIL(SLEOImpl.java:113)
     at mypackage2.SLEOImpl.setAttrInvokeAccessor(SLEOImpl.java:144)
     at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:945)
     at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1241)
     at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1150)
     at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1111)
     at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1086)
     at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:833)
     at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
     at oracle.jbo.jbotester.JBOFieldHelper.setDataValue(JBOFieldHelper.java:114)
     at oracle.jbo.jbotester.JBOFieldHelper.applyEdit(JBOFieldHelper.java:175)
     at oracle.jbo.jbotester.JBOFieldHelper.applyEditAndValidate(JBOFieldHelper.java:205)
     at oracle.jbo.jbotester.JBOFieldHelper$DefaultJBOFocusListener.focusLost(JBOFieldHelper.java:239)
     at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:172)
     at java.awt.Component.processFocusEvent(Component.java:5006)
     at java.awt.Component.processEvent(Component.java:4888)
     at java.awt.Container.processEvent(Container.java:1569)
     at java.awt.Component.dispatchEventImpl(Component.java:3615)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
     at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:777)
     at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:497)
     at java.awt.Component.dispatchEventImpl(Component.java:3506)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Similar Messages

  • Problem with optional attribute caching on a custom tag

    Hello,
    I've created a tag by extending TagSupport. I have one attribute that is optional. I'm having a problem with this attribute since the tag is cached. If the value is not specified in the tag, it is always using the previous value from the past request.
    I understand why this is happening, but I wonder if there is anyway to reset this value besides doing it at the end of the doStartTag or in the doEndTag methods? I simply want it to be an empty string if it is not in the request.
    Thanks,
    Tim

    Thats abit overkill in my opinion.Probably yes, but its a cleaner option. In case your doEndTag handles custom exceptions, you would anyhow need to put this code in a finally block, right ?
    public int doEndTag() throws JspException {
    try {
    call some methods that throws other checked exceptions;
    }catch(Exception1 e){
    throw JspException(e);
    }catch(Exception2 e){
    //log and ignore
    }finally{
    //clean up here
    return an int;
    Having said that, different containers implement the spec a bit differently. For example, in our project, we use weblogic and for wl, we put our clean up code in the release() method which according to the spec, needs to be called only before gc. Weblogic implementation is a bit different - its called after doEnd() for every use of the tag.
    This is from jsp spec regarding tag life cycle especially with reuse
    Some setters may be called again before a tag handler is reused. For
    instance, setParent() is called if it�s reused within the same page but at a dif-ferent
    level, setPageContext() is called if it�s used in another page, and
    attribute setters are called if the values differ or are expressed as request-time
    attribute values.
    �Check the TryCatchFinally interface for additional details related to exception handling and resource management.
    cheers,
    ram.
    }

  • OBIEE 11G - problem with calculating percentage

    Hi,
    I have a problem with calculating a percentage....
    I have a 2 measures Success and Failure
    where Success is a count(Response_key)
    Failure is a count(failure_key)
    I want Success/(Success+Failure) * 100
    I am getting this value as a 0
    Infact any column I take from the subject area and say count of that column and divide it by any integer say count(column1)/5 ,Say count of that column1 is 132 Eg: 132/5 , Its showing this value as 26.00 when I put decimal value to 2 , but it is 26.4...It is avoiding decimal values .
    So in my case success/(success+failure) in which Dr is greater than Nr . Since we get the value as 0.something . It is showing 0 value
    So , 0*100 it is showing me as 0%
    Can anyone please help me on this ??
    --Siri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Yes, you need to put cast in numerator alone to get the resultant output in double.
    You can mark the post as Correct since your issue is resolved now.
    Thanks

  • Very urgent : Problem with field attributes in Datasource

    Hi
    I am getting a problem with field attributes in the datasource.
    The issue came up after i modified the extract structure-i modified one field and
    added one field to the structure.Now those two fields are not visible in BW.
    When i checked with transaction rsa2, i could find that for those two fields , the
    field attribute is <b>'A'</b> which is <b>'Field in OLTP and BW Hidden by SAP'</b>.
    I tried to modify the field attribute to make it visible.Now the issue is that it is not getting reflected after transport in the Q system.What can be the issue.In the Q system its still the old value 'A' ,which makes the fields invisible.
    Please let me know what can be the issue.
    Regards
    Leon

    Hi,
    did you change this attribute via RSA2?
    you need to change your datasource via postprocessing (RSA6); then transport your DS to your Q source system.
    Replicate your datasources in your BW.
    Finally modifiy your Transfer Structure by editing your TRules ( tab Datasource/Tran structure), move your new fields from the right frame to the left frame)
    Maintain your TRules
    Activate
    hope this helps...
    Olivier.

  • Having a problem with commandButton attribute when i am using it under tabl

    Having a problem with {color:#800000}commandButton {color}{color:#339966}attribute {color}when i am using it under{color:#ff0000} table{color}
    I am using a command button under a table.
    here is the example
    <h:dataTable value="#{wlmHandler.plexes.plexes}" var="{color:#ff0000}onePlex{color}" border="0" cellspacing="0" cellpadding="0" width="100%" border="0">
    <h:column>
    <h:panelGrid border="0" cellpadding="0" cellspacing="0" columns="5">
    <h:commandButton action="" styleClass="tixbutton" value="#{labels.ADD}" onclick="#{onePlex.tran}"/>
    <f:verbatim> </f:verbatim>
    <h:commandButton action="#{createTransaction.transactionCommand}" styleClass="tixbutton"
    value="#{labels.SUBMIT}" actionListener="#{createTransaction.processAction}">
    <f:attribute name="dbName" value="#{wlmHandler.dbName}"/>
    <f:attribute name="plexName" value="{color:#ff9900}#{onePlex.name}"{color}/>
    </h:commandButton>
    </h:panelGrid>
    <h:/column>
    </h:dataTable >
    when i am using this plex name atribute it is giving nullPointerException
    {color:#ff9900}this value #{onePlex.name} i cant able to access inside the command button{color}

    balu i have tried by seeing u r blog.
    this is my structure of tables
    plexes (if i iterate plexes table gives plex object)
    |
    ------ plex (plex table gives transaction object)
    |
    ------transactions(transactions table gives transaction table)
    |
    here i will have a command link to this link i have to pass the plex name which
    will come from
    i tried in this command action with HTMLDataTable getRowData()
    i am not getting the selected row data .i am downcasting this getRowData() to plex.

  • XSLT-problem with sequence attributes

    Hi,
    in my XSLT-program (i'm a real newbie!) i'm adding dynamically attributes and their values to a tag, by using the following code :
    <SUPPLIER>
      <xsl:attribute name="FUNLOC">
        <xsl:value-of select="SUPPLIER_FUNLOC" />
      </xsl:attribute>
      <xsl:attribute name="NAME">
        <xsl:value-of select="SUPPLIER_NAME" />
      </xsl:attribute>
      <xsl:attribute name="LOCATION">
        <xsl:value-of select="SUPPLIER_LOCATION" />
      </xsl:attribute>
      </SUPPLIER>
    The problem is that the attributes in the resulting xml-file are alphabetically ordered. For instance :
    <SUPPLIER FUNLOC="9522222" LOCATION="NL" NAME="Test vendor VMOI">
    How can i arrange that the result of the xml-file is a sequence of entrance is taken, so
    <SUPPLIER FUNLOC="9522222" NAME="Test vendor VMOI" LOCATION="NL" >
    regards,
    Hans
    [email protected]

    Hi Hans,
    I think you're using ABAP-XSLT?!
    If you do so, you can solve the sorting problem by using a 1:1 Message mapping after the ABAP-XSLT mapping. This resolves the problem that the nodes are not in the correct order.
    In your interface mapping you have to configure 2 mappings:
    1: ABAP-XSLT
    2: Message mapping.
    Of course this means that the total processing time increases a little bit.
    I had the same problem with the sequence of my (ACC_DOCUMENT) idoc nodes, the ABAP-XSLT screwed up the idoc, but the 1:1 message mapping solved the problem.
    Regards,
    Mark

  • Problem with rendered attribute in jhs 10.1.3.3

    We are currently trying to migrate our applications from jhs 10.1.3.2.52 to jhs 10.1.3.3.87 using jdeveloper 10.1.3.5. We are facing a problem with all the detail groups structured inside detail group regions - they have all disappear from the pages.
    In my example code i have two master-detail groups Products (Master) and ExpertiseAreas (Detail) on the same page:
    Products - Group
    -> ExpertiseAreasDtl - Detail Group Region
         -> ExpertiseAreas - Group (Samepage="true")
    The problem is that the detail group ExpertiseAreas is not rendered on the page.
    As i looked in through the pages generated by the 2 different releases of jhs using the same app definition, i can see the following:
    CODE GENERATED FOR THE ExpertiseAreasDtl Detail Group Region (all the vms used are the default):
    in jhs10.1.3.3.87:
    <af:panelGroup *rendered="#{(ProductsIterator.currentRow!=null and ProductsIterator.findMode!='true')}"* id="ProductsRegionsExpertiseAreasDtlPanelGroup">
    in *jhs 10.1.3.2. 52*:
    <af:panelGroup id="ProductsRegionsExpertiseAreasDtlPanelGroup">
    First of all a rendered attribute is being generated in the new version of jhs and not in the old.
    The real problem seems to be with the iterator binding generated from verticalRegionContainer.vm in the regular expression: "#{(ProductsIterator.currentRow!=null and ProductsIterator.findMode!='true')}". It should have been *bindings.*ProductsIterator and not plain ProductsIterator. Has anybody got any ideas on how to solve the problem?
    Thanks
    Giorgos
    Edited by: user647567 on 17 Δεκ 2009 2:16 πμ
    Edited by: user647567 on 17 Δεκ 2009 5:58 πμ

    Giorgos,
    We have uploaded a new service update, 10.1.3.3.88, on the cso.oracle.com site. This should fix your issue.
    Steven Davelaar,
    JHeadstart Team.

  • Problem with keeping attributes updated

    We have a problem with the server model in Designer.
    We have made a E/R diagram and genereted it to a server model diagram. Afterwards we want to delete some attributes which we delete back in the E/R program. Then we make some new attributes instead and generate a new server model diagram but the attributes which we have deleted in the E/R diagram is still present in the new server model diagram. The new attributes are there too. It is like the server model diagram only updates the new attributes, but doesn't delete the old, wrong, attributes.
    What can we do to solve the problem?

    Hi,
    DDT will modify the attributes values (datatype, size etc.) on the target tables.
    DDT doesn't drop the column if its corresponding attribute is deleted in ERD.
    However we can achieve this by deleting the table definition from DE and then executing the DDT on the new/modified Entity.
    Regards,
    Wilson.

  • APEX - Problem with column attributes - Simple Checkbox

    Hi,
    I've a problem with one of my report.
    select * from (
    SELECT
    APEX_ITEM.CHECKBOX(2,audsid,'UNCHECKED') KILL,
    INST_ID,
    AUDSID,
    SID,
    I changed the attributes one of the column in report to Simple Checkbox. Display is working fine and I see correctly checkbox inside the column, but when I trying to trigger process which is based on that column, I'm getting below error:
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: F01_NOSUBMIT
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    Process code looks like below:
    BEGIN
    FOR i IN 1..APEX_APPLICATION.G_F02.count
    LOOP
    rec_audsid := APEX_APPLICATION.G_F02(i);
    stmt...
    stmt...
    Could you pls help me with this? How I can submit correctly data to my process from that Simple Checkbox item?
    Thank in advance for help.
    Regards
    Mariusz
    Edited by: user8763881 on 17-Aug-2010 08:12
    Edited by: user8763881 on 17-Aug-2010 08:12
    Edited by: user8763881 on 17-Aug-2010 08:12

    Hi Marc,
    I am trying to use this simple check box to update records in a tabular form that is created through tabular form wizard.
    Now as what you said I included one more column in the tabular form sql query for my check box column.
    Lets say, if my table column name is sent_msg_ind then I have this included as below
    select sent_msg_ind, --hidden
             sent_msg_ind as sent_msg_ind_no_submit --simple check box
    from table_x;Now how to propogate the value of simple check box(1 - checked and 0 - unchecked) value into hidden field.
    I am using this tabular form to just update the records based on what is being fetched using the primary key from the previous page.
    Any example or demo would be highly appreciated here.
    Thanks,
    Teku
    Edited by: Teku on May 19, 2011 10:05 AM

  • Problem with settype, attribute and DDIC COMT_PROD_MAT_MAINTAIN_API

    Hello,
    I want to implement the BADI IDSSI_DISPLAY_TO_POD in CRM. The OSS Note number 573078 specify the code that must be integrated in the program of implementation of this BADI.
    I want to insert a specifical set type with several attributes.
    Before using the set type in my program, i have to transport this set in order to assure that the fields of this new set type would be include in the structure DDIC COMT_PROD_MAT_MAINTAIN_API. I did it.
    There is my problem : in the generated code of the OSS Note, there is :
    ISU_CUST01_TAB = SETTYPE-ISU_CUST01.
    with :
    SETTYPE a table like structure COMT_PROD_MAT_MAINTAIN_API
    ISU_CUST01_TAB TYPE ISU_CUST01_MAINT_T,
    ISU_CUST01 TYPE ISU_CUST01_MAINTAIN
    After creating settype, I verify that ISU_CUST01_MAINT_T and ISU_CUST01_MAINTAIN exist. this structure are generated when creating a settype.
    during the control of the program, I obtain this message :
    Field ISU_CUST01 can't be found in table settype.
    I don't understand how I can use my settype, like it is specified in the OSS Note.
    I will appreciate any help about this topic.
    Regards,
    Vincent UNGER

    Hi ,wyee .
       I  do it but not through your FMs , i think you can do it by the FM :
    create/change the material  CALL FUNCTION 'COM_PRODUCT_MAINTAIN_MULT_API'  
    IMPORTING  
       ET_BAPIRETURN  = LT_RETURN[]   
    CHANGING  
       CT_PRODUCT     = LT_PRODUCT
       EXCEPTIONS  
       INTERNAL_ERROR = 1     
       OTHERS         = 2.
    This FM can create or  change the material in the crm ,and can maitain data except conditions , like basic data ,like relationship .

  • Problem with calculated textobject

    Hi all!
    I have a problem with a text object with the attributes:
    Mode: sum
    formular:
    sumfunction: sum
    sum block: block1
    sum object: objet1 (numeric)
    Sometimes, specially if the first record of block1 isn't saved, the sumobject shows
    cryptical signs like '~--'. After commiting and requery the sum is correct.
    Why does this happen???

    Could it be your formatting? For example, if you specify 990 as your format, but the value has four digits, such as 1056, then you can get funny values.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Problem with Calculated Key Figure and Acumulated

    Dear Masters,
    I am trying to use cumulated KF in a query. No problem with results. I just flag 'Cumulated'. However I need to use the value of each line in an operation. Let me illustrate it:
    Cumulated KF    KF1      FINALKF
    2                         2             2/2=1
    3 (2+1)                1              1/1=1
    5 (3+2)                 4             4/2=2
    6 (5+1)                 2             2/5=0.4
    As you can see above instead divide the KF1 by Cumulated value of a Line, the final result is always KF1/the value that would be the add value. The first line always is right because for the line 1 cumulated value has no accumulation value.
    Any idea?
    Regards,
    GilsonTeixeira

    Any idea?

  • Problems with multiple Attribute Dimensions

    Hello Guys,
    when i try to get data from an Essbase database using the Grid API with more then one Attribute Dimension,
    the server needs a very long time to response or doesn't response at all.
    I encounter the same behaviour when i perform a query using the Excel Query Designer.
    Here is a sample query log output:
    <subquery>
    <cluster size="1">
    <dim size="1"><member>MEASURE</member></dim>
    <dim size="1"><member>PERIOD</member></dim>
    <dim size="1"><member>YEAR</member></dim>
    <dim size="1"><member>CATEGORY</member></dim>
    <dim size="1"><member>CURRENCY</member></dim>
    <dim size="1"><member>CUSTOMER</member></dim>
    <dim size="1"><member>PRODUCT</member></dim>
    <dim size="1"><member>Business</member></dim>
    <dim size="1"><member>black</member></dim>
    <dim size="1"><member>Attribute Calculations</member></dim>
    </cluster>
    </subquery>
    <elapsedtime>94.217 seconds
    Any help would be appreciated.
    Regards,
    Martin Brandl

    Thanks for the swift response. Always ideas are useful.
    As of now , Middleware cannot split the file.
    Thing is SAP is creating two Idocs with different message types. Problem is First IDoc contains ORDERS message type but also DELIVERY segments as well. Second IDoc with DELIVERY message tyoe but ORDERS segments as well... This is the problem... I think we are missing some field activation in file for EDIDC record.
    As far as I know file port supports the number of IDocs in one file.. Hope TRFC port also supports that

  • Problem with calculated column, everything inc. NULLs appear

    Good morning,
    This one is tough.
    I have a dimension Category (with categories: Fruits, Vegies, Canned, etc.). And in my fact table I have field Expense. Then I decided to create calculated fields like "Fruits Expense" -
    CASE WHEN Dim."Category" = 'Fruits' THEN Fact.Expenses "."Expenses $ CY" END
    There're 2 problems:
    A) if the field Category isn't dropped in Answers there're many NULLS (all Exp values which don't belong to 'Fruits')
    B) If Category isn't there, there're even more NULLs - which don't look good at all - there're too many empty values
    Of course, it's possible to train users to use filters (is not null), etc. - but then it's really not what OBIEE is good at.
    Can someone suggest a better approach?
    I proposed in the beggining to create fields in the DB like "Expense Fruits" - but ut was deemed too complicated on ETL side.
    Thank you and have a wonderful OBIEE day
    UPD: OK, I want to rephrase it and make it easier. Except for using "is not null" filter- is there any other way to supress NULL values? I'm getting 12 empty ones and 1 i need. Is there anything I could do in order to supress showing NULL values by default. Thanks
    Message was edited by:
    wildmight
    Message was edited by:
    wildmight

    Thank you Nilanshu! Where have you been! I'm already seeing quite a few useful contributions. I'll try to go ahead and test your suggestions and I'll report what I've found.
    P.S> It works like a charm. Thank you
    Message was edited by:
    wildmight

  • XML to ABAP Problems with many attributes in one Tag (Simple Transform)

    Hi
    i have a XML-Dataset like this. (It's a sample, in originl there are more fields under <Faktura> and more <Faktura>.) My Problem is reading the Attributes.
    <?xml version="1.0" encoding="utf-8"?>
    <Fakturen>
    <Faktura AVnr="123456789" Amt="100" Lang="1" Nr="1209" RechnungsTyp="B" Status="7" Waehrung="CHF" Year="2011" ZahlungsTyp="B"/>
    </Faktura>
    </Fakturen>
    In the Tag "Faktura are many Attributes. How can i read this. I have try this with this code and many other variation. But it does not work.
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates" xmlns:ddic="http://www.sap.com/abapxml/types/dictionary" xmlns:def="http://www.sap.com/abapxml/types/defined">
      <tt:root name="FAKTUREN" type="ddic:ZKSO_HRNET_INTERFACE"/>
      <tt:template>
        <Fakturen>
         <Faktura>
          <tt:attribute name="AVNR" value-ref=".FAKTUREN.FAKTURA.AVNR"/>
          <tt:attribute name="AMT" value-ref=".FAKTUREN.FAKTURA.AMT"/>
          <tt:attribute name="LANG" value-ref=".FAKTUREN.FAKTURA.LANG"/>
          <tt:attribute name="NR" value-ref=".FAKTUREN.FAKTURA.NR"/>
          <tt:attribute name="RECHNUNGSTYP" value-ref=".FAKTUREN.FAKTURA.RECHNUNGSTYP"/>
          <tt:attribute name="STATUS" value-ref=".FAKTUREN.FAKTURA.STATUS"/>
          <tt:attribute name="WAEHRUNG" value-ref=".FAKTUREN.FAKTURA.WAEHRUNG"/>
          <tt:attribute name="YEAR" value-ref=".FAKTUREN.FAKTURA.YEAR"/>
         </Faktura>
        </Fakturen>
      </tt:template>
    </tt:transform>
    Thanks for help
    Stefan
    Edited by: Franziska Madl on Mar 2, 2011 2:39 PM

    Hi
    Thank you for your answer. The function module SMUM_XML_PARSE is a good way to Read a XML. Now I have found the Correct way with simple transfer and it  works with an array too.
    many regards
    Stefan
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates" xmlns:ddic="http://www.sap.com/abapxml/types/dictionary" xmlns:def="http://www.sap.com/abapxml/types/defined">
      <tt:root name="FAKTUREN" type="ddic:ZKSO_HRNET_INTERFACE"/>
      <tt:template>
        <Fakturen>
          <tt:loop ref=".FAKTUREN.FAKTURA">
            <Faktura>
                <tt:attribute name="AVnr" value-ref="AVNR"/>
                <tt:attribute name="Amt" value-ref="AMT"/>
                <tt:attribute name="Lang" value-ref="LANG"/>
                <tt:attribute name="Nr" value-ref="NR"/>
                <tt:attribute name="RechnungsTyp" value-ref="RECHNUNGSTYP"/>
                <tt:attribute name="Status" value-ref="STATUS"/>
                <tt:attribute name="Waehrung" value-ref="WAEHRUNG"/>
                <tt:attribute name="Year" value-ref="YEAR"/>
                <tt:attribute name="ZahlungsTyp" value-ref="ZAHLUNGSTYP"/>
            </Faktura>
          </tt:loop>
        </Fakturen>
      </tt:template>
    </tt:transform>

Maybe you are looking for

  • Creative Cloud - Download error - stubborn error

    This seems to be inconsistency quality assurance going on with Creative Cloud using Adobe Application Manager, I always get this stubborn - darn stubborn error message "Download error. Please contact customer support." In this case, I have no idea wh

  • CSS : Website not displaying correctly in IE 7 , ok in Firefox and IE8

    Hello all, I am a newbie designing my new site with CS4. This is my first post to forum, although I have read many helpful hints while proceeding. I will be grateful for resolving a quirky issue. My website http://www.chezshuchi.com is not displaying

  • Error 1087 extra characters found after end of program.

    Why am I getting the "error 1087 extra characters found after end of program with this code". If (counter == 1) { Next_btn.addEventListener(MouseEvent.CLICK,KMT1); else { Next_btn.addEventListener(MouseEvent.CLICK,KMT1); function KMT1(event:MouseEven

  • Vpn connection droppes Windows 8.1 Enterprise

    Hi. I've an issue related VPN connection. I've setup PPTP connection like this: Windows 8.1 Ent. ->Wi-Fi -> Dlink DIR-300 -> Ericsson GPON -> FC -> ISP -> Ericsson GPON -> Dlink DSR 500N After few minutes i connect to the DSR 500N over VPN PPTP, the

  • UDF retrieval help

    Hey All, Can anyone tell me how I can properly read a UDF field from the UDF form on the purchase order screen? Usually i just read the text value from the activeform but of course this does not work for the UDF form as it is not the active form. A c