cancel
Showing results for 
Search instead for 
Did you mean: 

ModifyRecordsCommand

Former Member
0 Kudos

MDM 5.5 SP6 Patch4 Hotfix7 (5.5.64.84)

SAP Portal 7 SP11

In custom development, we are using ModifyRecordsCommand for modifying multiple records (for fields say A&B) in MDM repository.

Useru2019s role accessing the repository has constraints on lookups.

For the same user (role) we are able to modify multiple records for the fields (A&B) using the MDM Data Manager, and it works fine for us.

While working through the Webdynpro interface (which is talking to MDM using APIs), the execution of ModifyRecordsCommand gives following error:

com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Users with constraints cannot perform this operation

PS:

I have concluded that this is not issue with the values I am setting, casue

- Everything works with Data Manager with the same value changes

- Even if I don't change anything and pass the same records to modify command, this error is thrown

Please help!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

No solution...

SAP says that Bulk update is not possible using Java API, though it is possible using Data Manager.

Unfortunately this limitation is not mentioned in API documentation.

So possible solution is work through single updates in a loop...

PS: ModifyRecordsCommand doesn't support the qualified updates too.. hope things get better in future..

Thanks,

Amber