Skip to Content
avatar image
Former Member

User Defined Table (UDT) and DI Server (DIS)

Hi!

I want to retrieve, add and update my UDT tables using the DI Server. I can see SBO creating "objects" (obviously not usable objects for this purpose) for the tables in the DTW, but when using the exact same object names in DI Server to, for example, retrieve the XML schema, I go home with a "Business Object not found" (-2053) error.

Is what I'm trying to do possible?

Kind regards

Bram

Edited by: Bram Dispa on Sep 2, 2008 4:05 PM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Sep 03, 2008 at 07:24 AM

    Hi,

    well - when you share your xml and/or your code with us

    we have at least a chance to help you 😊

    lg David

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi David

      I have a UDT called XX_AS_DEF (yes, the naming is logical 😉 ), which I want to populate using the DI Service. In order to figure out how to create my SOAP message, specifically to figure out the object name in the "Object" XML element, I sent this message:

      <?xml version="1.0" encoding="UTF-16"?>
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header>
        <SessionID>12345689-1234-1234-1234-123456789012</SessionID>
       </env:Header>
       <env:Body>
        <dis:GetBusinessObjectTemplate xmlns:dis="http://www.sap.com/SBO/DIS">
         <Object>XX_AS_DEF</Object>
        </dis:GetBusinessObjectTemplate>
       </env:Body>
      </env:Envelope>

      But that returns me the error message mentioned above.

      So that's the question. Can I actually manipulate or question UDT's?

      Cheers

      Bram

      PS, please ignore the SessionID. 😊

  • avatar image
    Former Member
    Sep 09, 2008 at 07:24 AM

    hi, does anyone can tell how to add UDT to DB via DI?

    Thanks!

    Alon Mashiach

    Add comment
    10|10000 characters needed characters exceeded