on 04-11-2006 10:06 AM
Hello,
we use XI SP15 for an file -> XI -> babi_salesorder scenario.
I have configured a RFC receiver channel with the new option to do an automatic commit when the bapi return is ok (in order to avoid a bapi wrapper).
Now when i send an order that contains an unknown customer id the message gets processed and is flagged as processed sucessfully.
What i expect is, that the message gets falgged as an error as the bapi returns an error return structure (Type: E ID VP Number 200). The RFC adapter monitor also logs an error (RfcAFWException: error while processing message to remote system .... BAPI not executed successful).
How con i configure the adapter to set the message to error when the BAPI call returns an error within the return structure?
Thanks
Peter
Hi Peter,
as you right, the adapter monitoring shows an error, every think is allright. SXMB_MONI shows only the IS, where no exception raised.
If you want a red flag there, you need a SYNCHRONOUS message flow, combined with file sender it would be possible only with BPM like
File->BP
BP<=>RFC
I'm not shure, but i suppose you have to use a wrapper RFC (an other RFC which is calling to bapi), where you define an exception, which is raised in case of that error bapi return. In that case (exception raised instead of giving back the response) your item in SXMB_MONI would be read.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
with new fuctionality i mean the auto commit on bapis (we were on sp12 and have upgraded to sp15 now -> so it is new for us).
As far as i understand we can solve the problem when we switch to synchronous message interfaces and then use the default alerting mechanism on the adapter engine when we get an error right?
The "pray" was a little exaggerated term -> ok.
Regards
Peter
Hi Peter,
<i>
As far as i understand we can solve the problem when we switch to synchronous message interfaces and then use the default alerting mechanism on the adapter engine when we get an error right?
</i>
You need synchronous messages only for having a red icon in IS monitoring (SXMB_MONI), not for <a href="http://help.sap.com/saphelp_nw04/helpdata/de/e5/5d1741b393f26fe10000000a1550b0/frameset.htm">Configuring CCMS Alerts for the Adapter Engine</a>
Regards,
Udo
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.