on 06-05-2004 7:44 AM
I'm using RFC Server and trying to get a result returned in the form of an output parameter.
I can return data in tables without a problem, but a simple import paramater is a problem.
e.g. ABAP Program
Call Function Get_DATA destination XYZ
importing
yerror = yerror
tables
data = itab_data.
.NET Console Application
protected override void Get_DATA (string YERROR,
ref Y_DETAILSTable Y_DATA)
{
YERROR = "TestData";
}
Y_DETAILSTable was generated by the SAPProxy
Is this a known issue? Is there any resolution?
Regards,
Lavaughn
I've resolved this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
An output parameter in C# has the keyword out, and the method should look like:
protected override void Get_DATA (out string YERROR,
ref Y_DETAILSTable Y_DATA)
{
...
}
Please make sure that the parameter YERROR is declared as EXPORTING in the correspoding ABAP function interface.
Regards,
Guangwei Li
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.