Sync mail to rfc scenario

Hi,
I've implemented a simple scenario in which incoming mail msg is "pushed" to R/3 by rfc (i.e., mail to rfc). is it possible to config this scenario so returned answer (from rfc call) will be send back to the original mail sender?
Regards
Uri

Mail and RFC both support sync behavior....the above mentioned scenario is very much possible...below should be the setting in your sender Mail channel:
Transport Protocol: IMAP/ POP3
Message Protocol: XIPAYLOAD
Quality of Service: Best Effort.
Have a doubt on the working......Sender Mail channel picks up any new mail that comes in the mailbox....so if the response from RFC comes back to the mailbox it will be a new mail.....sender mail channel will pick it up....may error out.....let us wait for experts to comment if this scenario (sync mail) is really possible.
Regards,
Abhishek.
Edited by: abhishek salvi on Dec 28, 2009 10:58 PM

Similar Messages

  • Async mail to rfc scenario

    hi
    i receive an xml file vie mail and want to post it with rfc -bapi call into ERP system.
    The  adapter monitor of the rfc call tells me that he has no communication problems. Each message I try to transfer ends with the following message:
    Message-Verarbeitung fehlgeschlagen. Grund: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientBapiException: BAPI not executed successful
    Where can i check what the reason for not executing the bapi is? On the ERP-System, no entry in SM58 is visible. Where else can i check, what happend to my bapi and why can it not be procesed correcktly?
    Thanks for your help
    Rauno

    Have you tried running the BAPI manually with the same input data? Is it working? What are the transaction settings in receiver RFC channel?
    Regards,
    Prateek

  • Sync RFC scenario

    Hi,
    I need a synchronous RFC scenario. My requirement si jsut to run a UDF in mapping and give teh response back to RFC.
    What can be the best reciever side which gives the response back to RFC. Remrmber, I just need to call a mapping.
    File is not possible as File reciever cahnnel will not work for sync case.
    Kindly suggest.
    Regards,
    Priyanka Sharma

    Hi,
    What about creating a webservice at the receiver end? That will be in sync and in PI we have the option to define a webservice.
    Please refer the links below:
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/baris.buyuktanir2/blog/2007/03/06/how-to-create-a-web-service-with-attachments-soap-with-attachments
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    Regards,
    Tiny
    Edited by: TINY MAMPILLY on Feb 16, 2010 10:41 AM

  • Syncing Mail Notifications Between Mac and iPhone

    Hi
    I been having this problem with the mail notifications not syncing between the Mail.app on my MacBook Pro and iPhone. Let me explain:
    When I get a new email, I hear the sound and see the red notification icon appear on both the MacBook and the iphone. When it comes to checking the new email, here are the two possible scenarios:
    a) If I check the new email on my phone, the red notification icon disappears from BOTH the iphone and the MacBook.
    b) If I check the new email on my MacBook, the red notification disappears from the MacBook but DOESN'T disappears from the iPhone (that is until I open the app). This happens with both cases, when the app is "running" in the background or when it is complety closed.
    I don't know if I am crazy but I am pretty sure that both of the notifications used to disappear before, no matter where I checked the mail.
    I tried deleting and creating the email again on my phone, and it didn't work.
    Here some info that could help find a solution:
    - I'm using icloud email (@me.com)
    MacBook
    -Mountain Lion
    iPhone:
    - iOS 6 (this problem started before the upgrade)
    - Push is on.
    - Fetch (that suppodselly would be used only if push is off) is set to Manually.
    - On the "Advanced" sub-menu inside the Mail settings, Push is also selected.
    Hopefully this can actually be fix and I can prove myself that I was not crazy!!
    Thanks in advance for the help!!

    Anyone find a fix for this problem? I've been waiting for this since notification syncing was announced a couple years ago with iOS 6. I use iCloud for my email and find it very frustrating that when I read an email on my Mac or on iCoud.com that it doesn't automatically dismiss the notifications for those emails on my iOS devices until I open the mail app on each iOS device. Notification syncing works great with other apps. With iMessages, for example, when I read a message on my Mac running Yosemite, the notifications disappear on my iOS devices without opening the messages app (badge app icon, home screen notifications and notification center). Why can't they figure this out with email? I remember at my old job, I had an exchange account that properly synced mail notifications between devices, but it has never worked with my iCloud email. I wonder if I am just missing a particular setting or if Apple just blew it here. Any info would be greatly appreciated.

  • Sender RFC scenario not working

    Hi All,
    I'm trying to configure a scenario where the sender is an RFC. I have done the following configuration steps:
    1. Created an RFC destination in the R/3 system.
       Program ID: SAPSLDAPI_X3A
       Gateway Host: hostname of the XI system
       Gateway Service: Gateway service of the XI system
    2. In the RFC Sender channel
       App Server Gateway: R/3 system's hostname
       App Server Service: of the R/3 system
       Program ID: SAPSLDAPI_X3A
    3. In the RFC Metadata Repository Parameter, the details of the R/3 system is provided.
    4. The RFC is triggered by calling a report program specifying the RFC destination.
    But no messages are coming to the message monitor. Is anything wrong here or is something missing? Is there any way to see what happened in the R/3 system?
    Could you please help?
    Thanks,
    Priya

    Hi,
    <i>1. Created an RFC destination in the R/3 system.
    Program ID: SAPSLDAPI_X3A
    Gateway Host: hostname of the XI system
    Gateway Service: Gateway service of the XI system</i>
    This is fine.. I would recommend you to use different name coz SAPSLDAPI is a RFC destination name for SLD communication purpose. Its better to avoid using some system names. But this is not a problem.
    <i>2. In the RFC Sender channel
    App Server Gateway: R/3 system's hostname
    App Server Service: of the R/3 system
    Program ID: SAPSLDAPI_X3A</i>
    The App Server Gateway, App Server Service & Program ID should match with what you have given in the RFC destination of R/3 system.
    After this try doing a test connection from the RFC destination sm59. Your test should be succesful.
    <i>3. In the RFC Metadata Repository Parameter, the details of the R/3 system is provided.</i>
    This is fine
    <i>4. The RFC is triggered by calling a report program specifying the RFC destination.</i>
    This is also fine.
    Also in order to see any messages in SXMB_MONI you need to enable Logging. Trace level = 3 will not capture the Sync message. RFC is by default Sync. If your sender is not expecting any response then you will get an error in the response message, in this case you need Async.
    For Async you need to add this addition while doing the call function "IN BACKGROUND TASK". Also make sure you re mentioning the <b>destination</b> while doing the call function.
    Check you have mentioned
    DESTINATION <rfc destname>.
    Thanks,
    Prakash

  • Mail to RFC -- Data Structed in Inbound Queue  -- Help needed !

    Hi Friends ,
                           I am doing Mail to RFC Asyn Scenario . Mail mails are come into the mail box . XI is trying to read the mail and send to R3.
                            It was working fine suddenly , Many mails read succesfully and data send to RFC , But it is structed in   ( SMQ2 ) inbound Queue ( <b>Message Scheduled on Outbound side</b> )
                  For long time it is showing like this . No data is accepted  by RFC. I have checked the Adpater confi for rfc it is fine .  I have given Max connection as 50 also .
              Please help me to solve this issue !
    Regards.,
    V.Rangarajan

    Hi,
    Have the Queues being registered in the R/3..?
    If not....
    1.Go to SXMB_ADM(R/3)
    2. Go to Manage Queues and then
    3. Register All Queues.
    <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically Failed Messages</a>
    Regards
    San
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • XI to RFC Scenario

    Hi SapAll.
    i had created a Remote Function Module in SAP-R/3 with 2 structures under tables(tab)and this rfc is going to collect  data from xi for doing some bdc and then when the bdc fails,rfc will return values to xi.
    in this real time scenario what xi will do,i know that xi will collect the data from rfc.
    as i have got the Netweaver-PI Software i would like to create a sample interface in PI for doing the above mentioned scenario
    so what my question is how and in what way we can do this in XI without BPM,after xi collect the export parametes from rfc with failed reasons what xi do,will it update the sender.
    will be waiting for a good answer.
    regards.
    Varma

    1. if ur sender adapter is sync like SOAP
    you sync RFC scenario...whatever the resposne that u get from RFC can be mapped back to sender using the response mapping..if the sender supports that fore.g if u are using SOAP as sender..
    2. if ur sender adapter is not sync like file / JDBC / JMS
    just do the RFC lookup in mapping ..map the response to the target structure and use the receiver which is same as the sender and generate file to the sender

  • SOAP to RFC scenario prolem

    Hello Guru's
       Im trying the basic  SOAP TO RFC scenario, in which RFC is SXIDEMO_AIRL_FLIGHT_CHECKAVAIL
    and the out bound interface consists of only basic feilds i.e.
    REQUEST MESSAGE TYPE : AirlineID
                                                 ConnID
                                                 Fldate
    RESPONSE MESSAGE TYPE : Ecnofree
                                                    Bussfree
                                                    Firstfree
    and no fault message type.
    i created the scenario with out any errors, and i defined webservies in ID with the following URL
    http://starxi:50000/XISOAPAdapter/MessageServlet?Channel=:SXI_BS_SOAPRFC_SENDER:SOAP_RFCSENDER
    it is according to the following syntax
    htt://<xi server>:<J2EE Port>/XISOAPAdapter/MessageServlet?channel=:<sender business system>:communication channel.
    But im not able to post SOAP request to the xi server. it is saying following error
    "SOAP Request cannot be posted <with url > 403"
    403 is the error code.
    please can anyone help me in overcoming the above problem. and where iam wrong.
    Thanks in advance
    arjun

    Hi!
    Please check once again reg SOAP URL while generating the WSDL.
    [http://<HOST name:5<Port>00/XISOAPAdapter/MessageServlet?channel=:<Channel Name>:<Adapter Name>]
    [Re: Using SOAP Sender adapter in PI 7.1]
    1. Check whether your SOAP URL s correct or not which you are giving in the receiver SOAP adapter
    2. Also check you are giving the SOAP action in the receiver SOAP adatper correctly or not.
    3. Finally check the SOAP service is activei or not in SAP>BC>XI-->SOAP in ABAP stack
    4. Since FIle is only for ASYN comm and while using FILE for sync interface you need to pass module paramters in the Sender File CC
    ERROR 403 means::
    This error will be comming mostly in the synch scenarios like SOAP to RFC - SOAP and FIle to RFC--FILE
    when the target system is down or service is inactive.
    Error: HTTP 403 Forbidden
    Description: The server understood the request, but is refusing to fulfill it
    Possible Tips:
    Path sap/xi/engine not active
    u2022 HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
    u2022 Because of Inactive Services in ICF u2013Go to SICF transaction and activate the services. Refer SAP Note -517484
    u2022 Error in RWB/Message Monitoring- because of J2EE roles u2013 Refer SAP Note -796726
    u2022 Error in SOAP Adapter - "403 Forbidden" from the adapter's servlet. u2013Because of the URL is incorrect or the adapter is not correctly deployed.
    Regards::
    Amar Srinivas Eli

  • Help SOAP to RFC Scenario using BPM (Synchronous communication)

    Hi,
    I am doing a scenario from SOAP to RFC scenario(Synchronous communication).  Here I am creating a PM Notification in the SAP system through a webservice. 
    I am using three BAPI'S here,
    1. BAPI_ALM_NOTIF_CREATE 
    2. BAPI_ALM_NOTIF_SAVE
    3. BAPI_TRANSACTION_COMMIT
    I am successful in calling the first BAPI from the Web Service.  For this I have not used BPM.  But to commit the transaction(PM notification in this case), I have to execute the other two BAPI's as well.  I have to pass the output of first BAPI to the second BAPI and then execute the 2nd BAPI.  And finally have to execute the 3rd BAPI.     FYI, 3rd BAPI is not dependent on any output.  It has to be executed independently after execution of the first two BAPI's.
    How can I execute this scenario?  Do I have  to use BPM?  If yes please let me know the steps in detail.  I have not done any BPM scenario till now.  So please answer me in detail.
    Thanks in Advance,
    Vijay
    p.s. reward points are must

    Hi Vijay,
    Yes, You will indeed need a BPM in this case...
    Based on my understanding of the Scenario u have explained, here are the steps that would be needed.
    1. Receive With the Sync-Async Bridge open.
    2. Transformation Step (Between the source Request and The BAPI_ALM_NOTIF_CREATE Request)
    3. Send Synchronous
    4. Fork
    5. In one Branch of the fork - Transformation (Between the BAPI_ALM_NOTIF_CREATE Response and API_ALM_NOTIF_SAVE Request)
    6. In the other branch of the fork - Transformation (Between a Dummy Source and the BAPI_TRANSACTION_COMMIT Request)
    7. Send Synchronous (to make the 2nd BAPI Call)
    6. Transformation ( BAPI_ALM_NOTIF_SAVE Response and the source Response)
    7. Send Asynchronous (to make the 3rd BAPI call)
    8. Send the Source Response and close the Sync-Async Bridge.
    There might be alternative ways also of doing it...
    Also a better design would be to take care of the 2nd and the 3rd BAPI call within the code of the 1st RFC Function Module.
    Regards,
    Abhy Thomas

  • Mail to RFC is there way to make mail to READ only when data sent to RFC

    Hi friends ,
                        My scenario is Mail to RFC  .  I am reading mails marking as read and sent to  RFC .
                       Due to this , If   for eg 400 mails comes , xi is reading all mails correctly but sometimes  inbound queue getting stuck so , unable to send data to RFC .
               Because of that  many mails which read cannot able to send data  , everything stuck in InBound Queue.
                 Can any body explain how to resolve this issue ?
               <b>   If there way to mark mail as read only when data uploded to RFC ?</b>
              Any suggestions please!
    Regards.,
    V.Rangarajan
    null

    Hi
    Even we did this scenario for one of our clients,but in our case mails were getting deleted by itself once processed.And those that did not get processed due to some reason remained in the mail box.
    Thanks

  • Help in file to RFC scenario

    hey guys i m doing a File to RFC scenario using BPM and taking help from the following blog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit i m a bit confused about the services being used in figure 19 and figure 20,for a File to RFC(sync) scenario,do i need to have 2 business systems,one of WEB as ABAP and one of third party?
    why is he using two different services in figure 19 and 20.
    thanx
    ahmad

    Dear Bhavesh,
                          Someone earlier told me via SDN that, it is mandatory to create a WEB AS ABAP business system for any SAP system running on ABAP stack participating in the integration scenario. If the above is true than Ahmad needs to create one WEBAS ABAP business system for the R/3 end
    also a third party business system or a business service for file system.
    Pls advice.
    Regards,
    Ashish

  • ** JCO$Exception Problem in RFC to RFC scenario

    Hi Friends,
    I am doing RFC to RFC scenario. We have two IDES system. One XI system. The scenario is to send the Vendor data from First IDES system (Z_APPLE_VENDOR_SEND) to call the RFC (Z_APPLE_VENDOR_INSERT) in the second RFC system. Sync to Sync Scenario. In this case data is passed from source system and mapped to target RFC soruce Structure. But, not able to login into target system. The following error is occured in SXMB_MONI.
    com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=aprins05 SYSNR=01 GWHOST=aprins05 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '172.25.12.23:sapgw01' not reached TIME Fri Oct 17 23:28:55 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER
    Friends, I have tested the following : SLDCHECK, Connection between IDES and XI system. Checked the Gateway of receiver side IDES system thru tcode SMGW. All are working fine. But, still the problem comes.
    Kindly help me to solve this issue.
    Kind Regards,
    Jegathees P.

    Hi
    Restart the Receiver System once and try again.
    Go throgh the following thread
    (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Regards
    Sridhar Goli

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • Step by Step Guide Details for RFC to File and File to RFC scenario

    Hi Guru's
    Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File  scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
    For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
    I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
    thanks in advance.
    Regards
    Raj

    Hi Aaron,
    I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
    Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
    The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
    Edited by: Marshal on Oct 8, 2009 5:08 PM
    I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
    Edited by: Marshal on Oct 8, 2009 5:22 PM

  • Can't get past Syncing mail accounts

    Hello,
    As it says in the subject line, my iPhone won't get past Syncing mail accounts. If I deselect the mail account in iTunes then it syncs. I have looked this up and it seems that most people are pointing to a dialogue box that is hidden behind iTunes that needs clicking on but there isn't one with me.
    I think that the reason behind the weirdness is that I have just swapped over the hard drive in my computer. I made a clone of my old one using Disk Utility then swapped it over. It synced once without a problem but since then it gets stuck on syncing the mail accounts. This is not the first time I have swapped a hard drive but it's the first time something is misbehaving because of it.
    Also, my iTunes library is located on an external hard drive (this is the reason for swapping the internal drive - to get more space) and so was not located on my internal anyway. Having said that, the iPhone apps are located on the internal (there doesn't seem to be a way to change that option) and there was some weirdness with an app that wouldn't sync but I have since deleted.
    Sorry for the rambling - any help or advice would be much appreciated.
    All the best.

    I think I get it.
    Since my mail accounts were set up fine, there's no need to continue syncing them with iTunes, unless I change mail settings.
    I haven't changed, so I should be fine unchecking "Sync selected Mail accounts".
    If I do change my mail settings in the future, I can do this independently on the iPhone.
    I'm still not sure why this turns into an endless sync - but I can live without re-syncing and "do it myself".
    Did I get that right?
    Thanks, Damon!

Maybe you are looking for

  • Firefox.exe application error, tried uninstalling firefox but will not delete Scriptff.dll says access is denied. so i can't make a complete clean reinstall. how do i fix this?? thanks!

    saw in previous questions that to fix this application error, i need to uninstall and do a clean install of firefox. however, Scriptff.dll says that access is denied and can not be deleted from the program files. how can i fix this so i can run a cle

  • Nokia has made me mad!

    I dont know how many of you have read the post concerning the n93 being available to update via nsu again and the new "feature" which is that night video recording in black and white is a "feature" not an error is everyone at nokia a politician? Caus

  • Print to Video Snafu

    Hey All, I'm trying to print a 52 minute timeline to a 63 minute tape (using a DSR-20 deck). With three tapes attempted now, my tape is always stopping at 43 mins. 33 secs - run out! It then just automatically rewinds. I'm not sure if this is a deck

  • Wrong Vat registration number in S_ALR_87012357- Advance tax return

    Hi All, When we run the report S_ALR_87012357, the Vat registration number of the customer is appearing as wrong. It is picking up the Vat registration number of the company code, instead of the one maintained in the customer master data. Can somebod

  • Time Zone Troubles.

    I'm suffering a collection of problems to do with my date and time preferences. Firstly, in the Date & Time preference pane, Time Zone tab, it won't hold my GMT London setting and keeps defaulting to Monrovia - Liberia, or any number of other places