Table creating error

Hi All.
I am working on an issue....there is one ztable named as zemp with the following fields:
MANDT     MANDT     CLNT     3     0     Client
ZNUM     ZNUM     CHAR     6     0     Employee number
ZDATE     ZDATE     DATS     8     0                                                                
ZROLE     ZROLE     CHAR     1     0     emp role
ZCLASS     ZCLASS     CHAR     2     0     emp class
where mandt is the only key field in it and now I am trying to put the data in it, when I put the first entry using sm30
1.
empnum             1
date               08/08/2008
zrole              3
empclass           12
and now when I am trying to enter the second record:
empnum          1
date            08/08/2008
zrole           2
empclass        12
it's giving me the following error:
An entry already exists with the same key
can you please tell me what exactly the problem is..
Thanks,
Rajeev

Thanks for the reply srinivas. This time I amde enum also as a key field and tries to enter the following records:
empnum             1234
date               08/08/2008
zrole              2
empclass           12
and now when I tried to enter the seod record as :
empnum          1234
date            08/08/2008
zrole           3
empclass        12
I am facing the same problem !!!

Similar Messages

  • Creating new record in Results Table giving Error

    Hi All,
    On update page there is a Results Table with Add button to create a new row.
    While creating a new record on Results Table gives error
    Attribute set for AccessId in view object XXLCUpdVariablesVO1 failed
    I have checked EO and VO attributes, everything seems to be right.
    Also Updatable is set to 'Always'.
    Still don't know why this error is coming up.
    Plz help to resolve this error.
    Thanks,
    SK

    Ajay,
    XML code
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <Entity
    Name="XXLCVarAssignmentsEO"
    DBObjectType="table"
    DBObjectName="XXLCOKC_VARIABLE_ASSIGNMENTS"
    AliasName="XXLCVarAssignmentsEO"
    BindingStyle="OracleName"
    UseGlueCode="false"
    RowClass="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEOImpl"
    DefClass="oracle.apps.fnd.framework.server.OAEntityDefImpl"
    CollClass="oracle.apps.fnd.framework.server.OAEntityCache" >
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="10.1.3.41.57" />
    <AttrArray Name="_publishEvents">
    </AttrArray>
    <Attr Name="_panelSchema" Value="table|alias" />
    <Attr Name="_codeGenFlag2" Value="Init|Delete|Access|Val" />
    </DesignTime>
    <Attribute
    Name="AssignmentId"
    IsNotNull="true"
    ColumnName="ASSIGNMENT_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS"
    PrimaryKey="true" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AssignmentAccess"
    IsNotNull="true"
    Precision="30"
    ColumnName="ASSIGNMENT_ACCESS"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="VariableId"
    IsNotNull="true"
    ColumnName="VARIABLE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="ListValueId"
    IsNotNull="true"
    ColumnName="LIST_VALUE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="OrganizationId"
    IsNotNull="true"
    Precision="15"
    Scale="0"
    ColumnName="ORGANIZATION_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="TemplateId"
    IsNotNull="true"
    ColumnName="TEMPLATE_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AuctionHeaderId"
    IsNotNull="true"
    ColumnName="AUCTION_HEADER_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="PoHeaderId"
    IsNotNull="true"
    ColumnName="PO_HEADER_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreatedBy"
    IsNotNull="true"
    ColumnName="CREATED_BY"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreationDate"
    IsNotNull="true"
    ColumnName="CREATION_DATE"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateDate"
    IsNotNull="true"
    ColumnName="LAST_UPDATE_DATE"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdatedBy"
    IsNotNull="true"
    ColumnName="LAST_UPDATED_BY"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateLogin"
    IsNotNull="true"
    ColumnName="LAST_UPDATE_LOGIN"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AccessId"
    ColumnName="ACCESS_ID"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="XXLCOKC_VARIABLE_ASSIGNMENTS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Key
    Name="SysC00329905" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentAccess" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;ASSIGNMENT_ACCESS&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329905" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329906" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.VariableId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;VARIABLE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329906" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329907" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.ListValueId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LIST_VALUE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329907" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329908" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.OrganizationId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;ORGANIZATION_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329908" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329909" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.TemplateId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;TEMPLATE_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329909" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329910" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AuctionHeaderId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;AUCTION_HEADER_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329910" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329911" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.PoHeaderId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;PO_HEADER_ID&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329911" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329912" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreatedBy" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;CREATED_BY&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329912" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329913" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.CreationDate" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;CREATION_DATE&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329913" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329914" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateDate" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATE_DATE&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329914" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329915" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdatedBy" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATED_BY&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329915" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329916" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.LastUpdateLogin" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_checkCondition" Value="&#34;LAST_UPDATE_LOGIN&#34; IS NOT NULL" />
    <Attr Name="_isCheck" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329916" />
    </DesignTime>
    </Key>
    <Key
    Name="SysC00329917" >
    <AttrArray Name="Attributes">
    <Item Value="xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO.AssignmentId" />
    </AttrArray>
    <DesignTime>
    <Attr Name="_isPrimary" Value="true" />
    <Attr Name="_DBObjectName" Value="SYS_C00329917" />
    </DesignTime>
    </Key>
    </Entity>
    XXLCVarAssignmentsEOImpl Code
    package xxlc.oracle.apps.okc.schema.articles.variables.server;
    import oracle.apps.fnd.framework.OAAttrValException;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAEntityDefImpl;
    import oracle.apps.fnd.framework.server.OAEntityImpl;
    import oracle.jbo.AttributeList;
    import oracle.jbo.Key;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.server.EntityDefImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class XXLCVarAssignmentsEOImpl extends OAEntityImpl
    public static final int ASSIGNMENTID = 0;
    public static final int ASSIGNMENTACCESS = 1;
    public static final int VARIABLEID = 2;
    public static final int LISTVALUEID = 3;
    public static final int ORGANIZATIONID = 4;
    public static final int TEMPLATEID = 5;
    public static final int AUCTIONHEADERID = 6;
    public static final int POHEADERID = 7;
    public static final int CREATEDBY = 8;
    public static final int CREATIONDATE = 9;
    public static final int LASTUPDATEDATE = 10;
    public static final int LASTUPDATEDBY = 11;
    public static final int LASTUPDATELOGIN = 12;
    public static final int ACCESSID = 13;
    private static OAEntityDefImpl mDefinitionObject;
    /**This is the default constructor (do not remove)
    public XXLCVarAssignmentsEOImpl()
    /**Retrieves the definition object for this instance class.
    public static synchronized EntityDefImpl getDefinitionObject()
    if (mDefinitionObject == null)
    mDefinitionObject =
    (OAEntityDefImpl)EntityDefImpl.findDefObject("xxlc.oracle.apps.okc.schema.articles.variables.server.XXLCVarAssignmentsEO");
    return mDefinitionObject;
    /**Add attribute defaulting logic in this method.
    public void create(AttributeList attributeList)
    super.create(attributeList);
    OADBTransaction transaction = getOADBTransaction();
    Number asgId = transaction.getSequenceValue("XXLC_VAR_ASG_SEQ");
    setAssignmentId(asgId);
    /**Add entity remove logic in this method.
    public void remove()
    super.remove();
    /**Add Entity validation code in this method.
    protected void validateEntity()
    super.validateEntity();
    /**Gets the attribute value for AssignmentId, using the alias name AssignmentId
    public Number getAssignmentId()
    return (Number)getAttributeInternal(ASSIGNMENTID);
    /**Sets <code>value</code> as the attribute value for AssignmentId
    public void setAssignmentId(Number value)
    if (value != null)
    OADBTransaction transaction = getOADBTransaction();
    Object[] varKey = {value};
    EntityDefImpl varDefinition = XXLCVarAssignmentsEOImpl.getDefinitionObject();
    XXLCVarAssignmentsEOImpl variable =
    (XXLCVarAssignmentsEOImpl)varDefinition.findByPrimaryKey(transaction, new Key(varKey));
    if (variable != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AssignmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    setAttributeInternal(ASSIGNMENTID, value);
    /**Gets the attribute value for AssignmentAccess, using the alias name AssignmentAccess
    public String getAssignmentAccess()
    return (String)getAttributeInternal(ASSIGNMENTACCESS);
    /**Sets <code>value</code> as the attribute value for AssignmentAccess
    public void setAssignmentAccess(String value)
    setAttributeInternal(ASSIGNMENTACCESS, value);
    /**Gets the attribute value for VariableId, using the alias name VariableId
    public Number getVariableId()
    return (Number)getAttributeInternal(VARIABLEID);
    /**Sets <code>value</code> as the attribute value for VariableId
    public void setVariableId(Number value)
    setAttributeInternal(VARIABLEID, value);
    /**Gets the attribute value for ListValueId, using the alias name ListValueId
    public Number getListValueId()
    return (Number)getAttributeInternal(LISTVALUEID);
    /**Sets <code>value</code> as the attribute value for ListValueId
    public void setListValueId(Number value)
    setAttributeInternal(LISTVALUEID, value);
    /**Gets the attribute value for OrganizationId, using the alias name OrganizationId
    public Number getOrganizationId()
    return (Number)getAttributeInternal(ORGANIZATIONID);
    /**Sets <code>value</code> as the attribute value for OrganizationId
    public void setOrganizationId(Number value)
    setAttributeInternal(ORGANIZATIONID, value);
    /**Gets the attribute value for TemplateId, using the alias name TemplateId
    public Number getTemplateId()
    return (Number)getAttributeInternal(TEMPLATEID);
    /**Sets <code>value</code> as the attribute value for TemplateId
    public void setTemplateId(Number value)
    setAttributeInternal(TEMPLATEID, value);
    /**Gets the attribute value for AuctionHeaderId, using the alias name AuctionHeaderId
    public Number getAuctionHeaderId()
    return (Number)getAttributeInternal(AUCTIONHEADERID);
    /**Sets <code>value</code> as the attribute value for AuctionHeaderId
    public void setAuctionHeaderId(Number value)
    setAttributeInternal(AUCTIONHEADERID, value);
    /**Gets the attribute value for PoHeaderId, using the alias name PoHeaderId
    public Number getPoHeaderId()
    return (Number)getAttributeInternal(POHEADERID);
    /**Sets <code>value</code> as the attribute value for PoHeaderId
    public void setPoHeaderId(Number value)
    setAttributeInternal(POHEADERID, value);
    /**Gets the attribute value for CreatedBy, using the alias name CreatedBy
    public Number getCreatedBy()
    return (Number)getAttributeInternal(CREATEDBY);
    /**Sets <code>value</code> as the attribute value for CreatedBy
    public void setCreatedBy(Number value)
    setAttributeInternal(CREATEDBY, value);
    /**Gets the attribute value for CreationDate, using the alias name CreationDate
    public Date getCreationDate()
    return (Date)getAttributeInternal(CREATIONDATE);
    /**Sets <code>value</code> as the attribute value for CreationDate
    public void setCreationDate(Date value)
    setAttributeInternal(CREATIONDATE, value);
    /**Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate
    public Date getLastUpdateDate()
    return (Date)getAttributeInternal(LASTUPDATEDATE);
    /**Sets <code>value</code> as the attribute value for LastUpdateDate
    public void setLastUpdateDate(Date value)
    setAttributeInternal(LASTUPDATEDATE, value);
    /**Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy
    public Number getLastUpdatedBy()
    return (Number)getAttributeInternal(LASTUPDATEDBY);
    /**Sets <code>value</code> as the attribute value for LastUpdatedBy
    public void setLastUpdatedBy(Number value)
    setAttributeInternal(LASTUPDATEDBY, value);
    /**Gets the attribute value for LastUpdateLogin, using the alias name LastUpdateLogin
    public Number getLastUpdateLogin()
    return (Number)getAttributeInternal(LASTUPDATELOGIN);
    /**Sets <code>value</code> as the attribute value for LastUpdateLogin
    public void setLastUpdateLogin(Number value)
    setAttributeInternal(LASTUPDATELOGIN, value);
    /**getAttrInvokeAccessor: generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index,
    AttributeDefImpl attrDef) throws Exception
    switch (index)
    case ASSIGNMENTID:
    return getAssignmentId();
    case ASSIGNMENTACCESS:
    return getAssignmentAccess();
    case VARIABLEID:
    return getVariableId();
    case LISTVALUEID:
    return getListValueId();
    case ORGANIZATIONID:
    return getOrganizationId();
    case TEMPLATEID:
    return getTemplateId();
    case AUCTIONHEADERID:
    return getAuctionHeaderId();
    case POHEADERID:
    return getPoHeaderId();
    case CREATEDBY:
    return getCreatedBy();
    case CREATIONDATE:
    return getCreationDate();
    case LASTUPDATEDATE:
    return getLastUpdateDate();
    case LASTUPDATEDBY:
    return getLastUpdatedBy();
    case LASTUPDATELOGIN:
    return getLastUpdateLogin();
    case ACCESSID:
    return getAccessId();
    default:
    return super.getAttrInvokeAccessor(index, attrDef);
    /**setAttrInvokeAccessor: generated method. Do not modify.
    protected void setAttrInvokeAccessor(int index, Object value,
    AttributeDefImpl attrDef) throws Exception
    switch (index)
    case ASSIGNMENTID:
    setAssignmentId((Number)value);
    return;
    case ASSIGNMENTACCESS:
    setAssignmentAccess((String)value);
    return;
    case VARIABLEID:
    setVariableId((Number)value);
    return;
    case LISTVALUEID:
    setListValueId((Number)value);
    return;
    case ORGANIZATIONID:
    setOrganizationId((Number)value);
    return;
    case TEMPLATEID:
    setTemplateId((Number)value);
    return;
    case AUCTIONHEADERID:
    setAuctionHeaderId((Number)value);
    return;
    case POHEADERID:
    setPoHeaderId((Number)value);
    return;
    case CREATEDBY:
    setCreatedBy((Number)value);
    return;
    case CREATIONDATE:
    setCreationDate((Date)value);
    return;
    case LASTUPDATEDATE:
    setLastUpdateDate((Date)value);
    return;
    case LASTUPDATEDBY:
    setLastUpdatedBy((Number)value);
    return;
    case LASTUPDATELOGIN:
    setLastUpdateLogin((Number)value);
    return;
    case ACCESSID:
    setAccessId((Number)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    /**Gets the attribute value for AccessId, using the alias name AccessId
    public Number getAccessId()
    return (Number)getAttributeInternal(ACCESSID);
    /**Sets <code>value</code> as the attribute value for AccessId
    public void setAccessId(Number value)
    setAttributeInternal(ACCESSID, value);
    /**Creates a Key object based on given key constituents
    public static Key createPrimaryKey(Number assignmentId)
    return new Key(new Object[]{assignmentId});
    Thanks,
    SK

  • Modified "Create error table" from CKM SQL problem

    Hi guys!
    I have a strange problem while creating error table by the CKM. I've changed in the interface from flow control to static control and now the command to create error table looks like:
    create table STG_TMP.E$_I_D_ASSORTMENT_S
    ERR_TYPE VARCHAR2(1 CHAR) NULL,
    ERR_MESS VARCHAR2(250 CHAR) NULL,
    CHECK_DATE DATE NULL,
    ORIGIN VARCHAR2(100 CHAR) NULL,
    CONS_NAME VARCHAR2(35 CHAR) NULL,
    CONS_TYPE VARCHAR2(2 CHAR) NULL
    the create error table(it should create table with all the columns varchar2 and handle the situation when column is number(0,0) => varchar2(255)) step from CKM is:
    <%=snpRef.getColList("<?\t", "int vL[POS]=[LONGC]+[SCALE]; if(\u0022[DEST_DT]\u0022.equals(\u0022DATE\u0022)) {vL[POS]=20;}; if(\u0022[DEST_DT]\u0022.equals(\u0022NUMBER\u0022) && vL[POS]==0) {vL[POS]=255;};", "\n \t", "\n?>", "INS")%>
    create table <%=snpRef.getTable("L","ERR_NAME", "W")%>
    ERR_TYPE <%=snpRef.getDataType("DEST_VARCHAR", "1", "")%> <%=snpRef.getInfo("DEST_DDL_NULL")%>,
    ERR_MESS <%=snpRef.getDataType("DEST_VARCHAR", "250", "")%> <%=snpRef.getInfo("DEST_DDL_NULL")%>,
    CHECK_DATE <%=snpRef.getDataType("DEST_DATE", "", "")%> <%=snpRef.getInfo("DEST_DDL_NULL")%>,
    <%=snpRef.getColList("", "[COL_NAME]\t varchar2 (<?=vL[POS]?>) " + snpRef.getInfo("DEST_DDL_NULL"), ",\n\t", "", "INS")%>,
    ORIGIN <%=snpRef.getDataType("DEST_VARCHAR", "100", "")%> <%=snpRef.getInfo("DEST_DDL_NULL")%>,
    CONS_NAME <%=snpRef.getDataType("DEST_VARCHAR", "35", "")%> <%=snpRef.getInfo("DEST_DDL_NULL")%>,
    CONS_TYPE <%=snpRef.getDataType("DEST_VARCHAR", "2", "")%> <%=snpRef.getInfo("DEST_DDL_NULL")%>
    Do you know whats the problem??
    Thanks in advance :)
    With regards,
    PsmakR

    What version of ODI are you using ?
    Are you still using Sunopsis ?
    Try using ODI 10.1.3.5
    Also, follow the solution in post
    Issue with Create Target Table in CKM Oracle

  • XML File in External Table - OS error permission denied.

    Hi.
    10g R2, Red Hat Linux
    I'm using the article (see below, taken from http://www.dbazine.com/olc/olc-articles/scardina1 by Mark Scardina) to create an external table where I'd store my XML file.
    So, I
    1. Created a directory xmlfile_dir
    2. Granted access to needed db user
    3. Created the table
    CREATE TABLE relayxml_xt (doc CLOB)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY xmlfile_dir
    ACCESS PARAMETERS
    FIELDS (lobfn CHAR TERMINATED BY ',')
    COLUMN TRANSFORMS (doc FROM lobfile (lobfn))
    LOCATION ('xml.dat')
    REJECT LIMIT UNLIMITED;
    4. mv relay.xml /xmlfile_dir/xml.dat
    When I run SELECT * FROM relayxml_xt I get this:
    Error starting at line 1 in command:
    select * from relayxml_xt
    Error report:
    SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file RELAYXML_XT_28773.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    29913. 00000 - "error in executing %s callout"
    *Cause:    The execution of the specified callout caused an error.
    *Action:   Examine the error messages take appropriate action.
    What am I doing wrong?
    Thanks,
    Using External Tables
    Introduced in Oracle9i, Oracle’s external table feature offers a solution to define a table in the database while leaving the data stored outside of the database. Prior to Oracle Database 10g, external tables can be used only as read-only tables. In other words, if you create an external table for XML files, these files can be queries and the table can be joined with other tables. However, no DML operations, such as INSERT, UPDATE, and DELETE, are allowed on the external tables.
    Note: In Oracle Database 10g , by using the ORACLE_DATAPUMP driver instead of the default ORACLE_DRIVER, you can write to external tables. In Oracle Database 10g, you can define VARCHAR2 and CLOB columns in external tables to store XML documents. The following example shows how you can create an external table with a CLOB column to store the XML documents. First, you need to create a DIRECTORY to read the data files:
    CREATE DIRECTORY data_file_dir AS 'D:\xmlbook\Examples\Chapter9\src\xml';
    GRANT READ, WRITE ON DIRECTORY data_file_dir TO demo;
    Then, you can use this DIRECTORY to define an external table:
    CREATE TABLE customer_xt (doc CLOB)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY data_file_dir
    ACCESS PARAMETERS
    FIELDS (lobfn CHAR TERMINATED BY ',')
    COLUMN TRANSFORMS (doc FROM lobfile (lobfn))
    LOCATION ('xml.dat')
    REJECT LIMIT UNLIMITED;
    The xml.dat file follows:
    customer1.xml
    customer2.xml
    If you describe the table, you can see the following definition:
    SQL> DESC customer_xt;
    Name Null? Type
    DOC CLOB
    Then, you can query the XML document as follows:
    SELECT XMLType(doc).extract('/Customer/EMAIL')
    FROM customer_xt;
    Though the query requires run-time XMLType creation and XPath evaluation, this approach is useful when applications just need a few queries on the XML data and don’t want to upload the XML data into database. In Oracle Database 10g, you cannot create external tables that contain pre-defined XMLType column types.
    Message was edited by:
    vi2167

    Your don't have the proper operating system privileges. Be sure that you (=oracle OS user / the OS Linux user that is starting the database) are allowed have read privs on the path and/or file.
    for example...
    chown -Rf /xxxxxxx/xxxx/etc
    ls -l file.xml
    file.xml    oracle:oinstall    rw-rw-rw

  • Invalid table name error ....

    Hi,
    I have written a function which takes table name dynamically and if column emp_id is null for more than 0 records then 1 is returned else 0 .
    My problem is when i compile iam getting invalid table name error .
    Below is my function :
    create or replace
    FUNCTION f_table ( tab_name in varchar2 ) return number is
    l_count number;
    begin
    select count(*) into l_count from tab_name where emp_id is null;
    if l_count >0 then
    return 1;
    else
    return 0;
    end if;
    end;
    Please help ...
    Thanks in advance ..

    Looks fine to me, you could use sign() for the last part:
    CREATE OR REPLACE FUNCTION f_table (tab_name IN VARCHAR2)
    RETURN NUMBER
    IS
      l_count NUMBER;
      v_sql VARCHAR2 (2000);
    BEGIN
      v_sql := 'SELECT COUNT (*) FROM ' || tab_name || ' WHERE emp_id IS NULL';
      EXECUTE IMMEDIATE v_sql
      INTO l_count;
      RETURN sign(l_count);
    END;And if you have large tables, you could consider not counting it all, and do something like this:
    CREATE OR REPLACE FUNCTION f_table (tab_name IN VARCHAR2)
    RETURN NUMBER
    IS
      l_count NUMBER;
      v_sql VARCHAR2 (2000);
    BEGIN
      v_sql := 'SELECT COUNT (*) FROM ' || tab_name || ' WHERE emp_id IS NULL AND rownum = 1';
      EXECUTE IMMEDIATE v_sql
      INTO l_count;
      RETURN l_count;
    END;Regards
    Peter

  • How many extents allocated when table created?

    I am using Oracle 9,
    is the number going to be what we specified by minextents?
    thanks

    Srinivas,
    You said,
    If its AUTOALLOCATE , Oracle starts with 1 extent of 64KB , then 128KB as the first extent becomes full, then 256KB so on....
    Can you help me in understanding this statement?I don't think that its true. See here,
    SQL> select * from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> drop tablespace test including contents and tablespaces;
    drop tablespace test including contents and tablespaces
    ERROR at line 1:
    ORA-00905: missing keyword
    SQL> drop tablespace test including contents and datafiles;
    Tablespace dropped.
    SQL> create tablespace test datafile 'd:\test.dbf' size 100m extent
    ocal autoallocate ;
    Tablespace created.
    SQL> select tablespace_name,initial_extent,next_extent from dba_tab
      2  where tablespace_name='TEST'/
      3
    SQL> select tablespace_name,initial_extent,next_extent from dba_tab
      2  where tablespace_name='TEST'
      3  /
    TABLESPACE_NAME                INITIAL_EXTENT NEXT_EXTENT
    TEST                                    65536
    SQL> --Creating a table inside in this tablespace
    SQL> create table t as select * from dba_objects;
    Table created.
    SQL> alter table t move tablespace test;
    Table altered.
    SQL> select tablespace_name, extent_id, bytes/1024, blocks
      2  from user_extents
      3  where segment_name = 'T';
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                    0         64          8
    TEST                                    1         64          8
    TEST                                    2         64          8
    TEST                                    3         64          8
    TEST                                    4         64          8
    TEST                                    5         64          8
    TEST                                    6         64          8
    TEST                                    7         64          8
    TEST                                    8         64          8
    TEST                                    9         64          8
    TEST                                   10         64          8
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   11         64          8
    TEST                                   12         64          8
    TEST                                   13         64          8
    TEST                                   14         64          8
    TEST                                   15         64          8
    TEST                                   16       1024        128
    TEST                                   17       1024        128
    TEST                                   18       1024        128
    TEST                                   19       1024        128
    TEST                                   20       1024        128
    21 rows selected.
    SQL>
    SQL> insert into t select * from t;
    50356 rows created.
    SQL> /
    100712 rows created.
    SQL> /
    201424 rows created.
    SQL> /
    402848 rows created.
    SQL> commit;
    Commit complete.
    SQL> analyze table t compute statistics;
    Table analyzed.
    SQL> select tablespace_name, extent_id, bytes/1024, blocks
      2  from user_extents
      3  where segment_name = 'T';
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                    0         64          8
    TEST                                    1         64          8
    TEST                                    2         64          8
    TEST                                    3         64          8
    TEST                                    4         64          8
    TEST                                    5         64          8
    TEST                                    6         64          8
    TEST                                    7         64          8
    TEST                                    8         64          8
    TEST                                    9         64          8
    TEST                                   10         64          8
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   11         64          8
    TEST                                   12         64          8
    TEST                                   13         64          8
    TEST                                   14         64          8
    TEST                                   15         64          8
    TEST                                   16       1024        128
    TEST                                   17       1024        128
    TEST                                   18       1024        128
    TEST                                   19       1024        128
    TEST                                   20       1024        128
    TEST                                   21       1024        128
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   22       1024        128
    TEST                                   23       1024        128
    TEST                                   24       1024        128
    TEST                                   25       1024        128
    TEST                                   26       1024        128
    TEST                                   27       1024        128
    TEST                                   28       1024        128
    TEST                                   29       1024        128
    TEST                                   30       1024        128
    TEST                                   31       1024        128
    TEST                                   32       1024        128
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   33       1024        128
    TEST                                   34       1024        128
    TEST                                   35       1024        128
    TEST                                   36       1024        128
    TEST                                   37       1024        128
    TEST                                   38       1024        128
    TEST                                   39       1024        128
    TEST                                   40       1024        128
    TEST                                   41       1024        128
    TEST                                   42       1024        128
    TEST                                   43       1024        128
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   44       1024        128
    TEST                                   45       1024        128
    TEST                                   46       1024        128
    TEST                                   47       1024        128
    TEST                                   48       1024        128
    TEST                                   49       1024        128
    TEST                                   50       1024        128
    TEST                                   51       1024        128
    TEST                                   52       1024        128
    TEST                                   53       1024        128
    TEST                                   54       1024        128
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   55       1024        128
    TEST                                   56       1024        128
    TEST                                   57       1024        128
    TEST                                   58       1024        128
    TEST                                   59       1024        128
    TEST                                   60       1024        128
    TEST                                   61       1024        128
    TEST                                   62       1024        128
    TEST                                   63       1024        128
    TEST                                   64       1024        128
    TEST                                   65       1024        128
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   66       1024        128
    TEST                                   67       1024        128
    TEST                                   68       1024        128
    TEST                                   69       1024        128
    TEST                                   70       1024        128
    TEST                                   71       1024        128
    TEST                                   72       1024        128
    TEST                                   73       1024        128
    TEST                                   74       1024        128
    TEST                                   75       1024        128
    TEST                                   76       1024        128
    TABLESPACE_NAME                 EXTENT_ID BYTES/1024     BLOCKS
    TEST                                   77       1024        128
    TEST                                   78       1024        128
    TEST                                   79       8192       1024
    TEST                                   80       8192       1024
    TEST                                   81       8192       1024
    82 rows selected.
    SQL>Its not working in the way youmentioned. The extents are of 65kb till 16 extents than it changes to 1024kb untill 78 and then 8192 kb. Is it something that I am missing?
    Aman....

  • Dimension create error - AWM

    Hello,
    I am trying to create dimension in AWM 11.2.0.1.0A and I get the following error:
    (Version of Oracle is 11.2.0.1.0)
    DPR: cannot create server cursor, Generic in TxsOqDefinitionManager::generic<CommitRoot>
    INI: XOQ-01801: CREATE privilege is required for object "DF" in schema "ADW_TEST".,Generic in TxsOqTopLevelObject::lockExclusive
    at oracle.olap.awm.dataobject.dialog.PropertyViewer.doCreateAction(Unknown Source)
    at oracle.olap.awm.dataobject.dialog.CreateDialogHostActionThread.doAction(Unknown Source)
    at oracle.olap.awm.ui.dialog.ThreadedDialogActionThread.run(Unknown Source)
    Please help me on this error..

    *Yes
    *Yes
        ADW_TEST
           ADW3_USER
             ALTER SESSION
             CREATE CLUSTER
             CREATE DIMENSION
             CREATE EXTERNAL JOB
             CREATE INDEXTYPE
             CREATE JOB
             CREATE MATERIALIZED VIEW
             CREATE OPERATOR
             CREATE PROCEDURE
             CREATE SEQUENCE
             CREATE SESSION
             CREATE SYNONYM
             CREATE TABLE
             CREATE TRIGGER
             CREATE TYPE
             CREATE VIEW
             DEBUG CONNECT SESSION
           OLAP_USER
             ADVISOR
             ALTER ANY TABLE
             ALTER SESSION
             ANALYZE ANY
             ANALYZE ANY DICTIONARY
             CREATE ANY JOB
             CREATE ANY TABLE
             CREATE ANY VIEW
             CREATE CLUSTER
             CREATE CUBE
             CREATE CUBE BUILD PROCESS
             CREATE CUBE DIMENSION
             CREATE DIMENSION
             CREATE INDEXTYPE
             CREATE JOB
             CREATE MATERIALIZED VIEW
             CREATE MEASURE FOLDER
             CREATE OPERATOR
             CREATE PROCEDURE
             CREATE SEQUENCE
             CREATE SESSION
             CREATE SYNONYM
             CREATE TABLE
             CREATE TRIGGER
             CREATE TYPE
             CREATE VIEW
             DROP ANY TABLE
             DROP ANY VIEW
             EXECUTE ANY PROCEDURE
             GLOBAL QUERY REWRITE
             MANAGE ANY QUEUE
             QUERY REWRITE
             RESUMABLE
             SELECT ANY DICTIONARY
             SELECT ANY TABLE
           SELECT ANY DICTIONARY Edited by: user13372643 on 2010-07-26 04:47
    Edited by: user13372643 on 2010-07-26 04:48
    Edited by: user13372643 on 2010-07-26 04:49

  • Truncating table throws error although no child record exists

    I have 2 tables
    table_master (This is master table)
    table_child (This is child table)
    truncate table table_child ;
    the above executes properly
    BUT
    truncate table table_master;
    ERROR at line 1:
    ORA-02266: unique/primary keys in table referenced by enabled foreign keys
    Although there is no child record even though the above error is occuring.Please sove my problem.

    Hi,
    >>lthough there is no child record even though the above error is occuring.Please sove my problem.
    In fact, doesn't matter if child table contain or not data.
    LEGATTI> create table a (id number primary key);
    Table created.
    LEGATTI> create table b (id number constraint fk_b_a references a);
    Table created.
    LEGATTI> truncate table a;
    truncate table a
    ERROR at line 1:
    ORA-02266: unique/primary keys in table referenced by enabled foreign keys
    LEGATTI> alter table b disable constraint fk_b_a;
    Table altered.
    LEGATTI> truncate table a;
    Table truncated.
    -- In addition, in order to drop the parent table, just disable the constraint's child table is not sufficient.
    LEGATTI> select constraint_name,status from user_constraints where table_name='B';
    CONSTRAINT_NAME                STATUS
    FK_B_A                         DISABLED
    LEGATTI> drop table a;
    drop table a
    ERROR at line 1:
    ORA-02449: unique/primary keys in table referenced by foreign keys
    LEGATTI> drop table a cascade constraints;
    Table dropped.
    LEGATTI> select * from user_constraints where table_name='B';
    no rows selectedCheers
    Legatti

  • The backup disk image "/volumes/data/GuisselleiMac.sparsebundle" could not be created error null

    Hello...
    I just got my first 2tb TimeCapsule (TC). Unfortunately, it is not backing up!! I keep on getting the message "the backup disk image "/volumes/data/GuisselleiMac.sparsebundle" could not be created (error (null))"
    I've looked in many websites but can't find a solution... I've tried re-setting the TC to original settings, turning my Mac off and on, changing the name of my mac, changing the name of my mac on the network, nothing works!!!
    My TC is connected with an ethernet cable to a linksys router wich is connected to the cable modem, so it is in bridge mode. I have not connected the TC to my mac, I don't think this is necessary..
    Can someone help me please!!!

    My TC is connected with an ethernet cable to a linksys router wich is connected to the cable modem, so it is in bridge mode. I have not connected the TC to my mac, I don't think this is necessary..
    Your TC is not directly connected to the Mac and unfortunately it does seem to matter.
    The reason the TC fails is not entirely clear but it has to do with Mavericks.
    Let me recommend you test what happens with the TC reset and plugged directly into the Mac by ethernet.
    You will need to run it in router mode. Ignore all the errors and see if it now works.
    The other suggestion is to manually mount the TC hard disk
    First of all find it in the network via network utility.
    Run netstat and get the current routing table.
    Locate your TC on it.. On mine above it shows as tcgen4.local
    So in Finder top menu.. Go > Connect to Server.
    Type in AFP://TCnetworkname.local (exactly as it appears in netstat)
    Or use the IP address.. the problem is that in your setup it is probably not fixed.
    The current IP can be found by pinging the name. So ping in a terminal or in network utility.
    ping tcgen4
    ping: cannot resolve tcgen4: Unknown host
    Note how you must use the full domain.
    ping tcgen4.local
    PING tcgen4.local (192.168.2.201): 56 data bytes
    64 bytes from 192.168.2.201: icmp_seq=0 ttl=255 time=4.160 ms
    64 bytes from 192.168.2.201: icmp_seq=1 ttl=255 time=3.742 ms
    64 bytes from 192.168.2.201: icmp_seq=2 ttl=255 time=3.332 ms
    64 bytes from 192.168.2.201: icmp_seq=3 ttl=255 time=3.785 ms
    ^C
    --- tcgen4.local ping statistics ---
    4 packets transmitted, 4 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 3.332/3.755/4.160/0.293 ms
    So you have now established the IP..
    And type that in.
    AFP://192.168.2.201 (or whatever shows).
    Once you have mounted the disk .. delete the old Time Machine setup as per A4 in Pondini.. and set up again.
    It should work.. but I strongly recommend a direct link to the TC.

  • Grant table create for only temporary tables

    I looking for a way to allow user to create only temporary tables. The user does not need to create or drop any public tables.

    Hi,
    >>This is really a bad suggestion. The user1 can now only select his own tables, no insert or update. It can not be allowed in the "real world".
    The OP said "I looking for a way to allow user to create only temporary tables"
    I think that you didn't understand what I showed ...
    SYSTEM@test> create user user1 identified by user1 default tablespace USERS quota 0 on USERS;
    User created.
    SYSTEM@test> create user user2 identified by user2 default tablespace USERS quota unlimited on USERS;
    User created.
    SYSTEM@test> grant create session,create table, create synonym to user1,user2;
    Grant succeeded.
    SYSTEM@test> connect user2/user2@teste
    Connected.
    USER2@test> create table x (id number);
    Table created.
    USER2@test> insert into x values (1);
    1 row created.
    USER2@test> grant select,delete,insert,update on x to user1;
    Grant succeeded.
    USER2@test> connect user1/user1@teste
    Connected.
    USER1@test> create synonym x for user2.x;
    Synonym created.
    USER1@test> insert into x values (2);
    1 row created.
    USER1@test> select * from x;
            ID
             1
             2
    USER1@test> create table y (id number);
    create table y (id number)
    ERROR at line 1:
    ORA-01536: space quota exceeded for tablespace 'USERS'
    USER1@teste> create table user2.y (id number);
    create table user2.y (id number)
    ERROR at line 1:
    ORA-01031: insufficient privileges
    USER1@test> drop table user2.x;
    drop table user2.x
    ERROR at line 1:
    ORA-01031: insufficient privileges
    USER1@test> create global temporary table y (id number) on commit preserve rows;
    Table created.
    USER1@test> insert into y values (1);
    1 row created.
    USER1@test> select * from y;
            ID
             1
    USER1@test>Cheers

  • Condition Table ganeration Error.

    Hi All,
    The system allows me to create the condition table, but when I try to generate it, I get the error&Information below:  (but I could generate table Z663)
    Error: Activation was interrupted.
    Information: Reports and screens for table A653 marked for generation.
    Could you please help in this problem.
    Thanks in Advance,
    Regards,
    Kalam A.

    Thank you for the confirmation.
    I discovered this while trying to create a single, large table for my condition type/access sequence using the Hierarchy Pricing technique so that I would have more field combination options available to me without having to create them all on individual tables that have to be sequenced correctly.  My first thought when I got the error was that it is unfortunate that SAP has restricted us to 16 key fields, but that is probably an attempt to save us from ourselves.  It was my intention to create a single table with 22 fields!
    I am now working on a series of Hierarchy/optimized tables in my condition type/access sequence which is forcing me into the adoption of some "best practices" such as pricing at the sold-to level, not the ship-to level.  So I guess it is all for the best.  I will just have to be a better pricing designer than I wanted to be.

  • Condition table genaration Error.

    Hi All,
    The system allows me to create the condition table, but when I try to generate it, I get the error&Information below:  (but I could generate table Z663)
    Error: Activation was interrupted.
    Information: Reports and screens for table A653 marked for generation.
    Could you please help in this problem.
    Thanks in Advance,
    Regards,
    Kalam A.

    Thank you for the confirmation.
    I discovered this while trying to create a single, large table for my condition type/access sequence using the Hierarchy Pricing technique so that I would have more field combination options available to me without having to create them all on individual tables that have to be sequenced correctly.  My first thought when I got the error was that it is unfortunate that SAP has restricted us to 16 key fields, but that is probably an attempt to save us from ourselves.  It was my intention to create a single table with 22 fields!
    I am now working on a series of Hierarchy/optimized tables in my condition type/access sequence which is forcing me into the adoption of some "best practices" such as pricing at the sold-to level, not the ship-to level.  So I guess it is all for the best.  I will just have to be a better pricing designer than I wanted to be.

  • Error 1020034 - Binary spreadsheet table token error.

    Im getting this error, while retrieving in Essbase. I retrieved the same adhoc report in anothers system, Im getting the data. In my system Im getting this error
    Error 1020034 - Binary spreadsheet table token error.

    Usually an error like that is related to Excel 2007. The Essbase add-in still has the old Excel row limit.
    The fix is usually to save to a lower version of Excel such as Excel 97-2003 Workbook (*.xls), and then save back up to Excel 2007.
    Occasionally you will lose some Excel 2007 functionality that you will have to re-create, but not often.
    Hope this helps.
    Tim Young

  • Table of error

    Hi ,
    someone can tell me if it' s possible to know the record that is in error like this ORA-00001: unique constraint violated.
    this information is stored in a table.
    Thanks

    a record in never in an error, if there is an error that record is not inserted in the table. i guess, you want say is there any way to record such errors while inserting bulk data. if thats the case, then yes. there is an option which is called DML Error Logging and is avaliable from Oracle 10g R2 only (you have to check your version of database). If you use this, it will insert all those records in the table, which are ok, and will log an error for those which have an error in a specified table.
    it works something like this:
    first create the table in which you want to log the error
    SQL> create table error_log_dmlel_2
    2 (ora_err_number$ number,
    3 ora_err_mesg$ varchar2(2000),
    4 ora_err_rowid$ rowid,
    5 ora_err_optyp$ varchar2(2),
    6 ora_err_tag$ varchar2(2000) );
    then insert data into table
    declare i number;
    begin
    i := 0;
    while i <= 10 loop
    insert into dmlel (pkey, field1, field2)
    values (i, i, i)
    LOG ERRORS INTO ERROR_LOG_DMLEL REJECT LIMIT 1;
    i := i+1;
    end loop;
    end;
    after this you can check in the table created above for any errors.

  • Global temp table throwing error

    Hi,
    I am trying to create global temp table throwing error
    please help
    SQL> create global temporary table test_glb as ( select col1 from test1) on commit delete rows;
    create global temporary table test_glb as ( select col1 from test1) on commit delete rows
    ORA-00933: SQL command not properly ended
    Thanks
    Rangan S

    CREATE GLOBAL TEMPORARY TABLE test_glb ON COMMIT DELETE ROWS
    AS SELECT * FROM test1;btw I'm assuming you are just using the SELECT statement to copy the definition of test1. Since DDL statements commit, there will be no rows in test_glb after creating it.
    Edited by: William Robertson on Feb 23, 2009 7:31 AM

Maybe you are looking for

  • How do I get rid of the annoying "exportPDF" bar on the right side of the screen that blocks much of the document?

    How do I get rid of the annoying "exportPDF" bar on the right side of the screen that blocks much of the document?

  • Photoshop CS5 has lost file associations

    I recently installed both Photoshop and Dreamweaver CS5, deleting the CS4 versions after installation. I have lost file associations for all Photoshop-related files: eg jpg, tiff, gif and so forth, and the psd extension as vanished altogether. (That

  • Flash cs4 crashes after mac OS 10.6.7 update

    Updated my mac yesterday to OS 10.6.7. Now Adobe Flash cs4 crashes upon opening. Will not run. No other program seems affected on entire computer, including Flash 8! No info available anywhere on this bug... here is the report (good luck figuring it

  • Wall mounting and TV

    I have 2 questions regarding the Imac G5 Can it be wall mounted? Is there a way to watch TV through the mac? I had a friend who was able to do this on a PC with a TV tunner or other. Anyways, it would be great to be able to do this as I have very lim

  • IBook g4 intermittent display

    I've read in a lot of forums about people having problems with ibook displays but I haven't been able to find anything that quite matches my problem. My Ibook has been dropped a number of times and survived - it has numerous small cracks and the bott