Batch run and need number
I have created a batch input program to enter customer cheques
and according to cheque number a new document is created through transaction F-36.
That is to say, assume 10 lines of data is available in file and all cheque numbers are different.
So do I have to call following sentence as 10 times?
CALL TRANSACTION 'F-36' USING bdcdata OPTIONS FROM lv_opts MESSAGES INTO messtab.
If yes, then How can I get the created FI documents numbers?
Waiting for your useful answers, offers.