‎2008 Apr 29 5:01 PM
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
‎2008 Apr 29 5:08 PM
You can use the control break statements for your requirement.
Like:
LOOP AT ITAB.
AT END OF VNO.
CALL TRANSACTION ......
ENDAT.
ENDLOOP.
Regards,
Naimesh Patel
‎2008 Apr 29 5:08 PM
You can use the control break statements for your requirement.
Like:
LOOP AT ITAB.
AT END OF VNO.
CALL TRANSACTION ......
ENDAT.
ENDLOOP.
Regards,
Naimesh Patel
‎2009 Jun 10 1:17 PM