cancel
Showing results for 
Search instead for 
Did you mean: 

Java API for MDM, in which masks a record occurs, RetrieveMaskMembership

Former Member
0 Kudos

Hi Experts

I need a search to find out in which masks a record occurs in MDM 5.5 for Java.

Example

Data: (masks: M1, M2, M3) (Records: A, B, C)

Relations: A record is in mask M1 and M2.

Query: Masks get for Record (A)

Result: (M1, M2)

RetrieveMaskMembershipForRecordsCommand

Since MDM 5.5 SP06, there is a Command: RetrieveMaskMembershipForRecordsCommand

http://help.sap.com/javadocs/mdm/SP06/com/sap/mdm/data/commands/RetrieveMaskMembershipForRecordsComm...

but the MaskeId is mandatory that does not help, because I want to have exactly this MaskId as a result and I do not know MaskId!

FieldId.MASK_FIELD_ID

Next I did a search with FieldId.MASK_FIELD_ID

ResultDefinition resultDefinition = new ResultDefinition (mask_TableId);

resultDefinition.addSelectField (FieldId.MASK_FIELD_ID);

Even this does not lead to the result

Does anyone have an idea or a solution to the problem?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bernahrd,

I am not seeing any other api for getting mask id. But i just want to know what is the actual scenarion where u need this.

Thanks,

Sudhanshu