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

UI: Choosefromlist - Objecttype

Hi All,

I've worked with the Choosefromlist example, but I can't figure out how to make it show other CFLs than the Business Partner of the example. I guess I need to set the Objecttype, but I can't find a list or any documentation about which objecttypes to use to show other CFLs

Any hints?

Best regards

Jesper Carstensen

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 09:45 AM


    The list is in the enumeration BoObjectTypes in the DI API reference, or in BoLinkedObject Enumeration in the UI API.

    Best regards.

    Add a comment
    10|10000 characters needed characters exceeded

    • Daivd is right the values of the bolinkedobjects is the key:

      Examples on most common:

      "1" = Accounts

      "2" = Businesspartners

      "4" = Items

      The reason for this way to do it is that you can also tie your Userdefined objects to the choose from list (Example if you have a udo with UID="TEST", linking the Choose From list to "TEST" will make it work with your UDO)

      ALso a tip...

      - In the SAP Sample some things are missing. For example. when you use selectedObjects property to get the datatable you should after that check if the datatable is null (VB: Nothing). The will be null if user press cancel on the choose from list

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.