Skip to Content

DI Server VS DI-API

Hello,

I was working with DI Server before and it is so easy to handle the XML architecture. A third party tool, can easily get the object / service schema with all fields and actions. I used 'GetServiceMetadata' for all services which retrieves all fields / commands list like Add/Update/Get. It was easy to use these commands for Adding / Updating service.

I was searching for samething in DI API when I am doing this for DI API, but can not get the commands / actions from anywhere. I get the fields list from 'GetBusinessObjectXmlSchema' call but does not include any commands like Add/ Update etc.

What is the best way to deal with DI API when we handle it from a third party application? I need a generalized methodology like DIServer, like get all fields and commands first and call one of the commands from Add/Update/Delete/Cancel etc

How can we do this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 06, 2017 at 04:39 PM

    Hi Anoop,

    Have you referred to SDK Help Center for the same?

    Open SDK Help Center Locate Developer's Guide DI API How To... Exchange Data Through XML

    Following samples might be useful for you:

    Hope it helps!

    Kind regards,

    ANKIT CHAUHAN

    SAP SME Support

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Ankit.

      I have checked this and it is helpful.

      Lastly, do you think there is a way to get the Commands supported by an object?
      Example, Order supports Add/Update/Delete/Close/Cancel etc
      Activity (Contacts) supports Add / Update only.
      So getting the commands supported by an object during execution? This supports in DIServer.

      Thanks in advance

  • Nov 07, 2017 at 06:08 AM

    Thanks Ankit

    I have gone through this and it really helps.

    Last question is about finding the actions / commands supported by the object during execution. For example, an order supports Add/Update/Delete/Close/Cancel etc. But an activity (contacts) support Add / Update. Is there a way to find this during execution for all objects? In DIServer, the schema really helps and it returns all these details.

    Add comment
    10|10000 characters needed characters exceeded