Synchronous interface using 2 different RFC's

I have a scenario where I need to pull data from an RFC using the RFC adapter ( call the rfc z_sendrfc ) and I need to message map this and send the resulting file format to the soap rec. adapter and on to the supplier.  The supplier will then respond to the soap call.  Here is where my problem comes in.  The person who wrote the rfc's wrote 2 of them one to send the file and another ( z_acceptrfc ) to accept the response, because he didn't want the R/3 program waiting on a responseg.
Everything configured Asynch is fine ( only I get nothing back ). 
I guess my question is - is there a way to create a Synch interface z_sendrfc --> vendor_xml_file then take back the response to the z_sendrfc and map it to z_acceptrfc?
I know this is probably a weird question any input would be great. By the way my vendor_xml_file is defined from an external definition.

Hi Andrew,
>I guess my question is - is there a way to create a >Synch interface z_sendrfc --> vendor_xml_file then take >back the response to the z_sendrfc and map it to >z_acceptrfc?
Not sure if I understood your question correctly, pls feel free to elaborate more.
Yes, its possible to create the sync interface, just use the Sync Send in the BPM and select the source and destination message interfaces. The response you get from this sync call then map to z_sendrfc and then map to the z_acceptrfc. For all these you might have to use the transfermation service (one of the service within BPM) twice. So, what happens is that in your first transformation source will be your request message(z_sendrfc) for the sync connection, destination will be the response. The response will then be the source entry for another transformation and destination will be the z_acceptrfc.
Hope this helps.
Pls let me know how you go or need more information.
Cheers,
Ranjan

