cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Validation GL account with the cost center

Former Member
0 Kudos
1,232

Hi ,

I wanted to do validation for the combination gl account and cost center

As per the requirement,

Whenever GL account 440007 is used

Cost center 1100101 or 1100102 should be used .Otherwise system will issue a error message.

For the above one i made prequisite as

BSEG-HKONT = '440007'

and check was

Cost Center IN CC Set CC- 1100101 And 1100102

But i will be able to post the gl account for some other cost centers.Guide me

Regards

Guru

View Entire Topic
durgasankar_innamuri
Active Contributor
0 Kudos

Hi,

Create validation like BSEG-SAKNR = 1234564

Prerequisite BSEG-COST CENTER = 11111 or 22222

Create this validation under FI or CO

Create in FI through T.code GGB0 and activate t.code OB28

Create in CO through T.code GGB0 and activate t.code OKC7

in case of query revert me.

Regards,

Sankar

Theintzar1
Discoverer
0 Kudos
instead of BSEG-COST CENTER = 11111 or 22222, how can we do validation like Select Top 1 from bkpf where xblnr = bkpf-xblnr(bkpf-xblnr is value coming from user input screen)?