File to RFC (Error Mail )

Hi,
I have a requirement like legacy system details ( flat file ) send to RFC/Bapi and the status ( Success or Error ) should be updated to the concerned people with the mail. How can we achieve this in XI?
I have done with the File to RFC scenario...need help on update the status (error/ success) with mail.
Where should we implement mail adapter settings for this scenario?
Can anybody share their experiences with me.
Cheers.,
Esha

Hi !
You can make it as a File - Mail scenario, and call the RFC synchronously using JCO during the graphical mapping (or java mapping) using a user defined function.
Then, based on the response of the RFC, decide what should be the content of the mail or maybe decide not to send it.
pros: no use of bpm
cons: need ad-hoc methods for managing connection parameters of the rfc connection.
other:
RFC Scenario using BPM --Starter Kit
Regards,
Matias
ps: please award points if helpful.
Please read the Forum's Rules of Engagement,
i.e.,
/thread/117188 [original link is broken]
and refrain from requesting points
SDN PI/XI Forum Moderator

Similar Messages

  • File to RFC - error while processing message to remote system:com.sap.aii.

    Hi
    i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error:
    Message processing failed. Cause: 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.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.    
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.   
    It was working fine few hours earlier but showing this error now. i was giving a SUBMIT program , but stopped that now.
    But still facing the same problem. and in SXMB_MONI its showing recorded for Outbound processing.
    could anyone help.

    Hi
    I am Facing  Following Error When I am trying to call SAP Screen through JCO.jar
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Screen output without connection to user
    Please Guide Whethere it is possible to call SAP screen Through JCO.jar  ot NOT
    Please HELP if it is possible to Call SAP screen through JCO.jar with step and Code
    Thanks
    Vivek

  • File- XI- RFC (Error: Received HTTP response code 500..)

    Hi,
    I am working on File->XI->RFC  scenario, getting Processed Successfully status in "SXI_MONITOR".
    But Data is not posted in SAP R/3. I check   <b>Runtime Workbench  </b> Getting following Error in one step.
    Can any one help me in analyzing the error.....??????
    2006-06-09 14:36:32 Success output 1149888992513 Channel WEBMETHOD_SENDER_SOAPFMTEST: Send binary file "/usr/sap/transx42/data/xi_input.xml". Size 175 with QoS EO
    2006-06-09 14:36:38 Success output 1149888998592 Application attempting to send an XI message asynchronously using connection AFW.
    2006-06-09 14:36:39 Success output 1149888999757 Trying to put the message into the send queue.
    2006-06-09 14:36:40 Success output 1149889000823 Message successfully put into the queue.
    2006-06-09 14:36:40 Success output 1149889000824 The application sent the message asynchronously using connection AFW. Returning to application.
    2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001577 The message was successfully retrieved from the send queue.
    2006-06-09 14:36:41 Success output 1149889001591 File "/usr/sap/transx42/data/xi_input.xml" deleted after processing
    2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001745 The message status set to DLNG.
    <b>2006-06-09 14:37:47 Error SAPEngine_System_Thread[impl:5]_12 1149889067522 Transmitting the message to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 500..</b>
    2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067585 The asynchronous message was successfully scheduled to be delivered at Fri Jun 09 14:42:47 PDT 2006.
    2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067695 The message status set to WAIT.
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 Retrying to send message. Retry: 1
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 The message was successfully retrieved from the send queue.
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367643 The message status set to DLNG.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368435 The message was successfully transmitted to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368471 The message status set to DLVD.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368472 The message was successfully delivered.
    Thanks & Regards

    Hi Umesh,
    I think, the reason is because of huge number messages ..
    Also just go to RFC adapter, activate the adapter,refresh the cache and try it..
    following guide will help you to solve problem~
    https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Just refresh the cache-The following guide will help you on that~
    https://websmp101.sap-ag.de/~sapidb/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Refer these SAP notes- 807000,803145
    (some hints)
    Regards,
    Moorthy

  • File to RFC Error com.sap.engine.interfaces.messaging.api.exception.Messagi

    Hi ,
    I am doing File to RFC  Scenario.
    My file get picked and I able to view the audit log under RWB message monitoring.
    Here I am getting the error
    u201CTransmitting the message to endpoint dest://XI_INTEGRATION_SERVER using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error transmitting the message using HTTPTransmitter. Reason: java.net.MalformedURLException: unknown protocol: dest.
    Can any one tell me what is the  reason.
    Regards, Navneet

    Hi Prakasu,
    I am using PI 7.1 version .
    When I opened SMICM there I am finding the HTTP Port as 52000.and the BS at SLD are also using the same Port in URL..
    And when i verified with the Basis they confirmed that Exchange profile is set correctly.
    But My file adapter is still not able to send the data to IS.
    Than I configured a scenario file to file without IR object and in this case data is coming to IS and it is succesfull also.
    what is the reason that in this case file adapter not able to push the data to IS.
    I used File adapter with NFS protocol.
    regards,
    navneet

  • Doubt in file to rfc to mail scenario

    Hi All,
    I have a doubt in configuring File2Rfc2Mail scenario,
    Actually my requirement is to send flat File to RFC, and trigger mail alerts for successfull execution , like after successfully posting the mesg to rfc i need to trigger a mail alert to mailserver,
    For that what i thought to do is file to rfc and from rfc response to mail , i don't know whether i can do like that or not , do anybody help me in this issue,
    Thanks in advance,
    Nousheen.

    Hey,
       Your BPM will be like this.
    recieve step(file)-> sysnchronous send step(rfc)-> send step(mail)
    3 abstract interfaces:-
    abstract asynchronous(file structure)
    abstract synchronous (in this request as file sturcture and response as mail structure)
    mapping between abstract synchronous and rfc(no need for transformation as mapping is outside)
    abstract asynchronous(mail structure)
    create two container variables, one for each abstract asynchronous interface.
    use them in recieve step(file) and send step(file)
    revert in case of any queries.
    reward points if useful.
    regards,
           Milan

  • File to RFC Error

    Hi,
      I done File->RFC scenario. It was showing WAITING in
    Message Monitoring. But in CC Monitoring showing error
    like <b>No suitable sender agrement found</b>. Y it is
    showing like this? even I done Sender Agrement?
    thx and regards,
    Ansar.

    Hi,
         Now I gone through this link
    Re: Unable to find the processed message
      Here they mentioned to check  in  http://<host>:<port>/mdt
      I checked it. Then I found the error in Audit Log
    as <i>Delivery of the message to the application using
    connection AFW failed, due to: error while processing
    message to remote
    system:com.sap.aii.af.rfc.core.client.RfcClientException:
    could not convert request from XML to
    RFC:com.sap.mw.jco.JCO$ConversionException: (122)
    JCO_ERROR_CONVERSION: Date '25.09.2006' has a wrong
    format at field DELIV_DATE: Unparseable
    date: "25.09.2006".</i>
        Now how to give the date format?
    thx.

  • Xi file to rfc scenario

    hi,
    I have to pass an excel file from  server pass , all the contents and name(both are changing everyday) as a string to a filed of wrapper ZRFC(bapi ),based on return code of zrfc (return code for error )it will shoot mail to concerned person

    If the RFC call is used to insert data in some database, then you will have to use BPM, with async-sync bridge. File - RFCreq - RFC Resp - Mail.
    If just a lookup from RFC is required, then you may avoid BPM by creating file to mail scenario with RFC lookup.
    Regards,
    Prateek

  • 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

  • Error While downloading the file A server Error has occurred, please try again later Downloading Yahoo mail Application Attachments  Trying to download My Photos and movie 3 items so i can delete them all

    I have icloud and a new iPhone5 ! They work good , took pictures and a few short movies, plugged in my phone to my iMac transfered Items to iPhoto then inported items to iMovie. when getting to know what i was doing i decided to delete pictures and movies i no longer wanted. when i looked for a few missing items i opend Finder and there some where buyt i had already trashed them and deleted the doubles. Still could not find missing pictures and movies 3 items and today after calling yahoo about a different complant with sending feed back for Yahoo mail Applications login . i opened up Attachments Not the Large Attachments just Attachments and there were the 3 items i had been hunting for to Trash and delete. the mail Attachments file does not have the Option to delet Files and photos and movies. When i tried to Download the 3 items a window shows up that says Error While Downloading the Files, A Server Error has occured, please Try Again later. nothing works how do i remove the Trapped photo and movie Blank Files and trash them?  Onece they get into my downloads i can do something with them as i understand.    That part of it kind of keeps me in Question also because why should i have to down load my own files of Attachments / Pictures and movies if they are comming from my iMac?    How much better is iLife11 then iPhoto08 and iMovie08 .  Thanks Greg

    Hello,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • Error when executing FM in Target System for File to RFC flow

    Hi,
    I am doing File to RFC. I have given Dialog User(my user) login details in RFC reciver Comm Channel for Testing purpose.
    I am getting the below error.
    Receiver channel 'CC_P1EUNL_WRAPPER_RFC_Rcv' for party '', service 'INTEGRATION_SERVER_PID' (internal name 'RfcClient[CC_P1EUNL_WRAPPER_RFC_Rcv]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=001, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=iroy_adm, jco.client.sysnr=15, jco.client.ashost=pmichsappid01.app.pmi}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=001, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=iroy_adm, jco.client.sysnr=15, jco.client.ashost=pmichsappid01.app.pmi}
    Current pool size: 0, maximum pool size : 1.
    The message is showing as successfull but at node, its showing the above Message.
    Let me know what could be the Problem.
    Regards,
    Varun

    hi,
    this is not an error - it's just RFC details message
    Regards,
    Michal Krawczyk

  • Error in File to RFC scenario: ATTRIBUTE_WRONG_INTF

    Hello,
    My scenario is going from File to RFC which is simply writing to an SAP table.
    My mapping seems OK and tests OK but in SXMB_MONI I get red flag and error below:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter   -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>
      <SAP:P1>ZDWM_POS_UPDATE</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to interpret IDoc interface ZDWM_POS_UPDATE</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The posts I see in the forums with this text have to do with an external deffinition being incorrect. I don't have an ED, it is mapping right to our custom RFC interface ZDWM_POS_UPDATE.
    Does anyone have any ideas or pointers for troubleshooting this?
    Many thanks,
    Aaron

    Hi Aron,
    You should not create any message interfaces refering to RFC.Infact RFC acts both like Message type and Messge interface.
    In interface determination choose ALL radio button and choose Idoc itself instead of interface.
    Also the interface mapping should be b/w Fileinterface<-->RFC directly (no need of interface)
    Hope this helps.
    Regards,
    Divya

  • ERROR  IN  FILE--XI--RFC SCENARIO.  BAPI  did not UPDATE the DATABASE TABLE

    Hi
    I have created a scenario  FILE -XI- RFC
    File is picked by file adapter  - Its working fine
    I have used BPM
    In RFC side  i used BAPI_INCOMINGINVOICE_CREATE
    Its working fine and return an Invoice Number and Fisical year .
    When i Check this in the R/3 System , in Invoice no Does not Exist .
    Message mapping is ok
    SXMB_MONI all are ok
    Receiver file i got the invoice no and fisical year .
    The Problem is " DATABASE TABLE DID NOT UPDATED "
    So  should i do BAPI_COMMIT seperately ........
    Any solution ................
    VERY VERY URGENT .....
    thanks in advance
    B.Jude

    hi jude,
    Commit Control for Single BAPI Calls
    If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
    If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
    The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values “”, “S”, “I”, and “W” are displayed. All other values are regarded as errors.
    To change this setting, set the indicator BAPI Advanced Mode.
    <b>In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.</b>
    Regards,
    Mandeep Virk

  • File to RFC with multiple records using BPM Scenario Error...!!!

    Hello Guru's,
      I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
    Can any one tell me what mistake would i have done.
    Thanks in advance.

    Hi,
    There is one similar discussion I found,
    FTP TO RFC using BPM
    Thanks
    Swarup

  • Error in file to rfc scenario

    Hi
    I am trying to execute a synchronous scenario of file to RFC. Actualy it worked in XI 7.0. I am trying to do the same thing in PI 7.1
    I have done all the configurations, yet it shows the error.
    Worst part is, it is not shown in sxmb_moni. The status is not displayed.
    Where could the problem be? Did i miss somewhere either in installing or configuring?
    Kindly let me know.
    Regards,
    Kevin

    Hi
    Hey but u said its a file to RFC???
    in the module name  write : localejbs/AF_Modules/MessageTransformBean
    (see that it is the first module in the chain )select type as localejbs,
    in the module key just add a simple name (it is the variable which depends on u e.g var)
    This variable will be used ahead (see below in cc in module configuration part in ur channel )
    now in the column module key below choose the key "var" from drop down
    In Parameter Name add Transform.Class and the value as com.sap.aii.messaging.adapter.Conversion
    second row  add parameter  Transform.ContentType
    and value text/xml;charset=utf-8
    for the same module key
    Edited by: Progirl Progirl on Jul 18, 2008 12:53 PM

Maybe you are looking for

  • Problem with XML configuration

    Hello gurus! I have a problem because I'm trying to get a value from the WF container to expose it through SWFVISU as a dynamic parameter. The way I tried to do this was to manipulate the UWL XML to create a custom attribute and declaring the value c

  • TS1394 HOW TO UPDATE FORM MAC OX 10.4.11 TO UP

    HOW TO UPDATE FORM MAC OX 10.4.11 TO UP

  • Things to consider while making a class singleton?

    sometimes i need to share the state of object across application.I get confused should i declare it singleton or declare state vaiables as static. As per mythoughts, if intention is just to share the state of object across application i should go for

  • PowerBook 520c with the PPC upgrade

    The standard CPU configuration for this PB will handle up to OS 8.1. Can one go beyond that (ie OS 8,6) with the PPC upgrade?

  • STMS - transports get hung on tp import

    Hi There are a number of threads regarding this and I've also looked at OSS note 71353 but so far none have fixed my problem. When I attempt to import to my new development environment, the transports just hang. There are no entries in TRJOB and TRBA