File to RFC scenario using BPM : a synchronous one

Hi All
I am doing File>RFC>File scenario using BPM with help of the blog
RFC Scenario using BPM --Starter Kit
here everything is explained but i am getting error while the processing of BPM part
Input file is being picked (this part is success) but rest BPM and response i am not getting back in .
interface names
filereq_MI >Filetoabstract_MI>Sync_MI>RFCtoabstract_MI>Fileres_MI
(abstract means its an abstract interface)
i have configuered the Integration process as follows
Start>Recieve>synch_send>send>end
step :  Recieve
mode : asynch
message:Filetoabstract_MI
step :  synch_send
mode : synch
synch interface : synch_send
req message:Filetoabstract_MI
res message : RFCtoabstract_MI
step :  send
mode : asynch
message:RFCtoabstract_MI
and i have given interface mapping during second (synch_send) step but here mapping is giving problem its showing exception error during mapping
error is there
1) Integration process ---> file
2) Integration process-->R/3 system

Hi,
Configure the Integration Engine According to this Blog and Trigger the Process again
Configuration of a Central Integration Server
Regards
Seshagiri

Similar Messages

  • File to RFC Scenario using BPM

    Hi,
    Scenario:We have to post data 1 by 1 to SAP and also handle errors
    The file will be picked by the sender file adapter and given to bpm,bpm (uses message splitting) posts the data one by one to the sap r/3 system using receiver rfc adapter.
    errors could be due to connectivity..in this case we need to send alerts to users uing alert framework.
    good blogs or docs or ppt/pdf explaining a similar kind of scenario, will be highly helpful.
    thanks,
    younus

    hi
    for this u need the concept of ALERTs creation.
    U can use the following links to create alerts;
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    XI ALerts with container elements - /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/5e073c8e56f658e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2327---- [original link is broken] [original link is broken] [original link is broken]> [original link is broken] Trouble shoot alert config
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm--SAP LIBRARY
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm -->Categories
    rewards points if helpful
    ragards
    sreeni

  • File to IDOC Scenario using BPM

    Hi Experts,
        I am working on file-Bapi-Idoc scenario using BPM.
        I have two conditions
    1. If the Sonumber is populated then need trigger an Bapi_change
    2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
    and the response of these BAPIs should be validated whether the Bapi is successful or not.
    If it is successful message then need to trigger IDOC or else should throw an alert message.
    let me know the steps involved in this scenario.
    can i send alert message to other email IDs or can i send it to only XI admin?
    Please let me know u r inputs.
    Thanks in advance
    Praveen

    Hey,
    You need to have a BPM for this.
    BPM design.
    Recieve step(abstract asynchronous) for file structure
    Switch Case(condition whether sonumber is populated or not) 
    if populated
    Branch 1(of switch)
        transforamtion step:- mapping between File and Bapi_Change(Request structure)
      Send step(abstract syncronous) To send the BAPI_change
    Branch 2(of switch)
    transformation step:-mapping between file and BApi_Create
    Send step(abstract synchronous) To send the BAPI_Create
    Block step(which will include the Switch step)
        trigger an Execption in case of an error(in any of the two branches) through the block
        The Exception will trigger an alert.
    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
    Next is the send step(abstract asynchronous) for the idoc
    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
    rewards points if useful
    regards,
          Milan

  • RFC Scenario using BPM

    I did whatever mentioned in that blog(/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit). Also I do have some experience in BPM.
    After testing I don't see the file inthe outbound directory. So I started analysing from all sides.
    1. First checked the message in my sxi_monitor, it black and white flag showed that the message processed successfully.
    2. I opened the message and saw the message from CENTRAL Client passed to PE ADAPTER Client with tooltip showing "Transfer to Process engine".
    1. First I checked whether my BPM is correct by pressing F7. There is no syntax error.
    2. I checked in sx_cache, the ReturnCode was 0.
    3. In smq2 I saw a message stuck in the PE queue. I double clicked the queue and saw the status text as "Permanent error in BPE inbound processing".  So I kept debugging by pressing F8 and after that the message got disappeared.
    4. I opened the message in sxi_monitor, and after the CENTRAL Client the message passed to PE ADAPTER, which measn the meesage has got transferred to process engine. But i'm not seeing any change in the file.
    5. Also what I      did was use transaction SXMB_MONI and chose process radio button and execute. Located my message but there is no task value which starts with 'WS..' in Process def column.
    Can you please pinpoint where i went wrong and anything else?
    One more thing, everytime i test the new file the file goes and gets stuck in the queue and I have got to follow the item 3 mentioned above.
    Thanks,

    Hi Kishore,  The second block is a synchronous send block in the BPM triggers the call to RFC.  I've done it as per the blog.  There is no transformation step in the BPM.  Anyway I fixed the issue. In the receive block whatever container value I used should be used in the send block also. Earlier I was getting some warning. Now my BPM is clean and it worked.
    Lesson learnt: Ensure there is no warning in the BPM. Thanks again Kishore.
    Thanks,
    Edited by: XISearch on Apr 29, 2011 5:20 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:25 AM

  • File-To-RFC without using BPM

    hey guys
    is a File-To-RFC scenario possible without using BPM? i have gone through the blog by Arpit Seth ( /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit ) but it uses BPM.
    i am new to XI and not very comfortable with BPM.
    please let me know if BPM is the only way out or are there some other methods too.
    Also under what circumstances one should use BPM?
    thanx in advance.
    aamir suhail

    Hi,
    it's a standard non BPM scenario
    (you can find many weblogs like this)
    the only different thing is the RFC signature import
    (inside repository)
    and the use of different channels (file and RFC)
    you can find many examples in my XI FAQ
    (document section)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Step by step File to RFC Scenario with BPM

    hi
    for the following scenario i m following the webblog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    i have successfully created the design phase
    in the configuration stage
    i need to create a business system or business service will do to create the communication channel
    i have not created the systems so i feel i should not create the business systems
    i would like to create the business service
    so in only one business service can i assign all the communication channel
    useful answers will be rewarded
    Regards
    JM

    There are 3 parts of communication: Sender service to Integration Process (Asynch.), Integration Process to RFC (Synch.), Integration Process to Receiver Service (Asynch.)
    The configurations should be like as follows:
    <b>Sender Service to IP</b>
    Receiver determination:
    Sender Service->Request Outbound Message Interface->Integration Processs.
    Interface Determination:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface. (No interface Mapping is required as the interfaces share the same structure.)
    Sender Agreement:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface>FileRFC_Send
    <b>IP to RFC</b>
    Receiver determination:
    Integration Process->Request Outbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC Structure->Corresponding Interface Mapping between file structure and RFC structure.
    Receiver Agreement:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC_Receiver
    <b>IP to Receiver Service:</b>
    Receiver determination:
    Integration Process->Response Inbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Response Inbound Abstract Interface->Business service->Response Inbound Message Interface. (No interface Mapping is required as the interfaces share the same structure)
    Receiver Agreement:
    Integration Process->Response Inbound Abstract Interface->Business service->FileRFC_Receive.
    Hope you find this useful.
    Regards,
    Amitabha

  • Blogg RFC scenario using BPM - starter kit (more detail on BPM required)

    I follow this blog to the letter - because it is the same as my scenario:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    The problem is I have no experience with BPM. I have setup the Integration process as I think it should be but I get an error.
    Could one of you experts go through the BPM steps in more detail? Screen shots/details of the properties and containers on each step would be very useful. Thanks.

    Hi Lynn!!
    Check this SAP help for certain requirements when to use BPM:
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/content.htm
    Take a look at this blog by Michal,
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in BPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in BPM
    Check this weblog for a step by step procedure:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    or case study go thru this blog:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    for checklist:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    Take a look at this blog for some very good guidelines on when to use BPM's and when not to use BPM,
    /people/swen.conrad/blog/2006/12/22/xi-ccbpm-performance-under-perform-or-out-perform
    Thanks !!
    Pls reward if useful

  • File to SOAP Scenario Using BPM

    Hi,
    I am doing File to SOAP scenario using BPM.
    while doing Integration Process in IR, i got the following error message
    "Expression of simple type xsd:string expected"
    But i have given xsd:string in the correlation element as well as in Data types.
    I dont know why it is getting the error.
    could you anyone please help me to sort out?
    Regards,
    Sai Ch.

    Hey,
    Check in the correlation editor, where you define the condition.
    Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
    regards,
       Milan

  • Help SOAP to RFC Scenario using BPM (Synchronous communication)

    Hi,
    I am doing a scenario from SOAP to RFC scenario(Synchronous communication).  Here I am creating a PM Notification in the SAP system through a webservice. 
    I am using three BAPI'S here,
    1. BAPI_ALM_NOTIF_CREATE 
    2. BAPI_ALM_NOTIF_SAVE
    3. BAPI_TRANSACTION_COMMIT
    I am successful in calling the first BAPI from the Web Service.  For this I have not used BPM.  But to commit the transaction(PM notification in this case), I have to execute the other two BAPI's as well.  I have to pass the output of first BAPI to the second BAPI and then execute the 2nd BAPI.  And finally have to execute the 3rd BAPI.     FYI, 3rd BAPI is not dependent on any output.  It has to be executed independently after execution of the first two BAPI's.
    How can I execute this scenario?  Do I have  to use BPM?  If yes please let me know the steps in detail.  I have not done any BPM scenario till now.  So please answer me in detail.
    Thanks in Advance,
    Vijay
    p.s. reward points are must

    Hi Vijay,
    Yes, You will indeed need a BPM in this case...
    Based on my understanding of the Scenario u have explained, here are the steps that would be needed.
    1. Receive With the Sync-Async Bridge open.
    2. Transformation Step (Between the source Request and The BAPI_ALM_NOTIF_CREATE Request)
    3. Send Synchronous
    4. Fork
    5. In one Branch of the fork - Transformation (Between the BAPI_ALM_NOTIF_CREATE Response and API_ALM_NOTIF_SAVE Request)
    6. In the other branch of the fork - Transformation (Between a Dummy Source and the BAPI_TRANSACTION_COMMIT Request)
    7. Send Synchronous (to make the 2nd BAPI Call)
    6. Transformation ( BAPI_ALM_NOTIF_SAVE Response and the source Response)
    7. Send Asynchronous (to make the 3rd BAPI call)
    8. Send the Source Response and close the Sync-Async Bridge.
    There might be alternative ways also of doing it...
    Also a better design would be to take care of the 2nd and the 3rd BAPI call within the code of the 1st RFC Function Module.
    Regards,
    Abhy Thomas

  • RFC Scenario using BPM -- Performance

    Greetings,
      I've implemented a File->XI->RFC->XI->File scenario.
    I use a BPM which transforms the lines of my inbound file into multiple sales orders & line items, then loops through them in a ForEach block to call an RFC and then output the RFC's return structure to a file.
      It takes about an hour for a thousand sales orders to go through & get created.
    That really doesn't sound so bad to me except for the fact that there is a good probability that I will occasionally be receiving files containing up to 10,000 sales orders.
      Could anyone with experience with this type of XI processing please suggest any performance enhancements that have provided results.
    Thanks,
      Doug -

    Hi Doug,
    For effectively using BPM, plz have a look at this checklist
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    An add on
    http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
    1 Mapping inside a BPM could affect performance. If u have transformation step in ur Integration Process, then try to perform this mapping outside BPM. It will greatly improve the performance if mapping is complex.
    2. Reduce Tracing - parameter: LOGGING in SXMB_ADM
    Have a look here
    SAP note 857530
    And monitoring all these is always required
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
    Regards,
    Prateek

  • File to RFC Multiline using BPM

    Hi Experts,
    I am working on File To RFC Multiple Records using BPM. I am getting the below error. When i am activating Integration Process. I got the error as Element should not return Multiline Value. So i have changed the Message Mapping Occurance in Signature Tab to O to Unbounded. I am getting the below error in SXMB_MONI. Please check and guide me how to proceed further.
    Regards,
    GIRIDHAR
    <?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="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>  
    <SAP:P1 />  
    <SAP:P2 />  
    <SAP:P3 />  
    <SAP:P4 />  
    <SAP:AdditionalText />  
    <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>  
    <SAP:Retry>M</SAP:Retry>  
    </SAP:Error>

    Hi Giridhar,
    Check below thread:
    BPE_ADAPTER UNKNOWN_MESSAGE
    Regards,
    Krupa

  • MessageExpiredException error in JDBC - RFC scenario using BPM.

    <b>Scenario:</b> JDBC( Asynch)- RFC( Synch)- JDBC (Asyc)
          We are using XI to read oracle table records to insert the records in R/3 and after the insert in R/3 we return a sap code to update in oracle db.
    When we try to process 10 or less rows from db, the process is successfully running, but when we try processing more records we are getting the following error. We tried increase the timeout setting in RFC adapter as per the SAP note and forum. 
    <u>Detailed error: </u>
    <b>com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 443jdjsd-e432-2ec8-e100-000046eb2e5f(INBOUND) expired.</b>
    If I use correlation in asynchronous RFC instead of synchronous RFC, will this solve the problem or is there any better solution for this ?
    Any useful steps to change the synchronous RFC to asynchronous RFC in BPM would be great.
    Thanks
    Steve

    Hi,
    <i>1. Any suggestions to meet this requirement in XI ?</i>
    >>>One option is using ABAP Proxy . Instead of calling Sync. RFC, call synchronous Proxy. So your client proxy, should receive all 200-300 rows at a time, and inside the proxy, and call the RFC. Once all the reocrds are processed, send the response back to BPM
    You can try out this.
    I think, probably you may require to do looping for each Row.i.e For each row the call the RFC.. As of now try to go with Proxy.
    Also try to findout, why the RFC is taking that much of time.. So check for the provision of  tuning in the RFC side..
    Hope this helps,
    regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

  • RFC Scenario using BPM -- Starter Kit

    Krishna,
      I awarded points for my last line of questioning for 2 reasons.
    1) I think you're right about the Pipline URL
    2) I appreciate your help
      Where can I find my pipline URL?
    I looked in the profile directory and found one of the files with: icm/server_port_0 = PROT=HTTP,PORT=80$$.
    That's telling me 8000.... right?
      Also... which ICF server will I probably have to restart?
    Doug -

    Hi,
    Yeah..profile looks fine. After changing pipeline url, did you test the scenario?
    If not check it once.
    Regd. http service, you have checked correct one..anyway for this you can refer this configuration guide- section 8.1 if required- to know more
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ac6de690-0201-0010-54ac-8923089dcc97
    Anyway first test it , hope it works.
    Regards,
    moorthy

  • 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

  • Could any one provide me with the links of file to file scenario using BPM

    Could any one provide me with the links of file to file scenario using BPM

    Hi,
    omit RFC part
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • Ora-12514 connect to SCAN listener in dataguard RAC environment

    I have two rac nodes datase on linux and two rac standby database also. Here are what I got when I try to connect to scan listener from client. It connects to vip/or scan ip addresses without any problem. sqlplus system/password@wxcy SQL*Plus: Releas

  • Cost Center validity period change & Business area assignment to cost cente

    We are facing with error KS134 - Transaction data already exists for the period. We tried to create new cost center with period split. But I am getting error KS133 - Deletion is not possible (dependent records exist in table ). Hence even creation of

  • Plz help me ALE/IDOC Scinario documentation

    hi and all, plz help me ale/idoc scinarios documentation plz send to me. thanking u one and all.

  • WoW Wireless Headphones Mic and Driver issue

    I know a lot of people have issues with the mic sounding muffled to others. One thing i noticed is that the default sample rate is 16000 Hz (Tape Recorder Quality). Is this my only option becuase I feel that is my issue. My destop mic is set at 48000

  • Pronvince (Estado) 3 letters

    I am buying something in iphone 4 (apple store) and appears this message: "Please enter at most 3 letters or numbers for estado" This is not possible. I´m from Brasil and the select box in iphone just permit 2 letters. How can I proceed? Anyone could