RFC response -- Email

Hi  ,
I am creating a scenario in which response from RFC is sent to sepcific mail ids..
Can you provide helpful links..
Thanks,
Vishal

Hi,
Please try searching yourself first
Regards,
Michal Krawczyk

Similar Messages

  • 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

  • How do I include the subject from an email in the body of a response email?

    First off, let me apologize if this is addressed somewhere else in the forum. I searched used many different variations on the theme, to no avail.
    So, yes, I am a former PC/Outlook user who made the "switch". For the most part, I couldn't be happier. However, one thing that I have been searching and searching for an answer on is: including all the info from an original email (i.e. subject, to, from, date) in a response email. Because wording this is a bit tricky, I am going to show what I mean by example.
    Apple Mail includes the original email info like this:
    On Jul 7, 2006, at 5:03 PM, John Smith wrote:
    Outlook (and most other email services) includes the original email info like this:
    -----Original Message-----
    From: John Smith [mailto:[email protected]]
    Sent: Friday, July 07, 2006 5:03 PM
    To: Jeff Smith
    Subject: The only problem I am having with Mail is...
    Point is, I would like to include more info than Mail allows. Is there anyway to set it up to include all the Outlook-style info? The preferences do not seem to address this issue and every single friend/co-worker of mine who I email with all have no idea. Thanks for your repsonse. Cheers, Jay
    PowerBook G4   Mac OS X (10.4.6)  

    Hello, and welcome to the Discussions.
    I use the Append Selected Messages feature to do this. Prior to clicking on Reply, you can highlight the smallest amount of text, and then delete that text, and then Append the message by having Selected in in the list of messages.
    You can do this for one, or many messages. With a Reply, you would only append the one message. See:
    http://docs.info.apple.com/article.html?path=Mail/2.0/en/ml1008.html
    Ernie

  • 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

  • Mapping problem in SOAP response to RFC response - RFC-XI-SOAP scenario

    Hi gurus,
    response structure from SOAP is as below (inbound msg - in SXMB_MONI)
    MONI and RWB shows successful(I am using graphical mapping)
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success">
    - <ns0:SAP_OUT>
           <ns0:F1 Value="1234" />
           <ns0:F2 Value="2345" />
         - <ns0:SAP_LINES>
             - <ns0:SAP_LINE>
                    <ns0:SAP_L Value="1" />
                    <ns0:Field5 Value="" />
                  - <ns0:SAP_S1>
                           - <ns0:SAP_S>
                                   <ns0:ID Value="11111" />
                                   <ns0:SAP__NO Value="0001" />
                                   <ns0:DATE1 Value="08/15/2008 00:00:00:000" />
                                   <ns0:FST/>
                             </ns0:SAP_S>
                    </ns0:SAP_S1>
             </ns0:SAP_LINE>
          </ns0:SAP_LINES>
      </ns0:SAP_OUT>
      </ns0:testrequestResponse>
    I make the RFC response with same structure and mapped it but it is not giving the full structure rather it is giving only this (Outbound Msg in SXMB_MONI)
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Z_MYRFC.Response xmlns:ns1="urn:sap-  com:document:sap:rfc:functions">
      <STATUS>Success</STATUS>
      </ns1:Z_MYRFC.Response>
    what went wrong?

    Hi,
    You would have forgot to map parent node coming after <STATUS>Success</STATUS>
    Make sure that you have properly mapped all the parents and there child.
    Are you getting the same result while Testing it standalone?
    Thanks
    Sunil Singh

  • RFC Response Error in XI

    Dear team,
    In my SOAP to RFC scenario, Im facing the error.The is two message mappings in my scenario.
    One is between SOAP Req MT and RFC Import str . Second one is b/w RFC.Response and SOAP RESP MT. While Im testing with XMLSPY the request mapping is executed successfully. the RFC executes its functionality successfully in SAP[updating data in atransaction]. The RFC response should be "SUCCESS" or "FAILURE".*Even if we check RFc individually its working fine and giving response as SUCCESS / FAILURE* .
    BUT
    In my case I got the below error in MONI in Response message .The INBOUNDMESSAGE(CENTRAL)->Payload contains the below response. So obviously the response mapping failed in XI . Why im getting this error. BUT RFC functionlity working in SAP , but response getting error .
    Failure case:
    - <rfc:ZRFC_USAGE_DEC.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <Name>JCO_ERROR_XML_PARSER</Name>
      <Text>Expecting a tag to begin with '<' instead of '#', in "#F#A#I#L#U"</Text>
      </rfc:ZRFC_USAGE_DEC.Exception>
    SUCCESS case:
    - <rfc:ZRFC_USAGE_DEC.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <Name>JCO_ERROR_XML_PARSER</Name>
      <Text>Expecting a tag to begin with '<' instead of '#', in "#S#U#C#C#E"</Text>
      </rfc:ZRFC_USAGE_DEC.Exception>
    Thanks.
    -Drumi

    I have done cache refresh, cross checked MT strucures.
    SOAP Response   MT structure  is
    --->MT
    >REsponse
    RFC.REpsonse Structureis...
    --->RFC.RESPONSE
    >Response
    -Drumi

  • Inserting RFC Response to Tracking table using JDBC as a receiver

    Hi All
    I want to update my tracking table with the RFC response but the problem is I cant figure out he Target structure on my JDBC.
    Every time when testing on my http://xxxxxx:50000/mdt/channelmonitorservlet I get nothing on the  "Processing Details"
    I've configured my RFC Response as a sender (ASYN) and JDBC as a receiver, I do have RFC destination and it working fine.
    My is like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:RFC_JDBC_MT xmlns:ns1="http://yonela.com">
    <StatementName_response>
    <PI_JDBC_TBL ACTION="UPDATE">
    <TABLE>PI_JDBC_TBL</TABLE>
    <access>
    <TYPE></TYPE>
    </access>
    <key>
    <key><CARRID>AA</CARRID></key>
    </key>
    </PI_JDBC_TBL>
    </StatementName_response>
    </ns1:RFC_JDBC_MT>
    Any suggestion

    Hi,
    Use Insert in the action field instead of Update and try again.
    -Supriya.

  • Wrong RFC-response filling with characters '#'

    Hi all,
    we have an XI scenario in which a Report use a synchronous RFC call to run a query on a DB table and return the resultset to the calling Report.
    Sync RFC call -> PI 7.0 -> JDBC Query (Select u2026 with ResultSet) -> PI 7.0 -> RFC Adapter
    Weu2019ve some troubles on the data returning from the resultset of the query, thatu2019s rightly filled, and the RFC-response structure because there are some '#' characters as values of the response fields.
    Weu2019ve loaded into the Message Mapping the instance of the resultset (rightly filled) and the test has run successfully, so perhaps the issue itu2019s regarding the RFC Adapter side.
    Now the mapping mapping is set up with constant values but not all the RFC-response fields are filled, infact there are some u2018#u2019 characters that break the values in more lines.
    Weu2019ve already run the full cache refresh on XI on the ABAP and Java side, also weu2019ve restarted the XI instances without results.
    Any ideas?
    Thanks in advance,
    GB

    If its due to the special characters that are popping in the result of query which does not seem to be valid for RFC response,
    1) try to make the RFC Destination Communication Setting as "Unicode"
    2) Check the data type of RFC Response structure could be the fields for which the data is mapped are of date/numeric, in that case RFC data type has to be changed.
    (you would have to reimport the RFC into PI i guess)
    3) If you feel you would not require these special character, you can filter the same in mapping.
    4) After all these if you are still struck and data types are rightly defined and rfc destination is rightly maintained for Unicode, then it i feel the problem resides in the RFC Adapter to convert the xml message into ABAP RFC Format using its metadata, in that case i recomend to change the scenario to Proxy from RFC where by the messages are routed by ABAP stack not by Java.

  • 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...

  • RFC response from Java mapping

    Guys,
    I am RFC response in my java mapping as &lt & &gt. Any ideas why and how we can make it to get in xml < > format. The problem is parser does not identify this format.
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;rfc:BAPI_COMPANYCODE_GETDETAIL.Response xmlns:rfc=&quot;urn:sap-com:document:sap:rfc:functions&quot;&gt;&lt;COMPANYCODE_ADDRESS&gt;&lt;ADDR_NO&gt;&lt;/ADDR_NO&gt;&lt;FORMOFADDR&gt;&lt;/FORMOFADDR&gt;&lt;NAME&gt;&lt;/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t;&lt;FAX_NUMBER&gt;&lt;/FAX_NUMBER&gt;&lt;FAX_EXTENS&g t;&lt;/FAX_EXTENS&gt;&lt;/COMPANYCODE_ADDRESS&gt;&lt;COMPANYCODE_DETAIL&gt;&lt;COMP_CODE&gt;0001&lt;/COMP_CODE&gt;&lt;COMP_NAME&gt;SAP A.G.&lt;/COMP_NAME&gt;&lt;CITY&gt;Walldorf&lt;/CITY&gt;&lt;COUNTRY&gt;DE&lt;/COUNTRY&gt;&lt;CURRENCY&gt;EUR&lt;/CURRENCY&gt;&lt;LANGU&gt;D&lt;/LANGU&gt;&lt;CHRT_ACCTS&gt;INT&lt;/CHRT_ACCTS&gt;&lt;FY_VARIANT&gt;K4&lt;/FY_VARIANT&gt;&lt;VAT_REG_NO&gt;&lt;/VAT_REG_NO&gt;&lt;COMPANY&gt;&lt;/COMPANY&gt;&lt;ADDR_NO&gt;&lt;/ADDR_NO&gt;&lt;COUNTRY_ISO&gt;DE&lt;/COUNTRY_ISO&gt;&lt;CURRENCY_ISO&gt;EUR&lt;/CURRENCY_ISO&gt;&lt;LANGU_ISO&gt;DE&lt;/LANGU_ISO&gt;&lt;/COMPANYCODE_DETAIL&gt;&lt;RETURN&gt;&lt;TYPE&gt;W&lt;/TYPE&gt;&lt;CODE&gt;FN021&lt;/CODE&gt;&lt;MESSAGE&gt;Address data not found for company code 0001&lt;/MESSAGE&gt;&lt;LOG_NO&gt;&lt;/LOG_NO&gt;&lt;LOG_MSG_NO&gt;000000&lt;/LOG_MSG_NO&gt;&lt;MESSAGE_V1&gt;0001&lt;/MESSAGE_V1&gt;&lt;MESSAGE_V2&gt;&lt;/MESSAGE_V2&gt;&lt;MESSAGE_V3&gt;&lt;/MESSAGE_V3&gt;&lt;MESSAGE_V4&gt;&lt;/MESSAGE_V4&gt;&lt;/RETURN&gt;&lt;/rfc:BAPI_COMPANYCODE_GETDETAIL.Response&gt;

    If you check Michal's guide on RFC Loopkup, it also comes with &lt; and &gt; chars.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/801376c6-0501-0010-af8c-cb69aa29941c#search=%22site%3Asdn.sap.com%20lookup%20rfc%22
    What happens if you output this string directly to output stream? I think XI will be able to understand it as a XML. Then, you could execute another mapping program to parse this XML and get the fields you want. In a same interface mapping, you can use more than one mapping programs.
    Regards,
    Henrique.

  • JDBC to RFC.request and RFC.response to JDBC

    Hi all,
    I have the need of create this scenario: JDBC will pick some records from DB and send them to SAP into a RFC.request, after that, SAP will generate a response that will be sent to XI (via the RFC. response), these data has to be sent back to the DB.
    So I am clear in the first part: JDBC sender and sRFC receiver, so that, the response will be sent back to XI, BUT, is there a way to map these response data into a DT_Receiver_JDBC without using BPM????  If so, how?
    And, what about the initial loads of data???  Customer wants this kind of scenario to be used then. What do you think about that?
    I know XI is not the best approach for this purpose but...  And i think i would have to take into account the response time of SAP in synchronous RFC...
    Hope you guys may help me on this.
    Thanks in advance and best regards,
    David

    is there a way to map these response data into a DT_Receiver_JDBC without using BPM?
    No. U will have to use BPM.
    I have not used it personally with JDBC adapter but u may try this to avoid BPM. Hope it works
    http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/frameset.htm
    I know XI is not the best approach for this purpose but... And i think i would have to take into account the response time of SAP in synchronous RFC...
    For sync scenario, the response time should always be considered. However, using XI won't be that much of pain. It will surely relieve you when it comes to monitoring.
    Regards,
    Prateek

  • How to check which RFCs causing issues in the system and RFC response times

    Hi,
    We have an issue with the RFC response times in CRM and need investigstion. We need to know which Which RFCs causing issues and how we can solve the problems.
    Regards

    Hi,
    chek the below code
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
    EXPORTING
    FILE = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    others = 5.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-* MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF W_RESULT IS INITIAL.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
    EXPORTING
    DIRECTORY = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    OTHERS = 5.
    IF SY-SUBRC <> 0.
    ENDIF.
    ENDIF.
    IF W_RESULT = 'X'.
    RC = '1'.
    ELSE.
    RC = '0'.
    ENDIF.
    reward if helpful.
    Regards,
    nagaraj

  • Forms (displaying all code on response email)

    Hi guys,
    I've recently been using the new forms feature but have an issue!!
    When someone sends an enquiry via my website,
    the response email I get displays correctly on my mac but not on pc or webmail? any suggestions please?

    Hello,
    The mails which are sent as notification e-mails are in HTML format.
    Probably the mail client on your PC is not able to render the HTML (might be some settings that you need to check in your mail client).
    Regards,
    Sachin

  • 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>

  • Synchronous RFC Response Not getting Mapped

    Hi,
    I am making an RFC call from XI to SAP R/3 system.
    Scenario: File -> XI -> RFC (SAP R/3)
    The request message is picked from the File Adapter, routed through XI, and an RFC call is made on the SAP R/3. The RFC Response has to be obtained in XI, transformed and persisted using the FileAdapter.
    I have created the request and response message types and message interface in the repository. The message interface is denoted as Outbound Synchronous. The Request and Response mappings have also been made against the RFC message structure.
    I also created the business process in the repository showing the interface as Synchronous between the two actions.
    However, in the Integration Builder, when I import and configure the Business Process, the wizard does not show me the response message type or the response mappings.
    After completing the configuration, the final configuration is still one-way, and only shows the request scenario.
    I am unable to configure the response scenario in the Integration Builder.
    During runtime, the request does get invoked and the RFC gets called from XI. However, the response is lost.
    What do I need to configure to capture the RFC response into XI ?
    thanks,
    Manish

    I would guess that synchronous response is the collaboration agreement between business systems, and not related to the transports available between them.
    My scenario is as follows:
    BusinessSystem1 -> XI -> SAP R/3
    The inbound document is being sent by the FileAdapter where the SenderService is BusinessSystem1.
    I have also configured another file adapter as a receiver, and this has been configured as a channel for the BusinessSystem1.
    Even in this scenario, I am unable to configure the response in the Integration Directory.
    I am able to configure the response structures and mappings in the Integration Repository.
    Any help appreciated.
    thanks,
    Manish

Maybe you are looking for

  • How to call the data from BW to R/3

    HI everybody, I am having one /BIC/OHZSDS_QCAL in the BW which is created by the BW consultant, this /BIC/OHZSDS_QCAL consist of data in it now i have to call this R/3 and create a report to display. i am not getting any idea how to call this /BIC/OH

  • How can I get a Title and a subtitle that are on the same page to come into the TOC in order?

    The subtitle is appearing before the Title even though it doesn't flow that way on the page. I use Paragragh styles to create my TOC and otherwise have had no problems. Any suggestions?

  • Creating new template using existing template

    Is anyone aware of a way to create a new project template using an existing template? I am testing a few scenarios and want to quickly be able to create a template without setting one up from scratch. I tried a few ways but could not find a way to do

  • Problems Connecting to the Internet

    Please bear with me I am new to Cisco Routers. Back Ground: Small company that has 2 public IP addesses. The company has 2 buiildings across the street from each other and no way to directly connect them together. Currently the company has 2 NetGear

  • F.80 Mass Reversal Using Doc. Header Text

    Is it possible to reverse multiple documents by searching off of Doc. Header Text in the F.80 transaction?  Its not there in the system I am using so I am wondering if there is an OSS note or configuration step to get this in?