TDS is the SAP jConnect-proprietary protocol for handling communication between a client application and SAP Adaptive Server.
SAP jConnect includes a PROTOCOL_CAPTURE connection property that allows you to capture raw TDS packets to a file.
If you are having problems with an application that you cannot resolve within either the application or the server, use PROTOCOL_CAPTURE to capture the communication between the client and the server in a file. You can then send the file, which contains binary data and is not directly interpretable, to SAP Technical Support for analysis.