on 10-26-2006 1:41 AM
Hi
I am working on the following scenario
<b>SAP R/3 ( BAPI ) ---> RFC Adapter ---> XI ( XSLT Mapping ) ---> Mail Adapter ---> Mail Server</b>
I am able to transport the data of BAPI to mail server & mails are coming in right format . But the problem is this that BAPI is expecting a response back & giving the dump ( ABAPer is not hapy with this ). Even when i am using outbound message interface of ASYNC mode.
Any way that I can avoid this by doing something on BAPI or in XI configuration.
I know one way is to use BPM & send some constant response back to BAPI. But I am just looking if this can be done without using BPM.
Pls. Suggest.
Regards
- Lalit -
Hi,
Is BAPI has repsonse structure ? If so it will look for response. But you can try out with calling RFC with Background etc,,
useful link-
http://help.sap.com/saphelp_nw2004s/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
I solved the issue by using the Mail Receipt message from Mail XSD & map it with the message field of response.
But I suggest ABAPer to check out the background execution as it can be used if the Rec. Business System is Legacy System & using Rec. File Adapter.
Thanks for ur reply
- Lalit -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lalit,
><i>I solved the issue by using the Mail Receipt message from Mail XSD & map it with the message field of response.</i>
Would aprreciate if you give more details.
1. Did you use a Synchronous Message Interface for the Inbound Mail Adapter?
2. If yes for 1 , then the request message would have been the mail.xsd , what about the response message?
Regards,
Bhavesh
Yes Bhavesh, you are right.
I am pasting the XML format of MailReciept below ::
<i><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <xim:MailReceipt xmlns:xim="http://sap.com/xi/XI/Mail/30">
<Server>smtp://CLXSEXC01.server.com:25</Server>
<Greeting>CLXSEXC01.server.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Thu, 26 Oct 2006 11:50:55 +1000</Greeting>
<Format>XIPAYLOAD</Format>
<UseMailPackage>true</UseMailPackage>
<Encoding>base64</Encoding>
<Subject>Deliveries from XI</Subject>
<From>Lalit.Chaudhary@abc.com</From>
<To>Lalit.Chaudhary@abc.com</To>
<Date>2006-10-26T01:50:55Z</Date>
<MailID>2.6.0</MailID>
</xim:MailReceipt></i>
Regards
- Lalit -
Lalit,
You need to call the BAPI in the R3 system in an Asynch Mode. MAke the change such that the BAPI is called in an Asynch Mode in the R3 and it will work fine.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.