Created by Jerry Wang, last modified on Jun 27, 2016
It is quite convenient to achieve Multiple version support using CRM Content management.
Click Advanced button in Attachments assignment block:
Choose the attachment based on which you would like to create a new version, click More->Check out:
Save the attachment locally:
After you finished the edit on the document locally, you need to upload the modified version into CRM content mangement once again via "More->Check in"
Repeat the steps above and you could have multiple versions of attachments now.
How to retrieve all versions of a given attachment via code
Step1: First call CL_CRM_DOCUMENTS=>GET_DOCUMENT to get the given logical object instance,
Step2: call CL_CRM_DOCUMENTS=>GET_VERSIONS, passing the logical object instance information got in step1, and three version instance returned.
Step3: call FM CRM_KW_PROPERTIES_GET with all version instances got from step2:
The properties of these versions are included in internal table of PROPERTIES: