on 05-11-2012 10:12 AM
Hi All,
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.
Why not use .GetString instead of .GetValue? I know you said it worked for you with other statements, but I've always used .GetString. Why don't you give that a try.
If it doesn't work, let me know what the SAP data type for O_POSITION_TEXT is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.