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

Similar Messages

  • 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

  • Error Handelling File-XI-RFC Scenario.

    Hi Experts,
    I am making a scenario File to XI to RFC,
    File - XI - R/3 System
    If the record is already available at R/3 System, how I can check that the same is available at R/3 and how I can stop saving the same?
    I will write a code in our RFC Function Module at R/3 or XI will handle the same ?
    & how ?
    Where I will create the Error ?
    Regards,
    Study Sap

    If it will stop at R/3 side, at XI in sxmb_moni it will show a successful message or error message ?
    If the message clears the XI pipeline , you wont seen an error in sxmb_moni but that doesnt mean your IDOC was received at the r/3 side
    as suggested by prateek, you can check sxmb_moni at the r/3 side to know the status
    regards
    krishna

  • 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

  • Problem in storing data in BAPI in File to RFC Scenario

    Hi everyone,
    I m doing File to RFC Scenario.......I completed design and configuration part and actived the Communication Channels.....
    Now when I check in Runtime workbench I am getting succefully executed both at outbound and Inbound Channels.......but
    data is not updated in BAPI...........
    I m getting following error when I check in Component monitoring......
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: configuration exception caused by: com.sap.aii.af.rfc.core.config.RfcChannelInactiveException: channel has status inactive: com.sap.aii.af.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: configuration exception caused by: com.sap.aii.af.rfc.core.config.RfcChannelInactiveException: channel has status inactive
    Please help me out.......
    Regards,
    Sudheer.

    Hi
    "I took Business Service as Service but not Business System.....Will it effect the scenario???......"
    I suggest While dealing with the SAP Systems we should use Business systems.
    Pls check the foolowing Threads for the above Query
    RFC - Business Service
    Re: business service for file to rfc
    Regards
    Abhijit

  • 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

  • File-xi-rfc scenario

    Hi all,
    I am working on File-xi-RFC scenario.
    i have done IR and ID working.
    Now I have Done test cofiguration there is NO ERROR ......working
    File is picked .....as mode is delete.......working..
    I check in Adapter Monitoring...............there i got a ERROR. That is..........below
    "- Error: 2006-12-16 15:59:57 IST: Message processed for interface MIIS_filetorfc: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was "
    please help me...........
    what i have to do??
    Regards,
    Umesh Laxkar

    hi
    wht i am suggesting u his...
    Check whether UR RFC ie. SM59 t-code... its proterly working or not do test connections also actvate every thing ans see...
    see the below link.. i hope it will be usefull...
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    regards,
    vikram.c

  • 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

  • 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

  • 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

  • Fixed Length of a field in the File-XI-RFC Scenario

    Dear All,
    I am doing one File-XI-RFC scenario in which user is sending me the file with some delivery nos (VBELN) in it and I am sending those all delivery nos to my RFC in R/3.
    Now I want one conition to be put that if any delivery no is of less than 10 characters than that delivery no should not be sent to RFC rest the remaining will be processed to RFC.
    I have put one UDF for this whose code is as follows:
    int len = a.length();
    if  (len == 10)
    int b=1;
    b = (1/len); 
    return a;
    But this code is not working. Please guide me how to solve this problem.
    Regards,
    N.Jain

    HI,
    Input is A : Delivery No take all the delivery no in one context.
    for(i=0;i<A.length;i++)
    int b= Integer.parseInt(A<i>); it will remove all the leading zeros if it has any.
    int j=(new Integer(b).toString().length()); count the lenght of the Del no.
    if(j>10)
        result.addValue(A(i));
    else
         result.addValue("null"); will not send anything.
    Thanks and Regards,
    Chirag gohil

  • FILE to RFC Scenario in PI

    Hi,
    I am working on File to RFC Scenario. Can u tell me how to do this scenario using RFC Lookups.
    Thanks,
    Seenu.

    do a lookup from your mapping?
    RFC Lookup -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    in case of 7.1, you can try - /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups

  • 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

  • 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

Maybe you are looking for

  • [SOLVED] Xfce terminal open links with wrong browser.

    After installing Opera as second browser, xfce terminal began to open links with it, instead of my default browser - Firefox. I right click on an URL, choose 'Open Link' and it opens in Opera. Firefox is set as default browser in Settings -> Preferre

  • Colour confusion in cross-reference format -- help!?

    (FrameMaker version 8.0p277) We recently applied revised templates to our documents and I am not having problems with my cross-reference formats. When setting an xref to a heading/table/figure on another page, I want it to say (for example) "Figure 2

  • Can't connect iphone to Apple TV

    I have borrowed my dad's Apple TV for a few days and I can't connect using Airplay to watch movies through my TV. It has worked before but apepears to have stopped working since updating software. Any suggestions as to what may be the problem??

  • Problem with bool data type in overloading

    Please find the following error. I did following typedef: typedef bool Boolean; typedef signed int Sint32; Problem description: This error is occurring because Sun CC 5.9 or Solaris 9 g++ considers bool data type as signed Integer, when passed as an

  • IPod nano 7th generation sensor issue

    I just got an iPod nano 7th generation. I'm trying to figure out the nike fitness section. It keeps telling me "not linked to sensor" when I try to set up a run. I was under the impression that I wouldn't have to buy a separate sensor. Is this true?