Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Delete attachments linked with a business object

Hi All,

I have added some pdf attachments to a business object using Archivelink. I am making use of FM - ARCHIV_CREATE_TABLE.

This worked. Now we need to either add a retention period for these attachments or archive them or delete them after a certain period of time. I tried some ways till now.. but they havent worked

1. Setting a delete date in my FM ARCHIV_CREATE_TABLE :

CALL FUNCTION 'ARCHIV_CREATE_TABLE'

EXPORTING

ar_object = <archiveobj>

DEL_DATE = '20100624'

object_id = l_arc_doc

However when I look in OAAD, this delete date doesnt show up!

2. Using standard reports - RSBCS_REORG, RSSO_DELETE_PRIVATE and RSSODFRE. However my attachments are not even getting selected to be deleted.

3. I also tried with FM - archive_object_delete and ARCHIVOBJECT_DELETE. Here I am getting an error that states-

Error during import of physical document from cluster table SOFFCONT1.

Any ideas towards this ? All your answers are appreciated.

Thanks, Liz

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question