10-25-2007 12:10 PM
Hi All,
I have one urgent requirement. We are maintainig archiving data in the table TOA01. once data archived flag must be set for that data.
next time user want to archive data it should arhive data that is not flagged.
so i have modified table TOA01 for my customer table ZTOA01 and added field for flag.
so how can i maintain the flag and how can process the data which is not flagged in the program.
Thanks in advance.
Best Regards,
zubera
10-25-2007 1:10 PM
Hi zubera,
Select all the records from table ZTOA01 into itab.
Whe nuser needs to archive, check if field zflag is say( 0 - not archived , 1- archived). Then proceed accordingly if it is 0 then archive and set the flag to 1 and update the table.
I think this would solve.
Thanks and Regards,
Krithika
10-25-2007 1:31 PM