Table update error
Hi All,
I created a ZTABLE ... and created a Table maintainance generator and also lock objects.
In portal they imported RFC structure for the table and it worked fine.
now i added a new field ( Non-Primary) in the table. in ECC its working fine.
But in Portal when I re-import the structure with updated value, i am able to see new field in my model, but when i try to deploy project i am getting error like field the structure not found.
any idea guys?
then i created a new ztable with above field included with out table maintainance generator and lock objects, then its working fine again.
is there anything i can update in ZTABLE for this or in Portal?
Regards
Giri
As you created a new field and records with that new field, u must activate & adjust the data base.
Tell ur basis guy the table name and ask them 2 do it.
So all records will be adjusted with the new tabel size.
You may want to know the path:
In SE11->table Name-> Utilities-->Database Utility.
There you will find that option.
Hope this can clear.
I solved my problem the same way earlier.
And also regenerate the table maintenance generator again.
It shud be fine
Thanks
Kiran
Edited by: kiran dasari on Sep 2, 2008 8:58 PM
Similar Messages
-
Table update error - ORA-01407
We have these two tables in Database.
And want to update the first tabel column using second table values.
Can someone help me with what I am doing wrong here?
Please see the query I used below and the error I am getting?
SQL> desc xyz.t_test1
Name Null? Type
SAK_FIN_SCHED NOT NULL NUMBER(9)
SQL> desc dtonse.T_FIN_CYCLE_HISTORY_XWALK
Name Null? Type
SAK_FIN_SCHED NUMBER(9)
NEW_SAK_FIN_SCHED NOT NULL NUMBER(9)
SQL> update xyz.t_test1 a
2 set a.SAK_FIN_SCHED =
3 (select b.NEW_SAK_FIN_SCHED from dtonse.T_FIN_CYCLE_HISTORY_XWALK b
4 where a.sak_fin_sched = b.sak_fin_sched
5 and
6 b.sak_fin_sched is not null);
set a.SAK_FIN_SCHED =
ERROR at line 2:
ORA-01407: cannot update ("XYZ"."T_TEST1"."SAK_FIN_SCHED") to NULLYour update statement will update all the rows of the table, even the row for which the subquery doesn't return any row, in which case, the update will set the column to null, where you get the error.
You should add a where clause to your "update" to be sure to update only the rows for which the subquery return a result.
update xyz.t_test1 a
set a.SAK_FIN_SCHED = (select b.NEW_SAK_FIN_SCHED
from dtonse.T_FIN_CYCLE_HISTORY_XWALK b
where a.sak_fin_sched = b.sak_fin_sched
and b.sak_fin_sched is not null)
where exists (select 1
from dtonse.T_FIN_CYCLE_HISTORY_XWALK b
where a.sak_fin_sched = b.sak_fin_sched
and b.sak_fin_sched is not null);Nicolas. -
Hi,
I am trying to update an alias table using rules file. I am trying to update members of multiple dimensions in one single rules file. the column structure is as below:
(Dim1, Lev 0) (Alias) (Dim2, Lev 0) (Alias) (Dim3, Lev 0) (Alias)
But the above rules file is failing at column 3. It says "\\column 3 validation failure". Can you please help?
Thanks!Hi,
Have you read this post? Alias Update
I know it was you that raised it but did it not answer the question?
LEVEL0,Dim1 ALIAS0,Dim1 LEVEL0,Dim2 ALIAS0,Dim2 LEVEL0,Dim3 ALIAS0,Dim3
should validate if each of the dimensions is set up as a level build type
You can quickly test it by creating a file with say the following.
dim1val,dim1alias,dim2val,dim2alias,dim3val,dim3alias
Create a new load rule.
Set it to dimension build.
Open the text file
Set the properties for each column as
LEVEL0,Dim1 ALIAS0,Dim1 LEVEL0,Dim2 ALIAS0,Dim2 LEVEL0,Dim3 ALIAS0,Dim3
set the dimension build properties for dim1,dim2,dim3 as level build type.
validate
Cheers
John
http://john-goodwin.blogspot.com/ -
Update Error: No access permission as table is already locked
Hi All,
I am trying to reload work order master data but keepp getting the update error "No access permission as table is already locked". I have looked at sm12 but no lock entries found.
Pls advice.Hi Ola,
Have you checked RS12 tcode for master data locks?
Best regards,
Eugene -
Open Delivery value update error in credit management
Hi
We have credit management active at delivery level. The value of open deliveries is not getting updated correctly for items with material substitution (material determination). For all other items, its getting updated correctly.
E.g Let say the credit limit set in FD32 is 10000 and the credit limit used % is 98 and the credit exposure value is 9800.
Now when I create an order with qty 10 for mat A, it creates a sub item B due to material determination and the value of the item is Rs.1200. In our system, the sub item with TAPS item category is relevant for pricing.
Then I create a delivery in VL01N and save it.
Now if i check in FD33, the credit limit used should be 101% and the credit exposure value should be 11000, but its not updating the open delivery value correctly. Its not considering the value of the new delivery.
However, If I add a normal item (TAN) in the same sales order and create a delivery for that item and save it, its updating the credit exposure based on the value of the normal item in the delivery correctly.
How to make the system update the open delivery values correctly by taking the items with material determination also into account.??
Please advise if any specific settings need to be done.
Regards
MadhuHi,
the system updates open values for credit management. These are:
Open sales order credit value (S066-OEIKW)
Open delivery credit value (S067-OLIKW)
Open billing document credit value (S067-OFAKW)
The system updates the open values in standard SIS structures S066 and S067. Technically, the structures are transparent tables. You can display the contents using transaction SE16 or using table maintenance.
The S067-OLIKW will give the open delivery credit values credit.Check in you system whether this table is updated with the delivery values for the credit account(customer number)
RVKRED77 u2013 Reorganize SD credit data
When updating errors occur, it enables you to reorganize the open credit, delivery and billing document values.
If the table is not updated run this report in background.
Regards,
Saju.S -
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,
SKAjay,
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=""ASSIGNMENT_ACCESS" 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=""VARIABLE_ID" 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=""LIST_VALUE_ID" 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=""ORGANIZATION_ID" 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=""TEMPLATE_ID" 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=""AUCTION_HEADER_ID" 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=""PO_HEADER_ID" 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=""CREATED_BY" 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=""CREATION_DATE" 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=""LAST_UPDATE_DATE" 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=""LAST_UPDATED_BY" 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=""LAST_UPDATE_LOGIN" 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 -
Error while posting the Idoc 'Update error, transaction VA01'
Hi Gurus,
When an inbound Idoc for sales order is trying to post we are getting the error 'Update error, transaction VA01'.
Aslo following are the details of the error:
Update error, transaction VA01
Message no. 00377
Diagnosis
An error occurred in CALL TRANSACTION USING or CALL DIALOG USING
during a synchronous update.
The error was caused by the transaction VA01.
Update information
Return code: 009
Text : Error during insert table FPLTC (RC= 1, Key= )
Procedure
Pleas analyse your Batch-Input data.
You can also examine your posting data using the transaction SM13.
Can somebody let me know what would be the cause.
Also the we are trying to post the Idoc with a Id which is having maximum Authorization.Hi,
Where you able to resolve your issue, I would appreciate if you can share the solution.
Thanks -
Update error in RV_SALES_DOCUMENT_ADD during Sales order creation
I get an Update/ ABAP runtime error during Sales order creation. The error occurs during processing of the update module -RV_SALES_DOCUMENT_ADD.
This error does not occuring always, as I am sometimes able to create a Sales order without getting update error. I am getting the error of all types of Sales orders and even contracts.
Am I missing any configuration parameters?
Thanks,
ChitraYes , I can see the error in ST22.
While exceuting VA01 (Oder type OR, Entering Sold-to-party, Purchase order NO, Material, Qty, Plant),
- I get run-time error "Run-time error "GETWA_NOT_ASSIGNED" occurred".
Analysis of error shows:
Update terminated in "Update module: RV_SALES_DOCUMENT_ADD"
Fails in the Read table in one of the form
Termination occurred in the ABAP program "SAPLV45U" - in "VBAP_BEARBEITEN"
The main program was "RSM13000 ". In the source code you have the termination point in
line 147 (READ TABLE FYVBAP WITH KEY VBAP_KEY.)
of the (Include) program "LV45UF0V".
The ABAP's say the functional module is trying to do an 'UPDATE' instead of 'INSERT" in the internal table FYVBAP.
Thanks,
Csuman -
Calling Batch input from Web Dynpro - any alternatives for table updates?
Hi!
I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ? We are not supposed to do direct table updates.
Anyone who have struggled with the same issues and found a solution??
regards, TineHi,
as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
Thanks,
Chandra -
Link update error when updating linked excel file
Im working with about 200 pages product catalog and the product information is on excel tables. I import the excel file as unformatted table in Indesign and format the table using the table and cell styles. The importing and formatting goes just fine, but when i edit the linked table in excel and then try update the link the Indesign notes: "Cannot update the link for xxxx.xls. Please place the document again to reset the link." The catalogs product information is on 5 separete excel files and each file contents about 3000 rows and 7 colums, the idea was that i import the excel tables to Indesign and when the customer makes changes or correction in excel, i just update the links and thats it. This updating error sinks the whole idea, has anyone a good idea how to fix this problem or can i do the job some other way?
Im using Indesign CS3 (5.04) and Mac OSX (10.4.11( and i have tryed two different excel version, Excel 2008 for Mac (12.1.3) and Excel 2004 for Mac (11.3.7).I've seen this error sporadically and have no clue what causes it. The
only thing you can do is follow the direction and re-place the file.
Bob -
Update error in BAPI_SALESORDER_CHANGE
Hi,
I have to add new line items to the existing sales order, so I have created a BDC for t-code VA02, when I run the program after I save the Sales order I got update error which says "Item status (document 2123455, item 20) is missing".
Then I converted the BDC into BAPI_SALESORDER_CHANGE, but still I have the same problem.
Below are the parameters which I'm passing to function module. Please suggest me what could be the problem?
lw_headx-updateflag = 'U'.
LOOP AT p_lt_final_item.
lv_itemno = lv_itemno + 10.
MOVE: lv_itemno TO lw_item-itm_number,
gv_material TO lw_item-material,
p_lt_final_item-ismnw TO lw_item-target_qty,
p_lt_final_item-werks TO lw_item-plant,
'hello' TO lw_item-short_text.
APPEND lw_item TO lt_item.
MOVE: lv_itemno TO lw_itemx-itm_number,
'I' TO lw_itemx-updateflag,
'X' TO lw_itemx-material,
'X' TO lw_itemx-target_qty,
'X' TO lw_itemx-plant,
'X' TO lw_itemx-short_text.
APPEND lw_itemx TO lt_itemx.
MOVE: lv_itemno TO lw_sched-itm_number,
'1' TO lw_sched-sched_line,
p_lt_final_item-ismnw TO lw_sched-req_qty,
sy-datum TO lw_sched-req_date.
APPEND lw_sched TO lt_sched.
MOVE: lv_itemno TO lw_schedx-itm_number,
'1' TO lw_schedx-sched_line,
'I' TO lw_schedx-updateflag,
'X' TO lw_schedx-req_qty,
'X' TO lw_schedx-req_date.
APPEND lw_schedx TO lt_schedx.
ENDLOOP.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = p_salesorder
* ORDER_HEADER_IN =
ORDER_HEADER_INX = lw_headx
TABLES
RETURN = lt_return
ORDER_ITEM_IN = lt_item
ORDER_ITEM_INX = lt_itemx
SCHEDULE_LINES = lt_sched
SCHEDULE_LINESX = lt_schedx
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .
Regards
Jaker.
Edited by: Rob Burbank on Feb 9, 2009 5:20 PM
(Per suggestion from Jelena Perfiljeva, added code tags)Switching from transaction to BDC or BAPI will not help you. There is clearly a data issue in this order. Read the long text for the message - it might have some additional information.
I'm guessing that there is some kind of a custom status maintained in your system on item level (see VA03 -> item data -> Status tab). You might want to check with your SD specialist on the status configuration.
P.S. Also do use the Code tags when posting any code. Although in this case you might as well just delete the code since it has nothing to do with this problem anyway.
Edited by: Jelena Perfiljeva on Feb 9, 2009 5:06 PM -
Update error after all screens in Batch Input session is processed.
Hi,
I have a problem in processing the batch input session. The batch input session is calling F-02 to post less than 999 line items (around 700) to a single financial document. The batch session is expected to have an error because tax code is missing for some line items but even after the tax code is added manually onto the batch screen, the update error message still happened at the end of the process. In the log, it said "System error: Error when inserting table BSET". Same account has been used to post 10+ line items manually with F-02, no error occurred.
Does anyone have any idea what possible reason could cause the update error in updating the tax table?Hi Rob,
That is exactly what happened to us. We already had note 521481 in our system but we also have OSS 558288 in which causes our scenario not generating an error message but an update termination instead.
The other thing I found out is once tax code is entering in one of the line items, it will be copied to all the succeeding line items even for the accounts that does not require a tax code (i.e. posting without tax code allowed checked) which will significantly increase the amounts of data posted into BSET.
We fixed the issue by changing the BDC program so it will take out the auto-copied tax code from other line items. Issue is solved. Thank you. I also rewarded the points.
Minami -
Update error, transaction VA21
Hi all,
when i want to save transaction Va21, i got this error update error, when i click where used list , i dunno which one program to set breakpoint. lots of list.
then i click the error message it display like this...when i go to SM13 the error details shows TD 423: CONTROL_FORM.
where and how i should solve this.. i'm really stuck.. donno how and why. Please xperts... help me...
Update error, transaction VA21
Message no. 00377
Diagnosis
An error occurred in CALL TRANSACTION USING or CALL DIALOG USING
during a synchronous update.
The error was caused by the transaction VA21.
Update information
Return code: 009
Text : CONTROL_FORM is invalid, OPEN_FORM is missing
Procedure
Pleas analyse your Batch-Input data.
You can also examine your posting data using the transaction SM13.You can delete the output from VA21 Transaction by EXTRAS-OUTPUT-HEADER-EDIT and then try to SAVE.May it will aloow you to save.
one more suggestion Check with Table TNAPR where KSCHL = ZN00 and NACHA = ? (Check in VA21) then you can get the Program and Name of routine Just Put a break point over there and find what is the issue.
Kanagaraja L -
Master/Details tables with CASCADE delete giving "table mutating" error
Hi,
I have two tables in a master/details configuration (table 1 is "master", table 2 is "details").
The details has a FK contraint relation to the master with a CASCADE delete (so when the master is deleted, all associated details are deleted).
The master table has a column "last_updated_datetime" which is updated by a master table update trigger whenever most (excluding the last_updated_datetime column) columns are updated.
The details table has an update trigger which also updates the master table's last_updated_datetime column (whenever a detail row is changed).
The details table also has a delete trigger which also updated the master table's last_updated_datetime column (whenever a detail row is deleted).
The problem I have is: When the master record is deleted, which cascade deletes the details record(s), the delete trigger on the details table throws a "table is mutating" error.
I understand that the "mutating" error is "correct" because the master record is being deleted.
But is there some way I can get around this problem (for example, having the details table delete trigger not update the master table last_updated_datetime) when it's this cascade delete?
Thanks for your help!create table master (
id number primary key,
changed date not null
create table detail (
id number primary key,
master_id references master (id) on delete cascade
create or replace package pkg is
master_deleted boolean := false;
end;
create or replace trigger bds_master
before delete on master
begin
pkg.master_deleted := true;
end;
create or replace trigger ads_master
after delete on master
begin
pkg.master_deleted := false;
end;
create or replace trigger adr_detail
after delete on detail
for each row
begin
if not pkg.master_deleted then
update master
set changed = sysdate
where id = :old.master_id;
end if;
end;
insert into master values (1, sysdate - 10);
insert into detail values (11, 1);
insert into detail values (12, 1);
insert into master values (2, sysdate - 10);
insert into detail values (21, 2);
insert into detail values (22, 2);
insert into master values (3, sysdate - 10);
insert into detail values (31, 3);
insert into detail values (32, 3);
commit;
select * from master order by id;
ID CHANGED
1 01.09.08
2 01.09.08
3 01.09.08
select * from detail order by id;
ID MASTER_ID
11 1
12 1
21 2
22 2
31 3
32 3
delete detail where id = 21;
select * from master order by id;
ID CHANGED
1 01.09.08
2 11.09.08
3 01.09.08
select * from detail order by id;
ID MASTER_ID
11 1
12 1
22 2
31 3
32 3
delete master where id in (1, 2);
select * from master order by id;
ID CHANGED
3 01.09.08
select * from detail order by id;
ID MASTER_ID
31 3
32 3 Regards,
Zlatko
Edited by: Zlatko Sirotic on Sep 11, 2008 11:15 PM
This is disaster - ten attempts to format code! -
Cannot Install Updates: Error 80070539
When trying to install available updates for W 7, I get a failure with the following error code:
results for "WindowsUpdate_80070539" "WindowsUpdate_dt000"
When I select the "get help with this error" link. the following appears
Suggestions:
Check your spelling
Try a different phrase
Browse the Table of Contents for Help
Other options to try:
Go online to get answers from other Windows users
Search the Windows Help website
Search IT Pro content on the Microsoft TechNet
website
I found no help in any of the above places
Jim McColl80070539 doesn't appear anywhere in my searches for a Windows Update error by that name.
There is a Win32 error code with the same name that appears to relate to security settings.
Also, quite a few of the search results mention the VSS service being related to this error.
Do you have a 3rd party firewall installed? Try updating with it turned off (don't forget to turn it back on!)
Do you have any 3rd party anti-spyware/anti-virus tools that may be blocking things?
Have you tried clearing your cache and then updating?
Have you tried turning off UAC (don't forget to turn it back on!)?
Have you tried clearing the Software Distribution folder? (this is just a shot in the dark)
To do this:
- open an elevated command prompt and type "net stop wuauserv" (without the quotes) and press Enter
- open an elevated instance of Windows Explorer, navigate to the Windows\SoftwareDistribution folder and delete everything inside of the folder (but not the folder itself).
- go back to the elevated command prompt window and type "net start wuauserv" (without the quotes) and press Enter to restart the service.
- then check for updates again.- John
Maybe you are looking for
-
Time Capsule vs Seagate for professional video and music
Hi there, I don´t know what to purchase, I want an external hard drive to storage my music and videos as well my photos work, and keep my computer free in space. But if all my documents are in my hard drive, so I wouldn´t backup my documents but only
-
how to install apple mobile device support in other drives other than C drive, how to install apple mobile device support in other drives other than C drive as my C drive is full ...
-
S_PL0_86000028 amounts are not tying with S_ALR_8701228
HI Gurus I have generated S_PL0_86000028- Financial Statement Actual/Actual Comparison and S_ALR_8701228-Financial Statement. Surprisingly amounts for GL accounts are not matching between two statements. I have selected same selection parameters for
-
Which settings for 27" monitors?
After setting up two new Maverick systems with 27" monitors (iMac 27" and MacBook Pro with 27" Thunderbolt Display), I find that some things are a bit difficult to read (labels, captions, some web pages and such). I have tried changing monitor resolu
-
10.4.6 Updated Apple Applications
It appears 10.4.6 updated the following Apple Applications to the following versions: Calculator 4.0.5 iChat 3.1.4 Internet Connect 1.4.2 Safari 2.0.3 iSync 2.2 Mail 2.0.8 In the Utilities folder: Printer Setup Utility 4.5 Installer 2.1.5 AirPort Adm