Skip to Content
author's profile photo Former Member
Former Member

Get Companies list

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 ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 06:32 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 05:14 PM

    Thank you

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.