Warranty Claims – Creating a Validation

Home / Blog / Warranty Claims – Creating a Validation

This is something within claims that I’ve always wanted to figure out, but until recently, I just didn’t spend the time to do it.  turns out, it’s a very cool feature.  The idea behind a validation is that you can create your own custom rules without any development.  The rules will then check fields based on your requirements.  If they are blank, or incorrect, you can flag a message to correct the field.

Here are the basics of creating a validation.

using transaction OWTY, go to the following portion of configuration:

Warranty Claim Processing -> Control Data -> VSR Checks -> Specify Validations

Once you enter the transaction, you will need to drill down to the warranty section.  You will notice there are 21 different branches under warranty.  Although they are not labeled, these correspond to the boolean classes.

blog-vsr-01

Highlight the folder you wish to add a rule to and press the Validation Button

blog-vsr-02

Enter in the following information:

Validation Name: the key for the validation.

Description:  description of the validation

Message ID: the message class that will be used.  By default, WTY_VS.  However, you can assign your own message class to get the errors you want.

Authorization: The authorization group allows extended authorization protection for particular objects. The authorization groups are freely definable. The authorization groups usually occur in authorization objects together with an activity.

After populating this information,  press the create step  button .

blog-vsr-03

Now we get to the real work.  Within the step, there are 3 pieces.

Prerequisite: here you enter in the conditions that must be met.

Check: this is the actual validation that is occurring.

Message:  this is the message that is displayed if the VSR check is false.

The best way to understand this is with a demonstration.  So I will show you a simple validation that checks if the reference date has been populated, but only when the claim type is Z005.

Select the prerequisite from the menu.

blog-vsr-03

First, from the list of structures, select the second table:  WTY_RULE_H and double click to bring up the field list.  Scroll down to WTY_RULE_H-CLMTY and double click.  The table and field name will now be shown in the top window.

blog-vsr-05

Next, from the Status section, double click =.

blog-vsr-06

Next, press the Constant button.

blog-vsr-07

Select or type Z005 and press enter.  Now you will see the completed the formula.

blog-vsr-08

Next, select the check.

Repeat the steps above to build the formula:  WTY_RULE_H-REFDT > ’01/01/1900′

Note:  I had trouble making WTY_RULE_H-REFDT <> ” work properly, so I adapted the formula.

Finally, press the message.

blog-vsr-09

Description:  Enter in a description.

Message type: E or W or I

Message number: Do the pull down here to see the messages available.

Message variables: If the message has variables, enter them bottom section.

Save the validation.

Use Transaction: WTY_VSR_ACTIVE to activate the VSR checks. I’ll talk more about this in a future post.

Thanks for reading,

As always, thanks for reading and don't forget to check out our SAP Service Management Products at my other company JaveLLin Solutions,
Mike

Leave a Reply

Your email address will not be published. Required fields are marked *