‎2015 Jun 11 4:49 AM
Hi All,
I'm currently working on two web services: one updates data from a .NET app to SAP (table AUSP) while the other one retrieves data from table in SAP (s503) to a .NET app.
I did testing in function modules and both worked without errors. But when the .NET developers consumed the web service they were unable to consume it and came across an error.
I'm attaching the logs from SOAMANAGER from our BASIS team:
For the update function module:
Please let me know the cause of all these error logs... If there are any questions, please let me know so I can provide you with more details. Thanks!
Best regards,
Keith
‎2015 Jun 11 5:32 AM
Hi Keith,
From the error log it seems that the .NET users are not sending the valid input ( in this case the date )
to the FM or Webservice.
Regards-
Vishal
‎2015 Jun 11 5:32 AM
Hi Keith,
From the error log it seems that the .NET users are not sending the valid input ( in this case the date )
to the FM or Webservice.
Regards-
Vishal
‎2015 Jun 11 7:21 AM
‎2015 Jun 11 9:53 PM
As I understand, you have a date field that has 'sy-datum' type in web service method. When the method has been called from .NET side, date field is sent like '02/04/2014'. If you define date field type 'sy-datum or datum' (8 CHARS) your RFC will try to get the value like '02/04/20'. Therefore, your function will get a dump.
Please be sure that the value sent to your function is same format with yours.
In your case, value should be like '02042014' (8 CHARS - DDMMYYYY) or '20140402' (8 CHARS - YYYYMMDD).
‎2015 Jun 11 5:28 PM
Hi,
Try to change the data type for the fields date/time to string.
Regards,
Maria João Rocha