on 08-24-2005 11:40 AM
Hi all,
I am using a RFC enabled function module in a portal application using
SAP .net connector 2.0,the internal table which i defined in function module
is retrieved in my proxy filter and i bind that filter to a table view control.
but i also defined a export variable in function module i want to read the value of the variable.
In my example i defined a filter for that variable,
but when i execute the function it asks me for parameters .
can anybody help me that how can i read the value of the export variable of RFC enabled function module and how can i place that value to a input
field.
Regards
Sanjay.
I don't fully understand your question, but I think you want to databind an out-parameter of a method to a windows forms control.
You can do this programmatically:
string result;
...
proxy.Method(..., out result);
this.textBox1.Text = result;
Or you add a proxy field and "wire" it to the pameter by setting it as "DefaulValue". Then you can databind the TextBox's Text property to the proxy field.
Proxy fields are described in NCo online help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reiner,
Yes exactly you understood my question,when i am not using any out-parameter of a method but there are 6
in-parameters I can directly execute the method by
this.sapProxy11.RNO = InputField1.Value;
this.sapProxy11.DCODE1 = InputField2.Value ;
this.sapProxy11.PSNO1 = InputField3.Value ;
this.sapProxy11.FDate1 = InputField4.Value ;
this.sapProxy11.FTime1 = InputField5.Value ;
this.sapProxy11.TTime1 = InputField6.Value ;
this.sapProxy11.Zconf();
DataBind();
but when i used an out-parameter of same method which
is already "wired" to the pameter by setting it as "DefaulValue" and use same above statements,
at compile time it gives me an error
"No overload method for 'zconf' takes '0' arguments.
Regards,
Sanjay
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.