SAP CRM Content Management version concept

知识共享许可协议 版权声明:署名,允许他人基于本文进行创作,且必须基于与原先许可协议相同的许可协议分发本文 (Creative Commons

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:
clipboard1
Choose the attachment based on which you would like to create a new version, click More->Check out:

clipboard2
Save the attachment locally:
clipboard3
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"
clipboard4
Repeat the steps above and you could have multiple versions of attachments now.
clipboard5

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,
clipboard6
Step2: call CL_CRM_DOCUMENTS=>GET_VERSIONS, passing the logical object instance information got in step1, and three version instance returned.
clipboard7
Step3: call FM CRM_KW_PROPERTIES_GET with all version instances got from step2:

clipboard8
The properties of these versions are included in internal table of PROPERTIES:
clipboard9
clipboard10

猜你喜欢

转载自blog.csdn.net/i042416/article/details/94742521