2009 Dec 04 8:23 AM
Hi ,
I have a small doubt in relation to severity code for a webservice .
Severity 1 : success
Severity 2 : Warning.
Severity 3: Error.
The above severity codes explains the respective execution status of a web service.
I have a small doubt , when a particular feature is not supported by a system or not expected to be supported by system , what should be the severity of that service.
For eg : A user tries to create a purchase order or a personnel number in a system which doesnt support those operations .
In such cases what should be the response from the service to the end user . Is it meaningful to throw a warning or Error?
Thanks and Regards,
Balaji.D.N
2009 Dec 04 8:28 AM
Hello,
Generally a warning is displayed just as a precautionary measure, and continuation is allowed, in this case if the end user is not allowed to create a PO for example, then I would think an error would be the better option.
Regards,
Sachin
2009 Dec 04 8:28 AM
Hello,
Generally a warning is displayed just as a precautionary measure, and continuation is allowed, in this case if the end user is not allowed to create a PO for example, then I would think an error would be the better option.
Regards,
Sachin
2009 Dec 04 8:37 AM
Usually webservice consist of bapi or RFC . these have return table that comprise these kind of exceptions.
These doesn't show to user. my suggestion will be send error to the user
a®