I am using NCO 3.0 with VS2010 to create a service.
The following line in a service gives a blank when executed.
String Emp_Position = (String)irfc_func_obj.GetValue("O_POSITION_TEXT");
There are other similar statements as above which return the correct String from the function's export.
Can anyone tell me if there is a limitation when using GetValue() or if if I can cast to a different object to get the result?
Any suggestions are appreciated.
Thanks for your reply Case.
I have used .GetString but the result is the same as using .GetValue with typecasting. I still cannot the value. I can see that the values are available in SAP as they are displayed in the SAP client. Also, some fields having similar datatype are seen but some are not.
The datatype for O_POSITION_TEXT is HRP1000-STEXT