Sending complex data to and from SAP with K2 connect can be accomplished by using XML data constructed on a schema. This schema is generated during the Service Object configuration. Previously it was the responsibility of the user to generate the XML data correctly or to interpret the XML returned from K2 connect through a SmartObject.
As from K2 connect version 4.6.5, enabling the option to create an XML property during the Service Object configuration, will now create methods to serialize or deserialize these XML data structures.
Executing these methods make it easy to read the data structure and send data into SAP.
Use the steps below as an example on how to use the Serialization and Deserialization functionality. For this example, we will use K2 Designer for Visual Studio 2012 to configure and publish a Service Object mapped to the BAPI_CUSTOMER_GETLIST BAPI. We will then use the SmartObject Service Tester exe to execute the new methods.
Thank you for your submission. We will be in contact shortly to assist you.