Send RFC Response by mail -async

Hi
I have JMS -> XI -> RFC Secnario ( asynchronous )
i want to send the response of rfc by mail adapter to a user
how can this process developed in BPM ? can  u give me any examples?
thx,Shai

go through the blog below, which talks about the almost similar concepts
that blog uses File --> RFC --> File but in your scenario you'll have to use
JMS --> RFC ---> Mail. But the procedure to follow is the same in both cases.
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
--Archana

Similar Messages

  • Problem in BPM where Sync Intrf has to send same response to 2 Async intrf

    Hi Experts,
           I am facing a complicated case.
           I have the following scenario:
    Input File data -> Validate file data against SAP table using RFC FM -> insert the response of RFC FM into custom table using another RFC call -> Send the same response of RFC validation FM as Email using email adapter.
    If you see above, the response of validation FM has to be sent to two receivers.
    My BPM setup is like this:
    Recv Step -> Send Step for validation RFC FM (Sync) -> Send Step for inserting response of validation RFC FM to custom table using another RFC call(Async) -> Send Step for sending email(Async)
    Is my above BPM design correct? the last send step is not able to get the response of validation RFC FM. If I put this email step immediately after Send Step for validation RFC FM (Sync) then I get receiver cannot be determined error even though may email adapter/channel setups are correct. However, my receiver determination has two receievers one for email and another for inserting response of validation RFC FM to custom table using another RFC call(Async). Is here some problem?
    Is there some better way to handle this situation.
    My problem is that I have to insert response data first and then send email.
    please help me!
    I will be greateful to you!
    Thanks
    Gopal

    Hi,
    How are you getting the Response back from First RFC call ?
    Are you mapping this RFC response to some structure ? If not , it is easier way to do.
    So your BPM will be
    1) Recieve the File message type
    2) Send the File Message Sync (Assumption Mapping is done outside the BPM
    3) Send the Target Structure (some structure of similar of RFC repsonse )ie. Mapped RFC response structure to SAP System
    4) Send to mail system.
    So you need to have 4 reciever determinations
    1) File to BPM
    2) BPM to First RFC
    3) BPM to second RFC
    4) BPM to Mailing system
    To check the error , you can go to SXMB_MONI->PE->Technical Workflow log and check what are steps/containers are correct in the BPM
    Hope this helps,
    Regards,
    Moorthy

  • Can SAP R/3 send RFC response to Xi

    Hi ,
    I have one scenario where Sap has to trigger an RFC call and shouls send the response to XI and the Xi should write that response to file .
    How to send just response of RFC to XI ??

    hi,
    you need to execute an RFC
    with destination XI (in background)
    so the data will reach the XI (and then you can save as file)
    but you can only do it with RFC request
    so once you execute your first RFC and you'll get a rensponse
    you need to map the reponse to a request of a new RFC
    and execute the new one which will take the data to the XI
    basically that's all
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How can I respond to a calendar invitation without sending a response e-mail back to the sender?

    My job requires many appointments, therefore my boss sends me multiple calendar invitations each day.  It is getting quite annoying for him when he receives a response e-mail every single time.  Is there a way to turn this feature off?

    Hello there, David.
    The following link from the online iPhone User Guide provides some great information on how to adjust that notification setting:
    Share iCloud calendars
    http://help.apple.com/iphone/7/#/iph7613c4fb
    Particularly:
    Turn off notifications for shared calendars. When someone modifies a shared calendar, you’re notified of the change. To turn off notifications for shared calendars, go to Settings > Mail, Contacts, Calendars > Shared Calendar Alerts.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • File to RFC, and through RFC response i am trying to trigger the Mail adapt

    Hi All,
    Right now i am doing File to RFC, its working fine but now the requirement is when xi connect to ftp and picks the  file need to send one success mail after the file pickup and data sent to BW system again i need to send one mail and also error alerts to inbox.
    Till now i am not using BPM, can we do this without BPM pls let me know
    now i am trying to achieve this in File to RFC, and through RFC response i am trying to trigger the Mail adapter.
    or else  i need use only BPM pls share  the steps which i need to be configure.
    Am i correct or pls suggest me some idea to achive this and also pls share some smaple ones in BPM .
    Thanks in advance
    Venkat

    With BPm, follow this:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Instead of receiving the response in file, use mail adapter
    Regards,
    Prateek

  • Sender rfc..async rfc to file scenario

    Since im new to XI...Can you please give a overview of the whole scenario which meets the  requirements... wrapping 1 rfc in another and then passing the final export parameters to a file using XI..
    ->i refered to       Re: XI : RFC Response Mapping
    also to the blogs 1438 and 3865.
    but the things r so abstract as to how to triggger the rfcs..
    Is it like calling the first rfc frm an abap pgm n calling the second one from first ...the only way?? How to achieve this?
    ->In what cases do we need this wrapping??
    Is there any way as to just pass the export parameters of a single rfc to a file using xi.
    ->Dont know whr to start the scenario to work out...even  the mappings are confusing...

    For implementing Sender RFC: (yet to work on this)
    1) We cannot use all the BAPI/RFC as is while doing an Async sender RFC.
    2) We should use a wrapper around this BAPI/RFC and it should be a custom RFC again.
    3) All the data that you need in XI for mapping should be passed through exporting or tables only.
    4) Importing parameters should be commented.
    5) Call this custom RFC in BACKGROUND TASK with DESTINATION. COMMIT WORK after calling custom RFC.
    6) Create RFC destination with Program ID same as the program ID in your communication channel.
    7) Import your custom RFC into repository.
    8) Use the custom RFC(request not response) as interface in all your agreements and interface mapping,
        message mapping.
    That should be all the steps. You should get your data in receiver adapter.

  • JDBC(Sender)-XI-RFC (Request) RFC (Response)-XI-JDBC(Receiver)

    Hi All,
    JDBC(Sender)-XI-RFC (Request)
    RFC (Response)-XI-JDBC(Receiver).
    Need some solution for sending email for successfully completion of scenario after updating SQL DB Table.
    Let me explain the scenario:
    We are pooling the SQL DB table to pull the records and map the records to RFC request parameters, after successful Posting the entries in R3 HR, RFC response contain the same with E (Error) S (Success) records status, we are updating the same in SQL DB table, I implemented the complete scenario without BPM with the help of module processor in Sending JDBC Adapter, scenario is working fine but now we have to send the successful mail to our support team with status contain Number of success, Error and total records as email.
    I need the solution how to implement the same requirement in current scenario.
    Is their way to do something with the RFC receiver adapter module addition to send the successful mail or generating Alert with all the description?
    I am at PI 7.0 SP12 with HP unix box.
    Thanks in Advance for creative idea
    With Regards
    Sunil

    Hi Bhavesh,
    Thanks for your help and your blog is really helpful. I implemented the UDF for generating Email Alert but this alert is generating before Updating the SQL Database, is their any way to generate alert after updating the SQL.
    Actually in my scenario we are sending the data from SQL to R3 by RFC and again updating the SQL status whatever the RFC return, after successfully updating SQL we need to send success email to support people but if we are sending the email before updating the DB then their will be problem.
    JDBC receiver after updating the SQL DB returns the response with No. of row updated but how to capture this response, if we can capture this response then we can send email through email adapter even their is one more problem, In my scenario I am counting the number of rows with status “S” and “E” and sending the same in alert email but if are sending email after updating the SQL DB where can hold the row count value and use it while sending the email.
    Implemented the scenario without using BPM..i am using sender JDBC module processor for Syn-Asyn bridge.
    Even I do not find the link to reward point. Please let me know how to do it.
    With Regards
    Sunil

  • Can I configure JDBC Sender to process the RFC response message?

    Dear All,
    We're working on an integration scenario of synchronous messaging from database to RFC. Is there any way to update or insert the record(s) onto the source database according to the BAPI response?
    Any inputs are welcome. Many thanks for your time and support.
    Regards,
    Matthew

    Hi Chun,
    As far as I know you will not be able update the database back based on RFC response in a synchronous way though you have option of selecting BE in sender JDBC adapter.
    This is sentence from SAP training material...
    "In the case of a JDBC sender, the database table is queried via a SELECT statement. The message is by definition asynchronous hence the QoS should be set as EO or EOIO. "   
    The only option i can think of is JDBC Sender(async)->BPM->RFC(synch)->response mapping to JDBC receiver structure->JDBC receiver to update the table.
    Also check these threads...
    JDBC source in a Synchronous BAPI call.
    Re: JDBC Sender Synchronously?
    Anand
    Message was edited by: Anand Torgal

  • When I compose and send a mail, it gets placed in Outbox and I get a prompt stating something like "relating the message is not supported". Even if I compose a newest age, it says the vey same thing. I just cannot send any response through my mail account

    When I compose and send a mail, it gets placed in Outbox and I get a prompt stating something like "relating the message is not supported". Even if I compose a newest age, it says the vey same thing. I just cannot send any response through my mail account. Can anyone help with a solution?

    You haven't set up the SMTP (outgoing) mail server correctly. You probably didn't enter your user ID and password for the outgoing server. They are needed even though it says "optional".

  • Cant send msg to RFC Response

    Hi,
    I have RFC XI BPM Jdbc scenario, in which, I am raising an exception when database connection fails, and sending a message back to the RFC like "failed". But I am not getting any mapping error in the repository, but couldnot map at runtime....when I see in the Technical Workflow, I see "Mapping NOt found".
    Could you please help on this issue.
    Thanks,
    Raj.

    hi Raj,
    >>>>and sending a message back to the RFC like "failed".
    you need to map jdbc request to RFC.response
    in the <b>exception branch</b> to do the mapping correctly
    (this is the only way)
    remember to refresh the cache (SXI_CACHE)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Refurbished MacBook Pro Mail app sends email responses to the previous owner

    I bought my MacBook Pro refurbished about two years ago, and noticed recently that when I send emails through the Mail app, I don't get the responses. I quickly found out that, when I send emails through Mail, it sends under the email of my MacBook's previous owner, and so when people respond to these emails, they get sent to her.
    I tried looking it up and I can't find anyone who's had a similar problem.
    Also, just to rule out one option, when I go to edit the accounts in Mail, I have the mailbox under my email address. Could it be something with my Apple ID?Has this happened to anyone else?

    I doubt you want just a pig-pile in your inbox.
    Create categories like Taxes, Services, Friendly correspondence, Online Orders, Apple Discussions. Move the emails into the folders and they survive on your Mac.

  • Getting RFC  response structure in XI

    All,
    I have a scanario like this,RFC>XI->file where i have to map RFC response to file.I have gone throungh some blogs for this.
    I am using RFC sender adapter.
    In my message mapping i have mapped RFC response to file structure and in my IM i have used RFC as sender interface.
    Is it fine?

    If your scenario is RFC - XI - File it is not the RFC responce but it is async RFC call.
    You call it RFC scenario when the scenario is
    send sys --- XI ----File
                      | |
                     RFC
    For a overview scenario of this scenario and structure creation have a look at my blog Impede Duplicate Files
    >>I am wonder how do we get RFC response from R3
    Both the Blogs that I replied has the sample ABAP code that is used to send the RFC message to XI.
    You can use the imported RFC in both the Message Mapping and the Interface Mapping
    Thanks
    SaNv...

  • Sender RFC Adapter AND Rec. File Adapter

    Hi
    Workflow of my scenario is like this :
    <b>SAP R/3 ---> Sender RFC Adapter ---> XI Server -
    > Rec. File Adapter -
    > Legacy System</b>
    I am using Async Inbound interface for this as I dont need any response back & I just need to create file.
    I am just picking some data from BAPI & creating a file on a folder in Legacy System.
    Now during execution, file is getting created but I am getting dump on SAP R/3 and even when I am using Async communication, response is coming back from Legacy Business System ( service ) & giving an error " <i>No Mapping Program Found</i> " in sxmb_moni.
    Kindly suggest how can I avoid getting response from Legacy System. Pls. take note again I am using Async Inbound Interface.
    Regards
    - Lalit -

    Hi Lalit,
    When your RFC is called from R/3 by default it would be in Sync mode. When this is in Sync mode it obviously will expect a response and where as in your scenario XI dose'nt give any response and there is no mapping for that and I think that is the reason you are getting that error.
    So when your Sender RFC is triggered it will like this in ABAP
    CALL Function "Function Name" <SM59 Destination>
    and this is Sync call. To make it Async i should be
    CALL Function "Function Name" IN BACKGROUND TASK <SM59 Destination>
    Hoep this helps
    Thanks,
    Prakash

  • How to get response of an Async Service in XI

    Hi all,
    I have a scenario where i am invoking an async webservice. I need to get the response of the webservice in the R/3 through XI. Can any body please suggest how to do that?
    Just to share more info, The web service writes its response into a particular port. So if i need to listen to that port, how can i do that?
    Thanks and best regards,
    Kulwant Singh

    Hi, On R/3 side you need to use Proxy or RFC/ BAPI.
    For Proxy configuration refer
    ABAP Proxy Runtime
    http://help.sap.com/saphelp_nw04s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    Setting Up Point-to-Point Connections with proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
    Reliable Messaging – EOIO in ABAP Proxies
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    RFC/BAPI Communication
    http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    Configuring the Sender RFC Adapter - step by step
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    sap to webservice
    /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
    Thanks
    Swarup

  • RFC to JDBC(Insert) async scenario

    Hi Experts,
    In RFC to JDBC(Insert) async scenario  we are getting the the response from JDBC as <insert_count>1</insert_count> after inserting in to DB . Is there any way to stop getting response?
    Regards,
    Raj

    <insert_count>1</insert_count>
    Firstly this is not an error but an acknowledgement from the JDBC that the Insert for the corresponding Statement node is successful. The count 1 represents that you have made just one Insert-Statement call to the JDBC......had there been no Insert in the DB then you could have got 0 insetad of 1.
    Normally happens when the sender requests for an acknowledgement. Don have knowledge on the ABAP-front so cant comment on the blog given by Prateek, but seems that because of the sync nature of RFC you are getting this ack from JDBC...
    Regards,
    Abhishek.

Maybe you are looking for

  • Your brand-new FCP HD editing suite!

    Hey I'm planning on building a new HD-editing suite, but I need to convince my boss to go the FCP way (instead of Avid). After showing the huge price-difference, he said I should build a complete editingsuite on paper. As I'm not all that experienced

  • How do I make a photo collage in iphoto

    I want to make a collage for a publication.  Easiest way to do this is?

  • How to get Text instead of key in a ListBox or DropDown

    Hi, I have a Listbox Country and I would like to get the Country name selected instead of key. for example if i select India , i am getting corresponding key value for India not the actual text India. How would i get that I am using this.rawValue to

  • My iPhone 4's speaker is not working, and will not connect to my PC

    Lately my phone has been acting strange. Initially, it stopped being able to take & receive calls- I couldn't hear the person on the other end, only through speaker phone or headphones. I let it die then left it off for a good 48 hours, when I turned

  • Mac Mini with Dell Monitor

    I just bought my dad a Mac Mini and gave him my big Apple Monitor (can't remember size but bigger than a small TV:). Well dad says the monitor is too big and wants to use his Dell monitor. I called support and for the first time I couldn't understand