Hello,
Hope you are using 'BAPI_TRANSACTION_COMMIT' after your account posting call if there is a sucess messgae in the return table.
Also as suggested by Nagaraj, share the Messages in the return table and try to check if there is not any error message.
Regards,
Abhi