cancel
Showing results for 
Search instead for 
Did you mean: 

FM /RPM/ITEMS_VERS_CREATE not working

0 Kudos

Hi Experts,

I would like to create item version(snapshot) dynamically while changing the decision point status. Implemented the BADI /RPM/DECISION_POINT=>PREPARE_TO_SAVE and called the FM /RPM/ITEMS_VERS_CREATE by passing item GUID, version type and version header description. But not working. When I did one test the FM with the same parameters, end up with error EV_RC = 4 and message = Error occurred when creating the document, reason: Operation is not allowed (CFF_VERS). Kindly help me to resolve the same.

System: PPM 6.0

Accepted Solutions (1)

Accepted Solutions (1)

former_member201206
Active Contributor
0 Kudos

Hi Udaya,

please check, if the following answer can help you, which I copied from a customer message for the same problem:

Kind regards

Zhenbo

1743268    DMS documents are not displayed II
1714997    DMS documents are not displayed

please make sure that you have set up all settings mentioned in the
cProjects Configuration Guide, chapter 'Configuring Integration with
Document Management', the Guide is attached to note 978997.

Please pay special attention to the fact that you need to create a RFC
destination in both, the DMS system and the cProjects system, in
transaction SM59.

The RFC-destinations should be configured as follows:

1) If cProjects is on the same system as DMS,destination 'NONE' needs to
   be defined in the cProjects customizing under 'Define Object Links
   for Documents in DMS'. If not, the corresponding RFC destination
   needs to be entered. This must also exist in TA sm59.

2) From DMS point of view, a destination must be created, which
   points to the cProjects system and which must have a logical system
   name. For example, this could be

In SM59 under tab 'Logon & Security' you need to set either the flag for
current user or maintain a RFC user with password. Ideally, a RFC-user
is maintained under which the RFC call is to be executed (note: the
logon data (user/pw) must be correct).

This user must have authorization for function group DPR_R3DMS_RFC. If
you set the flag for current user, the user ID of the caller is used.
Please note that all these users also need authorization for function
group DPR_R3DMS_RFC.

0 Kudos

Hi Zhenbo,

Thanks for you detail explanation. The issue has been resolved before I check your comments. I have used the static class method instead of the FM.

/rpm/cl_item_d_api=>create_items_version

which is working.

Thanks again.

Answers (0)