RFC-XI-FILE Asynch Scenario

Hi All,
i am working RfcXiFile Asynch. Scenario by using Proxy. i created ABAP proxy in R/3 system and exececuted in XI server. it's working fine. All design and Configuration in IR, ID over. i tested the configuration, it's fine. But the problem is file is not created in the receiver.
and no messages will be displayed in SXMB_Moni. Anybody came across this situation, Please let me know the solution asap.
Thanks & Regards,
Nagarjuna.

Hi Sarvesh,
What i have done exactly is:
After completeting the design part in IR,  i created a proxy class in R/3 by using the SPROXY tcode. There,  the following objects are generated, they are
Class ZSRCO_RFC_RESP_MI Proxy Class (Generated)
Structure     ZSRRFC_RESP_DT1     Proxy Structure (Generated)
Structure     ZSRRFC_RESP_MT1     Message type for RFC Response
then i create report in R/3 by using SE38,
there i called the function module and my internal table gets populated.
in the same report i created the object for my proxy class and called the proxy also.And i declared the data for proxy class & structure.
The same report i executed in XI server, the data is displayed.
but in SXMB_MONI, no messages are displayed.
i am sure that i configured receiver communication channel properly.
For this scenario, sender communication channel is not required, becuase instead of that we are using the Proxy right?
So, please try to under stand my scenario and get back to me with proper solution.
Thanks,
Nagarjuna.