Similar Messages

  • Using different RFC's in one Application / Entity Service?

    Hello *,
    I just want to create my first Composite Application Service but before I begin I have some questions.
    The service will read out material master data from PLM. For that it has some findBy-operations with full-text search (creationDate, MatNr. ...) which return a result list and one operation which returns the material object for a given MatNr.
    For this operations I need to call different RFC's which are imported by external services.
    Now my questions:
    1. What kind of service should wrap my external services and provide the operations? Should I use one or more entity service to wrap external services and then realize the operations in an application service? Or should I just take an application service without entity services?
    2. The created service should not only be an internal CAF  service but also a Web service? How can I realize this?
    Thanks for your answers.
    Best regards
    Joschi

    Ok, thanks a lot. So nearly everything's clear now. Only one question remains:
    > 6. mark the entity service as "remote" and create a
    > web service from it
    > (note: this requires NW04s SP8)
    Is this possible? I can't find any checkbox to mark an entity service as "remote" like in an application service (NWDS 7.0.07 and NW04s SP8).
    So I have to map the findBy operations to an application service and create a web service from it!?
    Regards
    Joschi

  • V.02 use different RFC connection

    Hello all,
    We have a situation that when a user executes V.02 in R3 and then clicks on an incomplete Sales Document it jumps to the SCM system to do an APO Availability Check.  The problem is that it uses a RFC connection with a system user and when you are in the SCM system you've got full access.  Is there a way to force V.02 to use a specific RFC connection to jump to SCM so I can set that RFC connection to use current user and log into SCM as the same user that's logged into R3?
    Thanks,
    Tom

    > 2.2  Yes, I would like to setup a new RFC connection to SCM and set as a trusted RFC connection with current user but how do I force V.02 to use that specific RFC connection and not one that used for job...extractions..etc that has the system user in it?
    There must be config which is calling the RFC function using a destination to the SCM system. Normally I just debug the call and look to see where the rfcdes value is coming from. I have also seen it hardcoded on a few occations using sy-sysid - also a form of config, even if a rather hollow one...
    Personally I would try to group them into usage cases, and not necessarily "modules" or anything like that.
    > 1. Dont want to restrict the RFC user as it's used for jobs, extractions...etc.
    This is a nice example.
    Cheers,
    Julius

  • Call different RFC Functions depending on variable

    Hi,
    I have to implement following requirement:
    My program generates a report for the user and the user can choose which data he wants to have.
    Depending on the user decissions, I have to use different RFC - Functions to get the data.
    I have the name of the RFC Function und I want to call the RFC Function with this name dynamically.
    For example:
    rfcName = "Z_FUNC_1";
    rfc = get the object for Z_FUNC_1 somehow. This is my problem
    rfc.execute();
    Is there any way how to solve this?  I know that I can solve this like this, but this is not the flexible way that i want:
    if (whichRFC == 1) {
      Z_Func_1_input rfc = new Z_Func_input();
    rfc.execute();
    Any ideas?
    Best regards,
    Peter

    Dear Peter,
    There are how many RFC models are you going to make? In my opinion it would be  too tedious and redundant as you have to create diifferent models fo each RFC.
    Instead of this you may create a single RFC and in that you can call your required RFC depending on the user selection.
    It will simplify your application as well as your task.
    Hope it helps!!
    Warm Regards
    Upendra Agrawal

  • How to keep messages in sequence of different interfaces (using queues?)

    Dear experts,
    I'm running a scenario in which a job in one system creates and deletes orders in another system via XI (using idocs). I'm sending 100 times more creations than deletions.
    These are two different interfaces. Therefore they use different queues.
    My problem now is that sometimes a deletion enters the target system before the the creation of this order has taken place. Because the queue is much shorter for deletion, these are processed earlier.
    How can I make sure that message from two different interfaces enter and then exit xi in the same sequence? Is it possible to assign them to the same outbound queue?
    Please advice.
    Thanks in advance.

    hai
    check the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0401ea9-0be5-2910-b389-ce9675ab8af9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0111fef-d311-2a10-c0b9-f33a49c1f2e5
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Using same program-id in different RFC adapters

    Hi,
    I have the following question:
    Is it possible to use the same program-id in different RFC adapters for the same SAP backend?
    In gerneral, what are the naming-conventions or best practices for using program-ids for RFC adapters?
    Thanks for your answer!
    best regards,
    Hannes

    No,
    You should not use same program ID for different RFC adapters. It is recommended by SAP (check FAQ's on RFC).
    Although technically you can use but it gives you unpredictable behaviour based on connection pool.
    Regards,
    Satish

  • HT1206 I buy apps in my iPhone using different Apple IDs. Which Apple ID should I use to authorize the computer when synchronizing iPhone with iTunes?

    I buy apps in my iPhone using different Apple ID. Which Apple ID should I use to authorize the computer when sync iPhone with iTunes?

    Hi again,
    After a little further research, it appears that you would need to create separate iTunes libraries in order to be able to continue to purchase and download previously purchased items on the same computer, for two different Apple IDs. Sorry - but my husband and I have had the library we sync with authorized for so long, that we have not run into this issue, but it appears that you will get an warning when you try to authorize the second ID on the same computer, indicating that another ID is already associated with it.
    So, you will probably have to set up separate iTunes libraries for each ID:
    http://www.imore.com/how-use-multiple-apple-ids-one-computer-and-itunes
    Sorry for any confusion - hope this helps!
    Cheers,
    GB

  • Use different BAPI's in same scenario

    Hey guys
    i was just wondering whether it is possible to use two different BAPI's in the same scenario.
    like suppose i m doing a File to RFC scenario,then can i use two different RFC's on the receiver side(i m not asking about branching the messages using receiver determination)
    thanx
    ahmad

    Ahmad ,
    the BPM will look as follows,
    1. Receive Step --> Opens Synch Asynch Bridge and receives the Synch Request.
    2. 2 separate Transformation steps --> to map the Request Message to the 2 Different BAPI's request mesaages.
    3. Fork --> with 2 branches and 2 send synchronous steps to send the BAPI request and get the responses.
    4. Transformation --> 2:1 transfromation, where you combine the BAPI response into the single response message as expected by the initiator.
    5. Send --> Closes Synch Asynch Bridge and sends response back.
    Regards
    Bhavesh

  • Performance Synchronous Interface

    Hello everybody,
    I need an advice from you experts, I need to evaluate if is good to use a syncrhronous interface like this:
    R/3 ABAP Synchronous Proxy->XI->R/3 Synchronous RFC,
    the ABAP Proxy sends data in a table, then XI directs it to the R/3 via a Z RFC, and the Z RFC inserts that data in a Z tables, now the interfaces are synchronous beacuse I need to update Z Table in the Sender system for confirmation of succesful insertion in Z Tables in Receiver system, now tha real question is as follows, the data to transfer can be up to 10,000 records, is it correct to use a synchronous interface so the sender system is going to be waiting for confirmation of insertion in Z tables in receiver system? it's more a performance question, any suggestions would be really appreciated, thanks in advance.
    Resgards,
    Julio Cesar

    Hi Julio,
    If you are passing all 100,000 records at a time to ZRFC to insert into ztable...then it wont be a problem with sync interface...bcoz you are passing all records at a time and waiting for one single response...which is quite ok....
    But if you are inserting one record at a time and base on result of previous insert if you want to insert next record...it willl take huge time and would afftect performance as well. ( Rather than this can used proxy @ receiver end as well and then you can call zrfc inside procy..would be much faster).
    Hope this will help.
    Nilesh

  • Does BPM - for a synchronous interface have a performance bottleneck

    Hi All,
    Just have a small query.
    We have a scenario in which we need to receive PO details from a legacy system, create a sales order in ecc and send back a response table to the legacy system.
    Our understanding is that this can be acheived using synchronous ABAP Proxies and also involves BPM and Abstract mappings.
    I beleive that this should not pose any problems. My concern here is that we are confused as to whether BPM would have bottlenecks with performance. Do we have any SAP document or article which mentions that for synchronous interfaces BPM is the only way to go and this would not have a significant impact on the performance.
    Another approach to the problem would be to create an asynchronous inbound proxy, write ABAP code within it and call a seperate outbound asynchronous proxy within the inbound proxy method. This approach looks and sounds very clumsy.
    Kindly let me know your thoughts or any links which would be useful.
    Thanks & Regards,
    Mz

    Hi Aashish,
    Thanks for your quick reply. it was helpful, but i am not using RFC's. Correct me if i am wrong, but i have explained the scenarios in detail below.
    Scenario 1. Synchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) The abap proxy code executes a function module and sends the response as an internal table back to PI.
    5) PI receives the response and places it in a text/csv file and places it back to another folder.
    I assume that the above would be possible only using BPM. What i understand is that in order for an interface to receive and send data, abstract mappings are to be used, and for this BPM is required. We do not have any conversions etc. its just a simple matter of receiving an internal table from ECC and creating a file to place in the folder.
    I also understand that BPM could have bottlenecks due to queue and cache issues, messages might be pending, or lost etc.
    Scenario 2. Asynchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) ABAP Proxy code executes the same function module and calls a seperate outbound interface and passes the values to it. This would be used in sending the response back.
    5)  PI receives the response from the second interface and places it in a text/csv file and places it back to another folder.
    I would like to know which would be the better approach. Documentation/references to support your claims would be much appreciated.
    Cheers,
    Mz

  • Enabling to see the Source payload for synchronous Interface

    Hi Experts,
    Am working on a SOAP <-> RFC synchronous interface and PI version is 7.4 dual stack. Am unable to see the source payload when a
    message is triggered from the Source Webservice. I can only see the receiver payload in RWB for request msg i.e the RFC payload.
    Even for Response, I can only see the receiver payload which is sent to webservice and not the source payload from ECC on the RFC.
    I have built the interface using ICO. I have made the changes in NWA, by setting the RemoveBody field to false.
    Please let me know if any other settings are required. I have checked all other threads related to this issue and could not find the solution
    to my issue where only the source payload in the synchronous interface is missing. In case of Asynchronous interface, the source payload
    is visible.
    Please assist me how can I enable this.
    Regards,
    Vish...

    Hi Vishwanath,
    Please check the below blog
    Message Staging and Logging Options in Advanced Adapter Engine of PI 7.3x
    regards,
    Harish

  • Must I define abstract  interfaces with different names for BPM?

    Must I define abstract interfaces with different names for BPM?
    When interface appeared several times with different values and usage.
    Of course they are the same message type.

    Hi,
    Check this
    RFC Scenario using BPM --Starter Kit
    Regards
    Seshagiri

  • How to map WSDL response to different RFC?

    Hi ALL,
    I have following scenario.
    Suppose there are 2 different RFC like
    1.  RFC A (Async)
    2.  RFC B
    And I have one WSDL (Web Service)
    Now flow of scenario is as following
    Step 1: RFC A will send request to WSDL (Web Service)
               need to map RFC A request to WSDL request.
    Step 2: WSDL response to RFC B
               how can I map WSDL response to different RFC?
    Can we map response of WSDL to different RFC? If yes please let me know the steps.
    Thanks in advance.
    Thanks,
    Bhupesh

    Step 1: RFC A will send request to WSDL (Web Service)
    need to map RFC A request to WSDL request.
    Step 2: WSDL response to RFC B
    how can I map WSDL response to different RFC?
    Have your communication as Asynchronous....
    create your scenario as:
    Scenario 1) RFC A ---> XI --> WSDL
    Scenario 2)
    WSDL --> XI (Mapping to RFC 1) --> SAP
    WSDL --> (XI Mapping to RFC 2) --> SAP
    In scenario 2 you will need:
    1) Two MI...each based on the individual RFCs (RFC 1, 2)
    2) Two mapping programs
    In ID
    1) One Sender Agreement
    2) two receiver agreements
    3) two interface determinations
    4) in receiver determination check for some field which needs to be send to the RFC...this will imply that only a particular wsdl response is mapped to the RFCs (RFC1, 2)...here you can correlate using some value

  • Prob creating ABAP Proxy-Interface use external and interna msg definition

    Hi,
    I've created a service interface using external definition (message type for request and response), imported via WSDL file. However, while creating ABAP proxy in SPROXY, it gave the error message "Interface uses external and internal message definition". I searched through the forum, the questions were raised but no definite answer was found. Is it not possible to generate a proxy if there is any external definition used?
    Details of the error message:
    Message no. SPRX122
    Diagnosis
    In a message interface you can use messages from different sources:
    Message types and fault message types edited in the Enterprise Services Repository
    Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Enterprise Services Repository.
    p/s: My external definition is actually derived from a ABAP FM web service. The reason why i used external definition is that i try to avoid the tedious steps of hard-coding all the data types for the request and response message types.
    Any help would be highly appreciated.
    - julius

    Hi Arvind,
    For technical reasons, proxy generation and the respective editors in the Integration Builder do not support the entire language range of XML schema and WSDL. For an overview of which language elements are supported, see the Excel spreadsheet in the SAP Service Marketplace at service.sap.com/xi ® Media Library ® Documentation: SAP XI 3.0 (SP11) u2013 Supported XML Schema and WSDL (EN).
    I couldnt find the above document in the service market place. Any hint to find it?
    Thanks.
    - julius

  • How to use different Vlans outside another gateway in sg-300 28?

    dear all
    how shall i use different vlans outside another gateway in sg-300 28?
    Example:
    vlan2 192.168.2.0/24 gateway 192.168.2.1 outside router gateway 192.168.2.254
    vlan3 192.168.3.0/24 gateway 192.168.3.1 outside router gateway 192.168.3.254
    should me doing in sg-300 28?
    thanks.

    Hi Amin,
    Leave the switch in Layer 2 mode 
    Cable  VLAN2  to the to the outside router gateway 192.168.2.254 interface
    cable  VLAN3  to the to the outside router gateway 192.168.3.254 interface
    Excuse the rough diagram
    Make the port going to the outside router gateway,  untagged in the vlans they will be transporting. (I am assuming that the router gateway is not vlan aware.)
    IP hosts will most likely get DHCP from the router gateway.  The IP hosts will then automatically send IP traffic to the router gateway.
    VLAN 1 in my switch,  could  then be the only interface within the switch  that has a IP address associated  with it,  for management purposes.
    I can see from you post,  that English is not your first language,  if you want to speak to someone,  you can ask a question by going to;
    www.cisco.com/go/sbsc
    regards Dave

Maybe you are looking for

  • Is there a way to determine the equivalent ANSI C code from a Labview project?

    I'm a complete beginner to Labview.  I have this fairly complex Labview project that was used to create a DLL which matlab could call to control my PCI-6534 card without having to know the NIDAQmx calls. I'm in the process of figuring out how to make

  • File Based Multithreaded Web Server Question

    Hi friends, I have the code of a simple File Based Multithreaded Web Server. I have been asked to add proper http/1.1 Keep-Alive behavior to it. As far as I understand it means to use the same socket for the request coming from the same client withou

  • Bpm 64 bit or 32bit

    Friends Just wanted to check if there is a bpm 64 bit enterprise version and 32 bit one separate or is there is universal installer which can be used for both 64 and 32 bit? Thanks

  • URGENT REPLY

    hi guys great forums thnx 4 ur help i know it is been discussed alot but iam having problem running my report from form (10g) 1-i created a report.rdf 2-created a form and added the report to it and modified properties in property palette name server

  • How to upgrade mac os x 10.5.3 to any version?

    How to upgrade mac os x 10.5.3 to any version???