Skip to Content
author's profile photo Former Member
Former Member

Bapi_Salesorder_Getlist return no items

When calling the Bapi_Salesorder_Getlist from .NET Connector but got no items return.

I can browse the order for customer 1012 in SAPGUI.

If the problem is caused by the searching parameters?

Please check the code for me.

Thanks!

Orders.SAPProxyOrders proxyorders= new Orders.SAPProxyOrders(cs);

// call the RFM method on the proxy

Orders.BAPIRETURN Return0=new Orders.BAPIRETURN();

Orders.BAPIORDERSTable Sales_Orders=new Orders.BAPIORDERSTable();

try

{

proxyorders.Bapi_Salesorder_Getlist("1012", "", "", "", "", "", "", "*", out Return0, ref Sales_Orders);

}

catch(SAP.Connector.RfcCommunicationException exp)

{

MessageBox.Show(exp.Message);

return;

}

catch(Exception exp)

{

MessageBox.Show(exp.Message);

return;

}

this.labelResultNumber.Text=Sales_Orders.Count.ToString();

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 13, 2004 at 09:54 AM

    I'm not sure, but perhaps this thread can help you:

    .Net connector, VB.net problem...Please help.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.