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

Reload of archived data

Former Member
0 Likes
1,913

Hi experts,

i'm going to develope an archiving object for a custom table and users need that when data is not available in the system .. the application gives then a message like the item is not found, do you want to search in the archive files ?

how do i do this ?? i was thinking of reloading the data back again in the system .. but then this would be often .. and i have read that it is not recommended .. and i want to know why is that ?

please help me!

thanks!

1 ACCEPTED SOLUTION
Read only

former_member146451
Participant
0 Likes
1,160

Hi Dev.

The reason is the follow:

The reload is only propose by SAP in cases of error of archiving. For example if you archive the documents of year 2005, and you want to archive the documents of 2006. You can Reload after archiving the 2005´s documents and next archive the 2006 documents.

The reason to reload only after a archive is that the database can be change along time. The customazing, or the estructure of the table will be change, and the document of this table that you archive before can made problems with the new characterists of table.

I hope that you understand the explain.

Sap Help says with this:

<<The reloading function is only meant for emergency cases, in which the wrong data was archived due to errors in Customizing or during document selection. Therefore, data should only be reloaded immediately after the erroneous archiving session. If you reload the data later you may end up with inconsistencies in your database.>>

Best Regards.

Hi experts,

i'm going to develope an archiving object for a custom table and users need that when data is not available in the system .. the application gives then a message like the item is not found, do you want to search in the archive files ?

how do i do this ?? i was thinking of reloading the data back again in the system .. but then this would be often .. and i have read that it is not recommended .. and i want to know why is that ?

please help me!

thanks!

5 REPLIES 5
Read only

former_member146451
Participant
0 Likes
1,161

Hi Dev.

The reason is the follow:

The reload is only propose by SAP in cases of error of archiving. For example if you archive the documents of year 2005, and you want to archive the documents of 2006. You can Reload after archiving the 2005´s documents and next archive the 2006 documents.

The reason to reload only after a archive is that the database can be change along time. The customazing, or the estructure of the table will be change, and the document of this table that you archive before can made problems with the new characterists of table.

I hope that you understand the explain.

Sap Help says with this:

<<The reloading function is only meant for emergency cases, in which the wrong data was archived due to errors in Customizing or during document selection. Therefore, data should only be reloaded immediately after the erroneous archiving session. If you reload the data later you may end up with inconsistencies in your database.>>

Best Regards.

Read only

0 Likes
1,160

Hi!

Thanks for the answer, it was helpful. But i need to know how can i read the archived files in order to display them in a custom program. Since Archive Explorer is not what the users want .. we have to do a custom report ... is there any FM that could help me with this ?? or any example ??

Thanks in advance!

Read only

0 Likes
1,160

U can use FM : ARCHIVE_READ_OBJECT

Read only

0 Likes
1,160

Hi Dev,

Check demo programs SBOOKR, SBOOKR_2 & SBOOKR_3.

Thanks

Lakshman

Read only

0 Likes
1,160

Thanks all for your help!

But when i execute the programs that you mentioned, there's always a popup that shows a list of archived files. Is there any way to read the archived data without showing this list ? I mean, like in transaction FB03, in this transaction they don't ask you to select a file.

Thank you again!