RFC-To-RFC as Async

Hi all,
Here my scenario is RFC-To-RFC.
simply Asynchronous and function is fetching multiple data from the database and push that to XI and the receiver RFC recievs and place that data in other R3.
Problem is when i import the two RFC's in the Mesage Mapping the occurence shows as 1..1.for both the RFC's.
Can it works for multiple records if i map like that only...
then wat r the neccessary steps i need to do...I have to go BPM r can i solve simply this.even i have changed the occurence in message Tab of Message Mapping.but in the interface Mapping its trowing error.
Can anyone suggets regarding this.
Thanks,
Kalyan.

Hi Kalyan,
                 At first export ur xsd of RFc and save it on desktop .Open it and change the occurence of it to unbounded .Now again import it under "External definitions" in your IR & then use.It will help u in accepting multiple entries.
and check these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Regards,
Vinod.

Similar Messages

  • RFC to JDBC(Insert) async scenario

    Hi Experts,
    In RFC to JDBC(Insert) async scenario  we are getting the the response from JDBC as <insert_count>1</insert_count> after inserting in to DB . Is there any way to stop getting response?
    Regards,
    Raj

    <insert_count>1</insert_count>
    Firstly this is not an error but an acknowledgement from the JDBC that the Insert for the corresponding Statement node is successful. The count 1 represents that you have made just one Insert-Statement call to the JDBC......had there been no Insert in the DB then you could have got 0 insetad of 1.
    Normally happens when the sender requests for an acknowledgement. Don have knowledge on the ABAP-front so cant comment on the blog given by Prateek, but seems that because of the sync nature of RFC you are getting this ack from JDBC...
    Regards,
    Abhishek.

  • RFC to RFC testing!!

    Hi,
    How to test the RFC to RFC scenario?
    Also the necessary configurations settings on the sender adapter side?
    Is RFC going to support async mode.
    Please guide me in this issue.
    Thanks in Advance,
    Kiran

    For the sender RFC Configuration
    1. create a TCP/IP Connection in sm59 of the R/3 system.
    TCP/IP Destination Name
    Registered program id
    Port and IP address
    2. provide the same information in the sender CC of RFC.
    Receiver RFC Configuration
    1. Create a R/3 destination in sm59 of the R/3 system
    2 . Provide the same information in the Receiver CC.
    To test the RFC in Sync Mode
    1. go to SE37 and press F8
    2. Provide the TCp/IP connection in the destination and provide the parameters for the RFC.
    To test the RFC in ASync Mode
    call the RFC in background task mode .
    Syntax
    CALL FUNCTION func IN BACKGROUND TASK
                         [DESTINATION dest]
                         parameter_list
                         [AS SEPARATE UNIT].
    To analyse about the errors in the RFC
    http://www.saptechies.com/faq-xi-30-pi-70-pi-71-rfc-adapter/
    Thnz
    Mohamed

  • RFC to RFC using BPM ?

    hello all..
    i knw the RFC calls being synchronous..
    i knw i can call RFC to RFC without using BPM..
    i was wondering, if i go in for an RFC to RFC call with uing BPM, does it makes sense?
    the scenario i was working on, with two sync call, was goin into time out stage and surely performance was affected...
    wot do u say on the mentioned scenario?
    regards,
    Vishal

    rahul,
    i did try the same but ther seems to b error on the receive step...
    i presume, it had to b receive (sync) and then the send async and then the receive async and the  closing the send sync bridge...
    correct me if im wrong..
    or else if i take the request of sender rfc in an interface to make it to b async then use the receive step?
    but in tht case my data itself was not passin... a dump on the report sayin,
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException"...
    regards,
    Vishal

  • Regarding RFC to RFC to FILE

    Hi,
      I am Doing RFC to RFC to FILE. I want to execute RFC to RFC and I want to get RFC response to FILE.
    1)Do I need to Define BPM for theScenario.
    2) Should I configure Sync- Async Bridge for the above scenario.
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Regards,
    Varun

    Hi Varun,
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
    The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    1)Do I need to Define BPM for theScenario.
    Yes
    2) Should I configure Sync- Async Bridge for the above scenario.
    Yes
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    Just import ur RFC and use it.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Yes.Interface mapping what ever u had done select that.
    Procedure:
    SyncReceive – To Receive the payload synchronously from HTTPRequestInt interface
    syncSend – To Send the request payload Asynchronously from BPM to the File system
    syncReceive – To receive the response payload Asynchronously from Legacy File system to BPM
    SyncSend – To Send the response Synchronously from BPM to LegacySystem
    Refer this blog
    Bridging the Sync-Async bridge with Fork (XI)
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
    Regards,
    Vinod.

  • Scenario SAP R/3 --(RFC)-- XI--(RFC)-- JCo.Server

    Hello,
    I am wondering if anyone can send me some feeback for such scenario. SAP R/3 version is 4.6c, SAP XI is 3.0 and JCo are 2.0.12.
    I am having some trouble which I think are link to the fact that the SAP XI is Unicode and not the JCo.Server ... However I was thinking SAP XI will adapt, since it works well for scenario SAP R/3 (RFC)> XI (RFC)> SAP R/3.
    Thanks for your feeback.

    Hi Grégory,
    I guess I faced a similar problem,  the problem was that in the receiver RFC adapter you have to specify both an RFC target system and a system to lookup the metadata.
    The target RFC system hat to have the same unicodeness of the metadata lookup system that means in your case that if jco server is non unicode also you R3 has to be non unicode otherwhise it will not (never) work, because this is a mandatory requirement of the RFC adapter.
    In my case this was not possible so I was redirecting the RFC call to the ABAP stack of XI (where I had exposed the same function module which was simply recalling the same function module to the target system) and it worked/works.
    Regards,
    Sergio

  • Third party system (JCO) ---RFC--- PI ---RFC--- ECC

    Hello all,
    We are trying to implement the following scenario:
    Third party system (JCO) -RFC-> PI -RFC-> SAP ECC
    The third party system connect to PI via Java Connector API with a know user id in PI. After that third party system tries to obtain the RFC that is already implemented and remote enabled in SAP ECC environment. But at this step there is something wrong in third party system software because we are not able to obtain the RFC interface and metadata from PI repository.
    1. This step is working correctly. Connection is OK.
                JCO.Client mConnectionPI = JCO.createClient("100", // SAP client
                                                                                    "user_id", // userid
                                                                                    "********", // password
                                                                                    "pt", // language
                                                                                    "10.x.x.x", // application server host name
                                                                                    "01"); // system number
                mConnectionPI.connect();
    2. This step is not working correctly:
                JCO.Repository repository = new JCO.Repository("TestRep", mConnectionPI);
                IFunctionTemplate ftemplate = repository.getFunctionTemplate("Z_RFC_XXX"); - not found exception
    We would like to know if there is something missing in any environment that we have to configure or implement in order to fix this issue. Thanks a lot.

    Hi Primini,
    couple of stupid-but-necessary questions:
    1) have you imported the RFC model in PI Repository?
    You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
    Check the "Activities" session of this link for more details:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    2) if you have done 1), have you configured the RFC Sender scenario properly?
    I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
    This should make your scenario work.
    If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
    Let us know the results.
    Best regards,
    Henrique.

  • JDBC(Sender)-XI-RFC (Request) RFC (Response)-XI-JDBC(Receiver)

    Hi All,
    JDBC(Sender)-XI-RFC (Request)
    RFC (Response)-XI-JDBC(Receiver).
    Need some solution for sending email for successfully completion of scenario after updating SQL DB Table.
    Let me explain the scenario:
    We are pooling the SQL DB table to pull the records and map the records to RFC request parameters, after successful Posting the entries in R3 HR, RFC response contain the same with E (Error) S (Success) records status, we are updating the same in SQL DB table, I implemented the complete scenario without BPM with the help of module processor in Sending JDBC Adapter, scenario is working fine but now we have to send the successful mail to our support team with status contain Number of success, Error and total records as email.
    I need the solution how to implement the same requirement in current scenario.
    Is their way to do something with the RFC receiver adapter module addition to send the successful mail or generating Alert with all the description?
    I am at PI 7.0 SP12 with HP unix box.
    Thanks in Advance for creative idea
    With Regards
    Sunil

    Hi Bhavesh,
    Thanks for your help and your blog is really helpful. I implemented the UDF for generating Email Alert but this alert is generating before Updating the SQL Database, is their any way to generate alert after updating the SQL.
    Actually in my scenario we are sending the data from SQL to R3 by RFC and again updating the SQL status whatever the RFC return, after successfully updating SQL we need to send success email to support people but if we are sending the email before updating the DB then their will be problem.
    JDBC receiver after updating the SQL DB returns the response with No. of row updated but how to capture this response, if we can capture this response then we can send email through email adapter even their is one more problem, In my scenario I am counting the number of rows with status “S” and “E” and sending the same in alert email but if are sending email after updating the SQL DB where can hold the row count value and use it while sending the email.
    Implemented the scenario without using BPM..i am using sender JDBC module processor for Syn-Asyn bridge.
    Even I do not find the link to reward point. Please let me know how to do it.
    With Regards
    Sunil

  • RFC Adapter  RFC to File

    Hi,
    Can somebody help me to view this thread. I am learning XI using RFC to File and I have got some difficulties in undestanding the Adapter Configuration.
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step from Michal.
    When I select this thread, I get blank page.
    Thanks

    Hello MK and Shabarish,
    I need a little more help from you.
    Here is XI Scenario.
    Want to send Material info using RFM from system A to System B via XI.
    Process: In System A, I create an RFM and send the data via dest paramter.
    It looks like this.
      Call Function
         dest 'SYSTEMA_SENDER'
    1. I created T - RFC Destination in systemA.
        RFC Name     SYSTEMA_SENDER
        gateway host  gbdsc1  ( using smgw)
        serveric          sapgw11
        Program id     SystemA_Sender
                             Registered server program, unicode.
    2. In XI box, in Integration configuration, Created RFC sender channel with the following paramter
        Adapter Type   RFC  - Sender
        RFC Server Parameter  -  
                 Applcation server(Gateway)  gbdsc1    ( As in RFC dest System A )
                 App service(gateway)           sapgw11
                 Program ID                          SystemA_Sender
        RFC Metadata repository     
                Application Servr         ( What do I enter here  is it System A)
                System Number
                Logon on User
                Logon pw
                Client
                 Language
      Finally,
    In system A when I do connection test I get the following errors
    Error: Program SystemA_Sender not registered
    Location SAP-Gateway  on gbdsc1/sapgw11
    Detail:TP SystemA_Sender not registered
    and other errors
    Can you identify any correction required for the above RFC destination and RFC configuration?
    Do I need to register the program and if so how?
    Your help is deeply appreciated.
    Regards

  • Rfc to rfc without bpm scenario

    Hi,
    I am trying to do RFC to RFC scenario without BPM.but in sender communication channel following error is coming.
    Sender channel 'CC_RFC2RFC_SENDER' for party '', service 'BS_RFC2RFC11' (internal name 'RfcServer[CC_RFC2RFC_SENDER]')
    Server data: {jco.server.gwhost=192.168.2.12, jco.server.progid=program_rfc2rf, jco.server.gwserv=sapgw00, jco.server.unicode=0}
    Repository data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=000, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=bcuser, jco.client.sysnr=00, jco.client.ashost=192.168.2.12}
    Current pool size: 1, maximum pool size : 1
    Can anyone please tell me the cause of this error.??
    Thanks
    Rabi

    Hi Priyanka,
    I did as you had told but it is again showing same problem.
    Will you please help me to resolve it?
    Thanks
    Rabi

  • RFC TO RFC SCENARIO

    Hi,
    I want to try RFC to RFC scenario .For this have One client with Solution manager and another client has R/3 on it .I want update  a z table in R/3 from the data i have in solution manager (RS001).
    I want to know following things :
    what is the program ID in RFC sender adapter ?
    where should i make the rfc destination .....which my abap program will call ...via xi ....picking data from solution manager.

    Hi,
    what is the program ID in RFC sender adapter ?
    The same ID as u configure in RFC destination at sending SAP system.
    where should i make the rfc destination?
    1. Transaction SM59 on sending sap system: To XI
    2. On XI: To receiving sap system
    which my abap program will call ...via xi?
    Your abap program at sending sap system calls a function modul at XI:
    CALL FUNCTION 'myFunction' DESTINATION 'myDestSM59' ...
    ....picking data from solution manager.
    receiving SAP system
    You need a synchronous scenario. R/3 system function modul works as Outbound, sol man function modul as Inbound.
    Regards,
    Udo

  • ** JCO$Exception Problem in RFC to RFC scenario

    Hi Friends,
    I am doing RFC to RFC scenario. We have two IDES system. One XI system. The scenario is to send the Vendor data from First IDES system (Z_APPLE_VENDOR_SEND) to call the RFC (Z_APPLE_VENDOR_INSERT) in the second RFC system. Sync to Sync Scenario. In this case data is passed from source system and mapped to target RFC soruce Structure. But, not able to login into target system. The following error is occured in SXMB_MONI.
    com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=aprins05 SYSNR=01 GWHOST=aprins05 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '172.25.12.23:sapgw01' not reached TIME Fri Oct 17 23:28:55 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER
    Friends, I have tested the following : SLDCHECK, Connection between IDES and XI system. Checked the Gateway of receiver side IDES system thru tcode SMGW. All are working fine. But, still the problem comes.
    Kindly help me to solve this issue.
    Kind Regards,
    Jegathees P.

    Hi
    Restart the Receiver System once and try again.
    Go throgh the following thread
    (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Regards
    Sridhar Goli

  • RFC to RFC scenario fails with error

    Hello Guys,
    In our XI support we found errors for RFC to RFC scenario.
    Some messages failed with the below error :
    SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>503</SAP:P1>
      <SAP:P2>Service Unavailable</SAP:P2>
      <SAP:P3 />
    Latter the new RFC messages were having this error :
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Object not found in lookup of RfcAFBean.</SAP:AdditionalText>
    Now all the messages are getting processed.
    Can you please tell me the cause this happens every now and then.
    What is the solution.

    Hi Rajeev,
    See these threads:
    Re: HTTP_RESP_STATUS_CODE_NOT_OK - Error in ABAP proxy
    Re: 503 Error -  HTTP_RESP_STATUS_CODE_NOT_OK
    XIServer error raised: 503 Service Unavailable with SOAP Adapter
    http://www.saptechies.com/http-errors-in-xi/
    HTTP_RESP_STATUS_CODE_NOT_OK 503
    I hope these will solve your problem. Rewards with points if helpful.
    BR,
    Alok

  • Failed transformation xml-rfc to rfc

    Hi,
    I have to scenario rfc to jdbc sync, SAP MI <-> XI, but when I executed the rfc, i don´t have problem in SXMB-MONI,  but returned the dump in MI " Failed transformation xml-rfc to rfc". What happen?
    Tks.

    The error isnt logged in SMXB_MONI because it happens in Adapter Engine, which is in java stack (and SXMB_MONI is in abap stack). Therefore you won't be able to see the error there.
    Go to Runtime WorkBench, Message Monitoring and check the errored message there. Open the details screen and check the Audit Log for futher information about the error you got.
    Regards,
    Henrique.

  • RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does n

    Hi all , i did a small application in webdynpro abap  by calling BAPI . MY application  is when i enter the studentid and click the submit button i shoutl get student details .
    but when i'm clicking the submit button i'm gettting the error
    "RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does not exist. Occurred " can any one help me out.

    hi rajeev.....
        i am sure that you would have used service call.
       in service call, in the destination part, you would have given a name. the service call automatically creates a destination in this name. but your user id would not have had that rights. so only you get this error. either use a already existing destination or get the access for that.
    ---regards,
       alex b justin

Maybe you are looking for

  • How do i search for a specific email in mail.

    I would like to know how do i search my inbox for an email that was sent more than a week ago. There is no search optin, or a "sort by" option as in mails on an i-Mac.

  • After updating to iOS 8.3 I can now no longer back up my iPhone 6 to iCloud?

    It says I do not have enough storage space. But I do. It has been backing up perfectly fine until I updated to iOS 8.3 and now it says I need an extra 3.4 GB of storage space? I have all apps turned off for backing up except my photos. I only have 1.

  • Windows 7 Pro on iMac (mid 2011) and network slows down

    We have an office with about 8 mid 2011 21" iMacs running Windows 7 Pro courtesy of Bootcamp.  The machines boot quickly and all programs open quickly.  They each have from 2 - 4 mapped network drives to a 2012 Windows Server 2008 R2 HP GL380 server

  • ANALYSIS method for CCh(ChannelName,StatValueIndex)?

    Hi, I am trying to compute a simple mean of a channel and usually use CCh(ChannelName,StatValueIndex), where StatValueIndex = 0.  Is this available somewhere on the DIAdem ANALYSIS panel?  Thank you! Julia

  • Oracle 11g(11.1.1.6) SOA Domain creation failed

    Hi , I am new to SOA .I have downloaded s/w from OTN (ORACLE) site .I have followed the quick start guide for installation .Everything went well I have successfully installed oracle XE ,weblogic server,OEPE,RCU,OracleServiceBus. When I try to create