Validations in MDM
Hi MDM guru's,
I am just 1 month old in MDM with ABAP background. I have few questions regarding MDM Validations--
We use flat files(Text) to load data into MDM. I have a secnerio -- When sending Vendors Data into MDM, it shuld not syndicate the records which does not have some Mandatory fields data other than Key fields data into other ERP system.
Key fields - Compy code & Partner No.
Mandatory fields - Currency , Map fileds ect.
Can you guide me how to validate the data when records are send into system and also it shuld trigger error message & send notification to user/Admin, that set of records does not have data in some Mandatory fields.
Can you please guide me and also with some of validation documents
Thanks in advance
Cheers
Srihari Reddy
Hi srihari ,
To add to....
While creating MDM Validations you have an option to either make your validation as an Error,Warning or None
Error: This will not allow the user to proceed withour correctly the error.So if youa re chking for a mandatory validation using IS_NOT_NULL expression for any field,then MDM will not allow you to continue till you fill in a not null value in that field.
Warning:This will throw you a warning message but will allow you to proceed with warnings
None:This is used when you wnat to run a validation on a set of specific records ,eg in a workflows
MDM valiation expression are formed by selecting the Fields nad conditions from teh expression dialogue box.So it is very easy to use,,.
You can frame your expression as per the requirement just by using simple logics which is used when creating validation sin any language.
You can check for mandatory validations by using <Field name> Is_NOT_NULL expression.
and set its staus as error,warning or none.
Also you have a provision to write a user defined message to throw up when the user have failed the validation.
All you hvae to do is create a Validation in MDM data manager and fill in its properties which will cover it all.
Then you can use this validation in a branch step in the MDM workflow to chk for only the corrected records to move on
Hope It Helped
Thanks & Regards
Simona Pinto
Similar Messages
-
Re:Validations in MDM URGENT........
Hi
Can anyone help me in writing the validation rule for the description which checks......as follows
"ABCD EF " & "EF ABCD" as the description is same.
Can any one help me ASAP.
Thanks & Regards
Lakshmi.Hi Nagalakshmi,
After importing data into MDM i have to run validations and elimante the records to synchronize to remote systems -checking the uniqueness of description as if ANGLE CS and CS ANGLE has to considered as duplicates.
As far as I know, it seems to be a difficult task. The only way I can see it is through transformation.
You will have to manually do it for the records you will have.
Create 1 transformation and suppose the field values are:
ANGLE CS and CS ANGLE
you will have to transform one of them to another. For ex,
ANGLE CS to CS ANGLE
You can see the result in preview. This will not permanently change the data, but help you in identifying the duplicates.
You can use this transformation in a Matching Stratergy and then you will get the duplicates.
However, the method descirbed above in not so feasible as it requires a manual intervention and if the number of duplicates are large, then it is nearest to impossible to find such duplicates.
Hope it helps.
Thanks and Regards
Nitin Jain -
Need some validations on MDM repository
Hi All,
I am an MDM guy working on SAP standard repository "BUSINESS PARTNER".
If any of you have worked on that can please send the validations or else if anybody wants to know the fields i will send them.
Thanks
RaviHi markus,
Thanks for answering my queation.
Yes currently we are doing analysis on master data consolidation.
This is small idea.
We are trying to gather suggestion from the guys on community that what actually the problems they are facing and need solution on the problems above on MDM and BI or anyone.
Like we have a requirement give the supplier a application that accpet the data from supplier and before importing it to mdm first validate the whole file and then import it as there is no solution to first validate the the data provided by supplier that they are giving.
so we are working on this application also.
If you have any good idea that we can work on it then please share with us.
Thanks,
Sudhanshu -
How to call Java Validations from MDM Workflow
We have some Java Validations which have to be triggerd from the Workflow.
We do <b>NOT</b> want to use the Enrichment Framework for doing this.
How can we call these Java Validations from the Workflow?Hi Adhappan,
As I see, these kinds of validations are not possible as of now. I'm not very sure if VISIO internally can refer to the JAVA validations, but otherwise this is not possible with current version of the product.
Regards,
Mausam -
I want the industry key to given for only account groups=a/b/c/d
Els if the account grp is other than a/b/c/d it should not accept industry key value.
I have written it as
IF((account group .Name(Not equals Symbol<>) Account group[a] or
account group .Name(Not equals Symbol<>) Account group<b> or
account group .Name(Not equals Symbol<>) Account group[c] or
account group .Name (Not equals Symbol<>) Account group[d] ),IS_NULL(Industry.[Record]))
This is working fine for the other account groups than a/b/c/d if the industry key value is given it is throwing error.......but the same with account groups a/b/c/d..but i want the account groups a/b/c/d to accept the industry key value.
Edited by: shifali charya on Sep 4, 2008 7:38 AM
Edited by: shifali charya on Sep 4, 2008 7:39 AM
Edited by: shifali charya on Sep 4, 2008 7:39 AMHi Shifali,
Check the below expression.
Account Group is the lookup field in the main table
Account Groups is the lookup table
IF( (Account Group[Record] = Account Groups [a] OR Account Group[Record] = Account Groups <b> OR Account Group[Record] = Account Groups [c] OR Account Group[Record] = Account Groups [d] ) , IS_NOT_NULL(Industry.Record) OR IS_NULL (Industry.Record) , IS_NULL (Industry.Record) )
Note: Select everything from the list. Don't type anything by own
Regards,
Jitesh Talreja -
MDM ABAP API - Language information not valid for repository
Dear all,
We're programming an interface in SAP R/3 to MDM catalog through 'MDM ABAP API's'. Automatically, it creates an RFC connection to MMD, but we're getting the following connection errorwhen executing the API:
E MDM_ABAP_API 078 Language information ENG US USA not valid for MDM repository XXXYYYZZZ*.
*where XXXYYYZZZ is the repository name.
W'e've established the connection in R/3 through transaction MDMAPIC and we've created the same user in R/3 and MDM Console.
This is the code written on the program where we are defining the language (ENG), country (US) and region (USA).
*maintain logon language information
ls_repository_language-language = 'ENG'.
ls_repository_language-country = 'US'.
**no region information needed here
ls_repository_language-region = 'USA'.
How can I see the repository language definition?
Which are the correct codes to be used for language 'English', Country 'United States' and Region 'USA'? And for other countries, like spanish language, country Spain and Region ¿spain?
In fact, we copied this code from website:
http://help.sap.com/saphelp_nwmdm71/helpdata/en/44/93ad8931381053e10000000a422035/frameset.htm
Maybe the problem is that any RFC configuration is missing, and it has to be done in transaction SM59?
Thanks for your feecback,
Carlos Santamaría.The problem is now solved.
The correct languague information codes for Language Spanish, Country Spain and Region, are as follows:
Language: 'spa'
Country: 'ES'
Region: '___'
It is important to respect the CAPS, otherwise it doesn't work.
Regards,
Carlos Santamaría. -
Hi Experts,
I would like to validate E-mail and VAT Registration no's while adding new vendor details in MDM.
these validations should be equal to ECC validations because I need to syndicate Vendor repository details from MDM to ECC.
is there any standard validations available from SAP for standard repsotories?
If no standard validations available from SAP for standard repositories then any guildlines to implement same ECC validation logic in MDM?
Thanks,
RDNPrasadHi Prasad,
You can additionally go through the below links to know more on how MDM validations works:
/people/klaus.david/blog/2005/09/16/mdm-validations(validations)
/people/markus.ganser/blog/2005/09/28/new-webinar-about-validations-with-mdm-55 (mdm validations)
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/mdm/code%2bto%2bget%2blist%2bof%2bvalidation%2bin%2ba%2btable(validations)
Hope It Helped
Thanks & Regards
Simona Pinto -
Custom Function in SAP MDM Data Manager Validation
Hi SDN,
Can we write our own custom function for Validation of the records.
Actually my requirment is
For a particular Account Group The value of the G/L Account must be in particular range and it must have a specific Length.
For Example:
IF( Chart of Account = CCA AND Account Group = ACG, G/L Account No >=100 AND G/L Account No <= 1000 AND LEN(G/L Account No) = 6, False)
Pls provide some valuable suggestion .Hi Rajni thanx for ur prompt reply
The actual problem is that :
we have approx near about 100 Account Group, so it would become very complex to replicate same condition 100 times
AND
these account group may keep on increasing so even maintenance point of view it would be hard to maintain.
can u tell me some other way to do it, i mean is there any other feature by which we can perform validation in MDM.
Regards
Kuldeep -
Hi MDM Experts
I have a requirenemt where in I need to Implement all the validations on MATERIAL repository similar to standard SAP, is there a way I can achieve this either using JAVA API / web services.
The only idea is no to create validations in MDM.
Appreciate your thoughts and feedback.
Regards
VickeyHi Vickey,
If you are using the MDM system for the Master data maintainence process and the MDM tool is capable to handle the SAP standard validations in MDM ,then the better decision would be to go for MDM internal validations.
However if your business process requires validations to be done outside MDM ,then thsi can also be achieved.
If you are using the SAP NW application as teh front end with your MDM rep at the backend.Then you will have to design the webdynpro screens in NWDS .
These screens will then fetch data to and fro from your backend system.
You can use the Validations on this front end by doing extensive coding using the MDM Java Api packages and logic.
To know more on the use of MDM Java API kindly refer the below links:
http://help.sap.com/javadocs/MDM/SP06P2/index.html
SAP NetWeaver Master Data Management Java API u2013 New features in SP06 Webinar Details
https://www.sdn.sap.com/irj/sdn/event/webinars?rid=/library/uuid/209cad46-e080-2a10-7390-a5a43bd0ad2f
Hope it Helps
Thanks & Regards
Simona Pinto -
Validation to avoid special character in material & vendor no
Hi Experts,
We receive material & vendor creation request through E-portal. Once user send request on portal it gets recorde at its backend i.e MDM
Please guide me how to give validation in MDM to avoid special character '*' ',' '&' 'space' in material no. & incase of vendor code these same character & numeric code is not allowed.
Please guide in deatail step by step procedure.
Regards,
GaurangHi Gaurang,
How to give validation in MDM to avoid special character '' ',' '&' 'space' in material no. & incase of vendor code these same character & numeric code is not allowed*
For this, you can write two validations one for Material number and other for Vendor Code and need to set both of these validations to Automatic Execution = Error
Expression for Material No as given below:
IF(FIND(Material No, "*") OR FIND(Material No, ",") OR FIND(Material No, "&") OR FIND(Material No, " ") , FALSE, TRUE)
Expression for Vendor Code as given below:
IF(FIND(Vendor Code, "*") OR FIND(Vendor Code, ",") OR FIND(Vendor Code, "&") OR FIND(Vendor Code, " ") , FALSE, TRUE)
So both above validations will fail if they find any Special character among Asterisk ("*"), Ampersand ("&"), Space (" ") and Comma (","). Kindly revert with result.
Regards,
Mandeep Saini -
Filter the results set for custom iviews in SAP MDM
We have a scenario where based on the user name/user role we want to filter the results retrieved by an search result iview developed for accessing data from SAP MDM Repository.
E.g.
We have a lookup table called Plants which contains master data pertaining to manufacturing plants.
The portal user P00100xxyy is responsible for maintaining master data for a plant 1101. However, the plant lookup contains data for other plants as well.
We would like to prevent the user P00100xxyy to see/modify data for other plants in the table.
We have explored the core MDM functionality of security/constraints. It does not provide row level granularity and we are hoping that the iview approach can help us achieve row level filters.Hi Rajni thanx for ur prompt reply
The actual problem is that :
we have approx near about 100 Account Group, so it would become very complex to replicate same condition 100 times
AND
these account group may keep on increasing so even maintenance point of view it would be hard to maintain.
can u tell me some other way to do it, i mean is there any other feature by which we can perform validation in MDM.
Regards
Kuldeep -
Business Object Data Services (BODI) without SAP MDM?
Hi,
From an architectural point of view; do you always have to use SAP MDM when you want to use the Business Object Data Services (e.g. for data validity checks when creating customers)?
Or can you use Business Object Data Services in combination with SAP ECC without MDM?
Best regards,
MariusAll Depends on your business needs.
1) As in if you want to use most effective cleansing (BODS contains inbult infor for Adderess cleansing) along with some data governance(Validation, assignments,MDM Workflow) I would say fo with BO-MDM Integration.
2) Here I am not sure via BODS - ECC you can handle ongoing maintainance , it is supreb for first time data load.
so it is better if you use ECC-BO-MDM ---> BI/ECC for smooth transition through out landscape.
3) Here also try to check the data structure compactiblity between BODS and ECC as per their version, it can also create a big impact.
Hope these points can clear many doubts
Rgds
Deep -
Reg validations and assignments
Hi All
Im new to MDM and need to clarify some basic doubts....
What is the deifference between validations and assignments and what is their significance , and
SAP MDM is the third party tool and who is the atual vendor for this.
Points rewarded for the best..
Regards
HariHi Hari,
Both validations and assignments can be defined in MDM data manager using
functions and operators.
deifference between validations and assignments
Validations returns boolean value (True or False ) based on some rule
Example: IF (IS_NULL(Name),FALSE,TRUE).
In the above expression if name field contains null value,it returns false otherwise
true. Validations can be executed manually or automatically.
To execute the validations manually just right click on records on which you want to
do validations and execute the validation then you can see the result.
Automatic validations are automatically are executed upon record saving by giving
warning or error meaasge.
Assignments assign return value to the some field which is selected.
Suppose you took number field as assignment field and you have written expression
like this:
Example: IF (IS_NULL(Name),100,200).
If name field has null value, assigns 100 to number field otherwise assigns 200 to
number field.
See below links to get more details:
MDM Validations
New Webinar About Validations with MDM 5.5
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/102dc4e5-07c9-2910-93b3-f49c8ed52509
Validation Funcitons Enhanceable
Thanks
Narendra -
Using CAF GP for Approving MDM Record Request.
I am going to use CAF GP for approval workflow.
I need to understand how to approvve the record using Java API. I know it needs to be moved from checked out stage to Checked in stage. But how do we do that from Java APIs.
I am using SP4 for now, but need the information for SP6 too.
~NitinIf you look at your process description:
Requestor - Submit a request - store in MDM in checked out mode.
[Create a webdynpro callable object implementing IGPWebDynproCO|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814]
Have it use the checkout(new)recordCommand (this works similar as the checkincommand I described above)
Have validation at MDM to take care of all the required parameters/fields.
Approver - Approves > Change the record to check in
Use checkin as described above
Rejects > Delete the record.
For Reject you probably do not wantto delete the record but use the rollback command.
[Here some more info on how to create a GP with Webdynpro COs|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0957cb6-5103-2a10-6d9d-a0a4d68c8bf1]
This should get you started. You'll run into more questions though -
hi.....can any one tell me wat is meant by validations and workflows and the difference between them. And plz explain me the functions and there syntax .....
Hi,
Validations are used in MDM data manager for the data compliance i.e to check the structure of data if it is according to the business standards or not.Validations are written in data manager and applied and the result(True /False) are used for further actions.
Ex like a record Emailid is there.A validation is written to check if there is @,.com,.in etc are there or not.If not then email-id is not proper so we will make that email-id value blank by calling a assignments on the basis of the result of validations .
Have a look at the following links.They will help you to understand them better.
Validations:
MDM Validations
New Webinar About Validations with MDM 5.5
Workflow as the word suggest ,is to make the business solution to be in working format by including all the process of data add/update/import/ Validating/De-duplication/merging etc(as per business req.)
Workflow is used to automate the whole process.
Workflow links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b70eb612-0b01-0010-70b4-a01122d3fd17
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60559952-ff62-2910-49a5-b4fb8e94f167
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90990743-91c0-2a10-fd8f-fad371c7ee40
Rgds
Ankit
Maybe you are looking for
-
I can't reset the password for the apple id I use for iCloud because the associated email address is no longer in use and the site does not accept my answer to the security question. What should I do?
-
Flat file upload program is not working
Hi Experts, I am using following code to upload a flat file from my local PC to SAP The code is NOT inserting records in zassum, /bic/pzassum and /bic/tzassum. zassum is SAP BW infoobject. I have run debugger and found that data is getting populated
-
9iAS on Win NT 4.0 connecting to Oracle 7.3.4 in AIX
Can 9iAS release 2 installed on Win NT 4.0 SP6a connect with an Oracle 7.3.4 instance in AIX? Thanks for your help!
-
Can I use hotmail with the Mail app?
I looked at the mail app, but didn't see hotmail in there. Can I use it on the touch after upgrading?
-
Defrag index automatically (in configuration)
in 11g, what is the configuration to automatically defrag the tables and index continuously? is it advisable to do it on data warehouse with 200GB tables? thanks