File to RFC Scenario - Not working with AAE

I have a File to RFC Scenario (calling RFC /POSDW/CREATE_TRANSACTIONS_EXT)  using AAE but it is failing with following error in PI .
MP: exception caught with 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: functiontemplate from repository was <null>
Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to:
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: functiontemplate from repository was <null>.
But When I run the same scenario using IE instead of AAE, it is successful from PI. So probably there is nothing wrong in RFC channel configuration.
There's an OSS note-730870  on this error ,it says the XML document sent to RFC Adapter may not be RFC-XML but as I am using AAE, payload generated after technical routing cannot be viewed.
Could you all please suggest why this error is coming and solution for the same?
Thanks,
Ankit

Hi Debashish,Monica,
Thanks for your help, I checked this SAP note its question 16 do describe my problem but do not provide solution and as I am using AAE it does not allows me to see the target structure generated whereas if I use IE the target structure generated is sucessfully getting posted.
Also, the functional module is present in target system. I have reimported the RFC also.
Is there some AAE related configuration required to enable AAE with RFC which could be missing?
This is what I get in log as the RFC reciever is called..
06.09.2011 14:15:31 Information MP: entering1
06.09.2011 14:15:31 Information MP: processing local module localejbs/RfcAFBean
06.09.2011 14:15:31 Error MP: exception caught with 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: functiontemplate from repository was <null>
06.09.2011 14:15:31 Error Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
06.09.2011 14:15:31 Error Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: 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: functiontemplate from repository was <null>.
Thanks,
Ankit

