on 02-12-2005 5:00 AM
Hi
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
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.
GL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks again
Do u mean to say. while developing add-ons in .net ...u want me to develop as noraml .net application using UI and DI. ones my module is fully completed. using Screen Painter creating xml files we can use it as SBO client addon
please let me know wether iam correct or not. sorry to trouble you again
regards
Screen painter is just a handy tool for creating an XML (text) file that you can load at runtime through the UI API on a client workstation that is logged in and configured to use the add-on.
Very simple to create the screen, dump it to a text file and then load it from your .net app through the UI API. You can use screen painter any time you want to create or edit a form that your app uses.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.