Skip to Content
0

Validation for Ledger is not working.

Dec 06, 2016 at 01:58 PM

43

avatar image

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

10 |10000 characters needed characters left characters exceeded

Well, when you ask a question like this, it would be useful to provide the validation and explain what exactly is 'not working', don't you think?

0
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Diwa p Dec 07, 2016 at 09:56 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Eli Klovski
Dec 07, 2016 at 10:33 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Sachinkumar Mehta Dec 07, 2016 at 11:50 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded