cancel
Showing results for 
Search instead for 
Did you mean: 

Validation code for business area and cenvat clearing accounts

sridhar_muthekepalli3
Active Contributor
0 Kudos

Dear Friends,

In order to prevent the users from entering the wrong business area in the correct company code, I have written the validation as below.

Prerequisite : BSEG-BUKRS = '1000'

Check : BSEG-GSBER = 'ABC' OR

BSEG-GSBER = 'DEF' OR

BSEG-GSBER = 'GHI' OR

BSEG-GSBER = 'JKL'

Message : E - 023 - Please Check the Business Area.

While trying to post Miro, cenvat clearing accounts is not picking up business area and giving an error "Please check business area" ,

I want the validation rule not to consider or evade the cenvat clearing accounts and post the miro.

The user is also making another mistake. Ex: in the debit he should enter ABC(Business area) and in Credit also he should enter ABC (Business area). He is wrongly entering GHI which is affecting the trial balance.

Please suggest what changes to be done to the validation.

Regards

Sridhar

Accepted Solutions (0)

Answers (1)

Answers (1)

sridhar_muthekepalli3
Active Contributor
0 Kudos

the issue is closed