Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Make sure this report has been run if you use the DMS storage type in configuration transaction /PACG/ECM_CUST_ATTA - Inbound/Outbound Attachment Configuration. See also: UPGRADE TO S4PACG 200 or PACG 200 - post installation steps

Due to the redesign of attachment handling, DMS attachments’ keys have changed. To avoid duplication, it is required to migrate already existing DMS attachments using report /PACG/ECM_ATTA_MIGR. All FSM attachments synced with the backend system will be identified, removed from FSM and then sent again with a new key.

Image Added
Image Added

Options

Force sending

When active documents are sent ignoring entries in /PACG/ECM_AHASH table

No sending
Status
title(S4)PACG 200 SP04

When active no idocs are sent at all. Only entries in the /PACG/ECM_SATT get modified - old keys' values are replaced with new

...

ones so the attachments having new key value will be recognized as already sent

Save Log

Logs produced by the report are stored with currently active logging solution

Display Log

Logs should be displayed at the end of the report execution

Steps

Navigate to program /PACG/ECM_ATTA_MIGR (e.g. via SE38). Specify the number of days that should be used to limit attachment selection. Only attachment idocs whose timestamp is greater than (system date – entered days) will be considered.  Execute.

...

Image Added

 

A pop-up log informs about the transferred objects.

Image Modified

Notice that in table /PACG/ECM_MIGAT a new entry is created.

...

 

Two outbound idocs are generated

...

(when option ‘force send is selected’

Status
title(S4)PACG 200 SP 04
)

  • Idoc of type /PACG/ECM_ITYPE_OPERATION – for deletion of the attachment object with the old key

Image ModifiedImage Modified

 

  • Idoc of type /PACG/ECM_ITYPE_ATTCHM_OUT – for transfer of the attachment object with the new key

Image Modified

 

The affected object should be still found in SAP FSM. The only difference is its new backend SAPID key.

Image Modified

Technical details

Already transferred attachments are retrieved from table /PACG/ECM_SATT (‘List of sent attachments’) based on date (the ‘Days count’ field should contain the number of days which will be taken away from the system date value).

The found DOCID should not contain ‘DMS’ prefix. DMS attachments are read based on retrieved keys. It is made sure that the corrected keys have not already been sent (based on entries in table /PACG/ECM_MIGAT - ‘List of migrated DMS attachments’).

If all the criteria

...

above are met, the deletion requests with the old attachment IDs are sent to SAP FSM and then new attachment idocs with new keys (starting with prefix ‘DMS’).

Image Modified