Hi Shyam,
You may use the validation for the combination of BSEG-HKONT (Gl account=300001) and BSEG-BSCHL (Posting Key=40) in GGb0 to create a validation and error message.
Assign the same to your company code in OB28 and activate.
Thanks,
Siva Cheruvu