use FUNCLOCCHA ensuring KEY-TPLNR is set to generate & transfer.
declare your connection object, & whatever other data amendments you require in the subsequent structures available.
This is advised in the CONNOBJ Migration object documentation in EMIGALL itself.
Migration object FUNCLOCCHA documentation also has a nice level of detail for its use.
Regards
Daniel