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

diff between UIAPI and DIAPI


The samples what i find in DI API, in that application i find interface. and coding looks more like normal .net application. but using SAPbobsCOM as introp.

where as in UI API samples it was using SAPbouiCOM, but i don't find any interface. why it is so.

is that screen interface using DI API is only just for testing or what? please make clear..

And is it compulsory to use DI API for all Database related things.

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2005 at 05:26 AM

    The UI and DI APIs are in use in production systems. There are instances when you may use one without the other or use both.

    Example - you can write VBA in Excel that references the DI API com object and use that to add data in by setting the correct properties of objects you create and then calling the correct method to submit.

    You can write a UI only add-on in .net (or vb6) that simply changes wallpaper or something similar.

    However, you will most likely be writing solutions in visiual studio that have references to both com objects. You can create XML forms using screen painter and then load them into a running SBO client from your add-on. the add-on can bind your UI elements to your custom data fields.

    I see no reason to always use the DI for read-only operations. I go directly to the tables in certain cases. However, since the DI encapsulates the business logic of SBO for data adds/updates/deletes etc it is definately the way to go fir those types of operations.


    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.