Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delete Serial number

Former Member
0 Likes
1,515

Dear Gurus,

Serial number for a particular material is updated twice in the system.

I want to delete one number, both have different eqiupment number.

sugest me the way to solve this problem.

Thanks in advance.

Dear Gurus,

Serial number for a particular material is updated twice in the system.

I want to delete one number, both have different eqiupment number.

sugest me the way to solve this problem.

Thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
738

hi,

If your post is with respect deleting a entry in a database table..?? then use delete statement on the DBTABLE

Delete from dbtab where <expression>.

or


Delete dbtab from wa. " where wa contains complete specification of records with respect to primary key, the wa is similar structure of database table

*give the appropriate equipment number

This would solve your purpose with respect to data base tables

Thanks

Sharath

Read only

Former Member
0 Likes
738

Yes you can have the deletion indicator for the seerial number ..

In IQ02, enter material and the serial number.. in the resulting screen.. Mat.ser.no....functions.....deletion flag...set and save..

karthick

Read only

former_member203501
Active Contributor
0 Likes
738

hi do one thing...

if you want to delete the serial number which is recent ..

then use sort table itab in descending

and read with index 1

and then delete .

or else if you want to delete the old one

then use sort table itab in ascending

and read with index 1

and then delete .

or delete the record using the where condition