cancel
Showing results for 
Search instead for 
Did you mean: 

Validation and Substitution

Former Member
0 Kudos

Hi Experts,

Can any body explain about Validation and Substitution and how to create these

Regards

Aravind

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I have been reading up and working on these recently.

Check out these two links

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0bc693c-76d8-2910-fd81-e891248a02c5">Enhancement Technique How to Use Validations</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/707439da-ead9-2910-5c97-af6ca0b6fbb1">Enhancement Technique How to Use Substitutions</a>

Hope you find them useful!

Former Member
0 Kudos

Hi Aravind,

Validations are used to check settings and return a message , if the prerequisite check condition is met.

The following methods to get the validition configuration.

Path: financial Accounting/special purpose ledger/tools/maitain validation,substitution,rules/maintain validation TC : GBB0

Then pull the Create validation screen(it is used to create a validation configuration for business areas) , Then enter the name of the validation you wish to create and the the entry can be seven characters in length and is alphanumeric.

Then you have to select the Application area i.e for which module you wish to create the validation, the options are available for all modules,Then you have to choose the at which point you wish to create validation(normaly options are vailabe at Document header-- This point are stored in BKPF Table,at Line item-- This point are stored in the BSEG table and at Complete Document.,after selecting any one of the above options, then select validation, then give validation name, then select insert step button to add a step to the validation, for this 3steps you need to configure

1. prerequisite: before the validation step is executed , the prerequisite must first be met, prerequisities use boolean logic to verify that condition exits, then click the flds in bool.statmnt button to display and select the available fields to be used in your logic then

2. Check: if the prerequisite is met, the check is carried out

3. Message: A message is displayed if the prerequisite is met and the check is not fulfilled. A message can be defined as an Error(E), Warning(W), Cancel(A),or InformationI), you must also select the message to be displayed and you can also create a custom message by using variables such as & or $.

once you have completed your validation step configuration, make sure you run the check syntax function to see if your boolean logic has any errors. then if it is over you need to assing this validation for company code at

path; Financial accounting/financial accounting global settings/document/lineitem/define validations for posting.

TC:OB28 or GGB4.

hi

i think this can be helpful for you

bye

Brahma reddy.