Skip to Content
0
Former Member
Jan 14, 2008 at 05:50 AM

Validation and Substitutions - Urgent Help needed

64 Views

Hello everyone,

I need your help about this. This is the first time i am going to create a validation for document no. line items.

The scenario is this:

1. I need to check if the FI document that is to be posted contains line items where BSEG-LOKKT falls within the range of “0099990000-0099999999”. For each matching line item, I need to check if the credit line items balances with the debit line items. If TRUE then the validation will EXIT succesfully.

2. If an FI document contains line items where BSEG-LOKKT falls within the range of “0099990000-0099999999”, but the sum of the debit line items and the credit line items is not equal to zero, validation will prevent thre user from posting the document. Error message will be raised.

3. If FI document document does not contain line items with BSEG-LOKKT ranging from “0099990000-0099999999”, validation will exit successfully because there are no appropriate alternative accts to be verified.

This validation will only apply to one company code.

Please provide me with the step-by-step creation of the validation.

Points will be rewarded for helpful answers.

Thanks in advance.

Bay