on 11-26-2008 8:20 AM
Hi Experts,
I am using Visual Studio 2003 and SAP.Net Connector for Microsoft .NET 1.0.3 .
I need to get the details of sales order.Following is the code snip.
protected ConnectorDemo2.BAPIRETURN bapireturn; /*Manually Added */
proxy.Connection = SAP.Connector.SAPLoginProvider.GetSAPConnection(this);
proxy.Bapi_Salesorder_Getlist("0000000006","","","","","","0001","0",
out bapireturn,ref bapiordersTable1);
I already check records in SAP R/3 system for data Cust No=00000006 and Sales Org=0001.
Please let me know about out parameter and if anyone is having correct list of ref and out parameter.
Help will appreciated and points will rewarded.
Thanks
Sunil Pawar
Edited by: Sunil Pawar on Nov 26, 2008 1:54 PM
To Solve the problem I created one custome RFC and call BAPI_SALESORDER_GETLIST in it and my problem get solved.
This is just work around but still not found why no data when using OUT parameter.
CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
EXPORTING
CUSTOMER_NUMBER = Z_CUSTOMER_NUMBER
SALES_ORGANIZATION = Z_SALES_ORGANIZATION
IMPORTING
RETURN =
TABLES
SALES_ORDERS = Z_SALES_ORDERS
Thanks
Sunil Pawar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.