Similar Messages

  • Syncronous RFC to File Server Scenario

    Hello,
    I have this requirement for the XI Scrnario.
    SAP 4,6 (RFC) needs to pick up XML file placed on Remote File Server.
    RFC need to be executed on SAP which should make a call to XI and in turn File server, pickup the XML file from the server, bring it back to XI , do mapping and send the structure back to RFC.
    This is Syncronous scenario.
    Can naybody tell me how to do it.
    i have searched it, but got more confused.
    Appriciate your help.
    Thanks.
    DK

    there exist a way around for this,but there are few(may be lot) constraints on it.
    first of all you should know all the directories before hand from which you can get files,secondly you should know about the filenames too
    what you can do is give all the directory names in the sender file adapter,similarly give the corresponding fileanames as well,XI will pick all the files in all the directories which satisfy the criteria one thing you need to make sure here is that if you don't want a certain file to be picked by XI,then it must either not exist in the directory or it must have a different names.
    even though this is not completely dynamic but it solves the prupose if all the constraints are fulfilled and sender file adapter has been configured properly
    Thanx
    Aamir

  • RFC-XI-File Adapter scenario

    Hello SDN members,
    We are about to start the configuring XI 3.0 for connecting the SRM Module as a source and Portal as a destination to transfer a file. We are planning to have a function module to generate the flat file from SRM.
    We need to process the data file from SRM to a portal.
    Could some body suggest me the process flow to accomomplish this ?
    Appreciate your time.

    Hi Steve,
    If the SRM module is creating a file, and the file has to be transfered from SRM system to Portal system, then you need to look at configuring a 'File -> XI -> File' scenario.
    To work with File-XI-File scenario, refer to this blog:
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    If you are looking at a just <b>Flat file transfer</b> and no mapping in XI, then:
    it is possible to create a scenario to transfer any sort of files : including binary files.
    <b><u>Steps:</u></b>
    In Repository:
    Create a data type (say dtBlob) with one field (data) of any type (xsd:string)
    Create a Message type (mtBlob)
    Create Two Message Interfaces (miBlob_IN & miBlob_OUT) : Aysnchronous Inbound & Outbound interfaces.
    Message mapping & interface mapping are not required.
    In Directory:
    Create a Sender Agreement with this interface (miBlob_OUT)
    Create a Receiver Agreement with miBlob_IN
    Create Receiver Determination: From SRM system to Portal.
    Create Sender channel for SRM system - File/FTP Adapter
    Create Receiver channel for SRM system - File/FTP Adapter
    <b><u>Process flow:</u></b>
    Input Flat File (from SRM) is read by File/FTP Adapter and passed as it is to Integration Engine. It can be archived after pickup.
       The flat file is not parsed into XML here.
    Since no interface mapping is specified in XI, the same data is passed onto the target message.
    The same data is passed further passed to the Target File/FTP adapter of Receiver.
    The receiver adapter creates the file in the target destination.
    Flat File transfered.
    Hope this answers your concern.
    -- Pops V

  • R/3(RFC)-----XI---------FILE  scenario

    Hi All,
    I developed the scenario like RFC>XI->File Asynch Scenario by using ABAP Proxy(Client). Can i use business service for receiver in this scenario?
    All http connections between R/3 and XI are configured. Could you please explain me how to test this scenario.
    Thanks<
    Nagarjuna.

    Hi,
    1) Check wether the Message Mapping is working correctly by testing with test data.
    2) You can test ur complete scenario in Configuration from TOOLS -> Test Configuration.
    There u can find whether Sender Agreement,Receiver Agreement,Interface Determination and Receiver Determination are correctly configured. By giving Payload.
    3) Check your Communication Channel in RWB.
    Because if u r using Content Conversion, there will be some problem. So check this.
    Thanks,
    Kish.

  • 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

  • Error in RFC to FTP asynchronous scenario

    Hi Experts,
    I have created RFC to File(FTP) scenario in SAP PI 7.31 AEX(java only) server.
    When I execute RFC in sender SAP server, it gives run-time error(dump) as "call to messaging system failed".
    But it successfully creates text file in target FTP server.
    In message monitoring I found 2 messages for this.
    First has status 'Canceled' with below message log,
    Second message has status as 'Log Version' with no message log and with below message details.
    Please suggest/guide me how to rectify this run-time error.
    Thanks,
    Amit Patil

    Hi Jens,
    I tried your suggestion, but couldn't work.
    But I found 1 doubtful thing which is Quality of Service. It is found as
    Quality of Service
    BE
    in message details of 1st message.
    Also in message content of 1st message it is as
    9/18/2014 1:36:51.053 PM
    Information
    File adapter receiver: processing started; QoS required: BestEffort
    I don't know from where is getting set as 'BE'. It should be 'EO' since my scenario is asysnchronous.
    Please suggest.
    Thanks,
    Amit Patil

  • 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

  • Rfc to file bpm synchronus blogs

    Hi ,
    Can anybody suggest me best rfc to file BPM scenario weblogs??

    Hi Gowri,
    Check the below blogs:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    Please search in SDN before posting a question....
    Thanks,

  • Regarding RFC to FILE - Multi Mapping

    Hii
    I am doing BAPI/RFC to File Asynchronous Scenario. The data is being Pushed from SAP via BAPI/RFC. For testing, I am sending the data form Test tool of RWB.
    I am sending single BAPI/RFC with 3 PO, in the target I should get 3 files generated. I am using Multi Mapping. I am using Dynamic configuration for Filename and created UDF. My target filename should be Process_Order_%y%y%y%y%M%M%d%d%H%H%m%m%s%s
    I had Mapped the UDF to the root node.
    In the SXMB_MONI, I am able to see 3 files getting created. But in the target folder I am getting onlly 1 file with the 3rd PO content and the file name is correct. The first  2 PO's are missing.
    When I testted the same with out UDF using Add timestamp in the File Adapter, i am able to get 3 files generated.
    Any Inputs would be appreciated.
    Regards,
    Varun
    Edited by: Varun Reddy on Jul 2, 2009 10:20 AM

    But in the target folder I am getting onlly 1 file with the 3rd PO content and the file name is correct. The first 2 PO's are missing.
    When I testted the same with out UDF using Add timestamp in the File Adapter, i am able to get 3 files generated
    The files are not missing but the 1 and 2 files are getting overwritten by the 3 file........what is the name that is generated for the files by the UDF....i doubt it is the same name...and hence this is happening....
    Whereas when you are using the Timestamp option you are getting all the files since the names are different......so that means you have to make some change in the file names so that you get all the three files....else there doesn't seem to be any workaround...
    Regards,
    Abhishek.

  • 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

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • RFC destination for RFC to File scenario

    Hi,
    I m creating a TCP/IP RFC destination in R/3 system for my RFC to File scenario.
    Step 1:
    For this a Registered server program is created in Jco RFc Destinations with,
    Program Id : pgm1
    Gateway host : PI's host
    Gateway service : PI's service
    application server host: ECC's host
    system numer     : ECC's number
    client  : ECC's client
    logon user : ECC user
    password : pwd
    Step 2:
    In SM59, TCP/IP connection the following parameters are given:
    Program ID : pgm1
    Gateway host : PI's host       -
    > is this correct
    Gateway service : PI's service      -
    > is this correct
    Step 3:
    So i am calling the RFC in ABAP program (R/3 system) like:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
    Step 4:
    In PI side,
    for RFC sender I am passing :
    Application server : PI server
    Application server service: PI host
    program ID: pgm1 which was created in the previos step
    For RFC Metadata Repository Parameter, i am passing all the values related to R/3
    Please let me know whether the steps and values i given is correct.
    B'cos even if i give ECC's information in Gateway host and Gateway service the scenario works fine and if i PI's info then also it works fine.
    so i am confused as which is the correct method. pls clarify

    Ok I will try to explain....
    Assumptions: R3_TO_XI is the name of RFC which I created in ECC of type T.
    While creating the RFC in ECC we mention a unique name which is called Progaram ID. Now the same program id we mention in our sender RFC CC.
    So now when an ABAP Progarm (where you will call this RFC with it's destination) is scheduled/triggered with the code as mentioned below then since the DESTINATION ('R3_TO_XI') mentioned here contain the same program id which we have mentioned in our sender CC, invokes the adapter in PI and soon after that all pipeline steps get executed in XI.
    CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
      IN BACKGROUND TASK
      DESTINATION 'R3_TO_XI'
      TABLES
        comp_detail = company_detail.
    COMMIT WORK.
    Regards,
    Sarvesh

  • Error Handling on RFC - XI - File Scenario

    I have an R/3 RFC -> XI -> FILE scenario that works, but does not adequately handle the error of my R/3 to XI connection being down.
    The RFC call is async since I was under the impression that I had to do a "to file" scenario that way.
        CALL FUNCTION 'ZXO_SAP2RFC'
          IN BACKGROUND TASK
          DESTINATION  wa-rfc_dest_1
          EXPORTING
            request          = request
            rfc_header       = rfc_header.
        COMMIT WORK AND WAIT.
        IF sy-subrc <> 0.
          [error handling]
    If my rfc destination is down (for example when XI is down), this RFC call is still getting a sy-subrc of '0' (so my error handling does not kick in).
    Any suggestions?

    Hi Keith,
    your scenario is working correctly. If XI is down you will find your message queued in transaction SM58, where you can restart it manually. Usually there should be standard job for report RSARFCEX, which is periodicly trieing to restard the message.
    Asynchr Call (tRFC) means that your program continues completly undependent from that call.
    Make a test: Change temporary the called machine in SM59 destination to senseless value and execute your programm. Your message should be in SM58. Then correct the destination and wait a few minutes...
    Regards,
    Udo

  • CC error in RFC to File Scenario

    Hi ,
    While am trying to do end-to-end test for a RFC to file Scenario. Am getting this below error. Please help me to proceed further.
    Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '2008-08-13' too long (>8 for 2. column) - must stop', probably configuration error in file adapter (XML parser error)'
    Regards,
    Hemanthika

    Hi,
    Please go through this Blog
    RFC Scenario using BPM --Starter Kit
    check this blog on how to configure sender rfc adapter.
    The specified item was not found.
    I hope it helps,
    Regards,
    Surya

  • Triggering RFC FM in R3 for the RFC to File scenario

    Hi All,
    I am Developing a  RFC-XI-FILE  scenario where i am unable to triger an RFC from the source system(R/3) .I have used the RFC-FM : ZBAPI_COMPANY_GETDETAIL ( which is remote enable)  i havent written any source code in the function module : just i have created only the parameters in the table as :
    Tables:
    COMPANY_DETAIL LIKE  T880
    i have created a source code in the se38 of R/3  to call this function module as :
    DATA: COMPANY_DETAIL TYPE STANDARD TABLE OF T880 with header line .
    selection-screen begin of block blk1 with frame title text-001.
    PARAMETERS : COMP_ID TYPE BAPI0014_2-COMPANY.
    selection-screen end of block blk1.
    start-of-selection .
    SELECT RCOMP
           NAME1
           CNTRY
           LANGU
           STRET
           CITY
           FROM T880
           INTO CORRESPONDING FIELDS OF TABLE COMPANY_DETAIL
           WHERE RCOMP = COMP_ID.
    CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
                   IN BACKGROUND TASK
                   DESTINATION 'SENDRFC'
      TABLES
        COMP_DETAIL = COMPANY_DETAIL.
    COMMIT WORK.
    I have created RFC destination in R/3 as : SENDRFC  of type T with the programid : SENDRFC_PORTAL this same program id is used in the XI sever for the sender RFC adapter .
    When i execute the above program in R/3 the changes are reflecting in the XI when i checked in the SXMB_MONI.
    Please sugest the correct source code if the above source code is wrong  and provide me the exact process to do .
    Regards,
    Bharat .

    Hi bharat,
    >>When i execute the above program in R/3 the changes are reflecting in the XI when i checked in the SXMB_MONI.
    That means your RFC was called and the data was sent to XI.
    >>Please sugest the correct source code if the above source code is wrong and provide me the exact process to do .
    Since XI was called the source code is correct.
    Am I missing something here? Can you provide some details about your requirement/error.
    Regards
    Suraj

Maybe you are looking for

  • How do I find my original photo files in Iphoto?

    Well...Thanks Apple for censoring and deleting my previous discussion which DID contain useful and constructive information for many people who are trying to track down their photos in Iphoto.  I didn't realize how strongly censored this forum is.  I

  • Tiff saved in PS CC Hangs Lightroom, Photoshop and OS

    This has happened twice in the past week. 1. Send a CR2 from LR to PS 2. Edit in PS 3. Save and return to LR. 4. Everything appears fine 5. Hours later, Tiff file cannot be read in LR.  Loading Icon appears and never disappears. Lightroom eventually

  • Lightroom mobile issues

    I have started to use lightroom mobile and have it installed on an iPhone, i have tested it with 1 picture to see if it syncs across all devices, it seems not to like my mac mini desktop, it works on the macbook pro no problem, in the collections i h

  • How to connect Foxpro Database

    Hi all, I have CF MX 7 on Windows XP environment. I have worked in coldfusion earlier with most of the databases except foxpro. Now, I got a code and some dbf files that are currently working in production environment that is on unix platform. I just

  • How to do date validation in Web Dynpro java

    Hi We have one requirement that One input field with date type is there.When we take Date type input field then in web dynpro Date navigater is appearing by default.Our requirement is if user enters the date manually in the input filed instead of cho