Skip to Content
avatar image
Former Member

Validation for Ledger is not working.

Hi All,

We have built a validation for Ledger but it is not working.i tired to check validation rule and everything looks good.

Requirement is as follows.

we have few company codes where those are not allowed to post for a certain ledger if those company codes try to post it to certain Gl accounts..So i have written a validation and tried testing but still is not working.

If anyone came across this scenario then please provide ur inputs.

Regards,

Diwakar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 07, 2016 at 09:56 AM

    Hi Eli

    Thanks for suggestion.

    i have written a validation but that is not calling during financial document posting.i have also checked validation assignment for company code and it is assgined.Also i had gone through Validation and it looks good.

    Please see below validation rule which i have written and let me know if i am missing

    Prerequisite: Company Code IN CC(SET) AND G/L IN GL(SET)

    Check:Ledger Group <> 'XX'

    Message:1 Series GL can only post to XX Ledger for XX CC Codes

    This is how i have written the validation.Post validation i have tested the scenario's in FB01Lm,FB50L but this validation is not giving any error even though i have posted for XX ledger with 1 series Gl account.

    So could you please provide your inputs..

    Regards,

    Diwakar

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 07, 2016 at 10:33 AM

    Hi,

    If a validation is not called, you could set a trace Menu - Extras - Activate total trace in OB28 and check why the validation is not triggered.

    It could be the way you created your GL sets, for example.

    Regards,

    Eli

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 07, 2016 at 11:50 AM

    Hi,

    Please check below in sequence

    1. If the validation is added at line item level
    2. If the SET is populated with the correct company code and correct GL accounts
    3. If the validation is activated for the company codes you have added in set
    4. If the posting is performed for the Company code and GL account you have maintained in the set.

    Regards,

    Sachin

    Add comment
    10|10000 characters needed characters exceeded