on 05-12-2008 1:58 PM
If i call web service of BAPI_SALESORDER_GETLIST from .net and i make a select with DOCUMENT_DATE and DOCUMENT_DATE_TO input parameter like:
ZWEB_SALESORDER_GETLIST.ZWEB_SALESORDER_GETLISTService ordiniDiVendita = new ExtranetSystemSrv.ZWEB_SALESORDER_GETLIST.ZWEB_SALESORDER_GETLISTService();
ZWEB_SALESORDER_GETLIST.BAPIORDERS[] SALES_ORDERS = new ExtranetSystemSrv.ZWEB_SALESORDER_GETLIST.BAPIORDERS[0];
ZWEB_SALESORDER_GETLIST.BAPIMGVMATNR MATERIAL_EVG = new ExtranetSystemSrv.ZWEB_SALESORDER_GETLIST.BAPIMGVMATNR();
ordiniDiVendita.Credentials = _credential;
ZWEB_SALESORDER_GETLIST.BAPIRETURN ret = ordiniDiVendita.ZBAPI_SALESORDER_GETLIST("0002106390", "20080101", "20090101", string.Empty, MATERIAL_EVG, string.Empty, string.Empty, ref SALES_ORDERS, "C001", "0");
I have same error:
Deserialisation failed
in System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
in System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
in ExtranetSystemSrv.ZWEB_SALESORDER_GETLIST.ZWEB_SALESORDER_GETLISTService.ZBAPI_SALESORDER_GETLIST(String CUSTOMER_NUMBER, String DOCUMENT_DATE, String DOCUMENT_DATE_TO, String MATERIAL, BAPIMGVMATNR MATERIAL_EVG, String PURCHASE_ORDER, String PURCHASE_ORDER_NUMBER, BAPIORDERS[]& SALES_ORDERS, String SALES_ORGANIZATION, String TRANSACTION_GROUP) in C:\Inetpub\wwwroot\ExtranetSystemSrv\Web References\ZWEB_SALESORDER_GETLIST\Reference.cs:riga 79
in ExtranetSystemSrv.Librerie.Sap.ElencoOrdiniDiVendita(String idDivisione, String idCliente, String ordineDiVendita, String sMinData, String sMaxData) in C:\Inetpub\wwwroot\ExtranetSystemSrv\Librerie\Sap.cs:riga 517
If i call same web service but i input PURCHASE_ORDER end not DOCUMENT_DATE, web service work good
I try input date as yyyymmdd or dd.mm.yyyy bt same error
Hi Matteo,
if you use a date the supported format would be yyyy-mm-dd in most cases. Does the BAPI work if you use the date only in the SAPGUI?
- Juergen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.