on 10-29-2004 4:36 PM
With version 1.0.3 i do face errors while trying to execute the code..
Error is:
"No overload for method 'Z_Sd_Customer_Adr' takes '3' arguments"
What am i doing wrong..any help would be apperciated..
The Sample code looks like this..
rivate void Searchbtn_Click(object sender, System.EventArgs e)
{
Response.Write("1-Clicked");
// Declare parameters here
SapConn proxy = new SapConn();
try
{
Response.Write("2-Executed");
proxy.Connection = SAP.Connector.SAPLoginProvider.GetSAPConnection(this);
// Call methods here
//proxy.Rfc_Customer_Get("", Accnttxt.Text,ref zsD_CUST_ADDRESSTable1);
//proxy.Z_Sd_Customer_Adr("",Accnttxt.Text,Address_Id,ref DotNetConn.ZSD_CUST_ADDRESS);
proxy.Z_Sd_Customer_Adr(" ",Accnttxt.Text, ref zsD_CUST_ADDRESSTable1);
// Now update Data Bindings. On WinForms this will be automatic, on WebForms call the following line
Response.Write("3-Executed");
this.DataBind();
}
catch(Exception ex)
{
// If SAPLoginProvider.GetSAPConnection(this) cannot get a connection, we might get an error. // Normally this can be ignored as it will automatically will force a relogon.
}
Hello,
The number of parameters you passed to the method Z_Sd_Customer_Adr is wrong. Please check if the generated proxy class SapConn contains a definition for this method with 3 parameters.
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 |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.