Application Development 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: 

Mainatanance Of Archiving data

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks krtithika for u r reply.

i willl try.