cancel
Showing results for 
Search instead for 
Did you mean: 

.NET connector how to convert data type

former_member212758
Discoverer
0 Kudos

Hi Iam using .NET connector 3.0 and have problem reading result table.

Function module returns table of following structure

Cont BOOLE_D CHAR 1

LINE CHAR255 CHAR 255

How should I move it to some VB datatype I can further use. Problem is that LINE includes Packed numbers and it can contain 00 in hex, so if I convert it to string , it ends on 00h.

I use structure RSDRI_S_RFCDATA.

E_T_RFCDATA = BAPI.GetTable("E_T_RFCDATA", True)

FIELDx.Text = E_T_RFCDATA.RowCount()

Dim ARRA As System.Array

ARRA = System.Array.CreateInstance(GetType(Char), 256)

E_T_RFCDATA.Item(0).CopyTo(ARRA, 1)

gives me an error.

Thank you

Juraj

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member212758
Discoverer
0 Kudos

Got new version of NET connector, problem resolved.