cancel
Showing results for 
Search instead for 
Did you mean: 

GGB0 Validation not working

Former Member
0 Kudos

Hello Guru's,

I want to create a validation using GGB0 for the below scenario.

1. Business wants to have a control on one GL to restrict postings to only G&A Functional Area.

Example:

GL Account: 519999 -- Professional Fees

Cost Center: 63740

Functional Area on Cost Center: 020 -- Operations

So when any FI transactions happen on this GL it should give a error message as Functional area is not G&A.

Business dont want to have functional area on the GL instead from the cost object like Cost center or WBS element should drive the FA.

I tried to GGB0: Check BSEG-FKBER field but this will populate once the postings is done not before so my validation is not working.

Could you please help me on the code side or any other check points.

Will assign good points

Thanks

Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

madhusoodanan_ramachandra
Active Contributor
0 Kudos

Hi,

My suggestion is as below....

Create a cost center sets using GS01

add all cost centers which has functional area G & A

In validation,

prerequisite

BSEG-HKONT = '519999'

Check

BSEG-KOSTL IN ZGACOSTCENTERS

Hope this helps....

Best Regards,

Madhu

Former Member
0 Kudos

Dear,

Since you want a specific functional are for this gl account then use substitution not validation because substitution has the priority over the functional area in the master data...

Regards,

Chintan Joshi