I am new to SAP ECC and i am doing migration from a database table to SAP ECC, where the database table consists of Customer Details and ShipAddress and Bill Adress details. Can anyone suggest me the Exact BAPI function to migrate this data into SAP ECC.
Why does everybody always try to reinvent the wheel?
Use the Rapid Data Migration to SAP ERP and SAP CRM V3.42 solution. That package is available for you to download from SAP Service Marketplace. Download instructions are in SAP Note 1791183.
That package contains pre-built DS jobs for dozens of objects to be uploaded into ECC and CRM. Use them! It's free.