Similar Messages

  • File to Rfc scenario,not updated in rfc

    Hi,
    File to RFC scenario,not updated in RFC?
    i checked communication channels ,smq1,smq2,sm58,cache refresh.but issue was not solved.
    Please advise where need to check?
    Thanks
    Amita

    Hi Amita,
    First check whether the configuration between PI and ECC has been set up properly.
    Are you using a stand RFC or custom RFC?
    Import the RFC metadata from ECC to PI and use that structure in your service interface and configure the remaining objects that we normally do.
    Now, try to process the file and check in the communication channel, whether file Adapter is able to pick up and send the message to PI system.
    If the message is successfully processed through PI system then check the messages in Queues. Also, check the RFC communication channel in the adapter engine.
    Follow the process, you might get some clue regarding the issue.

  • I downloaded the latest firefox 4 and updated my file, firefox 4 will not work with my version of Mac OS X, how do I get my old firefox back?

    I downloaded the latest firefox 4 and updated my file, firefox 4 will not work with my version of Mac OS X, how do I get my old firefox back?

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • File upload custom renaming not working with {KT_ext}

    Hi,
    I used many times custom renaming with file upload, and used {KT_ext} for file's extension, but in first ADDT project is not working. I use this:
    $uploadObj->setRenameRule("{GET.id_cd}_{track}.{KT_ext}");
    Does anybody know if {KT_ext} is broken in ADDT?
    Thank you,
    Ruben

    Hi Günter,
    {track} and {id_track} are both table fields, and setRenameRule worked right with both, but it didn't with {KT_ext}.
    I've changed {track} with {id_track} in first page, and it stills fail to put extension.
    But maybe is this, in first page the column for Update Transaction is like this
    $upd_cds_peces->addColumn("mp3", "FILE_TYPE", "POST", "mp3");
    and in the second page (where it works right) is
    $upd_cds_peces->addColumn("mp3", "FILE_TYPE", "FILES", "mp3");
    Althought in both cases the file is uploaded and DDBB field is filled, maybe in first case the TNG doesn't expect a file and cannot find its extension.
    I'll try to change it,
    thanks,
    Ruben
    Edit: Yes, it was this... Now it works. Thank you Günter for your help!

  • Google documents - 'select files to upload' does not work with v 3.6.8 Firefox - several users have noticed this.

    Until Friday, I could upload documents using google's facility within Firefox . Suddenly, the 'select files to upload' stopped working. Internet Explorer does this ok.
    I noticed on the Google forum that several users have reported this and someone suggested it should be reported to Firefox as it works with other browsers. I am using Windows XP on a laptop.

    It is an issue that Google are aware of and are working on a solution. See [http://www.google.com/support/forum/p/Google+Docs/thread?tid=4f0369bdcf6fd7ff&hl=en "Select files to upload" not working in Firefox - Google Docs Help]
    (Thanks to Joolsa for the link)

  • File to IDOC scenario not working

    I have configured a file to idoc scenario and kept the XMl file in a shared location on XI server.
    I have also created and checked the communication channels correctly.
    Once Everything is done my xml file does not get picked up at all. Also the SXMB_MONI does not show any messages for my service.
    How do I find out what is the error ??

    Hi Kapil,
    Just check the File path that was in shared location once and the file name is properly mentioned or not..
    And also one thing after activating all IR and ID just goto SXI_CACHE and press <b>F6</b> to update cache refresh
    And also in RWB --> Message Monitoring --> Adapter monitoring --> check the status of the sender
    Regards,
    Sridhar

  • 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

  • Help me please with File-to-RFC scenario

    Hi, I'm a beginner with XI and I have as problem with an interface.
    This interface is a file-to-RFC scenario an it was working correctly a few days ago. Suddenly, the interface doesn´t work and we haven´t error message in sxi_monitor transaction. The queues are fine and we haven´t any sign that why the interface doesn´t work.
    If someone´s had a similar problem and know how to solve it or someone can teld me a clue, please, help me!!
    Thank you

    HI,
    You can monitor the Communication Channel in RWB.
    Go Component Monitoring in Runtimework Bench and click on Adapter Engine and select the Communicaiton Channel and select your channel name.
    You can find any whether it is in active or not?
    Also check the Message monitoring in RWB.
    Regards
    Sridhar Goli

  • File-PI-RFC scenario with extraction of contents in the filename

    Hi All,
    I am working on File to RFC scenario.
    Here the file name is like 'ABCD_XYZ_1234_DATE' where the date is in yyyymmdd format.
    I have to read this filename & the date in the filename is to be mapped with one of the RFC parameter.
    Also how would I trigger the Interface if the file resides in PI server or on local mchine.
    How to configure the processing parameters in sender comm channel if I want to read the file after every 15 mins?
    Thanks,
    Amit Patil

    Hi,
    By writing simple UDF in your mapping you can Acheive this
    Try this Once
    DynamicConfiguration dynamicconfiguration = (DynamicConfiguration)param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    String MyFileName = dynamicconfiguration.get(key);
    String str[] = MyFileName.split("_");
    return str1[1];
    Map this to the date parameter(RFC) in the mapping .
    If the file resides on Local machine then you can use FTP and if it is on PI server then NFS as Transport protocol.
    If you want read the file for every 15 min there are 2 options
    1) Set the poll interval time to 900 sec
    2) Configure ATP in RWB
    Configuring ATP in RWB :
    http://www.dataxstream.com/2010/11/configuring-availability-time-planning-in-sap-pi/
    Thank & Regards,
    Deepthi

  • Uploading files to website not working with Safari in Windows 7

    Safari version: 5.1.7
    OS: Windows 7
    Hi,
    I am a website owner, and I have a feature on my site where users can upload large (up to 50MB) music files to my server. The feature works in Firefox on OSX & Windows platforms and it also works in Safari on OSX. The uploading feature is not working with Safari for Windows. Do you have any idea why and how to fix this? It can't be an issue with my server as it works in other browsers fine and works fine in Safari for OS X.
    If you have any information on how to solve this or things for me to try to rectify this for use with Windows operating system it would be much appreciated.
    Thanks.

    GREAT NEWS!!!!
    I have solved this issue myself with some help from my a user on Microsoft Forums. The issue stems from the mime type of each Browser Chrome, IE, & Safari for Windows defaults as audio/wav. When the mime type is changed to audio/x-wav everything works. Firefox defaults to audio/x-wav and when changed to audio/wav it DOES NOT work.
    Once I input some code in my .php upload page to change the mimetype if audio/wav is detected everything works GREAT!!!
    So Here is what you need to do: Find your upload page and input this code:
    echo "<p>MIME Type: ".$_FILES["file"]["type"]."</p>";   
    right before your "If/then" statement of file type. For me it was near line 30 in my upload.php page, but I'm sure this is different for everyone.
    This will detect and DISPLAY the default mime type of your browser on the error page when your upload doesn't work. Once you know what mime type works for your file type then you can change your "if/then" statement for mime type upload to change your mime type to the correct one.
    I don't want to give the code here, because I'm sure it's specific to your file types and your site construction, but this should lead you on the right track.
    ***This is the solution if you ARE NOT ABLE to upload any certain file in a certain Browser. It has to do with mime type construction***
    I hope this helps others like it helped me!!!!!

  • Has anyone not working with .dv files had synchronization problems?

    Has anyone not working with .dv files had sound synchronization problems? I'm not exactly sure what the alternatives to DV are, but I think one of them is HD.
    The reason for asking this question is to help isolate the nature and cause of a very serious flaw in iMovie '11. In the original release of iMovie '11 (version 9.0) there was a small--but serious--synchronization problem. In the 9.01 there is a large synchronization problem. We know of one person who has not experienced the problem, and he is not working with DV files (media). So we want to find out if anyone who is using something other than .dv files is experiencing a lack of synchronization between sound and picture. Knowing the answer to this will help with figuring out where the cause lies. For the initial iMovie '11 release (9.0), you probably would not notice a problem unless you had very long event-clips, e.g., two hours long. Events get this long if you are transferring from analog 8 mm tapes. Even then, it would have to be in scenes in which the connection between event and sound is obvious, e.g., close ups of people talking. It isn't until the 9.01 release that most people would notice anything. All we need to do is establish one case of a synchronization problem in which the person is using something other than DV.
    Message was edited by: Paul Bullen

    Hopefully, the 9.0.2 release will make my question moot. Zyfert must have posted the announcement of the release just as I was formulating my question. Still, if you have information on the subject, it would be interesting to hear.

  • File to RFC scenario with no BPM

    I want to create File to RFC scenario with no BPM. I want to invoke RFC synchronously to verify that I'm getting correct response back, but i dont wanna process the response. So, In SXMB_MONI i can check the response back from RFC right? Or do I need to have BPM if want to see the response back from RFC?
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK?
    Thanks,
    Deepesh

    Hi,
    I need to have BPM if want to see the response back from RFC? ... yes
    The BPM will help you find the response very comfortable.
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK? ..Yes you can .
    Regards
    Agasthuri Doss

  • Validation Event Handler Not working with Flat File GTC Trusted Recon

    We are created Event Handler for checking special characters in Telephone field.Its working fine when the user is created through Admin Console.but the event handler is not triggering while doing GTC Flat File Trusted recon.
    Version: OIM 11.1.1.5.0
    Can someone please help me out with this.
    Thanks
    Edited by: 790561 on 17-Feb-2013 09:01
    Edited by: 790561 on Feb 17, 2013 9:35 PM
    Edited by: 790561 on Feb 18, 2013 12:38 AM

    Validation Event handlers will not work with your trusted recon. You can use the GTC Validation provider, it is nothing but the plugins which you can insert with in your source field in GTC. I think you can easily get the steps for how to create a custom GTC Providers.
    Edited by: iam37 on Feb 16, 2013 4:09 PM

  • Multiple records are not loaded   in FILE to RFC  scenario

    Hi   ,
         I did  File- to-RFC  scenario.. it was working fine.. but the problem is... from my file.. it was loading the first record only into the R/3 database..  what i have to do..  i'm new to XI..
      generally a file must conatin multiple records.. but my scenario was  performing.. that was loading only the first record of my file.. and  remaining records it wa skipping.. 
    plz provide me the solution..
    Thanks
    Babu

    Hi
    In message mapping, change the occurrence of the RFC to be 0 to unbounded.
    Map the root node of the file xml structure to the RFC's root node.
    In the interface mapping after selecting the source and the target message interface,change the occurrence of the target interface to 0 to unbounded i.e.RFC .
    While doing the interface determination, you will find an option called Enhanced / Extended  Select this and then select the Interface mapping.
    Thanks

  • I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data is not.) but

    I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)

    HI Dave,
    I'm surprised you get no message when you attempt opening the Excel document in Numbers.
    I'm assuming Numbers 3.1, since you are running Mavericks.
    Does the Numbers file that opens show any content?
    Does it contain a table?
    How large?
    Does it contain more than one tab (indicating more than one sheet)?
    Do those other tabs contain a table?
    Have you checked those tables for data content?
    There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
    I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
    Regards,
    Barry

