Hi Pradeep ,
Use
SELECT COUNT( * )
INTO v_num
FROM DB_table.
V_num is the no. of records in your table.
Then apply modify statement and get the value of sy-dbcnt.
This will give the no. of records updated in your table.
Now, again use
SELECT COUNT( * )
INTO v_numnew
FROM DB_table.
v_numnew is the no. of records in your table ( after updation ).
Now,
No. of new records in your DB table ( newnum ) = V_numnew - V_num
No. of modified records = sy-dbcnt - newnum.
Regards,
Yogendra Bhaskar