Need  RFC XI File szenario

Hello friend,
I need RFC to File Scenario. Can anybody help me?
Weblog,pdf,snap shots etc.
Thanks a lot,
Fth

Hi,
These 2 blogs should help,
/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
Regards,
Bhavesh

Similar Messages

  • Issue in Sync-Async bridge(RFC to File) scenario

    Hi All,
    My scenario id RFC to file synchronous scenario.Following the below link, I configured everything and its working fine. I am working on SAP PI 7.31 Dual Stack.
    http://scn.sap.com/blogs/henrique/2007/08/02/syncasync-scenarios-without-bpm
    As mentioned in the above link, I created the file with Message Id as file name and correlating with the message id(Using WaitResponse and Notify beans).Its working fine. But I don't want the file name to be as Message Id. Then in that case, please suggest me how can I correlate the request and response messages.What are the possible ways of doing it.
    Thanks,
    Madhurima

    there is not a best way, just what you need to archive, take the file name as you mentioned is not the best practice, so you can use another parameter provided by SAP.
    To evaluate the following attributes in the PI message header, set the corresponding indicators:
    ○  File Name (technical name: FileName)
    ○  Directory (technical name: Directory)
    ○  File Type (technical name: FileType)
    ○  File Encoding (technical name: FileEncoding)
    do any of them are good for you?
    Rdgs

  • RFC Adapter  RFC to File

    Hi,
    Can somebody help me to view this thread. I am learning XI using RFC to File and I have got some difficulties in undestanding the Adapter Configuration.
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step from Michal.
    When I select this thread, I get blank page.
    Thanks

    Hello MK and Shabarish,
    I need a little more help from you.
    Here is XI Scenario.
    Want to send Material info using RFM from system A to System B via XI.
    Process: In System A, I create an RFM and send the data via dest paramter.
    It looks like this.
      Call Function
         dest 'SYSTEMA_SENDER'
    1. I created T - RFC Destination in systemA.
        RFC Name     SYSTEMA_SENDER
        gateway host  gbdsc1  ( using smgw)
        serveric          sapgw11
        Program id     SystemA_Sender
                             Registered server program, unicode.
    2. In XI box, in Integration configuration, Created RFC sender channel with the following paramter
        Adapter Type   RFC  - Sender
        RFC Server Parameter  -  
                 Applcation server(Gateway)  gbdsc1    ( As in RFC dest System A )
                 App service(gateway)           sapgw11
                 Program ID                          SystemA_Sender
        RFC Metadata repository     
                Application Servr         ( What do I enter here  is it System A)
                System Number
                Logon on User
                Logon pw
                Client
                 Language
      Finally,
    In system A when I do connection test I get the following errors
    Error: Program SystemA_Sender not registered
    Location SAP-Gateway  on gbdsc1/sapgw11
    Detail:TP SystemA_Sender not registered
    and other errors
    Can you identify any correction required for the above RFC destination and RFC configuration?
    Do I need to register the program and if so how?
    Your help is deeply appreciated.
    Regards

  • Removal of Namesapce from generated target file in RFC to file Scenario

    I am working on RFC to File Scenario. In target file we are getting the target namespace also. we need to remove it from the target file but how?
    Thanks
    Anuj Agarwal

    Anuj,
    Go to the Message Type you have created for your File.
    You will see a field called Namespace. Just remove this / Delete this , and activate your message type.
    Relaod the message type in the message mapping and now the namespace will not occur in the target.
    Regards
    Bhavesh

  • How to do message mapping in IDoc or RFC to file transfer ?

    Hello guys. I have a doubt. I know how to do an IDoc to file or RFC to file scenario. But how to do mapping in an Idoc to file or RFC to file scenario ? As I understand mapping is done in the sender. But IDoc or RFhas no interface as its used for SAP. So where do we need to perform mapping ?

    Hi,
    You dont need the Data type and message type for IDOC's, RFC's and for external definitions. so u just create one DT,MT for your File structure and you need 2 message interfaces, one for file and one for the Idoc/RFC. You can use them in your mapping program.
    Regards,
    Kumar.
    P.S: Reward Points if Helpful!!!!!!!!!

  • Rfc to File Adapter

    Hi ,
             I am using  RFC to file adapter.i am facing this error in XML.
    com.sap.aii.utilxi.misc.api.BaseRuntimeException
    thrown during application mapping
    com/sap/xi/tf/_MM_RFC2FILE_: RuntimeException in
    Message-Mapping transformatio~
    <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_RFC2FILE_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
    for receiver CC chanel i am using File adapter.Is there nees to use file content conversion for this.

    Test the mapping with the payload from MONI, check if your mapping logic works in teh test tab of MM adn do the neccessary correction.
    18:46:42 Start of test
    Compilation of MM_RFC2FILE successful Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:832) Root Cause: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3)(:main:, row=2, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2787) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2832) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:231) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:832) -
    at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:144) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:832) Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2787) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2832) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:231) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:832) Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3)
    18:46:43 End of test
    are you sending a XML file or a flat file to the target.If flat file ,
    what is the requirement/delimitor and the data format requested by the Receiver system.
    i just passind data from R3 RFC to XI,so sujjest what is needded in receiver file adapter.

  • RFC to File

    Hi
    Can anyone give me step by step procedure for creating an RFC to FILE scenario in XI

    Hi,
    this is just a simple rfc to file (asynchronous scenario).
    import RFC from other server to xi server.
    http://help.sap.com/saphelp_nw04s/helpdata/en/af/7ad9beab5e824cb2403f6821cde7dd/frameset.htm
    create DT,MT,MI(inbound async) for receiver file
    create MI(outbound async) for RFC(as its async,u need MI ,else for sycn RFC no need of MI)
    create MM between RFC request and File
    create IM
    Create sender CC,receiver CC,sender agreement,receiver agreement,interface det and receiver det.
    hope this may help you in configuring adapters.
    http://help.sap.com/saphelp_nw70/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    http://help.sap.com/saphelp_nw70/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    How to test the RFC to Flat File scenario
    How to test the RFC to Flat File scenario
    reward points if it is helpful.
    regards,
    pradeep A.
    Edited by: Pradeep Amisagadda on Apr 30, 2008 8:36 AM
    Edited by: Pradeep Amisagadda on Apr 30, 2008 8:41 AM

  • Problem Executing RFC to File Scenario

    Hi,
    I am currently working on RFC to File Scenario which is Asynchronous in Nature i.e. The RFC will send some data to XI and then it'll be dumped in an XML File on the shared drive.
    Following are the steps which were performed by me :
    1. i created an RFC Destination in R/3 using SM59 and entered the Required values as mentioned in the blog
    The specified item was not found.
    2. Then i entered the same values in the communication channel of the sender RFC adapter.
    I tested it from R/3 and the connection was successful.
    3. i created an RFC in SE37 in the R/3 and just added an existing table under the "tables" tab. No further code was written in it. I saved it and activated it.
    4. All the IR and ID objects were made and activated and then the scenario was run by sending a single data row by pressing F8. The RFC showed a message of "System Failure" and while looking into the XI Server (SXMB_MONI) the message gave absurd values with a error symbol(it a Red Light symbol and there was no Red Flag).
    Initially, the XML file was getting posted in the shared drive but after further execution it stopped.
    I am unable to figure out the problem. Kindly let me know where i am going wrong and what needs to be done to correct it ?

    Hi,
    For Sending RFC asynchronously check for these points:
    For RFC creation and importing please follow this discussion. Very useful:
    Re: RFC to FILE
    Specially reply by Udo Martens.
    Also for sender RFC, check two things.
    1) First step is Register your ProgramId using activiating the communication channel(XI). You should be able to see it in smgw(R/3)
    smgw->Goto->Looged on Clients(Check it here)
    2) Then use this registered programid in your RFC Destination,in R/3 (it is Case-Sensitive).
    These are just common errors i have encountered sometimes.

  • RFC Sender configuration : RFC - XI - FILE

    Hi All,
    I read the post at RFC Sender Configuration in Asynchronous Mode and I have the same problem for the configuration.
    I want to do a simple asynchronous RFC scenario ( RFC -> XI -> FILE) but I keep getting errors. Do I need to create a BPM to make it work? I'm using XI 3.0
    Thanks

    Hi,
    For RFC to File Scenario, if you will be calling the RFC from any ABAP report then the import parameters will be passed to File.
    Here you can use the Concept of Dummy RFC as below.
    Lets say RFC1 --> Original RFC
    RFC2 ---> Dummy RFC
    1. Create one Function Module (RFC 2) in which take the import parameters similar to the  RFC -1 Output parameters.
    2. Now in ABAP report call the RFC-1 and get the Output in export parameters and pass it to RFC-2 as import parameters.
    3. In XI import RFC-2 and map the import parameters to the Receiver File.
    SO your purpose to pass the Output of RFC-1 to file in async way will be resolved .
    Thanks
    Swarup

  • Async RFC to file -data not passsed to PI

    Hi all,
    Im facing a peculiar problem in Async RFC to File scenario.
    I have done all the required configurations for it.
    Referred the following blogs :
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=rfctofile+scenario
    As soon as I trigger the scenario in R/3 , I get a message in PI but the data is not passed.
    The payload I get in PI is with empty tags...

    Hi Ramya,
    As you are getting the empty payload there is not probelm i nthe connection between R/3 and XI system.
    1. Check the logic you used in RFC .. place a break point and check your execution is a getting data properly.
    2. Some times due to the re design in the interface  the cache needs to be updated properly.. Check this too.
    Regards
    Sunil.

  • Can yu sedn me a sample step by  step rfc to file scenarion

    can yu sedn me a sample step by  step rfc to file scenarion

    Hi,
    Please see the below links , use target side is File instead SOAP/webservice..
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    Troubleshooting - RFC and SOAP scenarios-/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2) -/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    RFC to SOAP
    /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/piers.harding/blog/2004/07/18/you-dont-need-to-use-soap-to-keep-your-rpc-clean
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/david.halitsky/blog/2006/08/25/soa-vs-rfc-it-doesnt-have-to-be-charles-bronson-vs-henry-fonda
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rfc%20to%20soap%20scenario&cat=sdn_weblog
    Regards
    Chilla..

  • (RFC vs files), where Sender SAP and receiver multiple system

    Publish and Subscribe using  BPM or Without BPM (RFC vs files), where Sender SAP and receivers multiple system,.
    This is my 1st BPM scenario in sandbox system
    For this scenario
    I Created 2 Data types
    2 MT,
    Service interface:
    Request interface Mode:Asynchronous
    Abstract Req interface,Mode:Asynchronous
    Response Interface,Mode:Asynchronous
    Abstract Respomse Interface ,Mode:Aysnchronous
    Synchronous Interface ,Mode:Synchronous
    2 Message mapping for Req and Resp
    1 Operation Mapping
    BPM design: Plz find the attatchement
    Can anyone please help me how many Interface determinations,receiver determinations ,sender agreements,receiver agreements need to create for this.......
    It will be good if anyone send the BPM design flow for this.........
    can we do this scenario without BPM?
    Regards
    A.Muni kumar
    Edited by: Muni 1234 on Jan 31, 2012 10:24 AM

    Hi
    Receiver is FTP only.....
    SAP side is RFC.........
    RFC sender will be initiating the scenario, and there is receiver is File, PI should go to file directory and take the file then send it back to RFC as response.
    Sender: RFC
    Receiver: File
    1. is this scenario with condition based routing.. so that each time outof many receiver systems it will trigger any specific system.
    if above is the case then you can achive this without BPM also..
    Yes...its condition based routing...
    I Used async in this scenario.....sender side configurations also done....
    But when when I am triggering BAPI from SE37 I am getting an error
    Exception SYSTEM_FAILURE
    Message ID: 00 Message number: 341
    Message:
    Runtime error CALL_FUNCTION_NOT_FOUND has occurred
    How to Solve this????
    I checked the RFC destination which i created in TCP/IP..a nd i mentioned the same in se37 RFC target system..
    Connection is Ok
    Or we need to create proxy for MI and report for this?
    Edited by: Muni 1234 on Feb 1, 2012 8:38 AM

  • Regarding RFC to RFC to FILE

    Hi,
      I am Doing RFC to RFC to FILE. I want to execute RFC to RFC and I want to get RFC response to FILE.
    1)Do I need to Define BPM for theScenario.
    2) Should I configure Sync- Async Bridge for the above scenario.
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Regards,
    Varun

    Hi Varun,
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
    The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    1)Do I need to Define BPM for theScenario.
    Yes
    2) Should I configure Sync- Async Bridge for the above scenario.
    Yes
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    Just import ur RFC and use it.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Yes.Interface mapping what ever u had done select that.
    Procedure:
    SyncReceive – To Receive the payload synchronously from HTTPRequestInt interface
    syncSend – To Send the request payload Asynchronously from BPM to the File system
    syncReceive – To receive the response payload Asynchronously from Legacy File system to BPM
    SyncSend – To Send the response Synchronously from BPM to LegacySystem
    Refer this blog
    Bridging the Sync-Async bridge with Fork (XI)
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
    Regards,
    Vinod.

  • SAP PI7.1 File to RFC  to File

    Hiiii,,,
    i have doubt in mapping related to file to rfc to file scenario...
    i have  a source message type i have two field name  ( 1.field_name  2.table_name)...i have to map this two fields to RFC_READ_TABLE function module to the field query_table and field_name...how to map this...
    With Regards.....
    Dinesh

    Hi Dinesh,
    i have one data type in source with two fields (1.table_name 2.field_name).
    .i mapped this to target RFC_READ_TABLE to the parameter query_table and fielname in that function module
    Please let us know if you have any mapping rules for creating the mapping, i mean
    what  are you trying to fetch from the RFC, what are the values you are sending and
    what you want in response.
    Its based on your requirement and you need to decide which field is to be mapped
    to RFC structure.If you are getting error while testing , please let us know.
    Also ensure that your RFC Function module is working when tested in sap system.
    Go to Se37 and enter your Fn module name and test with the valid inputs.
    check if its outputting the desired values.
    Regards,
    Srinivas

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

