Validation in ECC6.0
We are on SAP ECC6.0 and facing problem in setting the Validation.
The Validation is activated for Co Code in SPRO.
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
BKPF-SNAME IN XUSERS - This is the Set Name with User IDs of X Company Code
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
Can you please let me know where am I going wrong?