cancel
Showing results for 
Search instead for 
Did you mean: 

Get Companies list

Former Member
0 Kudos

Hi,

Is there any method on the DI API to retrieve the SAP Companies

or any trick from C# or VB.NET to get the SAP databases (Companies) only ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you

Former Member
0 Kudos

Simply utilize Company class and then use the method GetCompanyList. You should put in the Recordset because it contains the company list. Then, you can use it for whatever you want to do with the recordset.

<b>Code sample</b>:

oCompany = New SAPbobsCOM.Company

oRecordSet = oCompany.GetCompanyList ' get the company list