Google Search - Blog...........

SAP ABAP - ARCHIVING IDOC'S.

It first depends on how many years old Idocs you are deleting.

For Eg If its more than 5 years, then you may delete them (as they may not be needed during auditing).

But if its less than 5 years then its suggested to archive.
Also you cant archive the Idocs which are in error status. You may have to change their status and then only archive them.

If you go to WE10 and then click Data sources button and then select archive you can see a 'Archive Information system' radio button which says to read using archive infostructure.

SARI is the transaction where you can see the archive infostructures, This can be created for Idocs as well.
But creation of Idoc Infostructures...sorry i dont have much clue about it.


one way to read idoc is using infostructures
other one is using FM like

CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
EXPORTING
object = 'IDOC'
IMPORTING
archive_handle = gd_archive_handle
TABLES
archive_files = gt_arch_sel.

You may see both these code in RSEIDOCZ include(WE10).

You may find forums on Archiving and then post your question.
Generally professionals who are involved in archiving Idocs are less in number.



RETURN TO MAIN INDEX:

- Sample Programs On Uploading & Downloading Files.

- Sample Programs On HR ABAP.

- Sample Report Programs On ALV List/ Grid Display.

- Sample Programs On Selection Screen.

- Sample Programs On BDC.

.....Back To MAIN INDEX

No comments:

Post a Comment