on 02-09-2007 8:09 AM
I am calling af funcion module using a webservice .
This function module is supposed to update a user. If user can not be updated an exception is raised and a tabel containing errors are sent back.
My problem in XI is that i do not recieve the error messages only exceptions whih is not so informative.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Z_ISA_USER_DELETE.Exception xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<Name>EXC_USER_NOT_UPDATED</Name>
<Text>EXC_USER_NOT_UPDATED</Text>
</ns0:Z_ISA_USER_DELETE.Exception>
Why do i not also recieve the table containing the the error ( the mapping program has been done)
Kind regards.
Ugur
Why dont u try making use of the fault message type ?
Go thru my blog that sud give u a better idea. Also in the comments section there are more links to further blogs on the same topic -
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try using fault messages types. hope it shud help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try creating a wrapper on your function module
(put it inside another function module)
that will handle the expection and return just the tables
(don't use exceptions in the wrapper function module)
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.