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

DI Server and userdefined tables/user defined objects


Trying to use DI Server to build a webservice/-application I encoutered the problem not to find any hint how to use user defined objects/tables. Sure, I can read all metadata and select data from user tables but how to add/update this tables.

Another problem seems to be impossibility to get access to our own user defined objects as business objects as we - for our add-on - like to modify them.

Please help me if you have any expierence in that issues.

Greetings from a little frustrated programmer

Gerd Sander

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 Feb 17, 2005 at 04:15 PM

    Gerd - I haven't played with the DI server regarding UDOs yet, however it looks like there is some access.





    These objects are listed as business object schemas available through the DI server interface. have you tried playing with this example:

    <?xml version="1.0" encoding="UTF-16"?>">










    Of course, the <Object> would change to one of the types you want to retrieve (IE - oUserObjectsMD)

    Like I said, I haven't played with it too much yet and I am not sure exactly what oUserObjectsMD contains. I just thought I would offer some ideas.

    Good luck!

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      DI Server helpfile states on the first page:

      "The DI Server uses the DI core to enable the same functionality provided by the DI API with the following advantages:"

      In addition according to the documentation DI Server supports working with non-UDO UDTs - at least according to the documentation.

      If it is not working properly, please report the bug through Service Marketplace.

      Using a batch process for moving data into UDO UDTs might be a bit "dangerous" because there's a larger number of internal fields in UDO UDTs (+ remember the log tables). I recommend to stay away from working in such manner now, but to wait until DI supports also UDO objects.

      If you run into problems doing it, SAP Support will certainly count this as "external modification"...



      PS: Please note that the new "SDK Help center" can be downloaded from the Developer Area for SAP Business One! It contains all helpfiles + above all a single point to start digging into them: one - sdk documentation.htm

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.