File to RFC to File with BPM Scenario

Hi all,
   I am trying to implement a Sender File ( async )  to RFC (sync ) to Receiver File with a BPM. I using the blog  https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1926. [original link is broken] But it doesn’t work.  First message FileRequestOut is correct in SXMB-MONI, but the second is showing a error. I checked in SXMB-MONI-BPE and I say in workitem is follow message:
Message Error Workflow
‘ Error handling for work item 000000001714
Work item 000000001714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
No reference message specified when sending a response
No reference message specified when sending a response’
  I configured my BPM scenario in this way:
  ( Sender File Adapter )
  First Step
  Receiver Step ( Asynchronous )
  Mode:  Asynchronous
  Receive Message: File Request
  ( Receiver RFC Adapter )
  Second Step
  Send Step ( Synchronous ) 
  Mode: Synchronous
  Request Message: File Request
  Response Message: File Response
  Receiver From: Send Context
  ( Receiver File Adapter )   
  Third Step
  Send Step (Asynchronous )
  Mode:  Asynchronous
  Receive Message: File Response
  Receiver From: Send Context
   I have changed it, many times and I can get solve it.  About my configuration objects, I think it is ok, because a tested my Interfaces in Configuration Test Tools it was ok. ( Receiver Det. Interface Mapping, etc…)
    I have seen in SDN, this error maybe Sencond Step must be Synchronous e  Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.
     Could you help me about this problem?
      Thanks for help
      Best regards
      Fábio Ferri
      Consultant XI/ABAP/Netweaver

Hi ,
        <b><i> I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.</i></b>
                 In BPM did u used as
                    Recive Step      Async
                    Synchronous     Send Step
                    Send Step is  Async
   <i><b>    it is possible to use a Async / Sync Brigde.</b></i>
                     No need to use Asyn Sync Step for this
Assign poins if u found hepful
Best Regards.,
V.Rangarajan

