Issue is resolved.
With the help of development team, we implemented an enhancement for picking the ECC contract number with reference to SRM central contract number and passing the contract details to PO in ECC.
Also, we implemented the below note
767284 - SE518 occurs although account assignment is supplied to BAPI