cancel
Showing results for 
Search instead for 
Did you mean: 

Help on MDM API

carlos_valentini3
Participant
0 Kudos

Good morning forum.
I need a little help.
I'm working with Webdynpro java development with integration with MDM.
And I have a screen for creating business partner, the partner is identified by an ID entered by the user screen.
But at the time of creation have to validate the following information, if the informed ID already exists registered in the database, if you issue a warning message to the user.
Which method of MDM API, I can use to validate this information?
How is my first development with MDM, I've read the API documentation, but have not found.

Does anyone have any examples? It can be a very simple example.
Thank you all.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

RetrieveLimitedRecordsCommand (MDM Java API Library)

if record can be returned based on the id from that command, then you give the warning.

carlos_valentini3
Participant
0 Kudos

Thank you very much.

Answers (1)

Answers (1)

carlos_valentini3
Participant
0 Kudos

Good day.

Anyone know how to help me in this doubt?

Former Member
0 Kudos

Hi,

Is this your looking for...?

Package com.sap.mdm.validation.commandsProvides commands for MDM validation functionality.


        
Class Summary
RetrieveValidationsCommandA command to retrieve the list of validation rules for the specified table or tuple definition.
ValidateNewRecordValuesCommandA command to validate record values against the specified validation rules.
ValidateRecordsCommandValidates records in the MDM repository against the specified validation rules.

Link for more details: MDM Java API Library

Regards,

Prithviraj