Hi Subashini,
It may be that the G/L account you are using is not part of an Account structure that exists on your Ledger.
Go to G/L -> Setup -> Ledger to see the Account structures that your ledger is using.
Go to G/L -> Setup -> Chart of accounts -> Configure accounts structures to check that the account is part of an account structure that your ledger is using.