Scenario - IDoc - XI - RFC - IDoc

Hi Experts,
I am new to BPM.
We have 2 sap systems...SAP1, SAP2.
The BPM scenario is,
When Material changes made in MM02 of SAP1, changepointers creates an IDoc1. IDoc1 is first sent to XI. Now in SAP2, it is to be checked whether that particular changed in SAP1 exists in SAP2 or not. For this, from XI an RFC call is made to SAP2, depending on the return values, the IDoc message that has been reached to XI (from SAP1) is sent to SAP2.
How to achieve this.
Any docs, links would help me. I am very new to BPM.
-Naveen.

Hi,
<i>Can any one give me some direction.</i>
>>>Are you talking about BPM steps ? if so I have given that.
For Message Interfaces-
1) Abs, Async, Message Interface of type Idoc
2) Abs, Sync, Message Interface of type RFC
3) Abs, Async Message Interface of type Idoc , which is sending to SAP2 system. If you have mapping changes.
Mapping is outside the BPM, Create a dummy message type for RFC response. To check the response in the BPM
i.e Idoc to RFC Req Mapping
    RFC Response to Dummy RFC response
Hope this helps,
Regards,
Moorthy

Similar Messages

  • Idoc-xi-rfc scenario random fails to be processed

    Hallo all .
    Let me first describe our scenario.
    Generally it is an IDOC - > XI -> RFC case.
    Idocs are created after an order creation .
    In XI there are two different mappings, depending on the idoc structure (the IDOC  type is the same, but the segments created are different)  and two different receivers, each one with an individual communication channel. Each channel is allowed to have up to 200 multiple simultaneous connections .
    Then, each functions decides whether the inbound data is appropriate for it and processes it or not .
    Our problem is this :
    If we send a bunch of orders (eg 100), all of them are processed successfully except of some of them, (eg 4 ).
    In the SXMB__MONI, they are all marked as "waiting for acknowledgment" .
    Yet, there is no obvious reason for their failure.
    If we send again the failed orders, then 3 of them may be processed.
    And finally if we send them again even the last one will be processed.
    So, from what I can see, this problem cannot exist due to the data we send, or the XI configuration, or the functions that are finally called. Actually, it seems to be absolutely random.
    Any suggestions would be highly appreciated .
    Edited by: John Syrigos on Dec 30, 2008 6:08 PM
    Some clarifications : The business scenario is to handle the ORDER idocs that created in the SAP ERP system from SD (Outbound Deliveries) or the Stock Transport Orders (Outbound Deliveries). The problem for the created IDocs is that if the outbound delivery is coming from SD then for each line item of the sd document fills the segment A for example and if the outbound delivery is coming from the Stock Transport Order then fills another IDOC segment for example B. For this reason we decide to create two separate interface mappings in order to send each IDOC in both of the Function Module that handle which of them will be executed. In the daily order processing the user every afternoon use a standard SAP ERP transaction and collect all the outbound deliveries and create for the collectively the appropriate IDOCs. We suppose the mass processing will create some problems.
    Thanks in advance

    hi,
    one simple advice (less then one day) would be to change
    >Generally it is an IDOC - > XI -> RFC case.
    either to:
    Generally it is an IDOC - > XI -> ABAP proxy case.
    or if this is not abap proxy enabled receiver system to:
    Generally it is an IDOC - > XI -> IDOC case.
    if you already have a working RFC then changing it to and IDOC
    and changing a mapping is less then one day and in both cases
    abap proxy and IDOC you will have a clear status and LOG!
    (as both IDOCs and ABAP proxies are persistent in receiver system)
    this is the best possible option I believe and nothing will get lost for sure
    Regards,
    Michal Krawczyk
    http://mypigenie.com XI/PI FAQ

  • ALE/IDOC and RFC/BAPI Integration Scenarios with SAP DS for ESA v3

    Hi,
    we are planning two PoCs of Integration Plattforms. One of our major requirement set is SAP Integration into our existing SOA.
    Because we also have R/3 4.7 Systems in production, we are planning to test ALE/IDOC and RFC/BAPI Integration scenarios with these Integration Plattforms.
    My question is:
    We are looking for are smart solution to get a SAP Test Environment, where we can test ALE/IDOC und RFC/BAPI Integration scenarios.
    It is possible to do this with SAP DS for ESA v3 or shall we better use IDES for that purpose?
    Best regards,
    Steven

    Hi Abhishek,
      This is our scenario. We are doing an integration of SAP HR r/3 system with the CRM system. We need housing information details of the employees which we have in custom infotype 9310 in SAP HR system and we need those details in the CRM system. So am planning out for an ALE/IDOC approach for the integration and gonna  maintain the 9310 details in a custom table. In the CRM system, we gonna build a BOL layer for accessing the 9310 details. Also i'm preparing a HLD for this process. I wanna read and go through few same HLD's before i submit my proposal to my client. Please suggest me and help me out.
    Thanks in advance.
    Regards,
    Arunmozhi.

  • Guarantee EOIO Processing in File-RFC-RFC-IDoc Scenario

    Looking for some opinions on the following set up we've got.  We're trying to build QoS EOIO on a scenario that goes File Sender->RFC and then RFC->IDoc.  My question is basically have we effectively ensured that our scenario will be EOIO from file to IDoc.  We want the first record in the file to always be the first created IDoc, the 10th record in the file to always be the 10th IDoc created etc.....  We also want to make sure that if we encounter an error at any point that all subsequent processing stops and waits until the problem is resolved.  We've successfully completed some steps but my biggest concern is in the area between where XI sends the data to SAP1 via RFC and the resulting return RFC from SAP1.  I'm thinking we may not be quite there yet and would be interested to hear what others thought.
    We're on SP15.  The scenario goes like this (no BPM):
    1) We have a legacy system LEG1 that we pick files up from using the Sender File adapter.  This step will take the file from LEG1 into XI and map it to an SAP remote function on SAP system SAP1.  We set QoS on the file adapter to EOIO.  Our interface determination for the File to RFC component is set to QoS of "Maintain Order at Runtime".
    2) XI makes the RFC call to SAP1 (6.20) using an RFC receiver adapter.  The called function then processes the data and returns the data back to XI using another remote function call.  This function call is of type tRFC where we call the function "in background task" and issue a commit after the RFC call.
    3) We receive the data into XI from SAP1 using the RFC sender adapter.  XI maps it to our IDoc layout and sends it onto another SAP system called SAP2.  Again here our interface determination QoS is set to "Maintain Order at Runtime".
    4) XI passes the IDoc onto SAP2 (7.00) using a receiver IDoc adapter. The paramter Queue Processing is turned on.

    About EOIO in qRFCs, actually this is quite a polemic topic.
    There is something you could do, allright, but it is controversial whether you could properly call it "EOIO" or not.
    Refer to this thread for further discussion: use EOIO on Sender RFC and outbound ABAP proxy calls
    Supposing you call the other RFC before you commit work in the receiver RFC, and supposing you could have EOIO at 2nd RFC (sender RFC), all these assumptions could mean that you would guarantee EOIO end-to-end. But they are just assumptions.
    You have to try it and stress test the scenario to guarantee the validity of this design.
    One other approach would be a BPM with all steps in one single transaction (check BPM transaction handling). The steps would be:
    File -> sync RFC -> Idoc
    where the response of RFC should be the necessary information for triggering the IDoc, and all send steps would be in EOIO mode (set queue name in Send steps). Also, file sender adapter QoS should be set to EOIO.
    But I'm also not sure that this will guarantee EOIO end-to-end (possibly not...)
    Good luck.
    Regards,
    Henrique.

  • How to use IDOC and RFC adapter in 1 scenario?

    We have AAA field and BBB field and we want to send AAA field to receiver sap system using IDOC adapter and BBB field to receiver sap system using RFC adapter. But how to use IDOC and RFC adapter in 1 scenario and how to map and  what are the design and configuration objects we require to create?

    To achieve this you have to use
    Two Interface Determinations
    Two Communication Channels (IDOC & RFC)
    & Two Receiver Aggrements.
    Use the Enhanced Interface determination and give your conditions there. Based on you condition your interface mapping will be triggered and data will be sent to IDOC & RFC respectively.

  • Best Scenarios when to use IDOC Adapter, RFC Adapter and Proxy

    Please provide me links/weblogs which demonstrate the full scenario that when to use IDOC Adapter, RFC Adapter and Proxy when working with sender R/3 system.
    Regards
    Rachit

    Hi abhinash,
    Check these links for java proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    for ABAP Proxy ...
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    for RFC .....
    RFC-xi-SOAP Scenario
    How to send RFC response message back to XI File/FTP adapter?
    https://weblogs.sdn.sap.com/pub/wlg/3865//Troubleshooting [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Hope you will find them useful ..
    Regards
    Abhi

  • IDOC and RFC/PROXY Scenarios

    Is there a way to practice IDOC or RFC Scenarios if you only have access to the XI System? So you have XI abap and Java but no R/3 System...
    Can someone tell me how I can practice IDOC and RFC scenarios please

    It is possible to practive IDOC & RFC scenarios with XI's abap stack as sender & receiver of IDOCs and RFCs with the "XI" in the middle....
    However, the problem might be the IDocs & RFCs might have to be created from scratch to test these out....
    If you have some IDOcs that you can use in XI abap stack, have the program that generates this IDOc and when(if) XI abap stack receives this, the processing module to process this IDoc...
    Similarly, the RFC FM has to be available on XI ABAP so that it can bhe invoked from the RFC interface..
    Thanks.
    Message was edited by:
            Renjith Andrews

  • Reg: RFC / IDOC required for doing CIDX Scenario

    Hi! Gurus,
    This is Amar Srinivas Eli. I have task here to work and implement CIDX Scenario succesfully. There are some business cases as per the CIDX standards from that I was selected one Business case i,,e, FORECASTING.
    But inorder to implement that scenario I need some RFC's or  IDOC lists from SAP side whether it may be a source or target side..what ever it may be...and other side will be CIDX format.
    Here I need your help in the below mentioned tasks. Kindly help me out in a detailed step by step guide and do the needful to me.
    1. How to get RFC / IDOC name from R3 System and I know that I can get RFC from SE37 and IDOCs 
        from WE05 but I need whether all the required fileds are statisfying in the RFC's or not.
    2. My first preference is only for STANDARD SAP RFCs or IDOCs.
    3. Please let me know how to see the inner fields present in those RFC's
    4. ALso please provide any configuration guide which contains screen shots if you already worked
        earlier on CIDX Scenario I mean step by step and also for testing
    5... tell me if there is any other tool other than STK kit for testing CIDX messages.
    6.  Is there any Freeware STK tool kit is there or not...
    Also share your experience and errors that you have faces while doing this CIDX Scenario.
    Regards:
    Amar Srinivas Eli

    Hi! All,
    Thanks for your fast response..
    Hi! Raja,
    I gone through your points. Here I have few doubts on those please clarify that.
    1. Coming to testing i didt used any testing tool , but you can comre your output using XML Spy or Stylus studio.*
    *CIDx Documents,you wil find in SDN please search in SDN.
    Means Without using STK Tool or else some other tool How can I get the CIDX response for my request in the Testing environment. See I am not doing this in  real time I am trying to findout the solution for Business cases so I need one testing environment tool right ? Is that ALTOVA XML spy will give no right ?
    Note: You told that you have done that business case IDOC--CIDX Order change / req Will you please share the information documentation I mean step  by step procedure for end to end doc...based on your scenario ?
    2. I know those R3 and PI settings I mean configurations means ports and RFC destinations and all those..but only thing I dono is "How you got that IDOC I mean on what basis and how did u search the IDOC?"
    3.  See Here I am working on topic FORECASTING it includes so many sub tasks like Deman PLan req and response, supply plan req and response and replenishment order and etc....so based on that how can I get those related RFC's or IDOC's in order to communicate from R3 Side
    If Suppose I have seen one RFC/IDOC and for example out of 10 fields few are there in one IDOC and another few are there in another IDOC then in that case I need to go for Multimapping IDOCs I mean 2 Senders to one Receiver if yes Is it possible?
    My first requirement is based on the above mentioned business cases how can I get the corresponding RFC's or IDOCs ?
    Regards:
    Amar Srinivas Eli
    Edited by: Amar Srinivas Eli on Jan 5, 2009 12:19 PM

  • Idoc to RFC scenario

    Hi,
      I have four Sap system connected with PI 7.0 .
    SAP1 --> PI --> FILE (SAP2)
       --> FILE (SAP3)
             --> RFC (SAP4)
    The system SAP1 send to PI a custom Idoc; PI tranform Idoc in flat file for system SAP2 e SAP3. The system SAP4 requires sending data via RFC function.
    What are the steps to follow to call the RFC function once for each IDOC segments?
    Thanks
    George

    Hi
    When the RFC is receiver,no need to configure special settings except RFC receiver communication channel.
    During the creation of  receiver communication channel need to provide all receiver system details including RFC :
    Thanks
    Prasad Nemalikanti

  • How to trigger automatically an IDOC and RFC from SAP R/3 system?

    Hi ,
    lets say if we are implementing IDOC to FILE &RFC to FILE scenario ,how can we trigger  on timely basis(schedules)
    1)standard IDOCs and BAPIs?
    2)customized Idocs and Customized Bapis?
    3)Master Idocs and transactiona Idocs?I think we need to use change pointers for master Idocs and donno about Transactional Idocs.
    please explain ,
    thank you very much for your help.
    regards,
    Babu

    sorryfor the late reply, I was busy with my work.thank you for your posts.
    so all of you say just run the RSEOUT00 no matter what interface we use in XI like Master ,transactional Idocs,standard or customized BAPIs?
    And I think we use RSNASTED if we have on recieving side right?
    <b>then when we would use a report of format below to trigger an RFC,is this format for Asunc RFC ?</b>
    REPORT Z_SEND_DATA_TO_XI.
    parameters: dest like rfcdes-rfcdest default '(RFC Destination you defined in SM59)'.
    <<your other variable declaration and ABAP Code here>>
    call function 'ZXI_SEND_DATA'
    in background task
    destination dest
    exporting
    Name = John
    City = Smith. (The values to pass to XI)
    commit work.
    <<Any Write statements or sy-subrc statements here>>
    6) Save and Activate your ABAP program.
    6) After all these steps, execute your ABAP Program to send the data to file via XI.

  • IDoc - XI - RFC Issues

    Trying to set up an IDoc->XI->RFC Scenario.  Am able to receive the IDoc into XI but are having issues getting this to the other system via RFC.
    Status in Monitor for Processed XML Messages (SXMB_MONI) is "Recorded for Outbound Processing".  When I "display" the specifics I see the Inbound Message was processed fine but the Receiver Grouping is set to "Recorded for Outbound Processing". 
    I check SMQ2 and I can see my data in the status "Transaction Recorded".  I try to <F6> the message in SMQ2 and get the message "the queue is registered and therefore cannot be activated".
    Also in SMQR the scheduler status is "Inactive".  Not sure if that is relevant or not.
    Hoping someone has seen this and can help me get whatever I'm missing set up!
    Thanks!

    Hi,
    <i>Also in SMQR the scheduler status is "Inactive". Not sure if that is relevant or not.</i>
    This status is OK.
    <i>I check SMQ2 and I can see my data in the status "Transaction Recorded". I try to <F6> the message in SMQ2 and get the message "the queue is registered and therefore cannot be activated".</i>
    >> in SMQ2 what is the status ? Is it running/sysfail etc ?
    If it is SYSFAIL, then double click on that and check the exact error.
    Else, you can go to SMQR or SXMB_ADM->Manage Queues->QRFC monitor->  .. then go to specified Queue name(whatever having the problem) and deregister it. Then go to SMQ2 and execute/activate the Queue . This time you will not get the info "Queue is registered...." Then go again SMQR and Re-reigister it.
    For more ~
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    Re: Recorded for Outbound Processing
    Hope this helps,
    Regards,
    Moorthy

  • Idoc - XI - RFC

    Dear ll
    i developing a scenario in Pi
    i.e  IDOC - XI - RFC
    my doubt is , when i am creating the Interface determination ,  we have to specify the Interface mapping r Not . If S y. because i am not created any MT for My scenario.becasue i am using std Idoc & RFC which i know already
    in the Interface determination , i am directly put a a inbound interface as my RFC name . When i try to Put IM . Its disabled , Not able to Put.even i have a  Message interface (1 for inbound & another is for outbound) .
    my doubt is is it really required a IM in Interface determination ..

    Hi Irfan,
    You don't need to create any DT,MT or MI for RFC and IDocs. But still you need to define a mapping  (between IDoc and RFC)
    and which should be incorporated in the Interface mapping. have you provided the correct sap standard namespaces for IDoc and rfc while creating your interface determination?
    While createin the Interface determination have dragged the indbound and outbound interface as IDOc / RFC ?
    please check this hope it should resolve the issue.
    Thanks
    Sugata B Majumder

  • Idoc to rfc

    Hello,
               Could you tell me that, can we do the IDOC to RFC scenario in XI.

    Hi Ravi,
    First of all i dont think there will be any requirement for IDOc to R/3.This scenario doesnot make any sense i mean why u need to send a IDoc from R/3 system to again R/3 system using R/3 adapter.
    See IDoc and RFC are the two adapters which r used when we need to communicate XI with any other SAP system .
    But u can make one sceanrio like this
    Idoc ->XI->FIle->XI-RFC
    i mean u will send a Idoc from R/3  into File  ...again u r picking the file and sending in to some table of R/3.
    Regards
    'BILL

  • Choosing Receiver Interface (IDoc or RFC) without using BPM

    Hi,
    We have a scenario wherein the receiver interface (either IDoc or RFC) must be dynamically determined at runtime based on the source message. I've tried using Multi-Mapping but this did not work since IDoc and RFC interfaces are not on the same Adapter Engine.
    How do I configure this scenario without using BPM?
    Thanks,
    Francis

    Hi,
    >That was my first solution but it did not work since it seems that conditions only work for determining the Operation Mapping to use for the same Receiver interfaces.
    not true - not only Operation Mapping but also receiver agreement
    so the receiver's channel
    >I was misled into thinking that we could use it to dynamically determine the receiver interface.
    but you can do it over there
    intrface determination can be used for pseudo receiver determination too
    so you can have one interface that either goes to one
    channel or the other (within the same receiver)
    Regards,
    Michal Krawczyk

  • 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!!!!!!!!!

Maybe you are looking for

  • Javax.servlet.jsp.JspException: Exception creating bean of class ProdFormFB

    Hi I am trying to deploy a struts based web application using "DynaActionForms" When I am trying to access the jsp page I am getting the following error. I am providing as much as details as it can help full to u. Thank u. FormBean class ProdFormFB.j

  • Send HR Form (tcode Pe51) to employee email

    Hi friends, Is it possible to send the HR form PF01 (of the remuneration statement report RPCEDTP0) defined in tcode PE51 by email, to the employees, entering, for example, email address in infotype 0105 (communication), subtype 0010 (email)? I mean,

  • How do I open a JPG in ACR.

    I was shown, and have read that to do this I have to right click on the file and select 'Open in Adobe raw' but do not have this option appear when I right click.I am using Elements 11.

  • Import .avi from Pentax K-r

    I would like to import .avi video file from my Pentax K-r without having to rerender to video file. I have Mpeg streamclip & I can convert the video but into what format. Please help me

  • Profiler can't connect to AIR for Mobile?

    Hey all, Anyone else experiencing an issue connecting the FB4.7 Premium profiler to a mobile app? FB, AIR SDK, debugger plugins, debugger and release projectors and flash playerglobal all updated to the latest version. In a brand new empty mobile pro