Hi,
We start using the cross-company code postings (transaction OBYA) between company code A and company code B and have to give authorizations both company codes to the Finance users. The idea is to have a set of G/L accounts which are allowed to be used when company code A and B are posted via cross-company code posting.
SAP recommends to implement a validation in FI to restrict the Intercompany scenatios. I attempted to create a FI validation for complete document (call-point 3) with no success:
1)
IC Rule: BSEG-BUKRS = A and BSEG-BUKRS = B and BSEG-HKONT IN ACCOUNTSET
Prerequisite: TRUE
Check: IC rule
Message: E- Account & not allowed for cross-company postings
When I test it, the Intercompany clearing account configured in OBYA, and which is in ACCOUNTSET, shows up in the error message, which unwanted.
2)
IC Rule 1: BKPF-BUKRS = '0017' AND BKPF-BUKRS = '0005'
IC Rule 2: BSEG-HKONT IN ACCOUNTSET
Prerequisite: TRUE
Check: IC Rule 1 --> IC Rule 2
Message: E- Account & not allowed for cross-company postings
No error message is issued at all, even if the G/L account is not in ACCOUNTSET.
Please advise what I am missing.