Problem in RFC - File Scenario

hi all,
I am doing scenario in rfc to file where , rfc is taken as sender communication channel.
what is the way to configure sender communication channel.
with thanks
Deva

Hi Deva
U shud go through follwoing link for RFC sender. It may helps you...
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
reward Points if it is useful.. **
Cheers..
Vasu

Similar Messages

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • For File -- RFC-- File scenario want to remove sync/async bridge

    For File -- RFC-- File scenario want to remove sync/async bridge
    Can I work with File -- RFC-- File scenario without BPM
    Regards

    Hi-
    Check this threads
    RFC -> File without BPM
    File - RFC - File without a BPM - Possible from SP 19.
    File-To-RFC without using BPM

  • Problem IDOC to File scenario:  No service for system SAPIDC, clnt in ID

    in IDOC to File scenario, when IDOCis triggered from R/3 to XI, it gives error in SM58 transaction 
    "No service for system SAPIDC, client 800 in Integration Directory"

    In a scenario, i have a BPM which has a transformation step which contains a mutimapping ...means 2 messages mapped to 1 messgaes, here in the mapping i m using an UDF and written code to extract the file name from dynamic configuration.....
    the problem is ...the same BPM contains another transformation step which contains a message mapping (which is not multi mapping), and here the code (UDF) works to fetch the file name...
    the code is all correct....and it looks like
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(key);
    if (sourceFileName == null ){
         sourceFileName = "ErrorFile.xml";}
    return  sourceFileName;

  • RFC - file scenario: application stopped

    Hello.
    I'm configuring RFC-call -> file scenario. Everything goes fine until XI ties to call file ftp-adapter. Then i get error "You have requested an application that is currently stopped". What to do to get that application running ?
    Regards
    Jari
      <Trace level="3" type="T">Channel for adapter engine: File</Trace>
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">
      <Trace level="2" type="T">return fresh values from cache</Trace>
      <Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET): af.Xx1.xxxxx</Trace>
      <Trace level="3" type="T">URL = http://xxxxx:50000/MessagingSystem/receive/AFW/XI</Trace>
    "You have requested an application that is currently stopped"

    Hi,
    check if you file adapter channel si working:
    http://xxxxx:50000/mdt/amtServlet
    >>>>You have requested an application that is currently stopped
    this might also mean that the j2ee part of the xi is just starting up
    Regards,
    michal

  • BPM not starting in a File - RFC- File scenario

    Hi,
    For testing purpose with BPM, I have the following scenario:
    File (FTP server) -> RFC (BAPI_COMPANY_GETDETAIL) -> File (FTP Server)
    Under SXMB_MONI, I can see my message beeing procces with the black/white flag. opening it, I have, on the left top, the two lines:
    CENTRAL Client 001 (my XI client) XXXXXXMEssage number
    PE_ADAPTER Cleint 001 XXXXXXMEssage number
    No error messages, the only stuff I noticed is the following in the trace, but I don't know how to deal with:
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="3" type="T">Processing mode is</Trace>
      <Trace level="3" type="T">created BPE proxy for message 27A64735F7914F440E54E0701C944C36</Trace>
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface FileRequest_OUT_MI</Trace>
      <Trace level="1" type="T">select interface namespace http://polyright.com/xi/HR</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface FileRequest_AI</Trace>
      <Trace level="1" type="T">select interface namespace http://polyright.com/xi/HR</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      <Trace level="3" type="T">inserted message into pipeline PE_ADAPTER</Trace>
      <Trace level="1" type="Timestamp">2008-09-15T08:18:06Z CET qRFC raised on XBQO$PE_WS90000003</Trace>
      </Trace>
    Does anyone has any suggestion ?
    In SXMB_MONI_BPE, I don't see anything. Seems like the BPM process never started.

    Check these threads :
    RFC Scenario using BPM --Starter Kit
    1. Use Sender File adapter with QOS as EOIO.
    2. Use a BPM with a 1:N mapping and a Block with For Each as the mode. Wrap this with an excpetion handler block to send the alert.
    Look into this blog for exception handling and reconilation,
    Reconciliation of Messages in BPM

  • Very Urgent......BC-XI(RFC-File Scenario)

    Hi experts ,
    I have a BC migration to XI scenario.
    the architecture is like we have a customized adapter that is connected to BC which is further connected to r/3.
    Now the adapter gives us XML which is being fed to BC which communicates with R/3 using RFC/BAPI. 75% of scenarios are synchronous.
    Now i need some advise on how to migrate from BC to XI in this kind of scenario. Will i use RFC and File adapters in my XI to configure the same?
    Should i use the XML of BC as file input to XI and then map it to r/3 using rfc adapter. I am bit confused . i have so many links. its bits confusing . How to go about it.
    Please guide . its bit urgent.
    Regards
    Devel

    Hi,
    SAP BC and SAP NetWeaver are based on different technologies: SAP BC is based
    on webMethods’ proprietary Integration Server, whereas SAP NetWeaver is based
    on open standards, such as BPEL4WS (business process execution language for
    web services). Therefore, only parts of an SAP BC implementation, such as XSLT
    mappings, can be migrated to a solution based on SAP NetWeaver. Any custom
    programming based on SAP BC, such as SAP BC flow language, is unlikely to be
    reusable in the SAP NetWeaver context.
    The basic steps in the back-end systems are:
    • Defining the logical systems
    • Maintaining the ALE distribution model
    • Maintaining partner profiles and EDI ports
    • Maintaining RFC destinations
    The basic steps in the SAP XI system are:
    • Maintaining the System Landscape Directory
    • Configuring the IDoc adapter
    • Maintaining the receiver determinations, interface determinations, and
    interface agreements
    • Maintaining the communication channels
    The type of scenario to migrate typically has an impact on the communication channels only.
    >>>how to migrate from BC to XI in this kind of scenario. Will i use RFC and File adapters in my XI to configure the same?
    Yes , for RFC communication you need to use the RFC adapter as you know in BC you need to create the connections and you can also test you RFC and BAPI and also you can check what XML string is coming in return. So i guess that XML you can use in XI also. Also you can use file adapter.
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Problem with RFC-XI_SOAP Scenario

    Hello Guru's,
    I am stuck with a scenario in RFC-XI-SOAP.  Its a simple scenario where in I am trying to pass in two numbers to a web service and the web service will return the addition of two numbers back to the RFC.
    The scenario configuration looks perfect.  I have referred all the related blogs (blogs related to RFC-XI-SOAP scenarios) after I configured the scenario.  The RFC destination which I created was tested successful.
    When I executed the RFC at the destination, it threw a dump saying "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:".  When I checked the sender RFC adapter in RWB, this is the message what I got
    - Error: 2008-01-09 12:04:29 GMT+05:30: Message processed for interface ZRFC_SAMPLE_ADD: com.sap.aii.af.mp.module.ModuleException: call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapter:ADAPTER.SOAP_EXCEPTION:soap fault: Server was unable to read request. ---> There is an error in XML document (1, 166). ---> Input string was not in a correct format. caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapter:ADAPTER.SOAP_EXCEPTION:soap fault: Server was unable to read request. ---> There is an error in XML document (1, 166). ---> Input string was not in a correct format.
    For the message it quite clear that there is something wrong with the format.  But when I tested WSDL in XML spy, it ran fine.
    Could anybody help me with the cause of this problem?
    Thanking you in advance,
    Vijay

    Hi Biplab,
    Thanks for getting back !!!
    The structure of the RFC is quite simple.  It just has two import parameters and one export parameters.
    Fyi.... I am pasting down the structure of the RFC and WSDL below.
    Structure of RFC----
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(INPUT1) TYPE  I
    *"     VALUE(INPUT2) TYPE  I
    *"  EXPORTING
    *"     VALUE(OUTPUT) TYPE  STRING
    Structure of WSDL----
    <xsd:element name="Addition">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="a" type="xsd:int" />
                                  <xsd:element name="b" type="xsd:int" />
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element name="AdditionResponse">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="AdditionResult" type="ResultClass" minOccurs="0" />
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:complexType name="ResultClass">
                        <xsd:sequence>
                             <xsd:element name="c" type="xsd:string" minOccurs="0" />
                        </xsd:sequence>
                   </xsd:complexType>
    Any suggestions plz !!!!
    Thanks,
    Vijay

  • Problem with Idoc-file scenario

    Hi Sdn
    In my scenario I am sending data from R/3 using Idoc.I am using Change Pointer  in SAP side. My receiver adapter is File adapter, generating a .CSV file.
    Now whenever there is ny change in the data in SAP side, Idoc will get triggered and data will come to XI and file will get generated. Now the requirement is, the file shud contain only the changed data with header ,other fields shoud be blank and comma-separated.  I don't have ny receiver file structure.
    my questions:
    1. How much helpful is 'file content conversion' in this case??
    2. if mapping is required, how can we do the mapping??
    3. Is there any standard mapping function, so that we can check every field with condition and then map them (1:1)?
    plz help me.
    Thanx in advance.

    > Hi Sdn
    >
    > In my scenario I am sending data from R/3 using
    > Idoc.I am using Change Pointer  in SAP side. My
    > receiver adapter is File adapter, generating a .CSV
    > file.
    > Now whenever there is ny change in the data in SAP
    > side, Idoc will get triggered and data will come to
    > XI and file will get generated. Now the requirement
    > is, the file shud contain only the changed data with
    > header ,other fields shoud be blank and
    > comma-separated.  I don't have ny receiver file
    > structure.
    >
    > my questions:
    >
    > 1. How much helpful is 'file content conversion' in
    > this case??
    You have to use it in order to convert to csv
    > 2. if mapping is required, how can we do the
    > mapping??
    in message mapping
    > 3. Is there any standard mapping function, so that we
    > can check every field with condition and then map
    > them (1:1)?
    you can use 'if' or ifWithoutElse to check the condition
    > plz help me.
    > Thanx in advance.

  • File to Multiple RFC's to File scenario ....

    Hello Friends,
    We are implementing a scenario : File-RFC-File without BPM, but our output data is available with 3 BAPI's, If we are going to implement 3 File-RFC-File scenario's so we would be getting 3 output files. How can this be combined in a single file.... As we need to generate a single file.
    Pl. can anyone help me with this ......?
    Regards,
    Jayashri.

    Easiest way would be the use of BPM. Without BPM, you can create and append same file but that could not ensure the correctness of data, so not a good solution.
    Other way could be using one scenario with two RFC lookups.
    Regards,
    Prateek

  • BPM error (Rfc to file scenario)

    Dear Experts,
    I'm doing a RFC-FILE scenario with BPM. I have followed the blog RFC Scenario using BPM --Starter Kit by Arpit Seth.
    The file is getting picked up. But in SXMB_MONI i get the following error:
    <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">SYSTEM_FAILURE_INTERNAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>An internal error has occurred</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    In SXMB_MONI_BPE, there are no workflows for the integration process.
    What could be wrong?
    Please help.
    Thanks,
    Merrilly

    Hi,
    Thsi is the error i'm getting now in the synchronous send step:
    <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_FileRequest_to_RFCRequest_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_FileRequest_to_RFCRequest_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Is it because that the BAPI is not processing anything?
    Thanks,
    Merrilly

  • Request Message mapping in SXMB_MONI for File - RFC - File without BPM

    Hi ,
    In my File-RFC-File scenario, the messages are processed successfully.
    but when i look into the SXMB_MONI for File to RFC step, the records are present only till the  Message split According to Receiver List and not able to see the records from Request Message mapping step onwards.it contains
    <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:Z_PI_LOTUSNOTES_UNIFORM xmlns:ns1="urn:sap-com:document:sap:rfc:functions" />
    in my mapping for the receiver RFC i have not done the mapping for all the fields. few fields i have disabled. whether this could create a problem in message mapping. pls let me know what needs to be done.

    Is it only for this scenario that the above display issue is occuring or is it for all scenarios?
    If onlt a particular Pipeline steps are displayed then you can check what is the TRACE level set in SXMB_ADM --> Integration Engine Configuration --> and check if the TRACE parameter is set to at least 2 (max is 3 which will ensure that your DB will get full quickly)
    For more information refer: /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    Regards,
    Abhishek.

  • Error messages while executing File - RFC - File.

    Hi,
    I am doing a File - RFC - File scenario from Raj's blog.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&
    I am getting series of error messages.
    Someone please drive me in the right way. I am following each and every step in the same way mentioned there.
    1. Everytime the file is picked up, i can see 3 messages in Moni. One from File - RFC. 2 messages from RFC - File. I changed the sender QOS with BE and EO and EOIO. but all the time it shows 3 messages. Why are 3 messages executing for this scenario? what should be QOS on the sender File CC?
    2.. It throws a error message in response message for WS - RFC as .... RFC Adapter application error.
    I re created CC, re imported RFC, searched for that erorr message in sdn and followed everything. no luck
    3. Of the other 2 messages in MONI (RFC - WS), one of them shows error messageg as 2 and the other one shows a error message that Interface mapping does not exist in run time cache.
    I re created IR objects again, I created MI for RFC which I dint do earlier, I re mapped, activated, did all cahce refreshes in SXI_Cache, CPA delta and full cache refresh.
    But still it shows up the same error message.
    Can you guys tell me whats bad going on with my scenario?
    Appreciate your help,
    Venkat.

    Hi Venkat,
    From this line:
    It throws a error message in response message for WS - RFC as .... RFC Adapter application error.
    It seems there might be a problem in RFC Adapter. Can you see the error in Communication channel Monitoring what error it is showing. Probably the communication between PI and SAP might be a problem. If you put the error here, somebody might be able to help you out.
    Regards,
    ---Satish

  • Problem with RFC Communication in BPM

    Hi,
       I'm again facing problem with transfer of
    File->RFC->File scenario.The error in sxmb_moni is given below .
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error opening an RFC connection.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error
    opening an RFC connection.</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Can anyone help me in fixing out this problem.
    Regards,
    Prashanth K.R,

    Hi Prashant,
    Just click onto your namespace and verify the details given in the "Connection data for import from SAP system". Check whether its matching the system from where you have called the RFC.
    hope this will help u.
    regards
    divya
    Message was edited by: Divya Nambiar

  • File is not getting deleted in File-RFC-File without BPM

    Hi,
    I'm working on File-RFC-File scenario without BPM. Everything is working fine except file is not getting deleted after the process. I'm passing xml file here and in return it will give the xml success/error message from RFC.
    For the sender CC, I'm passing the following parameters,
    Transsport protocol: File system
    Message protocol: File
    QoS: BE
    Poll Interval: 30 sec
    Mode: Delete
    File type: Binay
    Please let me know if I missed anything while passing the values.
    Thanks,
    Swamy
    Edited by: Swamy Mothe on Jun 15, 2009 8:52 AM

    Hi
    Then , is Sender and receiver File Adapter is using same folder )
    Just a question.
    But having all permisions and above config would delete the file
    can u see the status of u r File Adapter in RWB.? Is it in green?
    rgds
    srini

Maybe you are looking for

  • Change transaction type group for transaction type

    Hi Is it possible to change the transaction type group for a TTY.For ex i want to change for 270 and 151 -TTY GRP -32 and 33 respectively.As of now it is TTY grp is 25 and 10.I need to change this so that in Asset history sheet when i do ABT1N i want

  • HP v221w 16GB drive problem

    I got a brand new 16GB hp v221w flash drive that isn't recognizable on my mac book pro version 10.7.5 The only way it shows the drive is through the hardware list in the system report. it shows the following: v221w:   Product ID:0xf807   Vendor ID:0x

  • Where are the Processed Messages in XI stored?

    Hi, Can any one give me an idea of about <b>Where the Processed Messages in XI stored?</b>

  • Song wont download onto i pod

    ok i downloaded a song from the internet and now it plays on my computer with me having to go onto the internet but it still wont go on my i pod why not!???

  • How do I show multi-voltages in Multisim?

    I am trying to place +12v, -12v and +5v voltages in my schematic to power IC's. What symbol do I use? VCC is no good, cannot use more than one voltage applied to it. Change one, all change. Test_pt is no good, same reason. Is there a universal symbol