Maybe you are looking for

  • Query related to Sender Email Adapter

    Hi , I have one requirement related to sender mail adapter. There are 2 Interfaces and both the interfaces are fetching emails using 2 sender mail adapters from the same email database and I am posting data at the receiver side on the webservice usin

  • Urgnt help in import user schema

    Dear all, when i make import from user schema , i faced the problem of __arabic__ data corrupted ( ????????????) this warning is appeared in the log file of import can any one help me to solve this problem . import done in AR8MSWIN1256 character set

  • Format Tab  - Field Properties (Special)

    The format tab for field properties - Special - gives a phone number option which allows 10 numeric characters or spaces. UK Telephone number format is 11 numeric characters. Would be useful to have a pre defined UK phone format. If you try and creat

  • Can I use Mountain Lion with my 2008 Mac Pro

    I have a Mac Pro with the following system: Model Family: Mac Pro Processor: 2.66GHz Xeon (Dual-core 5150) Manufacturer: Intel # of CPUs: 2 Codename: Woodcrest Base Memory: 1GB PC2-5300 DIMM Max Memory: 32GB # Memory Slots: 8 Brand: Apple Wireless: O

  • My iPhone has been stolen and I therefore don't have one to access my backups. I need to access my notes can anyone help me access my notes.

    My Phone was stolen last night. It has been taken poff line so it is untrackable so there is no chance of getting it back. I have the root file from my library/application support/mobilesync/ca3bc056d4da0bbf88b5fb3be254f3b7147e639c but can't view it