on ‎2009 Apr 27 11:05 AM
Hi,
is it possible tracking when it called rfc (with jco) if it succesfull or not using with message monitor?
Thanks
Request clarification before answering.
You could, but you would be adding a bunch of unnecessary layers. Why not just use the logs or create you own logging mechanism?
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The message monitor is only used for the listeners, idoc or rfc, not jco calls. The listeners are connected to an rfc destintation within ecc and the monitor will display any message sent via this connection to MII. To answer your question, you could setup a wrapper bapi that would send the success/failed message back to mii using an rfc destination, but this would be pointless and a waste of effort. As the others have mentioned, when you call a function with jco you should check the success and then the return table for errors. Go to the downloads section and download the modules libraries for examples.
Jamie
There is a sucess flag when u call RFC using jCO from a transaction...i guess you can use that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.