Show TOC

Deleting Links with IDocsLocate this document in the navigation structure

Context

As the IDoc number increases, not only the data records table gets bigger. The tables which contain links with application documents, for example, also get bigger and from time to time should be emptied of obsolete entries.

Note

IDocs links are always archived with them.

Procedure


  1. Start the program RSRLDREL.

  2. Enter a suitable end date.

    The end date is suitable if all links that were generated before are no longer needed. For example, if you have already archived and deleted all IDocs before this date and the application documents are also archived, you no longer need the corresponding links (exception: Application documents and IDocs are to be retrieved from the archive into the SAP System).

  3. Select Selection by link type and enter a link type. Also refer to the table below.

    Alternatively, you can do the selection by object/role. If, for example, you want to delete all links with standard orders, then you should make your selections according to object type BUS2032 (standard order) in the function APPLOBJ.

    If you want to delete the following links...

    Then select the link type...

    Application document with outbound IDoc

    IDC0

    Inbound IDoc with application document

    IDC1

    Outbound IDoc with application document in the target system

    IDC9

    Inbound IDoc with application document from the upstream system

    IDCB

    Inbound IDoc with communication IDocs in distributed systems

    IDC2

    Copy of an IDoc with its original

    IDC3 (inbound), IDC7 (outbound)

    Inbound IDoc with outbound IDoc from the upstream system

    IDC4

    IDoc with TID ( port type tRFC, ALE audit). Does not work with deletion criterion. Both objects not available.

    IDC8 (inbound), IDCA (outbound)

    Outbound IDoc with reference IDoc (type IDCREF01)

    IDRF

    • You want to delete links last. Choose Both objects not available. If now, for example, only the application document is available, you can actually display the numbers of the linked IDocs from the document, but no longer the IDocs themselves.

      Note

      This option does not work for links with TIDs (for ALE audit) although they appear to be there.

    • You want to delete the links if at least one of the two objects is no longer there (option One object not available). Then, for example, you can no longer display the numbers of IDocs that have already been deleted from an application document.

    • You generally want to delete all links that meet the other selection criteria. Select Without existence check.

      You can perform a test run. Then the system only notifies you of the number of links that meet the selection criteria, but does not delete them.