Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    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 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