Maybe you are looking for

  • Save as PDF or Save Book As (pdf format) Causes Frame 8 to try to quit after creating PDF

    I have Framemaker 8p273 and Acrobat distiller 8.1.3. When trying to creating PDFs from books using either Save as PDF OR Save Books As (PDF) file, the PDF creates FINE but the program then attempts to quit by throwing up weird dialog boxes. Steps to

  • About the new "8-core"

    Hi! i'm in the mood of a new mac... my old G4 is to slow to handle the new studio 6. is it worth to buy the new 8-core? will the applications use 8-core? thanks

  • Segmentation fault while install Grid 11.2.0.3

    Hi guys.    I try to install  a stand alone oracle Database 11.2.0.3 with ASM over a RedHat 6.4 x86_64 Vmware server. Hardware 4 cores 32 GB RAM Vmware server 5.1.0 Operating System RedHat 6.4 x86_64, 2.6.32-358.6.2.el6.x86_64 (update today with yum

  • RF LM07 Return Transfer Order

    We are currently using LM07 in one of our warehouse operations for system guided picking and it is working well, but I have having challenges with the return transfer.  When doing a full stock removal from a storage bin with a return transfer to anot

  • [nQSError: 14065] Illegal cross join within the same dimension

    Hey guys, I'm stumped. I have two dimension tables that are joined 1:N (there is NOT an M:N relationship between them) and I have them joined in the Physical Layer and the Business Model and Mapping Layer. The two tables are F4101 (the "1") and F4102