How to restrict Cross company code settlement?
There will be requirement to restrict cross company code settlement to controlling where cross company code controlling is active. This can be achieved by using Co. validation.
Here create validation rule and step under the application area cost accounting.
In prerequisite leave the blank.
Here mention the sender company code and receiver company code should not be different. That means mention that if the sender company code equal to receiver company code then Ok or else error.
COBL_SENDER-BUKRS = COBL_RECEIVER-BUKRS
Create message in transaction SE91 and assign here.
Message Number: ZA 038
Cross Company Code Postings not allowed. Please correct Co. assignments.
Activate Validation rule:
Here activate the validation rule created above.
Thanks & Regards,