Hello,
LSMW using BDC approach is standard approach in SAP. You do not need any custom program for it, only in few cases where there are complex data structures you may need a custom program.
LSMW (Legacy System Migration Workbench)
Please read the above helpful link.
Best Regards,
Ameya B.