‎2006 Jun 21 11:54 AM
hi,
an UPDATE statement i coded for MARA updates one material, but does not update another material what could be the reason.
please help.
‎2006 Jun 21 11:55 AM
avoid to use update(insert,delete) command in sap standard table.
just add after update command commit work.
‎2006 Jun 21 11:55 AM
Hi Surendar,
Can u give the code in detail...
r u using the Update statement once without a loop or ?
And also after Update use commit work.
Update updates the record if the record exists...
Modify modifies the record if exists else creates a new record...
Regards,
Sridhar
‎2006 Jun 21 11:55 AM
avoid to use update(insert,delete) command in sap standard table.
just add after update command commit work.
‎2006 Jun 21 11:57 AM
Hi Surendrakumar,
After Update use the statement commit work.
Regards,
Mukesh Kumar
‎2006 Jun 21 12:07 PM
hi,
better you lock the table before update and unlock the table after update, this may help.
you can use this FM :
DEQUEUE_E_TABLEE
ENQUEUE_E_TABLEE
‎2006 Jun 21 12:22 PM
Hi,
Use conversion exit FM for numeric materials
Try using modify and also check whether your
where condition value matches with mara-matnr.
Regards,
Amole