Hi guru,
The program should look at the 'Vno' field and all the records which has the same 'vno' forms part of one document. So, the BDC should, once it has come to the end of the record with the same 'vno' post the document in SAP and then start the next 'vno' as a new document in SAP.
VNo
70100117
70100117
70100118
70100118
70100119
70100119
70100120
70100120
30100351
30100351
30100351
Regards,
Subash