First of all, I am not sure if I posted my question under the correct tag. So, if it should be wrong please advise me.
I created an RFC server in C# .net with the .NET connector. This works great for simple functions that return a string value. Now I have the following requirement for a function:
IMPORTING VALUE(FI_T_VAL) TYPE YSSTRING_TT EXPORTING VALUE(FE_T_VAL) TYPE YSSTRING_TT VALUE(FE_ERROR) TYPE INT4
So, I have to provide a table as a return value but I have noe idea how to construct this in code. What I have is an IRfcFunction object on which I would like to call the following method:
SetValue(string name, IRfcTable table);
Can someone give a sample how to table a C# List<string> and ceate an object of type IRfcTable that contains the elements of that List<string>?
Any help is very much appreciated.