Skip to Content
0
Former Member
Oct 31, 2007 at 12:13 PM

Do I need to dispose of a di api object ?

261 Views

Hi

I have just written some code to import invoices in SAP ( SP01 PL36 )

My program ( vb.net 2005 ) has a loop which reads a line from an ascii file, creates

a variable oinv = SBO.GetBusinessObjecSAPbobsCOM.BoObjectTypes.oInvoices)

After I have added each invoice should I set oinv = nothing or should I dispose of it some way ?

The program works fine I just wondered if I need to clear it ?

Thanks

Regards Andy