Introduction:
Restricting cross company code settling to controlling in areas where cross company code controlling is active will be necessary. Utilizing Co. validation is one way to accomplish this.
Transaction:
GGB0
Create a validation rule here, then move on to the cost accounting application section.
Prerequisite:
Leave the requirement empty.
Check:
Here it should be noted that the corporate codes for the sender and recipient should match. This means to state that if the sender and receiver business codes match, everything is well; otherwise, an error occurs.
COBL_SENDER-BUKRS = COBL_RECEIVER-BUKRS
Message:
In transaction SE91, create a message, then assign it here.
Ex:
Message Number: ZA 038
Cross Company Code Postings not allowed. Please correct Co. assignments.
Validation rule activated:
Transaction:
OKC7
Here, turn on the previously generated validation rule.
Thanks.