cancel
Showing results for 
Search instead for 
Did you mean: 

Validation is needed for accounting document

Former Member
0 Kudos

Validation is needed to check that transactions against specific account ranges are made to cost centers with specific functional areas.

Accounts beginning with 6xxxxxxxxx should only be valid with cost centers that have a functional are a that are considered costs of goods (COGS)

Accounts beginning with either 8xxxxxxx or 9xxxxxxx should only be valid with cost centers that have a functional area that are considered SGA.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prakash,

You need to create account sets in GS01 for A/c's starting with 6xxxxxxxx, 8xxxxxxxxx, 9xxxxxxxxxx.

After that create validation rule in OB28. Select 2(Line item) for running validation.

Rule should be as follows

1) Perquisits = BSEG-BUKRS = Your cocd

BSEG-HKONT = your account Set ( 6xxxxxxxxxxxx)

Check = Cost Center = Your cost center

Functional Area = COGS

2) Perquisits = BSEG-BUKRS = Your cocd

BSEG-HKONT = your account Set ( 8xxxxxxxxxxxx & 9xxxxxxxxx)

Check = Cost Center = Your cost center

Functional Area = SGA

Take help from ABAP consultant for creating validation rule

regards

JS