Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Validation in ECC6.0

Hi there,

We are on SAP ECC6.0 and facing problem in setting the Validation.

The Validation is activated for Co Code in SPRO.

Requirement:

1. There are over 20 Company Codes.

2. Users of X Co Code should NOT be allowed to Post an Accounting Line Item on Y Co Code's Cost Center

Validation:

1. Pre-Requisite

BKPF-SNAME IN XUSERS - This is the Set Name with User IDs of X Company Code

2. Check

BSEG-KOSTL NOT IN XCC - This is the Set Name with Cost Center of X Copany Code

This is giving me Syntax Error

BSEG-KOSTL IN XCC - This is the Set Name with Cost Center of X Copany Code

BSEG-KOSTL = 'Y*' - This is the Set Name with Cost Center of X Copany Code

This is not giving syntax error but it is not working while doc posting

3. Message

Error

Can you please let me know where am I going wrong?

Thanks

Rob

replied

Which field did you use for G/L? Use HKONT and not SAKNR.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question