AFAIK You should never execute a F1 or F4 in BDC recording...
(ref: Background Processing> Programming with the Background Processing System (BC-CCM-BTC)> Data Transfer> Data Transfer: Overview of Batch Input> The Transaction Recorder, look for "special feature")
Did you execute the recording "simulating background mode" ?
Regards,
Raymond