Skip to Content
0
Former Member
Jan 18, 2006 at 06:20 AM

Archiving Object

460 Views

Hi,

I need to know where the Archivibng Object is created in SAP. For example in the function module:

  • open a new archiv for write

CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE'

EXPORTING

CALL_DELETE_JOB_IN_TEST_MODE = TESTRUN

COMMENTS = TEXT-001

CREATE_ARCHIVE_FILE = CREATE

OBJECT = 'EXAMPLE'

IMPORTING

ARCHIVE_HANDLE = HANDLE.

This takes EXAMPLE as an input and returns the handle. Where exactly is the EXAMPLE object created. I checked swo1 and it is not there although I could find it in the table ARCH_OBJ. I have a case where I have to archive a particular file in the application server ( Directory /tmp ). All the necessary config for the logical and physical file is done in the FILE transaction. Any inputs will be appreciated.

I can also execute the function module: Filename_archive_object but I need to pass the handle as input. It looks like the order in which the directory is listed in AL11 defines the handle. When I try to execute this function module with the handle as the sy-tabix for /tmp directory the program errors out.

Looking forward to your replies.

regards

Aveek Ghose