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

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

  • 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

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

  • 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

  • RFC Destination not getting connected - IDoc to XI scenario

    Hi Everybody,
    I want send an IDoc from R/3 System to Xi, I have created Two logical systems (Sender and Receiver correspondingly) and i have assigned the clients to them.
    Once i create RFC destination, i have specified all my technical settings as well as Login/Security settings, once i click, "Remote Log On" it takes me directly to Login page of XI. Please guide me how to solve the problem. If i click Test---> Authorization, it prompts out with an error "Name and Password is incorrect (repeat Logon)", but i have given exact username and password.
    I am a fresher to XI.... please give me some documents related to IDoc to XI scenario step by step to [email protected] I would be grateful and appreciate you if u would help me to sort out this problem....
    Please give me step by step solutions.... Thanks in Advance...
    Regards/Guru

    Requirements in R3 system:
    1. Create RFC destination pointing to XI in SM59
    2. Create port for XI using we21
    3. create Outbound Entry in partner Profile for XI in we20.
    Requirements in XI system:
    1. Create Technical System pointing to the R3 system.
    2. create Business System pointing to the R3 system.
    If you want to send IIDOC out of XI,
    1. SM59 - Create RFC destination
    2. IDX1 - Create port
    3. IDX2 - Import Metadata.
    Note:u dont need a IDOC sender adapter or a Sender Agreement to sent a IDOC to XI.
    Check dis link for more info:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    please refer to michel book on IDCO usage in XI
    Message was edited by:
            Sreeram Reddy

  • Soap -- XI -- IDOC/RFC scenario

    Hello,
    I have a jsp page that working in tomcat server.
    I want to send values from jsp page to xi to r/3. I think it will have
    soap-- xi -- IDOC/RFC scenario
    Pls send me pdf /doc to implemet it
    Regards

    Hi,
    Please Refer the Following Links
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    Regards
    Khanna

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

  • 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

  • Integration server as logical system in IDoc to file scenario

    Hi,
    Will we configure integration server as logical system in IDoc to file scenario or the RFC destination related to the port will be suffice?
    For which logical system will the outbound partner profile configured?
    Regards,
    Gajendra.

    Hello,
    I feel that the RFC destination linked to the port is the key here.
    Because the scenario (IDoc to File) works in both the cases:
    Case 1: Used the logical system as Integration server
    Case 2: Used the logical system related to the file (third party) in the SLD.
    In both the above cases the RFC destination points to the integration server.
    Is this the case that in the XI scenarios (where IDoc are sent) the logical system name in the partner profile is just dummy and has not much significance??
    It is the port that matters and once the Idoc reaches XI the routing takes place based on the configuration in ID.
    Thanks.
    Regards,
    Gajendra.

  • IDOC to file scenario

    Hi Experts,
    In IDOC to file scenario i did in this way.
    1)created logical system.
    2)Using SALE tcode I assign logical system to client ,created RFC destination,Port and Partner's profile.
    It is showing all the thing correct.
    3) In XI system , I configured using IDX1 and IDX2.
    Then I created the material and checked the status which is green in we05.
    But in tcode IDX5, the material is not coming.
    Here I am confused that why data is not coming to XI system.
    can anyone help me?
    Thanks
    Rabi

    Hi,
    The Following are the Possible checks
    1) Check in R/3 side SMQ1 & SMQ2
    2) Check in R/3 side SM58
       In R/3 system, Goto SM58 tcode and see if the IDOC have stuck up in Queue.
       If the entry is available then select it and press F6, to push it manually.
        This happens normally if IDOC stuck up in queues.
    3) Check in PI SMQ2 and IDX5
    regards,
    ganesh.

  • Why we dont need sender agreement and comm channel in IDOC to file scenario

    Hi,
    there are 2 queries:
    first query :
    Scenario is "Idoc to file transfer"
    why we dont need sender agreement and communication channel for IDOC to file ,while we do need
    both of these for "File to RFC "
    Answer : which i got is because IDOC sits at ABAP stack but same is valid for RFC also.
    Then why For "IDOC to file" we dont need that.
    Second query:
    Also when i did scenario for File1-RFC-File2 scenario using BPM i have created a interface
    between XI-RFC synchronous to send data which we got from file1 in XI to RFC importing parameter
    and getting data from RFC back to File2.
    Here in IDOC to file scenario why we dont need any interfface for IDOC-XI Asynchronous.
    Regards,
    Mayank
    Edited by: mayank verdia on Jan 13, 2009 11:49 AM
    Edited by: mayank verdia on Jan 13, 2009 11:50 AM

    Dear All,
    For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
    For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
    I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
    Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

  • Issues in IDOC to File scenario using bussiness service

    Hi Team
    I found a blog which explains about the IDOC to FILE scenario by using bussinss services. I followed the steps and finally i am getting a error message while posting an idoc in we19 (ie IDOC 09878 was saved but cannot or should not be sent).  The setting which have done on SAP side are as below
    SAP SIDE CONFIGURATIONS
    1. Created RFC destination : RFC_XI_SYSTEM
    2. Created port : PORT_TEST
    3. created logical system: IDOC2FILE
    4. created partner profiles: IDOC2FILE
    XI side configurations
    1. Created RFC destination: RFC_SAP_SYSTEM
    2. Created port : by using IDX1 t-code
    DOUBT: here it is asking for PORT, CLIENT,Description and RFC destination, please let me know what values i need to put here, please find the SAP and XI system details below and suggest accordingly.
    3. metadata: by using idx2.
    DOUBT: here it is asking for IDOC type and source port,  i can give the idoc name but i am not getting what i need to give to source prort field, please check and let me know,  please find the SAP and XI system details below and suggest accordingly.
    SAP system details
    Client: 800
    User name: sapuser
    system id: DEV
    system number:10
    XI system details
    Client:100
    username:xisuper
    system id: SXI
    system numebr: 00
    I request you to please check and help to successfullly completion of this scenario. I request you to please provide me the screen shots of the pre-requiste settings and suggest me the steps to debug the scenario.
    Thanks in advance.
    Raju

    To complete your scenario successfully with better understanding of Idoc adapter
    read http://help.sap.com/saphelp_nw70/helpdata/en/ab/bdb13b00ae793be10000000a11402f/content.htm.
    for troubleshooting refer http://help.sap.com/saphelp_nw70/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm

Maybe you are looking for

  • SEEKING IDEAS FOR A SMALL PROJECT

    I am planning to do a small project in JAVA programming this winter to hone my JAVA skills but I can't seem to set my eyes on anything. please recommend a few good projects along with their descriptions. It should also have some practical aspect.

  • How to underline with a different color than red (in Preview, with Mountain Lion)

    Hi, I'm using Preview to study and I would like to figure out how to underline with a different color please... Also, Is there a better app to read PDF document and highlight/annote/underline... to study... Thanks!

  • I can't find IMOVIE!

    I bought my macbook air that came with os x lion and ilife 11, in ilife it comes with movie, i updated iMovie from the mac app store. I did some editing after that but now, today, i can't find iMovie?!? i don't know where it is! i searched for it on

  • Material stock in material master

    Hi , In which view of material master can I see the stock of current and previous period. Regards Kumar

  • Deadlock while closing subprocess streams ????

    in my java application i need to run another process and read its streams. I've got a code which: 1.starts another process using Runtime.exec() method 2.starts new thread which listen on process input stream 3.starts new thread which listen on proces