cancel
Showing results for 
Search instead for 
Did you mean: 

form SDATA to send an IDoc using SAP .Net Connector 3.0

Former Member
0 Kudos

How to form SDATA to send an IDoc using SAP .Net Connector 3.0 ( NCo 3.0 ) when the IDoc XML contains Unicode characters.

Is there any difference in the way of metadata retrieval for Unicode and Non-Unicode for IDoc.

I am trying to set SDATA like:

StringBuilder lineBuilder = new StringBuilder(2000); IRfcStructure dataRecordStructure = null; dataRecordStructure.SetValue("SDATA", lineBuilder.ToString());

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

dataRecordStructure = dataRecordTable.Metadata.LineType.CreateStructure(); { dataRecordTable is an IRfcTable } I see that NCo 3.0 ( sapnco.dll ) somehow trims off my 2000 char SDATA to 1000 characters. Are there any flags to be set at SAP Server or Adapter for handling Unicode characters. Thanks in advance.