Similar Messages

  • 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

  • File to Rfc to File in pi7.1

    Hiii,,
              Iam trying file to rfc to file scenario...when iam montoring sender commuication channel it shows below mentioned error...wat may the issue..help me out
    "Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.. Setting message to status failed"
    With Regards..
    Dinesh

    Hi,
    I checked the namespace its rite...whether i have to check the same namespace in sap system...if yes, where to find it..
    I guess your File CC configuration is not correct. Namespace will be your source interface namespace in PI. This is a very basic question and should be searched on SDN / SAP Help before posting here.
    Go through this SAP Help ...
    http://help.sap.com/saphelp_nw04/Helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm
    Regards,
    Neetesh

  • 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

  • File To RFC To File

    Hi All,
    I am trying to do File To RFC To File using BPM.
    I am following the given link.
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1926. [original link is broken] [original link is broken]
    I did exactly same .But it is showing error as "RED" in the workflow as I checked it in sxmb_moni.
    I am very new to BPM.
    Can anyone please help me solve this.
    Thanks
    Rabi

    Hi All,
    Thanks to you.
    My problem is solved now.
    I checked by using tcode SXMB_MONI_BPE which is showing error as "Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed".
    "No handler defined for this system exception".
    So I checked all channels in RWB.
    Problem was in my receiver RFC channel configuration.
    I corrected it and it is solved.
    Thanks
    Rabi

  • NO DATAS IN OUTPUT FILE FOR RFC TO FILE SCENARIO

    In RFC to File scenario, I am executing the ABAP program in ECC and generates a empty file in PI server.
    I am getting the error message in SM58 of ECC:
    u2018Bean Z_HR_OUTBOUND_DATA2 not found on host SDNPI1,u2019
    'call FM Z_HR_OUTBOUND_DATA2 to ProgId ECCTOPI_OUTBOUND on host SDNPI1 wit'
    RFc Source code:
    FUNCTION Z_HR_OUTBOUND_DATA2.
    ""Local Interface:
    *"  EXPORTING
    *"     VALUE(FILENAME) TYPE  BBP_ACC_DESCRIPTION-ACC_OBJ_NAME
    *"     VALUE(RETURN) LIKE  BAPIRETURN STRUCTURE  BAPIRETURN
    *"  TABLES
    *"      ITAB10 STRUCTURE  YSTRING1 OPTIONAL
    *"      P_STATUS STRUCTURE  ZHRT0031 OPTIONAL
      DATA : wa_status TYPE zhrt0031,
             wa_itab10 LIKE ITAB10.
    break-point.
      LOOP AT p_status INTO wa_status.
        CONCATENATE wa_status-pernr
                    wa_status-ename
                    wa_status-orgeh
                    wa_status-plans
                    wa_status-persg
                    wa_status-rank
                    wa_status-***
                    wa_status-icnum
                    wa_status-usrid
                    wa_status-dept
                    INTO wa_itab10-str1.
        APPEND wa_itab10 TO itab10.
      ENDLOOP.
    wa_itab10-str1 = 'test'.
    append wa_itab10 to itab10.
    append wa_itab10 to itab10.
        CONCATENATE sy-datum
                    'PYO_EMPDAT.TXT'
                      INTO
                      filename.
    ENDFUNCTION.
    And in the ABAP program the RFC is called like:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    in background task destination 'ECCTOPI'
    EXPORTING
      INTERFACE       =
    IMPORTING
       FILENAME        = filename
       return = return
    TABLES
       ITAB10          = itab10
       P_STATUS        = p_status
    When i am testing the standard program STFC_CONNECTION in ECC with the same RFc destination it works fine and creates a o/p file with the datas in it, but if i m executing the other function module it doesnt contain any data it.
    What could be the error? and how to resolve the errors that i am getting in SM58?
    Thanks

    Bean Z_HR_OUTBOUND_DATA2_1 not found on host SDNP1, ProgId =ECCTOPI_OUTB
    Change the case of your Program ID to lower ecctopi similar was the issue in this thread:
    Bean ZFM_MODULE_OUT not found on host <XI_HOST>
    And may be for the same reason even Michal used lower case program ID in his blog.
    Regards,
    Abhishek.

  • 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

  • File-XI-RFC, archiving file only when system ack ok. Is it possible?

    Hi !
    We have a File-XI-RFC scenario. We need the file adapter to archive the input file ONLY if the message was delivered ok to the RFC.
    Should this work, using a BPM with this steps ????
    1) Receive (file message type)
    2) Block
    2a) Send (ASYNC to the RFC, with transport Acknowledgement enabled)
    2b) deadline branch at N minutes
    The goal is that if the R/3 RFC receiving system is down, XI does not archives the input file and tries to process it later when R/3 is available. XI's File Adapter should find the file in the source directory because it was not archived when the process returned error the last time it was executed.
    Thanks,
    Matias.

    Hi Bhavesh !
    I'm thinking in other idea, based on yours...
    there should be 2 scenarios:
    Scenario 1: takes file from SOURCE folder,archives it in a VERIFICATION folder, tries to send via RFC.
    Scenario 2: takes file from VERIFICATION folder, checks via BAPI call if its content was succesfully inserted via the RFC of scenario 1, if this BAPI returns OK, send the data to a HISTORIC folder if the BAPI returns ERROR, send the data to the SOURCE folder. I could use the extended receiver determination feature here to select between the HISTORIC and SOURCE folders or BPM.
    Always using EOIO, and file construction mode = APPEND in the receiving file adapters  of scenario 2, to rebuild the input file based on the several splitted messages.
    What do you think ?
    Thanks !

  • How to implement Exception Handling error in IDoc to File and RFC to File

    Hi,
    We are implementing the two below scenarios :
    1. IDOC to File
    2. RFC to File
    We have to implement the Exception Handling for the above two cases. Kindly could you provide the inputs to implement the Exception Handling for the above two cases.
    Please provide the precious inputs to implement this.
    Thanks,
    Ramesh

    Hi Ramesh,
    The exception handling for idocs
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f1543d711d1893e0000e8323c4f/frameset.htm
    Exception handling in File to IDoc Scenario
    For RFCs
    Re: Passing SAP Exceptions to a sync SOAP Call
    Error Handling when using RFC
    Exception Handling while Calling RFC - BPM
    handle exceptions in remote function modules
    Regards,
    Prateek

  • File to RFC to File  Asynchronus

    Hi
      I have an a scenario that is I'm sending  a request to an RFC throgh  a File..  and based on that RFC will execute and it will send the results to the another file.. this is my requirement.. for this how can i approach.. (Request sending file name is  different and Responce getting file is different  but the RFC is the same only ..)
    any body please provide me the  suggestion..
    Thanks
    babu

    Hi Babu,
    This senario can be done in two ways using BPM and Using RFC Lookups,
    Using BPM its an performance issue and maximum avoid to use it.In ur senario we can use RFC lookups,
    Create an RFC Adapter.In Interfaces objects create two date types both are of file Sender file structure and receiver File structure.
    In mapping u have to take sender as file and receiver as file only.In mapping u have to write RFC Lookup code were in the Code u have to call the RFC adapter and u have to pass all the incoming values into that and the responce which u will get from the UDF(RFC Lookup) Code that  should be mapped to the target side file.
    I have done the same senario in my project,I will work and it will be simple file to file senario were in mapping u will call RFC.
    Regards,
    phani
    Reward points if Helpful

  • File to rfc to file scenario.

    hi all,
    iam doing a scenario
    file<->PI<->file
    i wanted to do this scenario using ABAP proxies,
    can any help me out doing this scenario.
    regards,
    Madhav poosarla.

    In XI use the same strucure as outbound for Inbound also....use direct mapping (optional)
    then
    login to the R/3---run SPROXY select your interface right click and genereate proxy save and activate....ask the ABAPEr to take the metod async for reading data from there.....
    Refer this on Proxy generation
    http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    Smarter Approach for coding ABAP Proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    or
    ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm
    Client Proxy -
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy -
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    File to Inbound Proxy:
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    refereed from the below lnk
    Process Integration (PI) & SOA Middleware

  • FIle to RFC to file (BPM)

    hi
    I have a problom in this scenario
    Like instead of getting 50 records from the RFC call i am only geting 25 records
    Where as when i give the same input in the R3 and debug the RFC i get 50 records ,
    I think one parametre is not getting passed to the R3 due to which i am not getting all the records, Can any body help why the parametre is not getting passed ,

    Hi! Sandeep,
    I have some sugessions and I hope it will be useful to you.
    1. First delete that RFC and re Import that RFC again
    2. Again make sure once importing the RFC a;; fields
    3. After that do CACHE Refresh of all teh Integratiob Builder Objects once
    4. Also do mapping mainly response mapping clearly and very carefully okay
    Please follow the below blog and I hope it will be useful to you.
    RFC Scenario using BPM --Starter Kit
    http://help.sap.com/saphelp_nw04/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
    Thanks
    Amar srinivas Eli
    Reward points if useful. Okay

  • Converting .XSL file to RFC using File Adapter

    Hi,
    I need to convert .xsl file using XI and send an RFC. I am not sure how to do that. Do i need to write some JAVA API's for the same. Is File adapter capable of converting .xsl files.
    Any pointers are most welcome.
    Thanks in Advance
    Regards,
    Vikas

    HI,
    try in the following ways
    Write a simple XSLT mapping or java mapping to change the value of the attribute "encoding" to "ISO-8859-1" in the output XML of message mapping . Include this XSLT or Java map as the second mapping step in your interface mapping.
    An example of the XSL code might be as follow:
    <?xml version='1.0'?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method='xml' encoding='ISO-8859-1' />
    <xsl:template match="/">
    <xsl:copy-of select="*" />
    </xsl:template>
    </xsl:stylesheet>
    OR
    see the below links
    /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    How to write ModuleData process exit bean in the sender file adapter
    Adapter module for file renaming
    Module processor usage in File ADapter
    Regards
    Chilla

  • Error in RWB  For File 2 RFC 2 FIle ?

    Hi Experts
    I Got a error in RWB -> Configuration - >
    No ports that send to the Integration Server could be found for the following ALE logical systems:<br>PIDCLNT120: Name or password is incorrect (repeat logon) .

    Hi
    In Sender RFC check --> SM59 --> Test Connection (Also Check if user got locked by this time)
    In receiver RFC check in the configuration
    Rgds
    srini

  • File to RFC to File error "No receiver could be determined"

    Hi everybody.
    I have a errors in BPM ...
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <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="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    but where i enter in transaction SXMB_MONI_BPE -> Continue Processes Folowing Errors, entered in my item and choose "Send Message Synchronously" appear window "Display work item" in this "Work item information" line Status=Error press button "i Message" appear following message:
    No exception defined for fault message
    INTERNAL_ERROR INTERNAL_ERROR
      Help me what do now?
    Anvar.

    Hi,
    I've browse through your error document and everything seems to be ok. In the menu is this  full cache refresh. Remember also to activate all objects in integration directory
    Regards,
    Wojciech

Maybe you are looking for

  • Transporting Objects from Development to Quality

    Hello Friends, I am working on a project where I have created Cubes, InfoObjects, DTP, Transformations and Open Hub Destinations in a Development Client. Now It's time to transport all these objects in to Q-Client. Can any one let me know the steps t

  • Problem with Web Auth

    hi i have two wireless networks,one for the guests and the other one extends the corporate network.i created two vlan on my 6509 swicth and mapped the vlns to to the wlans.All is working fine but when i enable web auth for guest i can no longer ping

  • How to create crystal reports using MSDE 2000?

    Post Author: S_Muhilan CA Forum: Deployment Hi, I am using Crystal report 8.5. My Database sqlserver 2000. I generated reports and are working fine. Now I want to use MSDE 2000 instead of Sqlserver 2000 due to license factor. My application is develo

  • Update from different table

    i have a problem. i have two tables. one with cities and their population numbers and another with states and their population numbers. is there a way to update the states population column strait from the numbers of the cities population and to make

  • How can I transmit songs from sonic stage to my iphone

    Just received my iphone 4 S and would like to know how I can transmit the songs from sonic stage to my iphone